#searchInput {
    width: 100%;
    font-size: 20px;
    padding: 20px 20px 20px 40px; /* Increased the padding to make the search box taller */
    border: 1px solid #ddd;
    margin-bottom: -100px;
    text-align: center; /* Added this line to center the text */
}
body {
    margin: 7vh auto 0;
    background-image: url(/assets/img/backgrounds/7.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
::-webkit-scrollbar {
    display: none;
}
  .grid-container {
    display: grid;
    grid-template-columns: repeat(8, minmax(200px, 1fr)); /* Set to 8 boxes wide */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
  }
  .movie-square {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
  }
  
  .movie-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.2s, transform 0.2s;
  }
  .movie-square:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .movie-square:hover img {
    filter: brightness(0.7); /* Darken the image */
  }
  
  .movie-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .movie-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s, opacity 0.2s, visibility 0.2s;
  }
  .movie-square:hover .movie-details {
    opacity: 1;
  }
  .movie-square:hover .movie-info {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .movie-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .movie-rating,
  .movie-genres,
  .movie-description {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 2px;
  }
  .movie-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .movie-year {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 5px;
  }

