:root{
    --blanco: #ffffff;
    --verde: #238C55;
    --dorado: #c7b446;
    --negro: #000000;
    --gris: #d6dbdf;
}

html body{
    margin: 0;
    padding: 0;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 16px;
    font-family: "Krub", sans-serif;
}

/*CONTENIDO HEADER*/
header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Asegura que el header esté por encima de otros elementos */
    background-color: #ffffff; /* Color de fondo del header */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sombra opcional para mejor visibilidad */
}

header .section_uno{
    background-color: var(--verde);
    font-size: 12px;
    font-weight: 600;
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content:space-evenly;
}

.aten_inm{
    display: flex;
    align-items: center;
    justify-content: baseline;
}

.phone{
    width: 13px;
    height: 13px;
    margin-right: 10px;
}

.nav_principal a{
    margin-left: 13px;
    color: var(--blanco);
    text-decoration: none;
    padding: 1rem;
    transition: all 0.5s ease;
}

.nav_principal a:hover{
    background-color: var(--dorado);
    color: var(--verde);
}

header .section_dos{
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content:space-around;
    padding: 1rem;
}

.nav_secundario a{
    color: var(--negro);
    text-decoration: none;
    font-weight: 600;
    margin-right: 13px;
    padding: 1rem;
}

.nav_secundario a:hover{
    background-color: var(--verde);
    color: var(--blanco);
    transition: all 0.5s ease;
    border-radius: 5px;
}

.menu_horizontal{
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.menu_horizontal > li{
    position: relative;
}

/* Submenú oculto por defecto */
.menu_vertical{
    position: absolute;
    display: none;
    list-style: none;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.50);
    z-index: 1000;
    min-width: 180px;
}

/* Enlaces del submenú */
.menu_vertical li a {
    color: var(--negro);
    padding: 10px 15px;
    background-color: var(--blanco);
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 84%;
}

.menu_vertical li a:hover {
    background-color: var(--verde);
    color: var(--blanco);
}

/* Mostrar submenú al pasar el mouse */
.menu_horizontal li:hover .menu_vertical{
    display: block;
}

/* Estilo para el botón de "Admisión 2025" */
.admin_2025 {
    background-color: var(--verde);
    border-radius: 5px;
}

/*FIN DE HEADER*/

/*Footer*/

/* --- ESTILOS PARA LA SECCIÓN DE INFORMACIÓN --- */
.info_uae {
    display: flex;
    background-image: url(img/reforma.jpg);
    background-position: center;
    background-size: cover;
    justify-content: center;
}

/* Contenedores principales */
.info_contenedor_01, 
.info_contenedor_02, 
.info_contenedor_03, 
.info_contenedor_04 {
    width: 17%;
    color: var(--negro);
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 20px;
}

/* Contenedor 1 (Logo y direcciones) */
.info_contenedor_01,
.info_contenedor_02,
.info_contenedor_03,
.info_contenedor_04 p{
    font-size: 12px;
}
.info_contenedor_01 img {
    width: 40%; /* Tamaño del logo */
}

/* Redes sociales */
.info_contenedor_redes {
    display: flex;
    gap: 15px; /* Espacio entre iconos */
    margin-top: 20px;
}

.info_contenedor_redes svg {
    background-color: rgba(4, 187, 96, 0.3); /* Fondo verde con transparencia */
    border-radius: 50%; /* Forma circular */
    padding: 8px;
    transition: all 0.3s ease;
}

.info_contenedor_redes svg:hover {
    background-color: rgba(4, 187, 96, 0.7); /* Efecto hover */
    transform: scale(1.1);
}

/* Contenedor 2 (Contacto) */
.info_contenedor_02 a {
    font-weight: bold;
    color: var(--dorado);
    text-decoration: underline;
}

.info_contenedor_02 img{
    width: 10%;
}

/* Contenedor 3 (Mapa del sitio) */
.info_contenedor_03 ul {
    list-style-type: none; /* Quita viñetas */
    padding-left: 0;
}

.info_contenedor_03 li {
    margin-bottom: 40px; /* Espacio entre enlaces */
}

.info_contenedor_03 a {
    text-decoration: none;
    color: var(--negro);
    transition: color 0.3s;
}

.info_contenedor_03 a:hover {
    color: var(--dorado); /* Efecto hover */
}

/* Contenedor 4 (Docentes e inscripción) */
.info_contenedor_04 a {
    color: var(--dorado);
    font-weight: bold;
    display: block; /* Cada enlace en línea separada */
    margin-bottom: 15px;
}

.creditos {
    display: flex;
    background-color: var(--verde);
    justify-content: center;
    
}

.creditos p{
    color: var(--blanco);
    text-align: center;
    font-size: 10px;
}
