@charset "utf-8";

* {
  box-sizing: border-box;
}


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

   @font-face {
    font-family: mi fuente poppins;
    src: url(./Poppins/Poppins-Regular.ttf);
   }

body {
  font-family: 'mi fuente poppins';
  margin: 0;
  color: hsl(276, 100%, 18%); /*color de fondo*/
  background-color: hsl(268, 100%, 89%);
}


h1, h2, h3 {
  color: hsl(278, 93%, 39%);
  line-height: 1.1;
}

.comitente_textos{
text-align: justify;
font-size: 1.2rem;   
}

img {
  max-width: 100%;
}


a {
  text-decoration: none;
  color: hsl(278, 93%, 39%);
  font-weight: bold;
}

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

.contenedora {

  max-width: 65rem;
  margin-inline: auto;
  padding: 1rem;
}

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


header,
footer {
  background-color: hsl(278, 93%, 39%);
  color: hsl(0 0% 95%);
}

header {
  box-shadow:0 4px 4px hsl(0 0% 0% / 20%) 

}

#logo a:hover,
#logo a:focus-visible {
  background-color:hsl(278, 100%, 62%);
  border-radius: 100px;
}


/* boton del menu */

.menu-btn {
  background-color: hsl(278, 93%, 39%);
  border: none;
  outline: none;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
}

.menu-btn .btn-linea {
  width: 1.5em;
  height: 3px;
  margin: 4px auto;
  background-color: hsl(0 0% 95%);
  transition: all 0.3s ease-out;
}


/*menu*/
header nav ul {
  margin-block: 0;
}

header nav a {
  color: hsl(0 0% 95%);
  background-color: hsl(278, 97%, 35%);
  display: block;
  width: 7em;
  padding-block: 0.50em .5em;
  border-radius: 100px;
  text-align: center;
}


header nav a:hover,
header nav a:focus-visible {
  background-color: hsl(278, 81%, 85%);
  color:hsl(278, 93%, 39%);
  outline: none;
}


section {
  padding-block-end: 2rem;
}

.comitente {
  font-size: 1.25em;
}

.comitente img {
  width: clamp(5rem, 100rem + 25vw, 30rem);
}


.comitente img {
  float: left;
  margin-inline-end: 1rem;
}



/*seccion equipo*/

.equipo article {
  background-color: hsla(271, 87%, 40%, 0.15);
  padding: 1em;
  border-radius: .25em;
}

.equipo img {
  background:  hsl(278, 93%, 39%);
  display: inline-block;
  width: 8em;
  aspect-ratio: 1;
  border: solid .4em  hsl(278, 93%, 39%);
  border-radius: 50%;
  box-shadow:
    0 4px 2px hsl(0 0% 0% / 20%),
    0 4px 2px hsl(0 0% 0% / 20%) inset;
}


.equipo_textos a {
  background-color: hsla(280, 84%, 25%, 0.15);
  border-radius: .25rem;
  color: hsl(280, 76%, 30%);
  padding-block: .125em .25em;
  padding-inline: 1em .75em;
}


.equipo_textos a:hover,
.equipo_textos a:focus-visible {
  color: hsl(0 0% 95%);
  background-color: hsl(278, 93%, 39%);
  outline: none;
}



/*seccion datos academicos*/

.academicos > ul > li:not(:last-of-type) {
  padding-block-end: 1.5em;
  margin-block-end: 1.5em;
}


.academicos img {
  display: block;
  padding: .5rem;
  border-radius: 120px;
  box-shadow: 0 4px 4px transparent;
  transition: box-shadow .6s ease;
}

.academicos a:hover img {
  box-shadow: 0 4px 4px hsl(0 0% 0% / 20%);
  transition: box-shadow .3s ease;
}


/*componente inferior*/

footer img {
  max-width: 10rem;
}

footer p {
  margin-block-end: 0;
}


body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.menu-btn {
  display: none;
}


header .contenedora {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}


#logo a {
  display: grid;
  place-items: center;
  padding-block: 0 .125em;
}

/* menu horizontal */

header .menu {
  display: flex;
  gap: .25rem;
}


/*seccion equipo:
contenedor de los integrantes*/

.equipo_articulos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}

/*GIF*/
.redes img {
  display: inline-block;
  padding: .10rem;
  border-radius: 130px;
  box-shadow: 0 4px 4px transparent;
  transition: box-shadow .6s ease;
  
}

.redes a:hover img {
  box-shadow: 0 4px 4px hsl(0 0% 0% / 20%);
  transition: box-shadow .3s ease;
}
.redes {
  display: inline-flex;
  align-items: center;
  width:800px;
  padding-bottom: 500x;
  padding-left: 50px;
}

.the_best_group {
  display: inline-block;
  align-items: flex-start;
  gap: 50rem;
  width: 500px;
  padding-top: 50px;
  }

/* cada integrante */

.equipo_articulos article {
  display: inline-block;
  align-items: flex-start;
  gap: 5rem;
}


.equipo_textos {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.25rem;
}

.equipo_textos > * {
  margin-block: 0;
}

/* nombre de cada integrante */
.equipo_textos h3 {
  margin-block-start: 0; 
}

.equipo_textos a {
 margin-inline-start: auto;
}


/* seccion datos academicos:
contenedor tipo cuadrÃ­cula de cada institucion */
.academicos > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}

.academicos > ul > li {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  align-content: flex-start;
}

.academicos > ul > li {
  margin: 0;
}


footer .contenedora {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  align-items: center;
}

footer .contenedora p {
  margin-block: 0;
}

