/* Reset */
*{
    padding: 0px;
    margin: 0px auto;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
/* end reset */
body{
    font-family: 'Poppins', sans-serif;
    background-color: rgb(136, 210, 41);
    color: white;
}


ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: inherit;
}

header{
    background-color: rgb(11, 74, 176);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

header a{
    text-transform: capitalize;
    font-weight: 900;
}

header h2{
    text-transform: uppercase;
}

header .nav{
    display: flex;
}

header .nav li{
    margin: 0 15px;
    background:
        linear-gradient(
         to right,
        rgb(255, 255, 255),
        rgb(255, 255, 255)
        ),
        linear-gradient(
         to right,
         rgb(84, 209, 80),
         rgb(46, 106, 204),
         rgb(224, 239, 12)
        );
    background-size: 100% 3px, 0 3px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
}

header .nav li:hover{
    /* text-decoration: underline; */
    background-size: 0 3px, 100% 3px;
}

header .nav li:first-child{
    margin-left: 0;
}

header .nav li:last-child{
    margin-right: 0;
}

@media (min-width: 700px){
    #content{
        padding: 100px 50px;
    }

    header{
        padding: 20px 50px;
    }
}

@media (max-width: 700px){
    header{
        flex-direction: column;
    }
    header h2{
        margin-bottom: 15px;
    }
    header .nav li{
        margin: 0 7px;
    }
}

@media (max-width: 699px){
    #content{
        padding: 125px 30px;
    }
}

