body {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
}

nav,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
}

.logo {
  width: 200px;
  cursor: pointer;
  z-index: 3;
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

ul li {
  margin-right: 20px;
}

ul li a {
  color: maroon;
  text-decoration: none;
  transition: color 0.3s;
}

ul li a:hover {
  color: rosybrown;
}

.checkbtn {
  font-size: 28px;
  color: maroon;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

footer {
  color: maroon;
  font-size: 16px;
}

a {
  color: maroon;
}

.socials {
  align-items: center;
  width: 50px;
  cursor: pointer;
}

.nav-button {
  border-style: solid;
  display: block;
  width: 75px;
  background: linear-gradient(rgb(42, 0, 0, 1), rgb(128, 0, 0, 0.7));
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  line-height: 25px;
}

.nav-button span {
  color: white;
}

.heading {
  text-align: center;
  padding: 1rem 2rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: moveup 1s linear forwards;
}

.heading h1 {
  color: maroon;
  font-size: 58px;
  margin: 0;
}

.poster-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 3rem 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: moveup 1s linear forwards;
}

.poster-wrap img {
  max-width: 100%;
  max-height: 85vh;
  height: auto;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

@keyframes moveup {
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media (max-width: 900px) {
  .checkbtn {
    display: block;
    order: 1;
    margin-right: 20px;
    z-index: 3;
  }

  nav ul {
    position: fixed;
    top: 0px;
    right: -100%;
    background-color: maroon;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 2;
  }

  nav ul li a {
    color: white;
    font-size: 20px;
  }

  ul li {
    margin: 20px 0;
  }

  #check:checked ~ ul {
    right: 0;
  }

  nav,
  footer {
    padding: 1rem 2rem;
  }

  footer {
    font-size: 14px;
  }

  .socials {
    width: 40px;
  }

  .nav-button {
    width: 85px;
    padding: 15px;
  }

  .poster-wrap {
    padding: 1rem;
  }

  .heading h1 {
    font-size: 42px;
  }
}
