.label-menu,
.checkbox {
    display: none;
}

@media screen and (min-width: 200px) and (max-width:600px) {
    .navbar .navbar_menu {
        display: block;
        position: absolute;
        top: 5.6875rem;
        left: -8%;
        text-align: left;
        width: 90%;
        background-color: #e2e9e9;
        z-index: 111;
        visibility: hidden;
        overflow-y: hidden;
        transition: 0.5s;
        gap: 0.7rem;
        line-height: 45px;
    }

    .logo a img {
        width: 60px;
    }

    .header {
        height: 6rem;
    }

    .submenu {
        position: absolute;
        z-index: 111;
        margin-left: 45%;
        margin-top: 2%;
        overflow: visible;
        line-height: 25px;
    }

    .navbar .navbar_menu a {
        padding: 1rem 0;
        margin-inline: 1rem;
    }

    .label-menu {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: whitesmoke;
        padding-block: 1rem;
        cursor: pointer;
        font-size: 12px;
        margin-right: -70%;
        margin-top: -10%;
    }

    .hamburguer {
        border-top: 0.012rem solid;
        width: 1.25rem;
    }

    .hamburguer::before,
    .hamburguer::after {
        content: '';
        display: block;
        width: 1.25rem;
        height: 0.012rem;
        background: currentColor;
        margin-top: 0.3425rem;
        position: relative;
        transition: 0.3s;
    }

    .checkbox:checked~.navbar_menu {
        height: calc(68vh - 5.6875rem);
        visibility: visible;
        overflow-y: auto;
    }

    .checkbox:checked~.label-menu .hamburguer {
        border-top-color: transparent;
    }

    .checkbox:checked~.label-menu .hamburguer::before {
        transform: rotate(135deg);
    }

    .checkbox:checked~.label-menu .hamburguer::after {
        transform: rotate(-135deg);
        top: -0.3425rem;
    }



    .submenu_item {
        width: 100%;
        z-index: 10;
    }

    .navbar_menu .navbar_item .submenu .submenu_itens {
        display: flex;
        flex-direction: column;

    }

}

@media screen and (min-width: 601px) and (max-width:768px) {
    .navbar .navbar_menu {
        display: block;
        position: absolute;
        top: 5.6875rem;
        left: -8%;
        text-align: left;
        width: 90%;
        background-color: #e2e9e9;
        z-index: 11;
        visibility: hidden;
        overflow-y: hidden;
        transition: 0.5s;
        gap: 0.7rem;
        line-height: 45px;
    }

    .logo a img {
        width: 60px;
    }

    .header {
        height: 6rem;
    }

    .submenu {
        position: absolute;
        z-index: 100;
        margin-left: 45%;
        margin-top: 2%;
        overflow: visible;
        line-height: 25px;
    }

    .navbar .navbar_menu a {
        padding: 1rem 0;
        margin-inline: 1rem;
    }

    .label-menu {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #458f87;
        padding-block: 1rem;
        cursor: pointer;
        font-size: 12px;
        margin-right: -60%;
        margin-top: -5%;
    }

    .hamburguer {
        border-top: 0.012rem solid;
        width: 1.25rem;
    }

    .hamburguer::before,
    .hamburguer::after {
        content: '';
        display: block;
        width: 1.25rem;
        height: 0.012rem;
        background: currentColor;
        margin-top: 0.3425rem;
        position: relative;
        transition: 0.3s;
    }

    .checkbox:checked~.navbar_menu {
        height: calc(68vh - 5.6875rem);
        visibility: visible;
        overflow-y: auto;
    }

    .checkbox:checked~.label-menu .hamburguer {
        border-top-color: transparent;
    }

    .checkbox:checked~.label-menu .hamburguer::before {
        transform: rotate(135deg);
    }

    .checkbox:checked~.label-menu .hamburguer::after {
        transform: rotate(-135deg);
        top: -0.3425rem;
    }



    .submenu_item {
        width: 100%;
        z-index: 10;
    }

    .submenu_itens {
        display: flex;
        flex-direction: column;

    }
}

@media screen and (min-width: 769px) and (max-width:1024px) {
    .navbar .navbar_menu {
        z-index: 11;
    }

    .header {
        height: 7rem;
    }

    .navbar .navbar_menu a {
        font-size: 0.72rem;
    }
}

@media screen and (min-width: 1025) and (max-width:1222) {
    .navbar .navbar_menu {
        z-index: 11;
    }

    .navbar .navbar_menu a {
        font-size: 0.4rem;
    }


}

.logo {
    width: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-top: 20px;
}

.logo a {
    height: 100%;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: center;
    padding: 10px 0px;
    align-items: center;
    margin-left: 9%;
    width: 90%;
    margin-top: -5%;
}

.navbar_menu {
    list-style: none;
    display: flex;
    width: 1100px;
    gap: 0.4rem;
    margin-left: 8%;
}

.navbar_item {
    margin-left: 4%;
    position: relative;
}

.navbar_item a {
    text-decoration: none;
    color: rgb(80, 143, 147);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease-in-out 0s;
    font-family: 'Roboto Slab', serif;
}

.submenu {
    border-radius: 5px;
    padding: 20px;
    position: absolute;
    left: 0;
    top: calc(100% + -0px);
    padding: 5px;
    max-width: max-content;
    display: flex;
    overflow: hidden;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(15%);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .3s;
}

.submenu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.submenu_itens {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    font-size: 14px;
}

.submenu_item {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 5px;
    cursor: pointer;
}

.submenu_item:hover p,
.submenu_item a:hover {
    color:#74abb3;
    transform: scale(1.08);
}

.submenu_item a {
    font-weight: 400;
    transition: 0.3s;
}

.submenu_item a::before {
    content: "";
    display: none;
}

.submenu_item p {
    font-size: 22px;
    color: rgb(80, 143, 147);
    margin-right: 5px;
    transition: 0.3s;
}

.navbar_item a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #74abb3;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.navbar_item a:hover {
    color: #74abb3;
}

a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

@media screen and (min-width: 769px) and (max-width:1024px){
    .logo a img {
        width: 90px;
    }

    .navbar_item {
        margin-left: 2%;
        position: relative;
        line-height: 8px;
    }
}