* {
  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, #b0d64f -14.08%, #8cc055 44.31%, #FFF69C 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(133, 160, 95);
  text-transform: uppercase;
}

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

header {
  /* sombra difusa  */
  box-shadow:
  0   /* desplazamiento horizontal */
  10px /* desplazamiento vertical */
  10px /* desenfoque */
  hsla(85, 84%, 30%, 0.589)
}

#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: #8cc055;
}

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(133, 160, 95, 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 #7c963baa;
  border-radius:70%;
  box-shadow:0px 5px 5px rgba(104, 139, 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: #86a764;
  margin-top: 0em;
  font-size:130%;
}

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

.contenedora-portafolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px; /* Espacio entre los botones del portafolio */
  margin-top: 10px; /* Espacio superior para separarlos del contenido anterior */
}

.portafolio {
  padding: 1px 13px;
  background-color: rgba(172, 203, 105, 0.449);
  color: rgb(84, 92, 66);
  border-radius:.3em;
  text-decoration: none;
}

.portafolio:hover {
  background-color:rgba(255, 255, 255, 0.755); /* Cambia el color de fondo al pasar el cursor */
 /* Cambia el color del texto al pasar el cursor */
}

/* --------------------
   seccion equipo vm22
   -------------------- */


.titulos {
  border-block-end: .2rem solid rgb(133, 160, 95);
  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(102, 130, 63);
  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, #7e9348 -14.08%, #95c760 44.31%, #cec777 125.44%);
}

.boceto ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:rgb(133, 160, 95);
  padding-block: .5rem;
  border-radius: .6em;
}
.boceto ul li a {
  display: flex;
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin: 0;
}

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

.cursadas, .cursando {
  border: 2px solid rgba(172, 203, 105, 0.449);
  background-color: rgba(172, 203, 105, 0.449);
  color: rgb(84, 92, 66);
  text-decoration: none;
  margin: 1em;
  padding: 18px;
  border-radius: .6em;
}
 

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


.academicos > ul > li:not(:last-of-type) {
  border-bottom: .2rem solid rgb(133, 160, 95);
  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;
}

