
body{
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.services_head,
.other_class {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Clase visible para cuando el elemento se haga visible */
.services_head.visible,
.other_class.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo básico para los contenedores */
.container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    margin: 20px 0;
}

/* Estilo para el header */
header {
    width: 100%;
    height: 10dvh;
    background: var(--color6);  
    display: block;
    position: fixed;
    padding: 1em;
    top: 0;
    left: 0;
    z-index: 10;
    transition: 1s;
}


.container_nav {
    width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_Holdexpert {
    width: 30%;
    height: 100%;
    background-image: url(../img/Logo-H);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all 2s;
}

.nav_Holdexpert img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 2s;
}

.nav_logo {
    width: 30%;
    height: 100%;
    background-image: url(../img/logo_azul.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all 2s;
}

.nav_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 2s;
}

.nav-list{
    list-style-type: none;
    display: flex;
    width: 100%;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.nav-list li a{
    text-decoration: none;
    color: var(--color5);
    font-size: var(--font-size-subencabezado);
    font-family: var(--font-family-tittle);
    transition: all 2s;
}

.nav_moviment .nav-list li a{
    color: var(--color5);
}

.btn-close{
    display: none;
}



.icon_search {
    flex-direction: column;
    display: flex;
    width: 20%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon_search i {
    color: var(--color5);
    cursor: pointer;
    transition: all 2s;
}

.toggle {
    cursor: pointer;
    padding: 0 20px;
    font-size: 20px;
    line-height: 60px;
    border: none;
    background: none;
    display: none;
    transition: 1s;
}

.container_busqueda {
    width: 100%;
    height: 100px;
    background: var(--color);
    position: absolute;
    z-index: 10;
    top: 100px;
    display: none;
}

.InfoSearch {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    display: none;
    height: 100vh;
    background-color: var(--color6);
    font-family: var(--font-family-tittle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: top 0.5s ease-in-out;
    z-index: 1000;
}

.InfoSearch input {
    font-size: var(--font-size-titulo);
    width: 50%;
    border: none;
    background: none;
    border-bottom: 1px solid var(--color);
    outline: none;
}

.btn_exit {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color);
}

.show-search {
    top: 0;
}

.IconMenu {
    width: 20%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color6);
    display: none;
}

@media screen and (min-width:767px) and (max-width:1020px){
 
    header{
        background-color: var(--color6);
        width: 100%;
        height: 5dvh;
    }

    .nav_logo {
        width: 70%;
        background-image: url(../img/logo_azul.png);
        
    }

    .navList {
        opacity: 1;
        visibility: hidden;
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 1rem;
        top: 0;
        right: 0;
        background-color: var(--color);
        width: 30%;
        padding: 5rem;
        height: 100dvh;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    }


    .nav .visible{
        opacity: 1;
        visibility: visible;
    }

    .nav-list{
        height: 100%;
        width: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: end;
        
    }

    .nav-list li a{
        font-family: var(--font-family-tittle);
        font-size: var(--font-size-display);
        color: var(--color6);
        line-height: 100px;
    }



    .IconMenu{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--color5);
        font-size: var(--font-size-display);
    }
    
    .btn-close{
        display: block;
        border: none;
        font-size: var(--font-size-display);
        font-family: var(--font-family-tittle);
        background-color: transparent;
        color: var(--color6);
        cursor: pointer;
    }

    .icon_search i{
        font-size: var(--font-size-display);
        color: var(--color5);
    }

}



@media screen and (max-width: 767px) {

    header{
        height: 80px;
        background-color: var(--color6);
    }

    .container_nav .nav_logo{
        width: 20%;
        height: 50px;
        margin-top: 20px;
        background: url(../img/logo_azul.png) no-repeat;
        background-size: contain;
        background-position: center;   
        cursor: pointer;
        transition: 1s;
    }
    
    .container_nav{
        width: 90%;
        height: 80px;        
    }
    
    .container_nav .nav_logo{
        width: 60%;
    }
    
    .container_nav .nav_logo img{
        width: 100%;
        height: auto;
    }
    
    .container_nav .nav_lista{
        width: 50%;
    }
    
    .container_nav .nav_lista ul{
        width: 100%;
        height: calc(100% - 80px);
        flex-direction: column; 
        position: fixed;
        top: 80px;
        text-align: center;
        padding: 0;
        overflow-y: auto;
        background: var(--color3);
        left: 0;
        transition: left 0.3s;
    }
    


 

    .fondo_menu .container_presentation .subtitulo{
        width: 90%;
        margin-top: 50px;
        font-size: var(--font-size-titulo);
    }

    #icon_search{
        display: none;
        line-height: 80px;
        color: var(--color5);
        margin: 0px;
    }

    #icon_search i{
        color: var(--color5);
        display:none;
    }

    #icon_search a{
        color: var(--color5);
    }
    
    .toggle{
     display: block;
     line-height: 80px;
     color: var(--color5);
    }

    .toggle i{
        color: var(--color6);
    }

    .container_nav .nav_lista .nav_visible{
        left: 1000px;
        color: var(--color6);
    }
    
   
} 