.video-library-banner {
  background-image: url(/img/created/compressed_img/box_at_night.jpg);
  background-size: cover; /* Adjust to your liking */
  background-position: center; /* Adjust to your liking */
  margin-top: 15px;
  height: calc(75vh - 100px); /* Adjust to your liking */
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-library-banner h2 {
  color: #fff; /* Set the color of your title */
  font-size: 5.5rem; /* Adjust to your liking */
  text-align: center;
  text-shadow: 2px 2px #000; /* Add a shadow to your title */
}

/* Youtube Prompt */

.subscribe-prompt {
  grid-column: 1 / -1; /* Span full width of grid */
  text-align: center;
  margin-top: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  padding: 1.5rem;
  background-color: #262626;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.subscribe-prompt a {
  color: #ff4444; /* YouTube red */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.subscribe-prompt a:hover {
  color: #fff;
  text-shadow: 0 0 5px #ff4444;
}

/* Grid styles */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  margin-top: 8rem;
  margin-bottom: 8rem;
  padding-left: 75px;
  padding-right: 75px;
}

.video-item {
  background-color: #484848;
  box-shadow: 0 2px 4px #0000001a;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Iframe styles */
.video-item iframe {
  width: 100%;
  height: 450px; /* Adjust the height as needed */
  border: none;
}

/* Title styles */
.video-title {
  padding: 10px;
  background-color: #333;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}

/* Description styles */
.video-description {
  padding: 10px;
  font-size: 1rem;
}

/* Base style for the link */
.article-link {
  color: #1e90ff; /* DodgerBlue color for better contrast */
  text-decoration: underline; /* Underlines the text */
  cursor: pointer; /* Changes cursor to pointer when hovering */
  transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition for color and background change */
  font-size: inherit;
  font-family: inherit;
}

/* Hover effect */
.article-link:hover {
  color: #f0f0f0; /* Tomato color for noticeable change on hover */
  background-color: green; /* Light gray background on hover */
  text-decoration: none; /* Removes underline on hover */
}

/* Mobile Version */

@media only screen and (max-width: 600px) {
  .video-library-banner {
    height: 40vh;
  }

  .video-library-banner h2 {
    font-size: 4rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}
