:root {
  --red: #c1121f;
  --black: #000;
  --dark: #111;
  --gray: #aaa;
}

html{
scroll-behavior: smooth;

}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--black);
  color: #eee;
}


header {
  background-color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 3px solid var(--red);
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo img {
  height: 60px; 
}
header h1 {
  color: var(--red);
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
}
nav a {
  color: #eee;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  transition: color .3s;
}
nav a:hover {
  color: var(--red);
}


.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  color: white;
}


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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h2,
.hero-content p,
.hero-content a {
  color: #fff;
}

.hero h2, .hero p, .hero a {
  position: relative;
  z-index: 1;
}
@keyframes moveBg {
  from { background-position: 0 0; }
  to { background-position: -1000px 0; }
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: var(--red);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

section {
  padding: 4rem 2rem;
}
section h3 {
  text-align: center;
  color: var(--red);
  font-size: 2rem;
  text-transform: uppercase;
}
.statistieken-text {
  text-align: center;
  max-width: 600px;
  margin: 1rem auto;
  color: #ccc;
}
.contact-text {
  text-align: center;
  max-width: 600px;
  margin: 1rem auto;
  color: #ccc;
}


.players {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.player-card {
  background-color: var(--dark);
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.player-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.player-card .info {
  padding: 1.5rem;
}
.player-card h4 {
  color: var(--red);
  margin-bottom: .25rem;
  font-size: 1.4rem;
}
.player-card span {
  display: block;
  font-size: .9rem;
  color: var(--gray);
  margin-bottom: .5rem;
}
.player-card p {
  color: #ccc;
  font-size: .9rem;
  line-height: 1.4;
}


footer {
  background-color: var(--dark);
  text-align: center;
  color: #777;
  padding: 1rem;
  font-size: .85rem;
  border-top: 3px solid var(--red);
}
.player-card .player-image {
  width: 100%;
  height: 180px; 
  overflow: hidden;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111; 
}

.player-card .player-image img {
  max-height: 100%;  
  max-width: 100%;   
  object-fit: contain; 
  display: block;
}
@media (max-width: 1024px) {
  header {
    padding: 1rem 1.5rem;
  }

  header h1 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 55vh;
  }

  .players {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    height: 50px;
  }

  header h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.75rem;
    gap: 0.75rem;
  }

  nav a {
    margin: 0;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 50vh;
    padding: 2rem 1rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .button {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  section {
    padding: 3rem 1rem;
  }

  section h3 {
    font-size: 1.6rem;
  }

  .statistieken-text,
  .contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .players {
    grid-template-columns: 1fr; /* 1 kolom */
    gap: 1.5rem;
  }

  .player-card {
    width: 90%;
    margin: 0 auto;
  }

  .player-card .player-image {
    height: 160px;
  }

  .player-card h4 {
    font-size: 1.25rem;
  }

  .player-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .button {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  section h3 {
    font-size: 1.4rem;
  }

  .player-card .player-image {
    height: 140px;
  }
}
#contact {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-align: center;
}

#contact .button {
  margin-top: 1.5rem;
  align-self: center; 
}
