@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

img {
  width: 100%;
}

html {
  font-family: "Poppins";
  font-size: 10px;
  scroll-behavior: smooth;
}

.hero {
  font-size: 1.6rem;
  width: 50vw;
  margin: 1vh auto;
  padding: 2rem;
  background-color: rgb(228, 227, 227);
  text-align: justify;
}

.hero h1 {
  font-size: 5rem;
  text-align: left;
}

body {
  display: grid;
  grid-template-rows: 15vh 1fr 15vh;
  overflow-x: hidden;
}

header,
footer {
  background-color: black;
}

footer {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 2rem;
  text-align: center;
  padding: 2rem;
}

nav {
  height: 100%;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 1.6rem;
  padding: 0 2rem;
  position: relative;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: bold;
}

ul li a {
  border: 2px solid white;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  transition: 0.3s ease;
  cursor: pointer;
}

ul li a:hover {
  border: 2px solid white;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  color: black;
  background-color: white;
}

.hero a {
  border: 2px solid black;
  color: black;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
}

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

.hero a:hover {
  color: white;
  background-color: black;
}

a {
  color: white;
  padding: 0.8rem 1.2rem;
}

.logo {
  width: 30rem;
}

.serie {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.genero {
  align-self: self-start;
  border-radius: 8px;
  margin: 1rem 0;
}

.genero a,
.genero a:hover {
  padding: 0;
  margin: 0;
  background-color: inherit;
  border: none;
  color: inherit;
}

.genero > p {
  font-weight: bold;
}

.genero p span {
  font-weight: 500;
  margin: 0 0.2rem;
  padding: 0.5rem 1rem;
  background-color: inherit;
  border-radius: 8px;
  border: 2px solid rgba(255, 0, 85, 0.521);
  transition: 0.3s ease;
  cursor: pointer;
}

.genero p span:nth-child(1) {
  margin-left: 0.8rem;
}

.genero p span:hover {
  border: 2px solid rgba(255, 0, 85, 0.521);
  background-color: rgba(255, 0, 85, 0.521);
}

.image a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image a img {
  box-shadow: 0px 0px 8px 0.5px black;
  border-radius: 18px;
  margin: 1rem 0;
}

.image a .play {
  width: 30%;
  position: absolute;
  opacity: 0;
  transition: 0.5s ease-out;
}

.image:hover .play {
  opacity: 1;
}

.image:hover a img {
  filter: blur(2px);
}

.image:hover a .play {
  filter: blur(0px);
  box-shadow: none;
}

.image a .play {
  box-shadow: none;
}

.image a,
.image a:hover {
  padding: 0;
  border: none;
  background-color: inherit;
}

.mobile-menu {
  cursor: pointer;
  display: none;
}

.mobile-menu div {
  background-color: white;
  width: 30px;
  height: 2px;
  margin: 10px;
  position: relative;
  transition: 0.3s ease-in-out;
}

.mobile-menu div:before,
.mobile-menu div:after {
  content: "";
  background-color: white;
  width: 30px;
  height: 2px;
  position: absolute;
  transition: 0.3s ease-in-out;
}

.mobile-menu div:before {
  top: -10px;
}

.mobile-menu div:after {
  top: 10px;
}

@media (max-width: 1000px) {
  .hero h1 {
    font-size: 4rem;
    text-align: center;
  }
  .hero {
    width: 90vw;
  }

  .logo {
    width: 20rem;
  }
  .mobile-menu {
    display: block;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 15vh;
    width: 50vw;
    height: 50vh;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    transform: translateX(100%);
    transition: 0.2s ease-in;
  }

  .nav-list li {
    opacity: 0;
  }

  .nav-list.active {
    transform: translateX(0);
  }
  .nav-list.active li {
    opacity: 1;
  }

  .mobile-menu.active div {
    background-color: transparent;
  }
}

.mobile-menu.active div:before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu.active div:after {
  top: 0;
  transform: rotate(-45deg);
}
