
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto:ital,wght@0,300;0,400;1,100&display=swap');



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

header {
  width: 100%;
  height: 15vh;
  background-image: url(./img/ticket-gfb85b4e41_1920.jpg);
  background-size: cover;
  background-position: center;
  z-index: 9;
}

/* TITULOS PRINCIPALES */

.titulos_principales {
  margin: 25px auto;
  text-align: center;
  font-family: "Anton", sans-serif;
}

/* MENU DE NAVEGACION */

.nav {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  transition: all 0.5s ease;
  z-index: 9;
}
.btn_menu {
  color: #fff;
  background: none;
  border: none;
  font-size: 30px;
  padding: 0 20px;
  line-height: 60px;
  display: none;
}
.nav.active {
  background: #100f0f;
  padding: 20px;
  opacity: 0.9;
}
.nav.active .logo,
.nav.active a,
.nav.active .menu_btn i {
  color: #fff;
}
.nav.active a:hover {
  color: rgb(0, 0, 0);
}
.logo {
  font-size: 55px;
  color: #fff;
  font-weight: 100;
  font-family: "Monoton", cursive;
}
.menu {
  display: inline-flex;
  
}
.menu li {
  font-family: 'Roboto Mono', monospace;
  list-style: none;
  margin: 5px;
  padding: 10px;
  font-size: 1.2rem;
}
.menu li a {
  color: #fafafa;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.5s ease;
}
.menu li a:hover {
  color: rgb(0, 0, 0);
  padding: 1px;
  background-color: #fafafa;
  
}

.menu_btn {
  color: white;
  font-size: 20px;
  display: none;
  cursor: pointer;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #1d1d1d;
}

/* CONTENEDOR DE TARJETAS */

.contenedor {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 40px auto 100px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.contenedor .pelicula {
  text-align: center;
  transition-duration: 0.5s;
}
.pelicula:hover {
  -webkit-transform: scale(1);
  transform: scale(1.03);
}

.contenedor .pelicula .capa {
	position: absolute;
}

.contenedor .pelicula .titulo {
  font-size: 16px;
  font-weight: 600;
}

.contenedor .pelicula .poster {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 15px;
}
.titulo {
  color: rgb(255, 255, 255);
  background-color: #008cff;
  border-radius: 5px;
  padding: 10px 10px;
  font-size: 25px;
}

.valoracion {
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: rgb(0, 0, 0);
  padding: 10px 10px;
}

/* ESTILOS DE TARJETAS */

/*.pelicula {
	transition-duration: 0.5s;
	overflow:hidden;
}
.pelicula:hover {
	filter: saturate(130%);
	-webkit-transform:scale(1);transform:scale(1.03);
}*/

.paginacion {
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.paginacion button {
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 50px;
  width: 200px;
  background: #008cff;
  color: #fff;
  border-radius: 100px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  transition: 0.3s ease all;
}

.paginacion button:hover {
  background: #003b6b;
}


@media screen and (max-width: 1024px) {
  .menu_btn {
    display: block;
  }
  .menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #100f0f;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    transform: translatex(-100%);
  }
  .menu li {
    margin: 15px 0;
  }
  .menu li:hover {
    color: #100f0f;
    background-color: #fff;
  }
  .menu.active {
    transform: translatex(0);
  }
}
@media screen and (max-width: 736px) {
  .contenedor {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 100px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .menu_btn {
    display: block;
  }
  .menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: #100f0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    transform: translatex(-100%);
  }
  .menu li {
    margin: 10px 0;
  }
  .logo {
    font-size: 25px;
  }
  .menu.active {
    transform: translatex(0);
  }
}
