header {
  padding: 20px 0px;
}

.container,
.sinopsis-container,
.contenedor-protagonistas,
.alumnos,
.banner {
  max-width: 1280px;
}

.container {
  width: 90%;
  margin: 0 auto; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}


h1 {
    font-family: 'Limelight', cursive; 
  font-size: 40px;
  color: #1A2A6C;
}

.buttons {
  display: flex;
  gap: 20px; 
 font-family: 'Raleway', sans-serif;
}

.buttons a {
  text-decoration: none;
  color: #1A2A6C;
  font-weight: bold;
}

.buttons a:hover{
    transform: scale(1.05);
    transition: 0.2s;
}

.buttons a:visited {
  color: #8664c7; /* color para visitado */
}

.buttons a:active {
  transform: scale(0.95);
  color: #F9D65C;
}

.banner {
  width: 90%;         
  display: block;
  margin: 20px auto; 
  border-radius: 10px; 
}


/* EMPIEZA CONTENEDOR SINOPSIS*/
.sinopsis-container{
  width: 90%;
  margin: 20px auto; 
  background-color: #1A2A6C;
  border-radius: 10px;
}


.sinopsis-container h2 {
  margin: 0 0 15px 0; 
  font-size: 1.8rem;
  font-family:'Limelight', cursive; 
  color: white;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 30px;
  margin-bottom: 20px;
}

.sinopsis-container p {
  color: #F2F2F2;
  font-family: 'Raleway', sans-serif;
    text-align: justify;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 30px;
  line-height: 1.5;
}
/* ACABA CONTENEDOR SINOPSIS*/


/* EMPIEZA CONTENEDOR PROTAGONISTAS*/
.contenedor-protagonistas {
  width: 90%;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}


.contenedor-ryan,
.contenedor-emma {
  width: 48%;
  background-color: #1A2A6C;
  padding: 25px;
  border-radius: 10px;
  color: #ffffff;
  overflow: auto; 
}


.contenedor-ryan h3,
.contenedor-emma h3 {
  margin: 0 0 15px;
  font-family: 'Limelight', cursive; 
  font-weight: bold;
  font-size: 22px;
  color: white;
  display: block;
}

.info img {
  float: left;
  width: 150px;
  height: 250px;
  object-fit: cover;
  margin-right: 20px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.info p {
  margin: 0;
    text-align: justify;
  line-height: 1.5;
  font-family: 'Raleway', sans-serif;
}
/* ACABA CONTENEDOR PROTAGONISTAS*/

/* EMPIEZA CONTENEDOR ALUMNOS */
.alumnos{
  width: 90%;
  margin: 20px auto; 
  padding: 1px;
  background-color: #1A2A6C;
  border-radius: 10px;
}

.alumnos h2{
  font-family:'Limelight', cursive; 
  color: white;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
/* ACABA CONTENEDOR ALUMNOS */


/*EMPIEZA RESPONSIVE*/@media (max-width: 850px) {

    body {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* Contenedores espacio lateral */
  .sinopsis-container,
  .contenedor-protagonistas,
  .alumnos,
  .banner,
  header .container {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    box-sizing: border-box;
  }

  /* Contenedor de protagonistas en columna */
  .contenedor-protagonistas {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contenedor-ryan,
  .contenedor-emma {
    width: 100%;
    max-width: 700px;
    padding: 25px;
    box-sizing: border-box;
  }

  /* Banner */
  .banner {
    margin-bottom: 20px;
  }

  /* Sinopsis */

  .sinopsis-container {
    padding: 20px;
  }

  .sinopsis-container h2 {
    padding-top: 20px;
  }

  .sinopsis-container h2,
  .sinopsis-container p {
    padding-left: 0;
    padding-right: 0;
    text-align: left;}

  /* Header */
  header h1 {
    margin: 40px 0 0 0;
    text-align: left;
  }

    /* Buttons */
  .buttons {
    flex-direction: column;
    gap: 10px;
    text-align: right;
    padding-right: 10px;
  }

  .buttons a {
    display: block;
  }
}