@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'manrope', sans-serif; 
}

body {
  background-color:#ffffff;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0; /* Asegura que esté pegado arriba */
  left: 0; /* Asegura que esté pegado a la izquierda */
  width: 100%; /* FUNDAMENTAL: el header ocupa todo el ancho de la ventana */
  padding-block: 1rem;
  background-color: #22625D;
  color: #fff;
  z-index: 1000;
}

footer {
  background-color: #14694A;
  color: #fff;
  padding: 2rem 2rem;
}

.menu-fijo.contenedora { 
  display: flex;
  justify-content: space-between; /* Empuja el logo a un extremo y el menú al otro */
  align-items: center; /* Centra verticalmente logo y menú */
  flex-wrap: wrap; /* Permite que los elementos se envuelvan si no caben */
  gap: 2rem; /* Espacio entre los elementos */
  width: min(75rem, calc(100% - 2rem)); 
  margin-inline: auto; /* Centra horizontalmente el contenido dentro del header */
}

/* Logo */
#logo img {
  background-color: hsl(0, 0%, 100%);
  padding: .5rem;
  border: solid 2px #ffffff;
  border-radius: .5rem;
  max-width: 100%; 
  height: auto; 
}

/* Menu */
header nav ul {
  margin-block: 0;
  padding-left: 0;
  list-style: none; 
  display: flex; 
  gap: 1rem; 
}

header nav a {
  color: #e6e3e3;
  display: block; 
  width: fit-content; 
  padding-block: .5rem;
  padding-inline: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  transition: background-color 0.3s ease-in, color 0.3s ease-in;
  border-radius: .25rem; 
}

nav ul li a:hover {
  color: #000000;
  background-color: #dddddd;
}

.pagactual {
    background-color: #32A073;
    border-radius:.25rem;
}


/* Fotos */
.fotorama {
    width: 100%;
    height: auto;
    margin-top: 50px; /* para que quede abajo del header */
    margin-bottom: 2rem;
}

/* Secciones y artículos */
.intro-contenido {
    display: grid;
    justify-items: start;
    padding: 0 3rem;
    max-width: 1500px;
    margin-top: 2rem;
    margin: 0 auto;
    color: #0e3629;
}
 
.intro-contenido h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}
 
.separador {
  border: none;
  height: 5px;
  background-color: #F39CC7;
  margin: 1rem 0;
  width: 500px;
}
 
.nombreapp {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #43d397;
}
 
.intro-contenido p {
  margin-bottom: 2.3rem;
  line-height: 1.3;
  font-size: 1.3rem;
}
 
section {
    color: #dddddd;
}

section ul li {
    font-size: 0.8rem;
}
.destacado {
    font-weight: bolder;
    color: #32A073;
}
.nombres {
    background-color: #32A073;
    margin: 2rem 0;
    text-align: center;
    padding: 2rem;
}

.nombres h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #F5E2B7;
}

/* Contenedor de los miembros */
.equipo {
    display: flex;
    gap: 5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estilos de cada miembro */
.miembro {
    background-color: #22625D;
    box-shadow: 0 0 10px #00000066;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.miembro:hover {
    transform: translateY(-5px); 
}

.miembro img {
  width: 200px;
  height: auto; 
  object-fit: contain; 
  border-radius: 8px;
  margin-top: 0.5rem;
}

/* Botón para ver el rótulo */
.btn-ver-rotulo {
    background-color: transparent;
    color: #e9e9e9;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid #59C79F;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.btn-ver-rotulo:hover {
    background-color: #F39CC7;
    color: #fff;
}
footer {
    margin-top: 2rem;
    font-size: 0.875rem;
}
/* Index del mapa */

.mapa img {
    width: 100%; 
    margin-top: 5rem;
    object-fit: contain;
    display: block;
    gap: 1rem;
}

.plan {
    margin-top: 5rem; 
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.contenedor-imgs {
    display: flex;
    width: 100%;
    height: 100%;
}
 
.contenedor-imgs img {
    width: 50%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

/*datos academicos*/

.academicos {
  padding: 2rem 0;
  color: #f0f0f0;
}

/* Título de Datos Académicos */
.tituloacademicos {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  text-align: left;
  width: min(75rem, calc(100% - 2rem));
  margin-inline: auto;
}

/* Contenedor de los cuadritos */
.academicos .contenedora {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.academicos ul li {
  background-color: #ffffff;
  border: #32A073 solid 2px;
  border-radius: 20px;
  padding: 1.5rem;
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.academicos figure {
    margin: 0 0 1rem 0;
    width: 100%;
    text-align: center;
    background-color: white;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.academicos img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.academicos h3,
.academicos h4 {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #22625D;
  text-align: left;
  width: 100%;
}

/* Nombres de rectores/decanos y adjuntos/docentes */
.academicos ul li ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0.5rem 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    color: #000;
    line-height: 1.2;
}

.academicos ul li ul li {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    line-height: 1.2;
    border: none;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    text-align: left;
}

.academicos p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  text-align: left;
  line-height: 1.2;
}

/* Botones académicos*/
.botonesacademicos {
    margin-top: auto;
    margin-inline: auto;
    display: block;
    color: #32A073;
    text-decoration: none;
    padding: 0.5rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #43d397;
    transition: all 0.3s ease;
    text-align: center;
}

.botonesacademicos:hover {
    background-color: #43d397;
    color: #000;
}

.video-presentacion {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  background-color: #f0f0f0; /* opcional, si querés que contraste */
}

.video-centrado {
  max-width: 90%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}