.headerNav{
display: flex;
flex-direction: row;
/* flex-wrap: wrap; */
justify-content: space-between;
align-items: center;
/* background-color:  #cccccc; */
background-color: #9a9a9a;
position: fixed; /* Fija el header en su lugar */
top: 0;          /* Alineado al borde superior */
left: 0;         /* Alineado al borde izquierdo */
width: 100%;     /* Ocupa todo el ancho de la ventana */
z-index: 1000;   /* Asegura que esté encima de otros elementos */
/*padding: 10px 0;*/ /* Espaciado interno */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para mayor visibilidad */
transition: transform 0.3s ease-in-out; /* Transición suave al mostrar/ocultar */

}

/* Este css tiene efecto cuando se agrega dinámicamente con JavaScript la clase .hidden */
.headerNav.hidden {
    transform: translateY(-100%); /* Oculta el header moviéndolo hacia arriba */
}

.header{
display: flex;
flex-direction: row;
/* flex-wrap: wrap; */
justify-content: flex-start;
/* align-content: flex-end; */
width: fit-content;
height:  fit-content;
color: rgb(0, 2, 97);
}

/* css para el contenido asideleft, main y asideright */

.row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* background-color: rgb(16, 180, 225); */
    /* border: 1px solid #000; */
    justify-content: space-between;
}




/* Css para el pie de pagina */
.footerContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
    padding: 20px;
    /* border: 1px solid #000; */
    background-color: #9a9a9a;

}

.footerItems {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    /* border: 1px solid #000; */
    /* background-color: #b0b0b0; */
    justify-content: flex-start;
    align-content: center;
    overflow: hidden; 
    width: 180px;
}

.titleFooterItem{

    color: rgb(0, 0, 0);
    font-size: 20px;
}

.footerLink{

    color: black;
    padding: 12px 16px; 
    text-decoration: none;
    display: block;
    font-size: 18px;
}

.footerItems a:hover {
    /* background-color: #d9f8e8; */
    color: rgb(0, 3, 174);
    /* font-size: 16px; */
    /* border-radius: 30px */
}



.iconItems {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    /* border: 1px solid #000; */
    /* background-color: #b0b0b0; */
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    width: 200px;
    font-size: 10px;
}

.iconItems a:hover {
    opacity: 0.7; /* Ajusta el valor de opacidad según tu preferencia */
}

.asideRight{
    width: 100%;
}
.asideRightContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 150px;
    padding-left: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    /* border: 1px solid #000; */
    background-color: #cccccc;


}

.asideRightItems{
    /* border: 1px solid #000; */
    /* background-color: rgb(255, 255, 255); */
    
    font-size: x-large;
    color: white;
    
    
}
.asideRightItems .boxLinkAccess{
    
    padding: 10px;
    border-radius: 30px;
}

@media screen and (max-width: 1000px) {
    /* Aplicar la animación en la clase .logo-bar para pantallas pequeñas */

    .asideRightContainer{
        flex-direction: column;
        row-gap: 20px;

    }

}


.asideRightItems img {
    animation: vibrar-y-quieto 2s infinite;
    /* background-color: none; */
}

@keyframes vibrar-y-quieto {
    0%, 80% {
        transform: translate(0, 0); /* Quieto */
    }
    81% {
        transform: translate(-3px, 0); /* Inicio hacia la izquierda */
    }
    83% {
        transform: translate(-3px, 3px); /* Abajo a la izquierda */
    }
    85% {
        transform: translate(0, 3px); /* Abajo en el centro */
    }
    87% {
        transform: translate(3px, 3px); /* Abajo a la derecha */
    }
    89% {
        transform: translate(3px, 0); /* Arriba a la derecha */
    }
    91% {
        transform: translate(3px, -3px); /* Arriba a la derecha */
    }
    93% {
        transform: translate(0, -3px); /* Arriba en el centro */
    }
    95% {
        transform: translate(-3px, -3px); /* Arriba a la izquierda */
    }
    97% {
        transform: translate(-3px, 0); /* Regreso a la izquierda */
    }
    100% {
        transform: translate(0, 0); /* Quieto */
    }
}
