@font-face {
    font-family: smallFont;
    src: url(../pixelfont.ttf);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Place the video behind other content */
  }

  #background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

html, body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; /* Remove default margin */
    flex-direction: column; /* Stack items vertically */
    height: 100vh; /* Full viewport height */
}

/* Style for heading */
.heading {
    background-color: transparent;
    text-align: center; /* Center the heading text */
    font-size: 4rem; /* Adjust the size of the heading */
    font-family: smallFont;
    font-weight: bold; /* Make the heading bold */
    margin-bottom: 50px; /* Space between the heading and cards */
    color: white; /* Customize the color */
}

/* Container for the cards */
.card-container {
    background-color: transparent;
    display: flex; /* Display the cards in a row */
    justify-content: center; /* Center the cards horizontally */
    gap: 5vw; /* Space between the cards */
}

/* Style for the images inside cards */
.levelAcard img, .levelBcard img, .levelCcard img{
    width: 25vw; /* Change to desired width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Prevents any unwanted space below the image */
    transition: filter 0.3s ease; /* Smooth transition for the filter */
}

/* Darken image on hover */
.levelAcard img:hover, .levelBcard img:hover, .levelCcard img:hover {
    filter: brightness(0.7); /* Darkens the image */
    transform: scale(1.05); /* Slightly enlarge the card */
}