@charset "utf-8";


/*
================================
  orden de las reglas de estilo:
  de lo general a lo particular,
  de arriba hacia abajo,
  de celular a tablet,
  de tablet a escritorio
================================
*/



/* "reseteo" selector universal */
*,
*::after,
*::before
 {
  /* para que el ancho de las cajas
     se calcule hasta los bordes y NO
     sólo por sus contenidos */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline-color: transparent;
}



html {
  
  scroll-behavior: smooth;
  
  scroll-padding-block-start: 6em;
}


@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
  animation-delay: -1ms !important;
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
  background-attachment: initial !important;
  scroll-behavior: auto !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  }
}


body {

  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main{
  margin: 2rem;
  max-width: min(60rem, 100%);
  margin-inline: auto;
  padding: 1rem;
}


h1,
h2,
h3,
h4,
h5,
h6,
p { 
  margin-block-end: 1em;
}

/* selector multiple: TODOS los titulos */
h1,
h2,
h3,
h4,
h5,
h6 {
  /* mas oscuros que los otros textos */
  color: hsl(0 0% 10%);

  /* parecido a interlineado, valor 1 equivale a interlineado igual al tamaño de la tipografia */
  line-height: 1.1;
  /* en web, generalmente, el interlineado en titulos es menor que el interlineado en parrafos */

  /* si ocupa más de una linea,
  se equilibran los anchos de esas lineas */
  text-wrap: balance;
}
h1{
  color: hsl(257, 51%, 33%);
}


a{
  text-decoration: none;
}

p {
  
  line-height: 1.5;
 
}


p,
li,
figcaption {
  /* se evitan "huerfanos" */
  text-wrap: pretty;
}

/* TODOS los vínculos */
a {
  /* elimina los subrayados */
  text-decoration: none;
}

/* TODAS las listas */
ul,
ol {
  list-style: none; /* elimina bullets, números etc. */
}

/* TODAS las imágenes */
img {
  max-width: 100%;
  height: auto;
}

section{
    margin: 2em auto 2em;
}

.contenedora {
  width: min(50rem, 100%); /* limita el ancho a 800px */
  margin-inline: auto; /* centra "la caja" horizontalmente */
  
}

/* lo que tienen en común el encabezado y el pie */

header,
footer {
  background-color: hsl(257, 51%, 33%);
  color: hsl(53, 47%, 96%);
}

header {
    box-shadow: 0 4px 2px hsl(0 0% 0% / 0.25); /* sombra difusa  */
  
    /* "pegado" al borde superior de la ventana */
    position: sticky;
    /* distancia 0 del borde */
    top: 0;
    /* capa superior arriba de casi todo */
    z-index: 8000;
  }
  
  /* caja que "limita" al logo y al menu */
header .contenedora {
  display: flex; /* caja flexible */
    /* si los elementos "hijos" no caben en una fila,
       van a la fila siguiente */
  flex-wrap: wrap;
    
    /* elementos "hijos" separados en la horizontal */
  justify-content: space-between;
    
    /* elementos "hijos" centrados en la vertical */
  align-items: center;
}
  
#logo {
    display: flex; /* caja flexible */
    align-items: center; /* hijos centrados en la vertical */
    /* sale del fondo pero no parece */
    position: relative;
    /* capa superior, arriba de todo */
    z-index: 9999;
}
  
  /* etiqueta img, pero SÓLO el logo */
.logo-compu {
  display: block;
  width: 18em;
  margin-inline: .2em;
}
#logo h3 {
    margin: 0;
    color: hsl(53, 47%, 96%);
    font-size: 2rem;
}

.logo-celu{
  display:none
  
}

@media(max-width:55em) {
  .logo-celu{
   display: inline;
   width:6em;
   margin-inline-end:.75em;   
  }

  .logo-compu{
    display: none;
  }
}

footer{
  margin-block-end: 0;
  padding: 1rem;
  align-items: center;
  text-align: center;
}

@media(max-width:50em){
  footer{
    margin-block-end: 0;
    padding: 1rem;
    align-items: center;
    text-align: center;
  }

}


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


/* botón "hamburguesa" */
.menu-btn {
    background: hsl(257, 51%, 33%);
    border: none;
    border-radius: 50%;

    padding: .75rem;
    width: 3rem;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease-out; /* anima el "hover" */
  
    /* capa superior, pero no parece */
    position: relative;
    /* en capa superior, casi arriba de todo */
    z-index: 9000;
}
  
  /* cada barra de la "hamburguesa" */
.menu-btn .btn-linea {
    width: 2em;
    height: 3px;
    margin: 4px 0 4px 0;
    background: hsl(0, 37%, 97%);
    transition: all 0.3s ease-out;
}
  
  /* cada barra, transformacion para formar la "X" */
.menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
}
  /* Las tres barras para formar la "X" */
.menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}
  .menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
}
.menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}
  
  /* menú propiamente dicho */
nav ul {
  background-color:hsl(257, 51%, 33%);
  display: grid;
  place-items: center;
  place-content: center;
  position: fixed;
  inset: 0;
  z-index: 8000;
  translate: 100%;
  transition: all .6s ease; /* anima cuando "nav" NO tiene la clase "menuVisible" */
}
  
 
.menuVisible ul {
    background-color: hsla(257, 56%, 23%, 0.897);
    transition: all .3s ease; /* anima cuando "nav" tiene la clase "menuVisible" */
    
    translate: 0;
}
  
  /* cada vínculo del menu */
nav ul li a {
    border-bottom: solid 3px hsl(0 0% 100% / 0.1);
    color: hsl(0, 37%, 97%);
    display: block;
    font-size: 1.5rem;
    margin-block-end: .5rem;
    width: min(70vw, 20rem); 
    text-align: center;
    
    padding: .5rem;
    text-decoration: none;
}
  
nav ul li a:hover {
    border-bottom: solid 3px hsl(0 0% 100% / 0.5);
    transition: all .3s;
}


img { 
    max-width: 100%; 
}

#btnnav{
  background-color: hsla(257, 56%, 23%, 0.897);
}
/*-------------input form del principio-----------------*/
dialog {
  background-color: #fcfbfb;
  inline-size: min(20em, 80%);
  border-radius: .5em;
  box-shadow: 0 0 0 0 hsl(0 0% 10%);
  padding: .5em;

  position: fixed;
  inset: 0;
  margin: auto;

  transform: translateY(-100vh);
  transition: .5s;
}

dialog.visible {
  box-shadow: 0 10px 10px 0 hsl(0 0% 0% / 20%);
  transform: translateY(0);
  transition: .5s;
  transition-delay: .5s;
}

dialog::backdrop {
  opacity: 0;
}

dialog.visible::backdrop {

  opacity: 1;

  transition: 1s;

  background-image: 
    linear-gradient(
      135deg,
      hsla(257, 51%, 33%, 0.315),
      #f5a14160,
      hsla(249, 99%, 72%, 0.247));
}

form {
  display: grid;
  gap: 1em;
  padding: 1em;
}
.bienvenides{
  text-align: center;
  font-size: large;
  font-weight: 500;
  color:hsla(257, 56%, 23%, 0.897);
}

.form__grupo {
  position: relative;
  color: hsl(0 0% 35% / 50%);
}

.form__input {
   line-height: 2;
   width: 100%;
   background: white;
   color: hsl(0 0% 50%);
   font-size: 1rem;
   padding-top: 1em;
   padding-left: 2em;
   border: solid 2px hsl(257, 51%, 33%);
   border-radius: 2em;
   outline: none;
   font-family: inherit;
   transition: 1s;
}

.form__input:focus {
  color:  hsla(257, 56%, 23%, 0.897);
  font-weight: 700;
}

.form__label {
  color: hsla(257, 56%, 23%, 0.897);
  position: absolute;
  top: 0;
  left: .5em;
  /*transform: translateY(.5em);*/
  transition:
  transform .5s,
  color .3s,
  padding .5s;
  padding: 0;
}

:is(.form__input:not(:placeholder-shown),
    .form__input:focus) {
  color: hsla(257, 56%, 23%, 0.897);
}

:is(.form__input:not(:placeholder-shown),
    .form__input:focus) + .form__label {
  transform: translateY(-.6em) scale(.7);
  transform-origin: left top;
  padding: 4px;
  color: hsla(257, 56%, 23%, 0.897);
}

.form__submit {
  background-color: #f5a141;
  color: hsl(0 0% 100%);
  font-family: inherit;
  font-size: inherit;
  padding: .25em 1em;
  inline-size: max-content;
  border: none;
  border-radius: 2rem;
  outline: none;
  justify-self: end;
  transition: .5s;
}

.form__submit:focus,
.form__submit:hover {
  background-color: hsl(257, 51%, 33%);
}

.form-botones {
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 1rem;
}

/*------------videos de youtube---------*/

iframe{
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0.5em auto;
}

.lives{
    display: flex;
    flex-direction: column;
}

.contenedor-livesindex{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 70%;
}

.contenedor-lives{
  display: flex;
  flex-direction: row;
  margin-bottom: 2.5em;
  align-items: center;
  justify-content: space-between;
  gap: 70%;
    
}

.guardar{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1em;

}
.vistas{
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: center;
}

#see{
  margin: 0;
  padding: 0;
}

@media(max-width: 40em) {
  .vistas {
    font-size: small;
  }
  .guardar{
    font-size: small;
  }

}
.icono{
    width: 2em;
    margin: 0;
    padding: 0;
}

/*------------------------ver más---------------------------------*/
.questions-and-answers {
  margin-block-start: 3.5rem;
}

.questions-and-answers {
  display: grid;
  gap: 1rem;
  margin: 0;
  margin-bottom: 0.5em;
}


details * {
  margin: 0;
}

details > p {
  padding-block: 1rem;
  color: hsl(0, 0%, 15%);
}

summary {
  color: hsl(249, 99%, 72%);
  line-height: 1.3;
  margin-inline-start: 1rem;
  list-style-position: outside;

  &:focus-visible {
    outline: solid 1px hsl(303 100% 26% / 0);
  }
}

summary::marker {
  font-size: 0.75em;
  color: hsl(249, 99%, 72%);
}

details[open] summary::marker {
  color:hsl(257, 51%, 33%);
  transition: color 2s;
}

details:not([open]):has(:is(summary:focus-visible, summary:hover)) summary::marker {
  color: hsl(257, 56%, 23%);
}

/*----------carrusel-------------*/

.media-scroller {
    --_spacer: var(--size-2);
    display: grid;
    gap: var(--_spacer);
    grid-auto-flow: column;
    grid-auto-columns: 28%;
    padding: 0 0 var(--_spacer) 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    gap: 1rem;
   
}
  
.media-scroller::-webkit-scrollbar {
    height: 0.5em;

}
.media-scroller::-webkit-scrollbar-track {
    border-radius: 4px;
}
  
.media-scroller::-webkit-scrollbar-thumb {
    background: hsla(257, 56%, 23%, 0.733);
    border-radius: 4px;
}

  
.media-scroller--with-groups {
    grid-auto-columns: 80%;
}
  
.media-group {
    display: grid;
    gap: var(--_spacer);
    grid-auto-flow: column;
}
  
.media-element {
    display: grid;
    grid-template-rows: min-content;
    gap: var(--_spacer);
    padding: var(--_spacer);
    background: var(--surface-2);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-2);
}
  
.media-element > img {
  width: 100%;
  inline-size: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
  
.media-element > p {
    display: flex;
    flex-direction: column;
    /*justify-content: flex-end;*/
    
}
  
.snaps-inline {
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: var(--_spacer, 1rem);
}
  
.snaps-inline > * {
  scroll-snap-align: start;
}
  
/* general styling */
  
.container {
    inline-size: min(100% - 4rem, 70rem);
    margin-inline: auto;
}
  
.flow {
    display: grid;
    gap: var(--size-3);
}
  
.page-header {
    padding-block: var(--size-9);
    margin-block-end: var(--size-9);
    background: var(--gradient-16);
    color: var(--gray-0);
    box-shadow: var(--shadow-2);
}

.media-element a{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media(max-width: 50em) {
  .title {
    font-size: small;
  }

}
  
@media(max-width:50em){
  .media-element img{
    width: 100%;
  }
}

  
@media (min-width: 600px) {
    .media-scroller {
      --_spacer: var(--size-3);
    }
}
/*---------biografia index-----------*/


.galeria {
    
  width: min(75em, 100%);
  margin-inline: auto;
  border-radius: 2em;
  padding: 0.5em;

}
  
.las-imagenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5em, 1fr));
  gap: .25em;
}
  
  
.galeria figure {
  border-radius: 2em;  
  aspect-ratio: 1;  
  position: relative;   
  overflow: hidden;
}
  
.galeria img {
    /* para que la imagen "llene" la etiqueta "img" aun con otras porporciones */
  object-fit: cover;
  object-position: left center;
  width: 100%;
  height: 100%;
  display: block; /* para que "desaparezca" el espacio que queda debajo de la imagen */
}
  
.galeria figcaption {
  background-color: hsla(240, 1%, 27%, 0.842);
  /* mix-blend-mode: hard-light; */
  color: #fcfbfb;
  text-align: center;
  padding: .5em;
  line-height: 1em;
  font-weight: 500;
  position: absolute; 
  inset: 0; 
  translate: 0 calc(100% - 2em);   
  transition: all .6s ease;
}
  
  /* propiedades de figcaption SÓLO cuando
   el cursor se coloca encima de "figure" */
.galeria figure:hover figcaption {
  background-color: hsl(280 15% 35% / 0.75);
  transition: all .3s ease;
  /* emplazamiento, 0 del borde superior */
  translate: 0;
  /* grid */
  display: grid;
  /* texto centrado */
  text-align: center;
  place-items: center;
  place-content: center;
  /* relleno en linea 2 renglones */
  padding-inline: 2em;
}
  
.galeria figcaption span {
  display: block;
  font-size: .75em;
  color:  rgba(230, 230, 230, 0.85);
  margin-block-start: .5em;
  text-transform: none;
}
  
.galeria figcaption a {
  display: inline-block;
  margin-block-start: .5em;
  background-color:#f5a141;
  color: #fcfbfb;
  padding: .25em 1em;
  border-radius: 2em;
}
  
.galeria figcaption a::after {
    content: " →";
}
  
.galeria figcaption a:hover {
  background-color: hsl(257, 61%, 21%);
  box-shadow: 0 .25em .25em hsl(240, 27%, 25%);
  color: #fcfbfb;
}



/*----------------------quienes somos---------------------*/
.contenedorsomos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 2rem;  
}

.textosomos{
  text-align: left;
}

.quienessomos{
  width: 30rem;
}

/*
----------------
"boton" boti
----------------
*/

.explorar {
    background-color: #f5a141;
    border: 4px solid #f5a141;
    border-radius: 50%;
    box-shadow: 0 .15em .1em hsla(0 0% 0% / 0.215);
    color: #fcfbfb;
    cursor: pointer;
    font-size: 1.75em;
    font-weight: bold;
    width: 4rem;
    aspect-ratio: 1;
  
    display: grid;
    place-items: center;
    
    /* para salir del "flujo de información" del fondo 
    y colocase en una capa superior fija */
    position: fixed;
    /* emplazamiento a 1 r-renglón del borde inferior */
    bottom: 1rem;
    /* emplazamiento a 1 r-renglón del borde derecho */
    right: 1rem;
    /* capa superior, encima de casi todo */
    z-index: 9000;
}

.explorar:hover{
  background-color: hsl(257, 51%, 33%) ;
  border: 4px solid hsl(257, 51%, 33%);
  

}
  
.boti{
  display: flex;
}


/* --------------------------
   media queries,
   para cambiar la apariencia
   en la medida en que el
   navegador se ensancha
   (mobile first)
   -------------------------- */



/* cambios a partir de los 640px */
@media(min-width: 40em) {

    /* el menú deja de ser fijo */
      header nav {
        /* para que deje de estar en capa superior */
        position: unset;
      }
        
      /* botón "hamburguesa" oculto */
      .menu-btn {
        display: none;
  }
  
      /* menu visible */
  header nav ul,
  header .menuVisible ul {
        /* caja flexible para menu horizontal*/
    display: flex;
        /* separación entre sus elementos */
        /* para que NO esté en capa superior */
    position: unset;
    
        /* elimina desplazamiento */
    translate: unset;
    
    /* elimina fondo */
    background-color: unset;
  }
        
      /* items de lista  que contienen los vínculos del menu */
  header nav ul li {
    min-width: 4em; /* que no midan menos de: */
  }
  
      /* vínculos del menu principal */
  header nav ul li a {
    background-color: hsl(257, 51%, 33%);
    border-radius: 1em ;
    color: #fcfbfb;
    font-size: 1.1rem;
    width: auto;
    padding: 0.5em 1em;
    text-align: center;
    display: block; /* para que sean "cajas" */
    margin-block-end: unset;
    border-block-end: unset;
  }
    
  /* cuando el cursor se posiciona sobre los vínculos */
  header nav ul li a:hover {
    background-color: #271556;
    color: #fcfbfb;
    border-block-end: unset;
  }
      
    
      /* para que "artículo 1" y "artículo 2"
      queden uno al lado del otro */
  .textos > .articulos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }
  
}
  
  /* cambios a partir de los 800px */
@media(min-width: 50em) {
  
  .galeria {
      padding: 1em;
  }
  
  .textos h3 {
    padding: 1em;
  }

}
  
  /* cambios a partir de los 1200px */
@media(min-width: 75em) {
  
    .galeria {
      background-color: hsl(198 50% 44% / 0.1);
      margin-block-start: 0;
      margin-block-end: 3em;
      padding-inline: 4em;
      width: 100%;
      min-height: 60vh;
      display: grid;
      align-items: center;
      align-content: center;
    }

    
  
  
}

@media(max-width:50em){
  .media-element figcaption{
    font-size: smaller;
    font-weight:400;
  }
}

@media(min-width:50em){
  .media-element figcaption{
    font-size:large;
    font-weight: 500;
  }
}
/*------------contacto css---------------------*/

form{
    width: 100%;
    margin-inline: auto;
    padding: 1rem;
    display: grid;
    justify-items: center
    
}
legend{
    text-align: center;
}
label{
  color:hsl(0, 2%, 9%);
  padding-right: 1em;
  font-size: 1em;
  font-weight:600;
  margin: 1em;
}

#mensaje{
  background-color:#fcfbfb;
  border-radius: .5em;
  color:hsl(0, 2%, 9%);
  font-size:  1em;
  font-weight:600;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
ul{
    list-style: none;
}

fieldset div ul li{
  padding: 1em;
    
}

input{
  border-radius: .5em;
  font-size: 1em;
  padding: .2em .3em;
  background-color:#dfdfdf;
  border-color: none;

}
textarea{
  background-color: #fcfbfb;
}

.btn-enviar{
  color: #fcfbfb;
  background:#f5a141;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem;
  border:none;
  border-radius: 2rem;
  transition: 0.7s all;
  width: 14em;
  max-width: 16em;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
   
    
}

.btn-enviar:hover{
  transform: scale(1.05);
  color: #fcfbfb;
  background:  hsl(257, 51%, 33%);
}


/*------------------------------perfil-----------------------------------*/

.noti{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
.notificaciones{
  display: flex;
  flex-direction: row;
  align-items: flex-start;

}
.perfil{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}
#icon-noti{
  margin: 0;
  padding: 0;
}


.figure-perfil{
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-usuario{
  border-radius:2em;
  width: 30%;

}

/*----------------------------BIOGRAFIAS INDIVIDUALES------------------------------*/
.imagenes-biografias{
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2em;
}

.biografia-individual{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}

.img-bio{
  inline-size: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1em;
  box-shadow: -13px 10px 18px -7px rgba(0,0,0,0.41);
}

/*----------------------------VIDEOS GENERAL------------------------------*/

.contacto-form{
  display: flex;
 justify-content: center;
 width: 100%;
 margin: 1em;
}

.busqueda{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#busqueda{
  width: 50%;
}

.categoria-de-videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  padding: 0;

}


.categoria-button{
  cursor: pointer;
  color:#fcfbfb;
  background:  #f5a141;
  border: 0;
  border-radius: 2em;
  padding: 0.25rem 1rem;
  font-size: 1.1em;
  font-weight: 500;
}

.categoria-button:hover,
.categoria-button:focus {
  
  background-color: hsl(257, 51%, 33%);
  color: #fcfbfb;
}



#btncate{
  pointer-events: none;
  background: hsl(257, 51%, 33%);
  color: #fcfbfb;
  box-shadow: 0 0 0.5rem rgb(0 0 0 / 0.2);
}

.indicador {
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5a141;
  border-radius: 5px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.video-vi h3{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

@media(max-width:50em){
  .categorias-de-videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 5px;
  }
}


.indicador {
  position:absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background-color: hsl(257, 51%, 33%);
  border-radius: 5px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/*---cards videos---*/

.card-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5em;
}

.card {
  background: #dfdfdf;
  border-radius: 1em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}
.img-video{
  aspect-ratio: 16/9;
}
.card img {
  margin: 1rem;
  width: 30%;
  object-fit: cover;
  
}

.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.icon-tiempo{
  display: flex;
  align-items: flex-start;
  gap: 0.2em;
  

}

#icon-duración{
  padding: 0;
  width: 3%;
  margin: 0;
}

@media (max-width:50em) {
  #icon-duración{
    padding: 0;
    width: 7%;
    margin: 0;
  }

  
}

#icon-save{
  margin: 0;
  padding: 0;
  width: 1.5em;
}

.save{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
}

.btnsave{
  display: flex;
  padding: 0.5em 0.5em;
  background: #f5a141;
  color: #fcfbfb;
  border-radius: 1em;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-size: 1em;
  font-weight: bold;
  max-width: min(10rem, 100%);
  overflow: hidden;
  transition: 0.7s all;
}

.btnsave:hover{
  background:#ee8002;
  transform: scale(1.05); 
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.card p {
  color: #555;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

@media (max-width:50em){
  .card h3 {
    line-height: 2rem;
    font-size: 22px;
    margin: 0 0 0.5rem;
  }

  .card p {
    color: #555;
    font-size: 22px;
    margin: 0 0 1rem;
  }
  
}

.save {
  display: flex;
  align-items: center;
  color: hsl(0 0% 10%);
  font-size: 1rem;
  cursor: pointer;
}

.save i {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.save:hover {
  color: hsl(257, 51%, 33%);
}

@media(max-width:50em){
  .card-container{
    flex-direction: column;
  }

  .card{
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    
  }

  .icon-tiempo{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .card img{
    width: 100%;
    margin: 0;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
  }
  
  .card-content{
    padding: 1rem;
    width: 100%;
  }

  .btnsave{
    box-sizing: border-box;
    display: flex;
    padding: 0.5em 0.5em;
    margin:0;
    background: #f5a141;
    color: #fcfbfb;
    border-radius: 0.5em;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    font-size: 1em;
    font-weight: bold;
    max-width: min(10rem, 100%);
    overflow: hidden;
    transition: 0.7s all;
  }

}


/*---------------------------BIOGRAFÍAS GENERAL---------------------------------*/
/*
@media(max-width:50em) {
    .contenedora_bios{
    box-sizing: border-box;
    align-items: center;
  }
}
.contenedora_bios{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1em;
  background: #fcfbfb;
  padding: 1em;
  border-radius: 2em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 200px; 
  height: 200px; 
  object-fit: cover; 
  border-radius: 2em;
}

.image-container p {
  margin-top: 0.4em;
  color: #333;
  line-height: 1.5;
}

#bio-mas{
  background-color: #f5a141;
  padding: 0.4em;
  border-radius: 1em;
  color: hsl(0, 0%, 90%);
  font-weight: bold;
  transition:  0.3s ease;
}


#bio-mas:hover{
  transform: scale(1.05); 
  background:  hsl(257, 51%, 33%);
  
}

#abio{
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

*/
.filter-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 4rem;
}

@media(max-width:50em){
  .filter-container {
    display: block;  
    
  }

}

.filter {
  position: relative;
  width: 100%;
  margin: 0%;
}

.filter-checkbox {
  display: none;
}

.filter-button {
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 2em;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dfdfdf;
  color: #fcfbfb;
  font-weight: 500
}

#filter-fundadoras .filter-button {
  background-color: hsl(257, 51%, 33%);
}

#filter-integrantes .filter-button {
  background-color: #f5a141;
}

#filter-otras-carreras .filter-button {
  background-color: hsl(257, 51%, 33%);
}

.filter-button:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fcfbfb;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 2em;
}

.filter-list li {
  padding: 10px;
  border-bottom: 1px solid #fcfbfb;}

.filter-list li:last-child {
  border-bottom: none;
}

.filter-checkbox:checked + .filter-button + .filter-list {
  max-height: 200px; 
}

.arrow {
  margin-left: 10px;
  transition: transform 0.3s; 
}

.filter-checkbox:checked + .filter-button .arrow {
  transform: rotate(180deg);
}

/*cards biografias*/

.cards{
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 2%;
  margin-bottom: 3%;
  
}

.card-bio{
  padding: 1em;
  display: grid;
  align-items: center;
  grid-template-columns: 30% 70%;
  gap: 1em;
  border-radius: 2em;
  background-color: #dfdfdf;
  container-type: inline-size;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-bio{
  color: #555;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.card__img{
  border-radius: 2em;
    
  aspect-ratio: 1 / 1; 
    
 
  overflow: hidden;
}

.card__textos{
  display: grid;
  grid-template-rows: auto 1fr;
}

.btn-ver{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 2em;
}

#bio-mas{
  background-color: #f5a141;
  padding: 1em;
  border-radius: 1em;
  color: hsl(0, 0%, 90%);
  font-weight: bold;
  transition:  0.3s ease;
}


#bio-mas:hover{
  transform: scale(1.05); 
  background:  hsl(257, 51%, 33%);
  
}


@media(max-width:50em){
  .cards{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .card-bio{
    display: flex;
    flex-direction: column;
    
    justify-content: center;
  }

  .card__img{
    width: 80%;
    margin: 0;
  }

  .card__textos{
    display: grid;
    grid-template-rows: auto 1fr;
    width: 80%;
    justify-items: start;
    align-content: center;
  }

  .card-bio{
    color: #555;
    font-size: 22px;
    margin: 0 0 1rem;
  }

   #bio-mas{
    background-color: #f5a141;
    padding: 0.7em;
    border-radius: 1em;
    color: hsl(0, 0%, 90%);
    font-weight: bold;
    transition:  0.3s ease;
  }

  .btn-ver{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 2em;
  }

  
}



