/** Importo variables **/
@import "variable.css";
/** Importo fuentes **/
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

body {
  font-family: 'Old Standard TT', sans-serif;
  background-color: var(--gris-oscuro);
  margin: 0 auto;
}

header {
  font-size: 14px;
  text-align: right;
  border-bottom: 0.065rem solid var(--blanco);
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  height: 13vh;
  padding: 0 5%;
}

/* SECCIÓN INICIO CON DEGRADADO Y CENTRADO DE CONTENIDO */
.seccion-inicio {
  display: flex;
  width: 100%;
  height: 87vh;
  align-items: center; /* Centra verticalmente avatar e información */
  background: linear-gradient(135deg, var(--azul), var(--gris-oscuro));
}

/* ASIDE REDES / LÍNEA */
aside {
  width: 10vw;
  height: 100%;
  background-color: var(--gris-semi-oscuro);
}

aside img {
  max-width: 32px;
  display: block;
  margin: 40% 44%;
  color: var(--blanco);
}

.linea {
  margin: 30% 50% 0;
  height: 38vh;
  border-left: 4px solid var(--azul);
  display: block;
  position: relative; /* Permite posicionar los puntos respecto a la línea */
}

/* Tres puntos verticales al final de la línea */
.linea::after {
  content: '';
  position: absolute;
  bottom: -22px;       /* Ajusta la distancia respecto al final de la línea */
  left: -2.5px;        /* Centra los puntos con el borde de 1px */
  width: 4px;
  height: 4px;
  background-color: var(--azul);
  border-radius: 50%;
  /* Sombra para crear el segundo y tercer punto */
  box-shadow: 
    0 28px 0 0 var(--gris-clarito-lineas),
    0 56px 0 0 var(--gris-oscuro);
}

/* NAVEGACIÓN */
.boton-catedra {
  color: var(--blanco);
  text-align: left;
  margin: 0;
}

.boton-ocampo {
  font-weight: 900;
  color: var(--azul);
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
  display: inline-block;
  padding: 0 0 0 2vw;
}

nav {
  display: flex;
  align-items: center;
}

a {
  text-decoration: none;
}

ul a {
  color: #FFF;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 2.8px;
}

/* FOTO Y DATOS DE INICIO */
.foto-sofia {
  width: 40vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.texto-inicio {
  width: 50vw;
  padding-right: 5%;
}

.texto-inicio h1 {
  margin: 0 0 1rem 0;
  color: var(--blanco);
  font-family: 'Old Standard TT', sans-serif;
  font-size: 2.8rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 3.6px;
}

.texto-inicio h2 {
  color: #000;
  text-align: center;
  font-family: 'Old Standard TT', sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.texto-inicio h3 {
  color: var(--azul);
  font-family: 'Old Standard TT', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 4.8px;
  margin-bottom: 0.5rem;
}

p {
  color: var(--blanco);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.texto-medium {
  font-weight: 600;
}

.alumno_imagen {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
  border: solid 0.2em var(--blanco);
  display: flex;
  justify-content: center;
  align-items: center;
}

.alumno_imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grilla {
  z-index: -1;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  display: block;
}

.texto-estudiante {
  letter-spacing: 1px;
  text-align: left;
  margin-top: 10%;
  font-size: 20px;
  font-weight: 400;
  color: var(--blanco);
}

.texto-estudiante span {
  color: var(--azul);
  font-weight: 700;
}

/* SECCIÓN FOJA ACADÉMICA Y DATOS */
.seccion-foja-academica {
  background-color: var(--gris-semi-oscuro);
}

.seccion-foja-academica h1,
.seccion-integrantes h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 2.88px;
  color: var(--blanco);
  padding-left: 10vw;
  margin-top: 0;
  padding-top: 4vw;
}

.seccion-foja-academica h1 {
  padding-bottom: 1rem;
  border-bottom: 0.065rem solid var(--blanco);
}

.linea-anios {
  width: 70px;
  border: 3px solid var(--azul);
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
}

.seccion-foja-academica h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 26px;
  font-weight: 600;
  color: var(--blanco);
}

.seccion-foja-academica article {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Crea 3 columnas iguales */
  padding: 0;
  margin-left: 10vw;
  margin-right: 10vw;
  padding-top: 2rem;
  padding-bottom: 4rem;
  gap: 2rem;
}

.seccion-foja-academica article section {
  padding-bottom: 2rem;
}

.seccion-foja-academica article section ol li {
  color: var(--azul);
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
  padding-left: 0;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 0.3rem;
}

.seccion-foja-academica article section ol {
  padding: 0;
  margin: 0;
  display: block;
}

.texto-bold {
  font-weight: 700;
  color: var(--blanco);
}

/* INTEGRANTES */
.seccion-integrantes article {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin-left: 10vw;
  margin-right: 10vw;
  padding-bottom: 5rem;
}

.seccion-integrantes article figure {
  display: grid;
  padding: 0;
  margin: 0;
}

.seccion-integrantes article figcaption {
  background-color: var(--blanco);
  padding: 1.5rem;
  border-radius: 4px;
}

figcaption h2 {
  margin: 0;
  color: var(--azul);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

figcaption h3 {
  margin: 0;
  color: var(--gris-oscuro);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.datos-integrantes {
  min-height: 8rem;
}

.boton-ver-mas {
  text-align: right;
  border: 0;
  margin-top: 1rem;
  margin-bottom: 0;
}

.boton-ver-mas a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gris-oscuro);
}

.boton-ver-mas a:hover {
  color: var(--azul);
}

/* SECCIÓN DATOS DGPC */
.seccion-datos-dgpc article ol li {
  color: var(--azul);
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
  padding-left: 0;
  letter-spacing: 0.6px;
  display: block;
}

.seccion-datos-dgpc article ol {
  padding: 0;
  margin: 0;
}

.texto-bold-inst {
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 2px;
}

.texto-blanco {
  color: var(--blanco);
}

/* FOOTER */
footer {
  background-color: var(--azul);
}

footer p {
  color: var(--blanco);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  padding: 2rem 4rem;
  margin: 0;
}

/* DISEÑO RESPONSIVE (CELULARES / TABLETS) */
@media (max-width: 768px) {
  aside {
    display: none;
  }

  .seccion-integrantes article {
    grid-template-columns: 1fr;
  }

  .seccion-foja-academica article {
    grid-template-columns: 1fr;
  }

  .alumno_imagen {
    position: relative;
    width: 12rem;
    height: 12rem;
  }

  .seccion-inicio {
    height: auto;
    display: block;
  }

  .texto-inicio {
    padding: 2rem;
    width: auto;
  }

  .foto-sofia {
    padding-left: 0;
    width: auto;
    justify-content: center;
    margin-top: 3rem;
  }

  header {
    font-size: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: auto;
    background-color: var(--gris-semi-oscuro);
  }

  nav ul li {
    display: inline-block;
    padding: 0.4rem;
  }

  .texto-inicio h1 {
    font-size: 2rem;
    text-align: center;
    line-height: 2.5rem;
  }

  .texto-inicio h3 {
    text-align: center;
  }

  .texto-estudiante {
    text-align: center;
  }

  footer p {
    padding: 2rem;
  }
}