/*Color de Fondo del sistema de inicio*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;/*Color blanco humo*/
}

/* Fijar la barra en la parte superior al hacer scroll */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* por encima de otros elementos */
}

/* Responsividad */
@media (max-width: 768px) {
.container {
    flex-direction: column;
}
.half {
    min-height: 200px;
}
.imagenes-publicaciones {
    flex-direction: column;   /* Apila las imágenes */
    align-items: center;
}
.imagenes-publicaciones .imagen {
width: 100%;  /* En pantallas pequeñas, las imágenes ocuparán todo el ancho disponible */
}
.nombre-uae {
    display: none;
    }
}


/*Encabezado del sistema*/
.header {
    background: url('../img/encabezado.jpg') no-repeat center center fixed;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    position: relative;
}
.header p {
    margin-top: 10px;
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    z-index: 2;

}
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Capa oscura */
    z-index: 1;
}

/*Logo que va encima del encabezado*/
.logo {
    max-width: 200px;
    margin-bottom: 20px;
    z-index: 2;
}
.small-logo {
	max-height: 65px; /* Tamaño reducido del logo */
	margin-right: 10px; /* Espacio entre la imagen y el texto */
}
.nombre-uae {
    color: white;
    font-weight: bold;
}
/* Barra  debajo del encabezado */
        
.green-border {
    background-color: #4F4F4F;
    height: 70px; /* Aumentado desde 50px */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-size: 18px; /* Aumentado desde 16px */
    font-weight: bold;
    box-sizing: border-box;
    padding: 0 30px; /* Más espacio horizontal */
    transition: all 0.3s ease;
}

/* Estilos para la sección de ubicación */
.ubicacion {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}
/* Estilos de letra*/
.ubicacion h1 {
    font-size: 18px;  /* Tamaño más pequeño */
    font-weight: normal;  /* Sin negrita */
    color: #333;  
}
.ubicacion h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block; /* Para que la línea solo ocupe el ancho del texto */
    border-bottom: 4px solid yellow; /* Línea amarilla */
    padding-bottom: 5px; /* Espaciado entre el texto y la línea */
}

/* Estilos de imagenes seccion publicaciones*/
.imagenes-publicaciones {
    display: flex;
    flex-wrap: wrap;          /* Permite que las imágenes bajen a la siguiente línea */
    justify-content: space-between;  /* Espacio entre las imágenes */
    gap: 20px;  /* Espacio entre las imágenes */
    margin-top: 20px;  /* Espacio superior */
}

.imagenes-publicaciones .imagen {
    width: 75%;  /* Cada imagen ocupará el 33% del ancho del contenedor */
    height: auto;  /* Mantener la relación de aspecto */
    border-radius: 8px;  /* Bordes redondeados opcionales */
    transition: transform 0.3s ease;  /* Efecto al pasar el ratón */
}

.imagenes-publicaciones .imagen:hover {
    transform: scale(1.1);  /* Aumenta ligeramente el tamaño de la imagen al pasar el ratón */
}

/* Estilos del sistema estudiantes/docente*/
.titulo-seccion {
    text-align: center;
    margin: 40px 0 20px;
}

.titulo-seccion h2 {
    font-size: 32px;
    color: #000; /* Texto negro */
    font-weight: bold;
    display: inline-block; /* Para que la línea no ocupe todo el ancho */
    border-bottom: 4px solid yellow; /* Línea amarilla debajo del texto */
    padding-bottom: 5px; /* Espacio entre el texto y la línea */
    margin: 0;
}
.container {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
    justify-content: space-between;
    gap: 20px;
    margin-top: 90px; /* Agrega espacio entre la barra y las imágenes */
}
.half {
    flex: 1;
    min-height: 500px;/*altura de las imagenes de estu y doc*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    text-align: center;
}
.half button {
    background-color: #212529;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    
}
.half button:hover {
    background-color: #444;
}
.left {
    background: url('../img/estudiante.JPG') no-repeat center center;
    background-size: cover;
    position: relative;
    
}
.right {
    background: url('../img/docente.JPG') no-repeat center center;
    background-size: cover;
    position: relative;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/*Estilo de Mapa*/
.info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: green;
}
.info-item i {
    font-size: 24px;
    color: #FFD700;
}
.map-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
}
iframe {
    width: 100%;
    height: 400px;
    border: none;
}
/* Botones mi estiilo*/
.boton-personalizado {
    background-color: #212529;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    width: 100%
    
}

.boton-personalizado:hover {
    background-color: #444;
}
