*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body{
    background-color: #c93c00;
}
.bg5header{
    font-family: 'NavbarFont', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    padding-top: 175px;
    padding-bottom: 100px;
}
.bgg5text{
  padding: 30px;
  font-size: 25px;
  color: #fff;
  font-family: 'NavbarFont', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-align: center;
  margin-bottom: 0;
 
}
/* Video hover card styles copied from bg5.css */
.video-hover-card-link {
  display: block;
  width: 350px;
  max-width: 95vw;
  border-radius: 18px;
  text-decoration: none;
}
.video-hover-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 32px 0 #0ff8ff33;
  background: #181c2b;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  width: 350px;
  max-width: 95vw;
  aspect-ratio: 16/9;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.video-hover-card-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  transition: filter 0.35s, transform 0.35s;
  flex: 1 1 auto;
}
.video-hover-card-details {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: linear-gradient(180deg, rgba(255,152,0,0.92) 0%, rgba(255,204,128,0.98) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
  padding: 24px 16px 18px 16px;
  text-align: center;
}
.video-hover-card:hover .video-hover-card-details,
.video-hover-card-link:focus .video-hover-card-details {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  background: linear-gradient(180deg, #ff9800 0%, #ffcc80 100%);
  color: #181c2b;
}
.video-hover-card:hover .video-hover-card-image,
.video-hover-card-link:focus .video-hover-card-image {
  filter: blur(2px) brightness(0.7) grayscale(0.2) drop-shadow(0 0 24px #ff9800cc);
  transform: scale(1.04);
}
.video-hover-title {
  font-family: 'NavbarFont', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #000;
}
.video-hover-part {
  font-family: 'NavbarFont', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.01rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 6px;
}
.video-hover-desc {
  font-family: 'NavbarFont', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.99rem;
  color: #000;
  line-height: 1.5;
}
.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
  align-items: stretch;
  margin: 0 auto;
  max-width: 1200px;
}
@media (max-width: 1200px) {
  .items {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .items {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100vw;
  }
}
@media (max-width: 600px) {
  .video-hover-card-link {
    width: 100%;
    max-width: 100vw;
  }
  .video-hover-card {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 8px;
    width: 400px;
    aspect-ratio: 16/9;
  }
  .video-hover-card-image {
    height: 100%;
  }
  .video-hover-card-details {
    border-radius: 8px;
    padding: 10px 4px 8px 4px;
  }
  .items {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100vw;
  }
}



