@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: Inter, sans-serif;
      background-color: #000;
      color: #fff;
  }

  header {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: #000;
      color: #fff;
      padding: 1rem;
      border-bottom: 1px solid #fe1e1e;
  }
  
  .container {
      max-width: 1127px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  .logo {
      color: #e60000;
      text-decoration: none;
      font-size: 1.5rem;
      font-weight: bold;
  }
  
  .menu {
      display: none; 
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #000;
      padding: 1rem;
      border: 1px solid #333;
      border-radius: 5px;
      width: 100%;
      z-index: 50;
  }
  
  .menu.open {
      display: block; 
  }
  
  .menu ul {
      list-style: none;
  }
  
  .menu ul li {
      margin: 10px 0;
  }
  
  .menu ul li a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
  }
  
  .menu ul li a:hover {
      color: #e60000;
  }
  
  .menu-button {
      font-size: 1.5rem;
      background: none;
      color: #fff;
      border: none;
      cursor: pointer;
      display: block;
  }
  
  
  .menu-button {
      font-size: 1.5rem;
      background: none;
      color: #fff;
      border: none;
      cursor: pointer;
      display: block; /* Sempre visível inicialmente */
  }

  .menu-button:hover {
      color: #ff3333;
  }

  .title__container{
      font-size: 45px;
      margin-top: 50px;
      margin-bottom: 50px;
      opacity: 0;
      animation: fadeIn 1.5s ease-in-out forwards;
  }
  @keyframes fadeIn {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
  .container__grid{
      text-align: center;
      max-width: 1127px;
      margin: 0 auto;
      display: grid;
      
  }
.grid__poster {
      display: grid;
      gap: 20px;
      margin-right: 30px;
      margin-left: 30px;
      margin-bottom: 40px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .movie__card {
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: left;
      display: grid;
      gap: 10px;
  }
  .movie__card:hover{
      transform: translateY(-10px); 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .title__post{
      font-weight: 800;
  }
  .price__post {
      font-weight: 800;
  }
  .button__post{
      color: white;
      background-color: red;
      font-weight: bold;
      padding: 10px 20px;
      border-radius: 50px; 
      border: none;
  }
  .button__post:hover {
      background-color: #e60000;
  }
  .stars {
      font-size: 15px;
      color: #f5c518;
  }
  
  @media (min-width: 768px) {
      .menu {
          display: block;
          position: static;
          background: none;
          border: none;
          padding: 0;
          width: auto;
      }
      .grid__poster {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        }

      .menu ul {
          display: flex;
          gap: 1rem;
      }
  
      .menu-button {
          display: none; /* Esconde o botão no desktop */
      }
  }
@media (max-width: 480px) {
      .grid__poster {
        grid-template-columns: 1fr;
      }
      .title__container {
            font-size: 20px;
      }
      .image__post {
        height: 450px;
        width: 100%;
      }
      .movie__card {
        text-align: center;
        margin-bottom: 30px;
      }
  }
 