/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(90deg, rgb(80, 6, 129) 0%, rgba(121,75,9,0.8939950980392157) 35%, rgba(4, 84, 138, 0.507) 100%);
    color: #cec0c0;
}

header {
    background: linear-gradient(90deg, rgb(80, 6, 129) 0%, rgba(121,75,9,0.8939950980392157) 35%, rgba(4, 84, 138, 0.507) 100%);
    padding: 10px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #f18e60;
    font-size: 1rem;
}

nav ul li a.active {
    font-weight: bold;
}

.hero {
    background-image: url('https://media.giphy.com/media/g1dDzBpxCx3KIQ93gM/giphy.gif');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e50914;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: rgb(12,12,13);
}

.featured {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.featured h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.featured-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay:hover {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.watch-button {
    display: inline-block;
    padding: 10px 20px;
    background: rgb(90, 27, 2);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.watch-button:hover {
    background-color: #eb3d08d5;
}

footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, rgb(80, 6, 129) 0%, rgba(121,75,9,0.8939950980392157) 35%, rgba(4, 84, 138, 0.507) 100%);
}

/* Container for the movie description */
.movie-description {
    text-align: flex;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  /* Title styling */
  .movie-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  /* Synopsis styling */
  .movie-synopsis {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  /* Genre styling */
  .movie-genre {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
  }
  
  /* Additional details styling (e.g., cast, rating) */
  .movie-details {
    font-size: 14px;
    margin-top: 10px;
  }
  
  /* Example of a rating badge */
  .movie-rating {
    display: inline-block;
    padding: 5px 10px;
    background-color: #ac1d04e5;
    color: rgb(255, 255, 255);
    font-size: 12px;
    border-radius: 3px;
  }

  body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

.carousel {
    display: flex;
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #887171;
    font-size: 2em;
    padding: 0.5em;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

