.nav-main {
    position: fixed;
    top: 0;
    z-index: 1000;
}
.nav-container{
    width: 100vw;
    height: 90px;
    background-color: white;
    display: flex;
    align-items: center;
}
.items-container{
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.logo-section{
    display: flex;
    gap: 18px;
    align-items: center;
}
.logo{
    width: 216px;
    height: 47px;
}
.logo-capa{
    width: 134px;
    height: 29px;
}
.section-2-nav{
    display: flex;
    gap: 27px;
    align-items: center;
}
.button-nav{
    display: flex;
    justify-content: center;
    align-items: center;
}
.button-nav a {
    padding: 10px 24px;
    background-color: #29a5f7;
    border-radius: 100px;
    transition: all 0.3s ease-in-out;
}
.button-nav-voice{
    text-decoration: none;
    color: white;
}
.button-nav:hover{
    opacity: 0.7;
}
.auth-icon{
    width: 42px;
    height: 42px;
}
.menu-logo{
    width: 41px;
    height: 22px;
    cursor: pointer;
}
.toogle-menu{
    display: none;
    width: 458px;
    height: 100vh;
    background-color: #29a5f7;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    overflow-y: scroll;
}
.toogle-menu.active{
    display: block;
    animation: openMenu 0.5s forwards;
}
.toogle-menu.close {
    animation: closeMenu 0.5s forwards;
}
.nav-toogle{
    padding: 0px 62px;
    display: flex;
    height: 117px;
    align-items: center;
}
.close-menu{
    margin-left: auto;
    font-size: 57px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    line-height: 64px;
}
.menu{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 62px;
    margin: 50px 0 25px 0;
    text-align: right;
}
.menu li a {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;

}
.menu a.active {
    font-weight: 800;
    color: #001221;
    text-decoration: underline;
}

@media screen and (max-width: 820px) {
    .button-nav{
        display: none;
    }
    .toogle-menu{
        width: 70%;
    }
}
@media screen and (max-width: 553px) {
    .logo{
        width: 150px;
        height: 40px;
    }
    .logo-capa{
        width: 100px;
    }
    .items-container{
        padding: 0 10px;
    }
    .section-2-nav{
        gap: 5px;
    }
    .nav-container{
        height: 60px;
    }
    .main{
        top: 60px;
    }
    .logo-capa{
        display: none;
    }
    .auth-icon{
        width: 32px;
        height: 32px;
    }
    .nav-toogle{
        padding: 0 30px;
        height: 60px;
    }
    .close-menu{
        font-size: 32px;

    }
    .menu{
        padding: 0 30px;
        margin: 25px 0 0 0;
        gap: 25px;
    }
    .menu a{
        font-size: 18px;
    }

}

@keyframes openMenu {
    from{
        transform: translateX(100%);
    }
    to{
        transform: translateX(0);
    }
}

@keyframes closeMenu {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}
