@font-face {
  font-family: 'Futured';
  src: url(Futured.TTF);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  padding: 10px;
}

.container {
  width: 100%;
  padding: 10px;
}

/* Title */
.title {
  font-family: "Futured";
  font-size: clamp(1rem, 1.2vw + 0.7rem, 1.8rem);
  color: #FF0000;

  text-shadow: 0 0 6px #1d1907, 0 0 5px #0f0a00;
  transition: color .3s ease, text-shadow .3s ease;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    width: 90%;
    margin: auto;
  }
}


@media (min-width: 1024px) {
  .container {
    width: 80%;
  }
}

body {
  font-family: Inter, sans-serif;
  min-height: 100vh;
  color: white;
  background-color: #e9e9f0;

  display: flex;
  flex-direction: column; /* toegevoegd */

  justify-content: center;
  align-items: center;

  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.container {
  width: 100%;
  max-width: 820px;
  height: 240px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-inline: 50px;
  position: relative;
  z-index: 1; 
}

@media (max-width: 767px) {
  .card > .background {
    object-fit: cover;
    object-position: center;
  }
}

.container > a {
  display: flex; 
  flex-grow: 1;
  height: 100%; 
  border-radius: 30px; 
  overflow: hidden; 
  transition: flex-grow 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
}

.container > a:hover {
  flex-grow: 7; 
}

.containers-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  align-items: center;
}

.card {
  min-width: 70px; 
  height: 100%; 
  width: 100%; 
  display: flex;
  align-items: flex-end;
  cursor: pointer; 
  position: relative;
  --transition-timing: 0.35s; 
}

/* --- Background image within the card --- */
.card > .background {
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.5);
  z-index: -1;
  transition: var(--transition-timing) ease;
}
a:hover .card > .background {
  filter: brightness(1); 
}


.card > .card-content {
  display: flex;
  align-items: center;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 20px;
  overflow: hidden;
  transition: var(--transition-timing);
  z-index: 10;
}
a:hover .card > .card-content {
  inset: 20px;
  top: auto;
}

/* --- Profile image/icon container --- */
.card-content > .profile-image {
  min-width: 50px;
  max-width: 50px;
  height: 60px;
  border: 1px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}
a:hover .card .profile-image {
  border: 1px solid rgb(110, 252, 205); 
}
.profile-image > svg {
  
}
a:hover .card .profile-image > svg {
  stroke: rgb(110, 252, 205); /* Icon color on hover */
}

/* --- Title text --- */
.card-content > .title {
  white-space: pre;
  margin-left: 10px;
  translate: 0 100%;
  color: #C7F42F; /* Text color */
  opacity: 0.1;
  text-shadow: 0 0 10px #C7F42F; /*(Add this for glow if desired) */
}
a:hover .card .title {
  opacity: 1;
  translate: 0 0; /* Makes title slide */
}

/* --- Backdrop gradient --- */
.card > .backdrop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

/* --- Background Video --- */
#background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity for background */
  z-index: -99;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .container {
    max-width: 95%;
    height: auto;
    margin: 10px auto;
    flex-direction: column;
  }

  .container > a {
    height: 200px;
    margin-bottom: 10px;
  }

  .card > .background {
    object-fit: cover;
  }

  .card-content > .title {
    font-size: 1rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 90%;
  }
}



