@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500&display=swap');

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body{
    font-family: montserrat;
}

nav{
    background: #02686d;
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
}

nav img{
    height: 55px;
    margin-left: 20px;
    margin-right: 5px;
}

label.logo{
    color: white;
    font-size: 35px;
    font-weight: bold;
    flex: 1;
}

nav ul{
    margin-right: 20px;
}

nav ul li{
    display: inline-block;
    margin: 0 5px;
}

nav ul li a{
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}

nav a.active, a:hover{
    background: #0398a0;
    transition: .5s;
}

.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

@media (max-width: 952px){
    nav img{
        height: 50px;
    }

    label.logo{
        font-size: 30px;
    }

    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width:858px) {
    nav img{
        height: 40px;
    }

    .checkbtn{
        display: block;
    }

    nav ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #028086;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 1000;
    }

    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    
    nav ul li a{
        font-size: 20px;
    }

    a:hover,a.active{
        background: none;
        color: #0398a0;
    }

    #check:checked ~ ul{
        left: 0;
    }
}

section{
    background: url(bg1.jpg) no-repeat;
    background-size: cover;
    height: calc(100vh - 80px);
}