* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: montserrat;
}

.main {
    width: 100%;
    background-position: center;
    background-size: cover;
    height: 120vh;
}

.main1 {
    background-position: center;
}

nav .logo {
    margin-top: 0;
    width: auto;
    height: 80px;
    position: absolute;
    left: 0px;
}

nav {
    background-color: rgb(62, 64, 149);
    height: 80px;
    width: 100%;
    z-index: 1;
}

label.logo {
    color: white;
    font-size: 35px;
    line-height: 80px;
    padding: 0 100px;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

nav img {
    width: auto;
    height: 80px;
    position: absolute;
    left: 0px;
}

nav ul {
    float: right;
    margin-right: 20px;
    padding: 0;
    margin: 0;
    z-index: 1;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
    position: relative;
    z-index: 1;
}

nav ul li a {
    color: white;
    font-size: 20px;
    padding: 9px 25px;
    border-radius: 3px;
    display: block;
    line-height: 60px;
    text-decoration: none;
    z-index: 1;
}

nav ul li a:hover {
    text-decoration: underline;
    text-decoration-color: whitesmoke;
    color: rgb(156, 205, 251);
}

nav ul ul {
    background-color: rgb(36, 37, 110);
    position: absolute;
    top: 80px;
    display: none;
    width: 400px;
    z-index: 1;
}

nav ul ul ul {
    background-color: rgb(36, 37, 110);
    position: absolute;
    left: 390px;
    top: 0px;
    z-index: 1;
}

nav ul ul li a {
    color: white;
    padding: 3px 20px;
    z-index: 1;
}

nav ul ul ul li a {
    color: white;
    z-index: 1;
}

nav ul li:hover>ul {
    display: block;
    z-index: 1;
}

nav ul ul li {
    width: 400px;
    float: none;
    display: list-item;
    position: relative;
    z-index: 1;
}

nav ul ul ul li {
    top: -60;
    left: 150;
    position: relative;
    z-index: 1;
}

.checkbtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 60px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 952px) {
    label.logo {
        font-size: 30px;
        padding-left: 50px;
    }
    nav ul li a {
        font-size: 16px;
    }
    .checkbtn {
        display: block;
    }
    nav ul {
        top: 60px;
        position: fixed;
        width: 80%;
        height: 100%;
        background: #51a7da;
        right: 0;
        text-align: center;
        transition: all 1.0s;
        z-index: 1;
        left: 100%;
    }
    nav ul li {
        display: block;
        margin: 20px 0;
        line-height: 30px;
        z-index: 1;
    }
    nav ul ul li {
        display: none;
    }
    nav ul li a {
        font-size: 20px;
    }
    a:hover,
    a.active {
        background: none;
        color: #00e60c;
    }
    #check:checked~ul {
        right: -100%;
        left: 20%;
    }
    nav {
        height: 60px;
        width: 100%;
        position: fixed;
        z-index: 1;
    }
    nav img {
        height: 60px;
    }
}