* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'segoe ui';
}

nav {

    background-color: rgb(255, 255, 255);
    height: 80px;
    width: 100%;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;


}

nav ul {
    float: right;
    margin-right: 55px;

}

nav .container ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    /* font-weight: bold; */
    font-family: "Roboto", sans-serif;
    padding: 7px 13px;
    position: relative;

}


nav ul li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #00763A;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out;
}

nav a:hover::before,
nav li:hover>a::before,
nav .active>a::before {
    visibility: visible;
    width: 100%;
}

label.logo {
    color: #00763A;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
    font-family: cursive;
}

.checkButton {
    font-size: 30px;
    color: #2D3391;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

.myCheckBox {
    display: none;
}

nav .container ul li a:hover,
nav .container ul li a.active {
    color: #00763A;
    font-weight: bold;

}

@media screen and (max-width:952px) {
    label.logo {
        font-size: 30px;
        padding-left: 50px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media screen and (max-width:858px) {
    .checkButton {
        display: block;
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: rgb(223, 217, 217);
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 5px;
    }

    nav ul li a {
        font-size: 20px;
        color: black;
    }

    a:hover,
    a.active {
        color: #00763A;
    }

    .myCheckBox:checked~ul {
        left: 0;
    }
}