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

:root {

  /* toegevoegd zodat tabs werken */
  --accent: hsl(260, 100%, 65%);
  --card: #1e1e1e;
  --off-black: #153243;
  --white: #f4f9e9;
  --grey: #5f6566;
}

html {
        cursor: url("http://www.rw-designer.com/cursor-extern.php?id=130875"), auto;
      }
body {
  font-family: 'Luckiest Guy';
  letter-spacing: .20em;
  background-color: var(--off-black);
  color: var(--white);
}

/* Voor de header */

.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 0 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  color: white;
  background: none;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(10px) brightness(0.7) saturate(1.2);
}

.hero-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(40,75,99,0.7) 60%, rgba(44,62,80,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content, .team {
  position: relative;
  z-index: 2;
}

/* Dit is voor de h1 */

.hero h1 {
  font-family: 'Luckiest Guy';
  font-size: 5rem;
  font-family: "Luckiest Guy";
  font-style: italic;
  font-size: 3rem;
}

.hero span {
  color: var(--purple); 
}

.hero-content {
  flex: 0 0 30%;
  max-width: 30vw;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 3vw;
  box-sizing: border-box;
}

.hero-content h1 {
  font-size: 3rem;
  white-space: normal;
  margin-top: 0;
  margin-left: 0;
  text-align: left;
  letter-spacing: .10em;
}

.team-title {
  color: #fff;
  font-size: 2rem;
  margin: 1rem;
  text-align: right;
  text-shadow: 0 2px 8px rgba(40,75,99,0.4);
  letter-spacing: 0.05em;
}

.team {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1.5rem;
  padding-right: 3vw;
  padding-bottom: 3vw;
}


/* Dit is het gedeelte van de profile cards */

/* Tabs */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center;
}

.tab {
  font-family: 'Luckiest Guy';
  letter-spacing: 0.3em;
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.25s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.tab[aria-selected="true"] {
  background: #F4F9E9;
  color: black;
  box-shadow: 0 6px 16px #F4F9E9;
}
.panel.fade-in {
  animation: fadeInPanel 0.35s;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panels */
.row {
  width: 100%;
  min-height: 400px;
  background:#153243;
  padding: 20px;
  position: relative;
}

.panel {
  inset: 0;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.panel[data-active="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Squad */
.squad {
  padding: 50px 20px;
  text-align: center;
}

.squad-members {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.member {
  background: #8EA2A6;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 4px 4px 6px var(--purple);
  margin-top: 25px;
  width: 200px;
  height: 250px;
  transition: all 1.2s ease;
  flex: 0 0 250px;
  scroll-snap-align: center;
  text-align: center;
}

.member:hover {
  transform: scale(1.05);
  transition: 1.2s;
}

.squad-slider {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.squad-track {
  display: flex;
  gap: 20px;
  padding: 10px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
}

.squad-slider {
  scrollbar-color: var(--white) var(--off-black);
  -ms-overflow-style: auto;
}

.squad-track .member {
  scroll-snap-align: start;
}

.squad-slider::-webkit-scrollbar {
  height: 8px;
}

.squad-slider::-webkit-scrollbar-track {
  background: var(--off-black);
  border-radius: 10px;
}

.squad-slider::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 10px;
}

.squad-slider::-webkit-scrollbar-thumb:hover {
  background: hsl(0, 0%, 64%);
}

.member img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  width: 7rem;
  height: 7rem;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.member h3 {
  margin: 15px 0 10px;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  background: #C1CEC8;
  border-radius: 25px;
  text-decoration: none;
  color: var(--grey);
  transition: all 0.3s;
}
.btn:hover {
  background: #5B7785;
  color: white;
}
.main h2{
  color: #fff;
}

/* Dit is de breakpoint voor het scherm dat gaat aanpassen wanneer het een ander formaat heeft */

/* Responsiveness */
@media screen and (max-width: 780px) {
  .hero {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-left: 0;
    margin-top: 0;
  }
  .team {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-right: 0;
    width: 100%;
    margin-top: 1.5rem;
  }
  .member {
    width: 90vw;
    max-width: 350px;
    height: auto;
    margin-top: 20px;
  }
  .squad-members {
    flex-direction: column;
    align-items: center;
  }
  .member.active {
    width: 90vw;
    max-width: 400px;
    height: auto;
    margin-top: 20px;
  }
  .btn {
    display: block;
    width: 100%;
    margin: 10px auto 0 auto;
    text-align: center;
  }
}

/* Dit is voor de locaties */
/* Favorites */
.favorites {
  padding: 50px 20px;
  text-align: center;
  background: var(--off-black);
}

.locations {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.locations p{
  color: #fff;
}
.location {
  width: 200px;
}

.location img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 6px var(--off-black);
}

.location p {
  margin-top: 10px;
  font-weight: bold;
}
