*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Edu+AU+VIC+WA+NT+Guides:wght@400..700&display=swap');


body {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-style: normal;
    background-color: #11320b;
    color: #cdcccc;
    

header {
    background-color: #255027;
    padding: 1rem;
    text-align: justify;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}
}

header a img {
  max-width: 100%;
}

nav {
  width: 100%;
  background-color: #093016;
  display: flex;
  font-weight: bold;
  justify-content: center;
  padding: 1rem;
  
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0;
}

nav ul li {
  position: relative; 
}

nav ul li a {
    color: #b6bdaf;
    text-decoration: none;
}

nav a {
  color: #fff; 
  text-decoration: none;
  padding: 10px 20px;
  font-size: 18px;
  flex-wrap: nowrap;
}

nav a:hover {
  background-color: #14592a; 
  border-radius: 5px;
}

header div {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding: 1rem;
}

main p {
  font-family: "Arial", serif;
  
}


.contenedor {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
  align-items: start; 
}

.video iframe {
  width: 100%; 
  height: 100%; 
}


@media (max-width: 768px) {
  .contenedor {
      grid-template-columns: 1fr;
  }

  .video iframe {
      width: 100%;
      height: 100%;
  }
}
.ultimo-episodio {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.ultimo-episodio .video iframe {
  width: 100%; 
  height: 700px; 
  border: none; 
}

.ultimo-episodio {
  display: grid; 
  grid-template-columns: auto 1fr; 
  gap: 1.25rem; 
  align-items: center; 
  max-width: 75rem; 
  margin: 0 auto; 
  padding: 1.25rem; 
}

.ultimo-episodio h3 {
  writing-mode: vertical-lr; 
  transform: rotate(180deg); 
  font-family: "Oswald", sans-serif;
  background-color: #3760c1;
  text-align: center;
  padding: 0.5rem;
  font-size: 1.5rem; 
}

.ultimo-episodio .video iframe {
    top: 0;
    left: 0;
  width: 100%; 
  height: 10%; 
}

.ultimo-episodio .texto h2 {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem; 
  margin-bottom: 0.625rem; 
}

.ultimo-episodio .texto p {
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

@media (max-width: 48rem) {
  .ultimo-episodio {
      grid-template-columns: 1fr; 
  }

  .ultimo-episodio h3 {
      writing-mode: horizontal-tb; 
      transform: none; 
  }
}

.recomendaciones {
  background-color: rgb(228, 228, 228);
  color: #3140a3;
  padding: 2rem;
  align-content: center;
  margin-top: 2rem;
  width: 100%;
}
.recomendaciones img {
  overflow-clip-margin: content-box;
  overflow: clip;
  max-width: 100%;
  padding-top: 1rem;
  width: 100%;
}
.mas-vistos {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.estructura-vistos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.caja-vistos {
  background-color: hsla(132, 55%, 23%, 0.373);
  color: #d3d3d3;
  margin: 0;
  padding: 1rem;
  border-radius: 10px;
  display: flex; 
  justify-content: space-between; 
  gap: 1rem; 
  width: 100vw; 
  height: 100vh;
  box-sizing: border-box; 
}

.caja-vistos iframe {
  width: 48%; 
  height: 270px; 
  aspect-ratio: 16 / 9; 
  border-radius: 8px;
}

.caja-vistos .descripcion {
  font-size: 0.8rem; 
  color: #d3d3d3;
  text-align: center; 
  margin-top: 0.5rem; 
}

@media (max-width: 768px) {
  .estructura-vistos {
    flex-direction: column; 
    gap: 1rem; 
  }
  .caja-vistos {
    flex-direction: column; 
    width: 100%; 
    height: 100%; 
  }

  .caja-vistos iframe {
    width: 100%; 
    height: 200px; 
  }
}
.estrella {
  font-size: 20px;
  color: #1E1E1E;
  transition: color 0.3s ease;
  cursor: pointer;
}

.estrella.hovered,
.estrella.checked {
  color: #ffffff;
}

footer {
  background-color: #255027;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer-container {
  max-width: 70rem;
  margin: 0 auto;
}

.social-icons {
  margin-bottom: 1rem;
}

.social-icons a {
  margin: 0 1rem;
  display: inline-block;
}

.social-icons img {
  aspect-ratio: 1;
  width: 2rem;
  display: block;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

footer p {
  margin-top: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 1rem;
}


main h2 {
  margin-bottom: 1rem;
  color: #99a8d1;
  text-align: center;
  margin-top: 1rem;
}

.ultimosqueviste {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  display: flex;
  align-items: center; 
  gap: 10px; 
  overflow: hidden;
}


.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 {
  display: flex;
  overflow-x: auto; 
  gap: 15px;
  padding: 10px 0;
}

.media-scroller .video-grid {
  flex: 0 0 auto;
  width: 300px; 
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.media-scroller iframe {
  width: 100%;
  height: 200px;
  object-fit: contain; 
  border-radius: 8px;
}

.media-scroller .video-grid div {
  padding: 10px;
}

.media-scroller .video-grid h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.media-scroller .video-grid p {
  font-size: 14px;
  color: #777;
}

.media-scroller::-webkit-scrollbar {
  height: 0.5em; 
}

.media-scroller::-webkit-scrollbar-track {
  border-radius: 4px;
}

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

@media (max-width: 768px) {
  .media-scroller .video-grid {
    width: 100%;
  }
}


.carrusel {
  display: flex;
  flex: 0 0 50%;
  flex-grow: 1;
  transition: transform 0.5s ease-in-out;
}

.diapositiva {
  min-width: 100%;
  box-sizing: border-box;
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-container iframe {
  top: 0;
  left: 0;
  width: 100%;
}

button {
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 0;
  transform: translateY(-50%);
}

.next {
  right: 0;
  transform: translateY(-50%);
}

button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.diapositiva {
  flex: 0 0 30%;
  border-radius: 1rem;
  overflow: hidden;
  display:flex;
}

.diapositiva img {
  width: 100%;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.diapositiva img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .diapositiva {
    flex: 0 0 100%; 
  } }

.comentarios {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #FDBD12;
}


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

.comentario-usuario {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.comentario-usuario h1 {
  border: 2px solid #1E1E1E;
  color: #1E1E1E;
  background-color: #b88ec0b8;
  font-size: 1.5em;
  border-radius: 50%;
  aspect-ratio: 1;
  width: 3em;
  padding: 0.5em;
}

.coment {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.25em;
  border: 1px solid #6e60db; 
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
}


.formulario {
  background-color: #bf72eb64;
  padding: 1rem;
  border-radius: 15px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .5rem;
  align-items: end;
  margin-bottom: 2rem;
  margin-left: 7rem;
  margin-right: 7rem;
  margin-top: 2rem;
}

.formulario form {
  display: grid;
  gap: 1.5rem;
}

.formulario input, textarea {
  font-family: 'Roboto', sans-serif;
padding: .25em;
}

.formulario .datos-formulario {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.formulario .boton-saber {
  color: #1E1E1E;
  border-color: #1E1E1E;
}


.formulario .boton-saber:hover:active {
  border: 2px solid #1E1E1E;
  background-color: #EEDFA9; 
  color: #1E1E1E;
}

.recuadros-actividades article{
  width: 100%;
  transition: all .5s ease;
}

.recuadros-actividades img {
  transform: translate(0);
  transition: all .5s ease;
}
  .contenedor-scroll {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.recuadros-actividades figure::before{
  content: "";
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  right: 1rem; 
background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
  position: relative;
  z-index: 1;
  margin: 0;

}

.recuadros-actividades figure:hover::before{
  content: "";
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  right: 1rem; 
  background-color: rgba(84, 123, 187, 0.8);
  position: absolute;
  z-index: 2;
  border-radius: 2rem;
}
.recuadros-actividades{ 
  position: relative;
   
}

.recuadros-actividades article{
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
  margin: 1rem ;
transition: all .5s ease;
  
}

.recuadros-actividades img{
width: 100%;
height: 100%;
  object-fit:cover;
  object-position:center center;
  border-radius: 2rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
transform: translate(-75px);
transition: all .7s ease;
opacity:0.8;
}

.recuadros-actividades a{
  text-decoration: none;
  color: rgb(255, 255, 255);  
}

.recuadros-actividades article div{
  position: absolute;
  z-index: 2;
  bottom: 3rem;
  left: 2.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% - 2px); 
  left: 0;
  background-color: #14592a;
  min-width: 200px;
  z-index: 10;
  box-shadow: 0px 8px 16px rgba(58, 137, 92, 0.8);
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #a77cca;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn {
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(to bottom, #000, #333);
}

.title {
  font-size: 40px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.description {
  background-color: #1e1e1e94;
  padding: 1rem;
  margin: 20px auto;
  max-width: 70rem;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.description h2 {
  margin-bottom: 10px;
}

.description p {
  margin: 5px 0;
}
.section-anchor {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 2rem; 
  background-color: #203037ac; 
  color: white;
  margin: 2rem auto;
  border-top: 0.1rem solid #333;
  border-radius: 0.5rem;
  width: 100%; 
}

.section-anchor h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem; 
}

.episode-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.episode-t1 {
  display: flex;
  flex-direction: column;
  gap: 1rem; 
  background-color: #2a3c44; 
  padding: 2rem;
  border-radius: 0.5rem;
  width: 100%; 
  max-width: 45%; 
}

.episode-t1 iframe {
  width: 100%; 
  height: auto;
  border-radius: 0.5rem;
}
.episode-info {
  display: flex;
  flex-direction: column; 
  color: white;
}

.episode-info h3 {
  font-size: 1.5rem; 
  margin-bottom: 1rem;
}

.episode-info p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.episode-info strong {
  color: #f5a623; 
}

@media (min-width: 1024px) {
  .episode-t1 {
    max-width: 30%; 
  }

  .section-anchor h2 {
    font-size: 2.5rem; 
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .episode-t1 {
    max-width: 45%; 
  }

  .section-anchor h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .episode-t1 {
    width: 100%; 
  }

  .section-anchor h2 {
    font-size: 1.5rem; 
  }

  .episode-container {
    gap: 1rem; 
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.3s ease;
}

.episode-card {
  width: 300px; 
  flex-shrink: 0; 
}


.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #3333339c;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.scroll-button.left {
  left: 10px;
}

.scroll-button.right {
  right: 10px;
}

@media (max-width: 768px) {
    .episode {
        min-width: 100%; 
    }
}

.mas-info-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #99a8d1; 
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center; 
}

.mas-info-button:hover {
  background-color: #99a8d1; 
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: rgb(0, 0, 0);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

a.episode-link {
  display: block; 
  text-decoration: none; 
  color: inherit; 
}

.extra{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.episode {
  background-color: #1e1e1e94; 
  border-radius: 1rem; 
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  padding: 1rem;
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.episode:hover {
  transform: scale(1.05);
}

.episode iframe {
  width: 100%;
  height: 315px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.episode-info {
  text-align: center;
}


.episode-info h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.episode-info p {
  margin: 0;
  font-size: 14px;
  color: #a1a1a1;
  margin-top: 1rem;
}

.episode-info .description {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0.5rem 0;
}

.episode-info .duration {
  font-size: 0.8rem;
  color: #ffffff;
}

.episode-t1 {
  background-color: #1e1e1e94; 
  border-radius: 1rem; 
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recuadro-texto {
  background-color: #f9f9f9; 
  border: 0.1rem solid #ddd; 
  border-radius: 1rem; 
  padding: 2rem; 
  margin: 5% auto; 
  max-width: 80%; 
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); 
  font-family: 'Arial', sans-serif; 
}

.recuadro-texto h3 {
  font-size: 1.8rem; 
  font-weight: bold; 
  color: #6a1b9a; 
  text-align: center; 
  margin-bottom: 1rem; 
}

.recuadro-texto img {
  display: block; 
  margin: 0 auto; 
  max-width: 100%; 
  height: auto; 
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); 
}

.recuadro-texto p {
  font-size: 1rem; 
  line-height: 1.6em; 
  color: #333; 
  text-align: justify; 
  margin-top: 1rem; 
}


@media (max-width: 768px) {
  .recuadro-texto {
    padding: 1rem; 
    margin-bottom: 1emr; 
  }

  .recuadro-texto h3 {
    font-size: 1.8rem; 
  }

  .recuadro-texto p {
    font-size: 1rem;
  }
}

#iframe {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  border: none;
  z-index: -1; 
}

.container {
  width: 80%;
  margin: auto;
  padding: 20px;
}

.video-container {
  text-align: center;
  margin-bottom: 20px;
}

iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border: none;
}

.description {
  margin-bottom: 20px;
  line-height: 1.6;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.controls button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.controls button.active {
  background-color: #008CBA; 
  color: white; 
}
.controls button:active {
  transform: scale(0.98); 
}

.controls button:hover {
  background-color: #555;
}

.stats {
  margin-bottom: 20px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  margin-left: 1rem;
  margin-right: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 1rem;
}

.stars {
  display: flex;
  gap: 5px;
}

.stars span {
  cursor: pointer;
  font-size: 20px;
  color: #1E1E1E;
  transition: color 0.3s ease;
}

.stars span:hover,
.stars span.hovered {
  color: #ffd700;
}

.stars span.selected {
  color: #ffd700; 
}

.share {
  margin-top: 1rem;
  text-align: center;
  border-radius: 1rem;
}
.share button {
  background-color: rgb(179, 147, 147);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0,5rem;
  
}

.footer {
  text-align: center;
  margin-top: 20px;
}

.footer button {
  background-color: rgb(38, 133, 162);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.footer button:hover {
  background-color: darkred;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.formulario {
  display: flex;
  justify-content: center; 
  align-items: center;   
  min-height: 100%;      
  background-color: #f5f5f5b8; 
}

.formulario h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2em;
  font-weight: 400;
  color: #3c418e;
}

.formulario p {
  font-size: 1em;
  color: #4481a0;
  font-weight: 600;
}

.form {
  max-width: 40em;
  width: 100%;
  padding: 2em;
  background: #ffffffbb;
  border-radius: 1em;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 1em; 
  margin-bottom: 2em;
}

input {
  width: 100%; 
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  padding: 0.7em;
  border-radius: 0.5em;
  border: solid 1px #b2aadd;
}

input::placeholder {
  color: #bbb6d9; 
}

.formulario button {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1em;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  background-color: #a1abc7;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.formulario button:hover {
  background-color: #fff;
  color: #bbb6d9;
  border: 2px solid #bbb6d9;
}

.form-txt {
  display: flex;
  justify-content: space-between; 
  flex-wrap: wrap; 
  margin-top: 1em;
}

.form-txt a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8em;
  color: #bbb6d9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-txt a:hover {
  color: #5385a5;
}

.comitente {
  max-width: 70rem;
  margin-inline: auto;
  padding-top: 3rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

h2.interesar {
  color: rgb(165, 121, 179);
  font-family:  "Bebas Neue", sans-serif;
  font-weight: 900;
  margin-top: 0em;
  border-bottom: 0.1em solid black;
}

 .logros, .proyectos, .reconocimientos {
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #ffffff6f;
  border-radius: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 1rem;
}

.biografia {
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.biografia h2 {
  color: rgb(165, 121, 179);
  font-family:  "Bebas Neue", sans-serif;
  font-weight: 900;
  margin-top: 0;
  border-bottom: 0.1em solid black;
  padding-bottom: 0.5rem;
}

.biografia p {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 1.1em;
  color: #fffcfc;
}

.biografia h2, .logros h2, .proyectos h2, .reconocimientos h2 {
  color: #6a4c93;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #6a4c93;
  padding-bottom: 0.5rem;
}

.btn-info {
  padding: 0.8rem 1.2rem;
  background-color: #6a4c93;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-info:hover {
  background-color: #5a3c7d;
}

.biografia img {
  float: left;
  max-width: 200px;
  margin-right: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.grid-table {
    display: grid;
    grid-template-columns: 1fr 2fr 3fr 1fr; 
    gap: 0,2rem; 
    background-color: #653c6f;
    padding: 1em;
}

.grid-table > div {
    padding: 10px;
    background-color: #fff; 
    border: 1px solid #ddd; 
}

.grid-table > div:nth-child(-n+4) {
    background-color: #627252; 
    font-weight: bold; 
    text-align: center;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 30px;
}


.intro {
  text-align: center;
  padding: 20px;
}


.intro img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}


.intro p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--gris-oscuro);
}


.tips {
  padding: 20px;
  background-color: var(--verde);
}


.tips h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--gris-oscuro);
}


.tip {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}


.tip i {
  font-size: 2rem;
  color: var(--celeste);
}


.tip h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--gris-oscuro);
}


.tip p {
  margin: 0;
  font-size: 1rem;
  color: var(--gris-oscuro);
}

@media (max-width: 768px) {
  .grid-container {
      grid-template-columns: 1fr; 
  }

  .episode iframe {
      height: 180px;
  }
}

#contenido {
  padding: 20px;
  background-color: var(--gris-claro);
}

#contenido h2 {
  text-align: center;
  color: var(--gris-oscuro);
  margin-bottom: 20px;
}


.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin: 20px;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9; 
}

@media (max-width: 768px) {
  .videos-grid {
      grid-template-columns: 1fr; 
      gap: 15px; 
  }
}


.inicial {
  background-color: #006199;
}

.primaria {
  background-color: #004e17;
}

.secundaria {
  background-color: #644277;
}

.terciaria {
  background-color: #70001c;
}

.universitaria {
  background-color: #ebaba7;
}


.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
}


.main-content section {
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
}
.desc { 
  background-color: #748dd8a5;
  padding: 2rem;
}
.desc h2 {
  font-family: "Oswald", sans-serif;
  color: #0c1f4b;
  font-size: 2rem;

  padding-bottom: 1rem;
}

.desc p {
  margin: 0.5rem 0;
  color: #c1d8f1;
}

.propuestas { 
  max-width: 80%;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}


.propuestas h2 {
  font-family: "Oswald", sans-serif;
  color: rgb(157, 109, 187);
  font-size: 1.5rem;
  padding-bottom: 1rem;
}

.propuestas ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-left: 1rem;
}

.propuestas ul li {
  margin-bottom: 0.5rem;
  color: #000;
}

.propuestas ul li em {
  font-style: italic;
  color: #343232;
}

.continuity{
  max-width: 80%;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.continuity h2 {
  font-family: "Oswald", sans-serif;
  color:  rgb(157, 109, 187);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.continuity p {
  color: #000;
}

.continuity ul {
  list-style-type: square;
  padding-left: 1.5rem;
  color: #000;
}

.continuity ul li {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #000;
}

.continuity ul li span {
  font-weight: normal;
}

.registration { 
  max-width: 80%;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.registration h2 {
  font-family: "Oswald", sans-serif;
  color: rgb(157, 109, 187);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.registration p{
  color: #000;
}
.registration ul {
  list-style-type: circle;
  padding-left: 1.5rem;
  gap:0,5rem;
  color: #000;

}

.registration ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  color: #000;
}

.schedule{
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #748dd8a5;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.schedule p{ 
  color: #ccdbe7;
}
.schedule h2 {
  font-family: "Oswald", sans-serif;
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.schedule ul {
  color: #9fb8c2;
  list-style-type: none;
  padding-left: 0;
}

.schedule ul li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  color: #c1d8f1;
  gap: 0,5rem;
}

.schedule ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}
.contact{ 
 margin: 1rem;
}
.contact h2 {
  font-family: "Oswald", sans-serif;
  color: #b0b1b2;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.contact a {
  color: #9aaace;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}
@media (max-width: 48em) {

  .main-content section {
      padding: 1rem;
  }
  .propuestas, .continuity, .registration, .schedule {
      max-width: 100%;
  }
  .schedule ul li {
      font-size: 0.9rem;
  }
  .desc h2 {
      font-size: 1.5rem;
  }
}

@media (min-width: 48em) and (max-width: 64em) {
  .main-content section {
      padding: 1.5rem;
  }
  .propuestas ul li, .continuity ul li, .schedule ul li {
      font-size: 1rem;
  }
  .desc h2 {
      font-size: 1.8rem;
  }
}

.pdf-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.pdf-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.pdf-cards h2 {
  text-align: center;
  color: #cab8ee;

}

.pdf-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  
}

.pdf-card:hover {
  transform: scale(1.05);
}

.pdf-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #007BFF;
}

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

.pdf-info {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #666;
}

.pdf-info span {
  display: block;
  margin-bottom: 0.3rem;
}

.pdf-button {
  display: inline-block;
  background-color: #8e7a9e;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
}

.pdf-button:hover {
  background-color: #0056b3;
}





.episode-container {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
  gap: 1rem; 
  
}

.episode-t1 {
  flex: 1 1 calc(33.33% - 1rem); 
  box-sizing: border-box; 
  max-width: calc(33.33% - 1rem);

}

.episode-t1 iframe {
  width: 100%; 
  aspect-ratio: 16 / 9; 
  border: none;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; 
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%; 
  height: 100%; 
  border: none;
}


@media (max-width: 768px) {
  .episode-t1 {
      flex: 1 1 calc(50% - 1rem); 
  }
}

@media (max-width: 480px) {
  .episode-t1 {
      flex: 1 1 100%; 
  }
}
.platform-row {
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #7da4c4bc;
}

.platform-row h2 {
  color: rgb(57, 16, 70);
  font-family: "Bebas Neue", sans-serif;
  font-weight: 900;
  margin-top: 0;
  border-bottom: 0.1em solid rgb(255, 255, 255);
  padding-bottom: 0.5rem;
  font-size: 1.5em;
}

.platform-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.platform-info {
  flex: 1;
}

.platform-info p {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 1.1em;
  color: #333333;
}

.platform-content img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.platform-content .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7em 1.5em;
  background-color: rgb(165, 121, 179);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: 'Arial', sans-serif;
  font-size: 1em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.platform-content .btn:hover {
  background-color: #9d6aa3;
}

.material h1 {
  text-align: center;
  margin: 1rem;
  color: #85b9f0;
}
.material p {
  text-align: center;
  margin: 1rem;
  margin-bottom: 1rem;
}

nav ul li {
  list-style-type: none;
  line-height: 2rem;
  position: relative;
}

nav ul li ul {
  position: absolute;
  background-color: #333c44;
  transition: 1s all;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 0 2rem;
  display: block;
  transition: 1s all;
}

nav ul li a:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

nav ul#principal li:hover>ul {
  max-height: 500px;
  overflow: visible;
}


ul#principal {
  background-color: #485460;
  display: flex;
  flex-direction: column;
}

ul#principal li {
  border-bottom: 0.5px solid #ccc;
}



ul#principal li ul, ul#principal {
  max-height: 0;
  overflow: hidden;
}

ul#secundario {
  top: 100%;
  left: 50%;
  z-index: 1;
}



ul#terciario {
  top: 100%;
  left: 50%;
  z-index: 2;
  background-color: #232b30;
}