.class-hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background-color: #000000;
  padding: 20px;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.video-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 2; /* Add this */
}

.class-list {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.class-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.class-name {
  color: #666666;
  font-size: 4em;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  text-transform: uppercase;
  display: inline-block;
  font-family: "Gunterz Bold", sans-serif;
  letter-spacing: -0.05em;
}

.class-name:hover,
.class-name.active {
  color: #ffffff;
}

.separator {
  color: #666666;
  font-size: 4.5em;
  font-weight: bold;
  margin: 0;
  padding-bottom: 32px;
  display: inline-block;
  cursor: default;
}

.class-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.class-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Large tablets */
@media screen and (max-width: 1024px) {
  .class-name {
    font-size: 3.25em;
  }
  .separator {
    font-size: 3.25em;
    padding-bottom: 10px;
  }
  .class-row {
    gap: 6px;
  }
}

/* Small tablets */
@media screen and (max-width: 900px) {
  .class-name {
    font-size: 3.15em;
  }
  .separator {
    font-size: 3.15em;
    padding-bottom: 10px;
  }
  .class-row {
    gap: 6px;
  }
}

@media screen and (max-width: 768px) {
  .class-list {
    gap: 32px;
  }

  .class-row {
    flex-direction: column;
    gap: 32px;
  }

  .class-name {
    font-size: 2.7em;
  }
  .separator {
    display: none;
  }
}
