* {

    font-family: 'Josefin Sans', sans-serif;
    margin: 0px;

    /* box-sizing: border-box; */


}
html{
    scroll-behavior: smooth;
}
   
body {
    background-color: #02457a;
    width: 100%;
}

:root {
    --ff-primary: 'Source Sans Pro', sans-serif;
    --ff-secondary: 'Source Code Pro', monospace;

    --fw-reg: 300;
    --fw-bold: 900;

    --clr-light: #02457a;
    --clr-dark: #e1eedd;
    --clr-accent: lightyellow;

    --fs-h1: 3rem;
}

.intro-container {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 110vh;
    width: 100%;
    align-items: center;
    background-color: var(--clr-light);
}

h1 {

    font-weight: var(--fw-reg);
}

.intro {
    font-family: 'Josefin Sans', sans-serif;
    width: auto;
    padding-left: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 90vh;
    background-color: var(--clr-light);
    color: var(--clr-accent);
}

.sub1,
sub2 {

    font-size: 30px;
    margin-bottom: 10px;
    letter-spacing: 2px;

}



.sub3 {
    font-size: 70px;
    letter-spacing: 2px;
}

#dot {

    font-size: 70px;
    color: black;
    font-weight: 900;
}

.sub4 {
    font-size: 20px;
    margin: 30px 0px 20px 0px;

}

button {

    width: 200px;
    height: 50px;
    font-size: 20px;
    margin-top: 50px;
    color: var(--clr-light);
    border-radius: 1px;
    box-shadow: var(--bs);
    border: 0px;
    background-color: var(--clr-accent);
    cursor: pointer;

}

.intro-img {
    /* vertical-align: middle; */
    width: 350px;
    height: 450px;    
    align-self: center;
    border: 7px solid white;
    margin-right: 200px;
    /* margin-right: 80px; */
    background-size: cover;
    object-fit: cover;
    box-shadow: var(--bs);
}

.edu-container {
    display: flex;
    font-family: 'Josefin Sans', sans-serif;
    color: var(--clr-accent);
    justify-content: space-evenly;
    align-items: center;
}

.text-primary {
    color: gray;
    margin-top: 10px;

}

#education {

    height: 110vh;
    scroll-behavior: smooth;
    background-color: var(--clr-light);
    padding-top: 30px;
    width: 100wh;
    background-repeat: no-repeat;
    background-size: cover;
}

.edu-back {
    width: 70vh;

}

#education h1 {
    padding-top: 100px;
    color: var(--clr-accent);
    text-decoration: underline;
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;

}

.edu h1 {

    padding-top: 30px;
    text-decoration: none;
    font-size: 30px;
    text-align: left;
    margin-bottom: 10px;

}

.edu h1 i {

    font-size: 25px;
}

.edu-para {

    font-size: 20px;
    color: white;
    /* padding: 50px; */
    margin-top: 40px;
    font-weight: 400;
    margin-bottom: 70px;


}

.edu-div {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /* float: right; */
    height: 30vh;
    width: 70vh;
    margin-top: 20px;
}

.edu-div h1 {
    padding-top: 30px;
    text-decoration: none;
    font-size: 30px;
}

.edu-back {
    margin-bottom: 25px;


}

.link b a {
    color: white;
    font-style: normal;
}

.edu-back p {
    margin-top: 5px;
    font-size: 20px;
}

h2 {
    padding-bottom: 5px;
}

#myservices {
    padding-top: 10px;
    color: var(--clr-accent);
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    background-color: var(--clr-light);
    /* text-align: center; */
    height: 90vh;
    width: 100wh;
    /* border: 10px solid white; */
}

.service-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.service {
    height: 25vh;
    width: 30vh;
    background-color: var(--clr-accent);
    border: none;
    color: black;
    font-size: 15px;
    padding: 40px;
    border-radius: 7px;
    box-shadow: var(--bs);
    margin-top: 60px;
}

#myservices h1 {
    font-size: 50px;
    padding-top: 100px;
    text-decoration: underline;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;


}

.icon {
    margin-bottom: 10px;
    font-size: 27px;
}

#myprojects {
    font-family: 'Josefin Sans', sans-serif;
    width: 100%;
    height: 90vh;
    background-color: var(--clr-light);
    margin-top: 130px;
    color: var(--clr-accent);
    /* transition: 0.5s; */
}

#myprojects h1 {

    text-align: center;
    text-decoration: underline;
    font-size: 55px;
    padding-bottom: 90px;
}

.work-lists {

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--clr-light);

}

.work-list {
    position: relative;

}

.work-list h2 {
    font-size: 25px;
    color: var(--clr-accent);
    text-align: center;
    /* text-align: center; */
    /* bottom: 10; */
    /* top: 90px;
    left: 25px; */
    margin-top: 10px;
}

.hide {
    display: none;
}

.work-img img {
    opacity: 0.8;
    padding: auto;
    height: 250px;
    width: 350px;
    border-radius: 10px;
    border: 3px solid var(--clr-accent);
    transition: transform 0.5s;

}


.work-img :hover {
    transform: scale(1.07);
}

#myprojects button {    
    color: black;
    margin-top: 80px;
    width: 250px;
    cursor: pointer;
}

.work-list hr {
    height: 7px;
    padding: 0;
    margin: auto;
    line-height: 200px;
    background-color: gold;
    border: none;
    border-radius: 5px;
    width: 50px;
}

#contact i {
    color: black;
    font-size: 40px;
    margin: 7px 6px 5px 0px;

}

#contact {

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--clr-accent);
    height: 25vh;
}

.icons1 {

    text-align: center;
}

#contact h2 {
    font-size: 40px;
    text-decoration: underline;
}

#contact p {
    font-size: 15px;
    margin: 5px 0px 5px 0px;
}

@media (max-width:460px) {
    .intro-container {
        height: 120vh;
        flex-wrap:wrap;
        justify-content: center;
        background-color: var(--clr-accent);
        color: var(--clr-accent);
        /* flex-direction: column-reverse; */
    }

    .intro-img {
        width: 250px;
        height: 300px;
        border-radius: 1px;
        align-self: center;
        padding: 0;
        margin: 30px 20px 20px 20px;

    }

    .intro {
        padding: 20px;
        color: var(--clr-accent);
        font-size: 10px;
        height: 70vh;
    }

    .sub1 {
        font-size: 20px;
        /* text-align: center; */
        line-height: 20px;
        font-style: normal;
    }

    .intro span {
        font-style: normal;
    }

    .sub3 {
        font-size: 45px;
        line-height: 45px;
        font-weight: 900;
        font-style: normal;

        /* text-align: center; */
        margin: 20px 0px 20px 0px;
    }

    .sub4 {
        font-size: 17px;
        /* text-align: center; */
    }

    #education {
        height: auto;
    }

    .edu-container {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column-reverse;

    }

    .edu-div {
        flex-direction: column;
        width: 45vh;
        text-align: center;

    }

    .edu-back {
        width: 40vh;
        /* font-size: 10px; */
    }

    .edu-back p {
        font-size: 14px;
    }

    #education h1 {
        padding-top: 80px;
        color: var(--clr-accent);
        padding-top: 70px;
        text-decoration: underline;
        font-size: 35px;
    }

    .edu-div hr {
        width: 100%;
    }

    .edu-div h1 {

        font-size: 20px;
        text-decoration: none;
        /* padding-bottom: ; */
    }

    .edu h1 {
        padding-top: 0px;
        text-decoration: none;
        text-align: center;
        font-size: 20px;
        padding-bottom: 10px;

    }

    .edu h1 i {
        font-size: 20px;
    }

    .edu-para {
        font-size: 15px;
        height: 200px;
        padding: 20px;
        margin: 0px;
    }

    .link b a {
        font-size: 15px;
    }


    #myservices {
        height:120vh;
        width: 45vh;
        margin: auto;
        align-items: center;
    }

    #myservices h1 {
        color: var(--clr-accent);
        padding-top: 70px;
        text-decoration: underline;

        font-size: 40px;
    }

    .service {
        height: 19vh;
        margin-top: 30px;
        color: black;
        background-color: var(--clr-accent);
        width: 25vh;
    }

    .hr {
        margin-top: 60px;
        display: block;
    }
    
    #myprojects h1 {
        padding-bottom: 70px;
        padding-top: 30px;
        text-decoration: underline;
        font-size: 50px;
        color: var(--clr-accent);
    }

    #myprojects h2 {
        font-size: 20px;
    }

    .work-list {
        margin-bottom: 50px;
    }

    .work-list hr {
        align-items: center;
        width: 60px;
        margin: auto;
    }

    #myprojects button {
        margin-top: 20px;
        background-color: var(--clr-accent);
    }
    #myprojects{
        height: 140vh;
    }
}

nav{
    background: var(--clr-light);
    border-bottom: 1px solid var(--clr-accent);
    z-index: 100;
    height: 80px;
    width: 100%;
    display: fixed;
  }
  label.logo{
    color: white;
    font-size: 25px;
    line-height: 80px;
    /* padding: 0 100px; */
    font-family: 'Source Code Pro', monospace;
    letter-spacing: 4px;
    font-weight: bold;
  }
  nav ul{
    float: right;
    margin-right: 20px;
  }
  nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
  }
  nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
  }
  a.active,a:hover{
    background: #1b9bff;
    transition: .5s;
  }
  .checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
  }
  #check{
    display: none;
  }
  @media (max-width: 460px){
    nav{
        border-bottom: 1px solid lightyellow;
        position: fixed;
    }
    label.logo{
        font-size: 18px;
    }

    .checkbtn{
      display: block;
    }
    ul{
      position: fixed;
      width: 90%;
      height: 100vh;
      background: #2c3e50;
      top: 80px;
      left: -120%;
      text-align: center;
      transition: all .5s;
    }
    nav ul li{
      display: block;
      margin: 50px 0 0 0;
      line-height: 30px;
    }
    nav ul li a{
      font-size: 20px;
    }
    a:hover,a.active{
      background: none;
      color: #0082e6;
    }
    #check:checked ~ ul{
      left: 0;
    }
  }
nav{

    position:fixed;
}
