* {
  box-sizing: border-box;
}

/* ----------------
   reglas generales
   ---------------- */

body {
  margin: 0;
  font-family:"Poppins", sans-serif;
  font-weight: 400;
  background-color: rgba(255, 243, 227, 0.856);
  min-height: 100dvh;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
}

ul, 
ol {
  list-style: none;
  padding: 0;
}

p,
li {
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
  align-content: center;
}

/* esto abarca a todas las contenedoras */
.contenedora {
  max-width: 65rem;
  margin: 0 auto;
  padding: 1rem;
}

/* -------------------
   componente superior
   y sus contenidos
   ------------------- */

header, 
footer {
  /* se aplica un gradiente de tonos verdes*/
  background:linear-gradient(86.63deg, #f5aa08 -14.08%, #eeb10a 44.31%, #ffd19c 125.44%);
  color: white;}

header .contenedora {
  display: flex;
  /* separa los contenidos */
  justify-content: space-between;
  /* los centra */
  align-items: center;
  flex-wrap: wrap;
  text-align: justify;
  gap: 1rem;
}

.titulos { 
  color: rgb(0, 0, 0);
  border-bottom: .1em solid rgb(192, 120, 26);
  text-transform: uppercase;
}

/* ---------
     menu 
   --------- */

#logodgpc {
  border-radius: 0;
  padding: .35em;
  width: 8em;
}

header nav ul {
  display: flex;
  gap: .50rem;
  flex-wrap: wrap;
  margin-block: 0;
}

header nav a:hover {
  background-color: #ff6600;
}

header nav ul li {
  min-width: 5em;
  margin: .25em o .25em .25em ;
}

header nav ul li a {
  color: hsl(0, 100%, 100%);
  background-color:  rgba(241, 198, 7, 0.614);
}

header nav ul li a {
  display: flex; /*block*/
  width: 7em;
  padding: 0 .25em .3em;
  border-radius: .25em;
  justify-content: center;  /* centrado en la horizontal*/
  text-align: center;   /* centrado en la vertical*/
  text-transform: uppercase;
  font-weight: bold;
}

/* ------------------
   componente central
   y sus contenidos
   ------------------ */

.presentacion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.presentacion img {
  max-width: 240px;
  aspect-ratio: 1;
  border: solid #f5aa08;
  border-radius:70%;
  box-shadow:0px 5px 5px rgba(139, 51, 0, 0.514);
}

.presentacion >*{
  flex: 1 1 240px;
}

.info {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.nombre {
  margin-bottom: 10px;
  color: black;
  padding: 2px;
}

.subtitulo {
  color: #f5aa08;
  margin-top: 0em;
  font-size:130%;
}

.presentacion a {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: bold;
  margin: 0;
}  

/* --------------------
   seccion equipo jt01
   -------------------- */


.titulos {
  border-block-end: .2rem solid rgb(192, 120, 26);
  padding-block-end: .27rem;
}

.equipo ol li  {
  display: block;
  text-align: center;
  margin: .5em 0 auto;
  border-radius: .25em;
}

.equipo {
  display: flex;   
  justify-content: center;
  flex-wrap: wrap;
  text-align: justify;
  width: 100%;
  border-radius: .99em;
  flex-direction: column;
}

.equipo h2 {
  width: 100%;
  margin-top: .6em;
  margin-bottom: .5em;
  color: rgb(0, 0, 0);
}

.equipo a {
  font-weight: bold;
  margin: .5em;
}

.equipo-boton {
  display: flex;
  background-color: rgb(192, 120, 26);
  border-radius: .60rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
  justify-content: space-around;
  flex-direction: row;
  padding: 1px 13px;
  line-height: 2em;
}

.equipo a:hover {
  background:linear-gradient(86.63deg, #f5aa08 -14.08%, #eeb10a 44.31%, #cec777 125.44%);
}

/* -----------------
   seccion bocetos
   -----------------*/

.grid-bocetos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
}

.grid-bocetos img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #ddd;
  transition: transform 0.3s;
  height: auto;
  max-width: 400px;
}

.grid-bocetos img:hover {
  transform: scale(1.08);
  border-color: #f5aa08;
}


/* -----------------
   seccion materias
   -----------------*/

.cursadas, .cursando {
  border: 2px solid rgba(240, 196, 52, 0.507);
  background-color: rgba(240, 196, 52, 0.507);
  color: rgb(148, 93, 42);
  text-decoration: none;
  margin: 1em;
  padding: 18px;
  border-radius: .6em;
}
.gif-materias {
    display: block; /* Para asegurarte de que ocupe una li­nea completa */
    margin: 10px auto; /* Centra el GIF y agrega espacio arriba y abajo */
    width: 50%; /* Ajusta el tamaño segun sea necesario */
    max-width: 300px; /* Limita el tamaño maximo */
    height: auto; /* Mantiene la proporcion del GIF */
}
 

/* ------------------------
   seccion datos academicos
   ------------------------ */


.academicos > ul > li:not(:last-of-type) {
  border-bottom: .2rem solid rgb(192, 120, 26);
  padding-bottom: .9em;
  margin-bottom: .9em;
  }

.academicos img {
  width: 12m;
  height: auto;
}

.academicos > ul > li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; 
  text-align: justify;
  }

.academicos > ul > li > *:first-child {
  margin-right: 2em;
  width: 12em;
  }

.academicos h3 { 
  margin-top: inherit; 
}

.plan main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
} 

/* .plan main > :not(:first-child) {
  width: 48%;
} */

/* ------------------
   componente inferior
   y sus contenidos
   ------------------- */

footer p {
  margin: 0;
}

