/* Set basic styles for the body */
body {
  font-family: Verdana, sans-serif;
  background-color: #bde1a8;
  margin: 0;
  padding: 20px;
}

/* buttons */
.scroll-button {
  display: block;
  padding: 10px;
  color: #fff;
  background-color: #000;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 30px;
}

/* Divider */
.divider {								/* minor cosmetics */
    display: table; 
    font-size: 20px; 
    text-align: center; 
    width: 75%; 						/* divider width */
    margin: 40px auto;					/* spacing above/below */
}
.divider span { display: table-cell; position: relative; }
.divider span:first-child, .divider span:last-child {
    width: 50%;
    top: 13px;							/* adjust vertical align */
    -moz-background-size: 100% 2px; 	/* line width */
    background-size: 100% 2px; 			/* line width */
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
}
.divider span:first-child {				/* color changes in here */
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), to(#000));
    background-image: -webkit-linear-gradient(180deg, transparent, #000);
    background-image: -moz-linear-gradient(180deg, transparent, #000);
    background-image: -o-linear-gradient(180deg, transparent, #000);
    background-image: linear-gradient(90deg, transparent, #000);
}
.divider span:nth-child(2) {
    color: #c10b0b; padding: 0px 5px; width: auto; white-space: nowrap;
}
.divider span:last-child {				/* color changes in here */
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#000), to(transparent));
    background-image: -webkit-linear-gradient(180deg, #000, transparent);
    background-image: -moz-linear-gradient(180deg, #000, transparent);
    background-image: -o-linear-gradient(180deg, #000, transparent);
    background-image: linear-gradient(90deg, #000, transparent);
}

/* Text Box */
.description-box {
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px 20px 20px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  font-size: 18px;
  text-align: center;
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(189, 225, 168, 1)),
              url('https://file.garden/ZeS8_BqOoVX2ptSv/Grinchbg.png');
  background-size: cover; /* Adjust as needed */
  background-position: center; /* Adjust as needed */
  color: #000;
  padding: 25px;
  border-radius: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header h1 {
  color: #fff;
  font-weight: bold;
  font-size: 2.5em;
  margin: 15px 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.logo {
  width: 130px; /* Adjust the width as needed */
  height: 120px; /* Adjust the height as needed */
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1); /* Enlarge on hover */
    cursor: pointer;
}

/* Default styles for the navigation bar */
/* Navigation container */
.nav-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 1.1em;
  padding: 12px 18px;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  background-color: #c10b0b;
  color: #fff;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }

  nav a {
    font-size: 1em;
    padding: 10px 14px;
  }
}

/* footer style */
footer {
  background: linear-gradient(to bottom, rgba(189, 225, 168, 1), rgba(255, 255, 255, 0)),
              url('https://file.garden/ZeS8_BqOoVX2ptSv/Grinchbg.png');
  background-size: cover; /* Adjust as needed */
  background-position: center; /* Adjust as needed */
  color: #fff;
  padding: 20px 20px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 18px;
  line-height: 1.4;
}

.footer-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #c10b0b;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icons img {
  max-width: 35px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

footer .copyright {
  font-size: 18px;
  opacity: 0.7;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }

  .social-icons img {
    max-width: 28px;
  }
}


/* basics */       
a {
  color: #c10b0b;
  font-weight: bold;
  transition: color 0.3s ease; /* Smooth transition effect */
}

a:hover {
  color: #fff;
}

p {
    margin-bottom: 1px; /* Adjust the margin-bottom as needed */
}

/* tables */
.table-container {
  max-height: 300px; /* Set the desired height for the scrollable area */
  overflow-y: auto; /* Enable vertical scrolling */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

table {
  justify-content: center;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 10px;
  background-color: #f3f3f3;
  border-radius: 8px;
}

th, td {
  justify-content: center;
  padding: 5px;
  text-align: center;
  border-radius: 8px;
}

th {
  justify-content: center;
  background: #ddd3f8;
  text-align: center;
  font-size: 20px;
}


/* Responsive styles */
@media only screen and (min-width: 600px) {
header h1 {
  font-size: 2.5em;
}
}

/* movie containers */
.movie-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.movie {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  width: calc(33.33% - 20px); /* Three containers per row by default */
  position: relative;
  margin-bottom: 20px;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  .movie {
    width: calc(50% - 20px); /* Two containers per row on smaller screens */
  }
}

/* Media query for even smaller screens if needed */
@media screen and (max-width: 480px) {
  .movie {
    width: calc(100% - 20px); /* One container per row on even smaller screens */
  }
}

.movie img {
  width: 100%;
  height: auto;
  border-bottom: 0px solid #ddd;
}

.movie-content {
  padding: 20px;
}

.movie-title {
  font-size: 1em; /* Adjust the font size as needed */
  margin-top: 1px;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (min-width: 600px) {
  .movie-title {
    font-size: 1.2em; /* Adjust as needed */
  }
}

.movie-title a {
  color: #c10b0b;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.movie-title a:hover {
  color: #c10b0b;
}

.platform-links a {
  display: block;
  margin-bottom: 10px;
  color: #c10b0b;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  border: 2px solid #c10b0b;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.platform-links a:hover {
  background-color: #c10b0b;
  color: #fff;
}

.back-button {
  display: block;
  margin-top: 20px;
  padding: 10px;
  background-color: #c10b0b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
}
