/*
Esta hoja de estilo define el diseño de la página web.
*/

/* Estilos de toda la pag */
:root {
  background-color: #030526;
  color: #5dc1b9;
}

/*Estilo de toda la pag*/
* {
  margin: 0;
  padding: 0.5rem;
  font-family: sans-serif;
}

/*
El elemento `header` contiene el logotipo y el menú de navegación.
*/
header {
  display: flex;
  flex-direction: column;
  position: relative;
}

/*Estilo del video en INDEX*/
video {
  margin: none;
  padding: 0;
  box-sizing: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  height: 0;
  min-height: 0vh;
  overflow: visible;
  object-fit: cover;
}

/* Estilos del NAV */
.abrir-menu,
.cerrar-menu {
  /*
    Los botones `abrir-menu` y `cerrar-menu` solo son visibles en pantallas pequeñas.
    Cuando se hace clic en el botón `abrir-menu`, se muestra el menú de navegación.
  */
  display: none;
  background-color: transparent;
  position: absolute;
  border: 0;
  margin: 0;
  padding: 0;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  color:#5dc1b9;
}



.nav-bar {
  height: 2em;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 1;
  position: relative;
  top: 0;
}

.nav-logo {
  list-style-type: none;
  align-items: left;
}
/* Estilo del logo redondeado */
.nav-logo div {
  height: 50px;
  width: 50px;
  background-repeat: no-repeat;
  background-position: 50%;
  border-radius: 50%;
  background-size: 100% auto;
}

.nav-logo img {
  width: 5em;
}

.nav-menu a {
  text-decoration: none;
  color: #5dc1b9;
}

.nav-menu li {
  list-style-type: none;
  border-right: #065473 1px solid;
  padding: 10px 5px;
  font-size: 1em;
  display: inline-block;
  transition: background-color 0.75s ease;
}

.nav-menu li:hover {
  transform: scale(1.2);
  transition: transform 0.5s;
}
.nav-menu li a:hover {
  background-color: #065473;
  color: #5dc1b9;
}
.active {
  /*Colorsito diferente para pagina activa del nav-menu*/
  background-color: #065473;
}

.nav-social {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 33%;
}
.nav-social li {
  list-style-type: none;
}
.nav-social a:hover {
  transform: rotate(360deg) scale(1.8);
  transition: transform 0.4s;
}
.nav-social img {
  width: 1em;
}

/*Estilo de la sección de BOLETERIA/ESTAFAS*/
.container-bar {
  background-color: #590202;
  color: #f26716;
  display: flex;
  flex-direction: row;
  align-items: top;
  justify-content: space-between;
  padding: 0;
  margin-bottom: 0;
  font-size: small;
}

.bar-h1 {
  width: 100%;
}
.bar-h2 {
  width: 50%;
}

/*Estilo de la sección de SHOWS*/
.shows .titulo-shows,
.opiniones .titulo-opiniones {
  color: #5dc1b9;
  font-family: fantasy;
}

.shows .tarjetas {
  color: black;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  column-gap: 20px;
  row-gap: 10px;
}

.header-video {
  position: relative;
  top: 2vh;
  height: 100%;
  width: 100%;
  object-fit: fill;
}
.header-bar {
  max-height: 40vh;
}

.tarjeta {
  width: 18rem;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  background-color: #f2421b;
  margin: 2%;
}
.tarjeta img {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  padding: initial;
}
.tarjeta h3 {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tarjeta-texto {
  padding: 1.25rem;
}

.tarjeta-texto btn-mas-info {
  float: inline-end;
  font-weight: bold;
}
.tarjeta-texto btn btn-primary {
  float: inline-end;
  font-weight: bolder;
}
.btn-primary,
.btn-mas-info {
  font-weight: bold;
}
.tarjeta h3 {
  text-align: center;
}

.tarjeta h3,
.tarjeta p,
.tarjeta a {
  margin: 0;
}

.img-promo {
  height: 5em;
  width: 5em;
}

/*Diseño del FOOTER*/
.container-footer {
  margin-top: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style-type: none;
  color: #5dc1b9;
}
.footer-l3 {
  text-align: center;
  color: #5dc1b9;
}

/*Diseño de las opiniones*/
#container_reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
}

.character-container {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  background-color: rgba(249, 249, 249, 0.604);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.character-container:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.character-container img {
  border-radius: 5px 5px 0 0;
}

.character-container p {
  color: #333;
  font-size: 18px;
}
.character-container p:last-child {
  font-size: 20px;
  color: #ff0;
}
.photos h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;  
  background-size: 500% auto;
  animation: rainbow 3s ease-in-out infinite;
}


/*Estilo de MULTIMEDIA*/
.bar-start {
  width: 100%;
  height: auto;
  padding: 2rem;
  text-align: center;
  background-color: lightblue;
}

section.bar-start {
  display: none;
}

section.bar-start.active {
  display: block;
}

.btn-show-bar {
  cursor: pointer;
  background-color: blue;
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
}

.btn-show-bar:hover {
  background-color: lightblue;
}

.btn-show-bar:active {
  background-color: darkblue;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

/*DISEÑO RESPONSIVO*/

@media screen and (max-width: 1200px) {
  .nav-menu {
    font-size: 0.5em;
  }
  .nav-menu li {
    padding: 3px;
  }
  .nav-menu a {
    font-size: 1.5em;
    padding: 0;
  }
  .nav-social {
    width: 30%;
  }
  .nav-social a {
    padding: 3px;
  }
  header video {
    z-index: -1;
    width: 100%;
    height: 0;
    overflow: visible;
    object-fit: cover;
  }

  .container-bar {
    margin: 10px;
    padding: 0;
    flex-direction: row;
    align-items: flex-start;
    font-size: x-small;
    justify-content: flex-start;
  }

  .shows .tarjetas {
    margin-top: 0;
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 2px;
    row-gap: 2px;
  }

  .container-footer {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 764px) {
  .abrir-menu,
  .cerrar-menu {
    display: block;
    font-size: 1.25rem;
    cursor: pointer;
  }

  .nav-menu {
    visibility: hidden;
    opacity: 0;
    /* las dos primeras ocultan la nav */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5rem;
    font-size: x-small;
    background-color: #c77d21;
    bottom: 01;
    box-shadow: 0 0 0 100vmax #030526c8;
    z-index: 2;
    border: 1;
  }
  .nav-social {
    visibility: hidden;
    opacity: 0;
  }

  /*Hace visible el nav cuando se activa (con un click y js)*/
  .nav-menu.visible {
    visibility: visible;
    opacity: 1;
  }
  .nav-social.visible {
    visibility: visible;
    opacity: 1;
  }

  .nav-menu {
    flex-direction: column;
    align-items: end;
  }

  .nav-menu li a {
    color: white;
  }
  .nav-social {
    flex-direction: row;
  }

  header video {
    z-index: -1;
    width: 100%;
    height: 0;
    overflow: visible;
    object-fit: cover;
  }

  .container-bar {
    margin: 10px;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    font-size: xx-small;
    justify-content: flex-start;
  }

  .shows .tarjetas {
    margin-top: 0;
    display: grid;
    grid-template-columns: auto;
    align-content: center;
    column-gap: 2px;
    row-gap: 2px;
  }

  .container-footer {
    display: flex;
    flex-direction: column;
  }
}

#formulario {
  display: grid;
  grid-template-columns: 25% min-content;
  gap: 10px;
  align-items: center;
}
