@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-VariableFont_opsz,wght.ttf");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "SkylineSans";
  src: url("/fonts/SkylineSans-Black.woff2") format("woff2"),
    url("/fonts/SkylineSans-Black.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: #172554;
  color: #333;
  line-height: 1.6;
}

/* 9. Background Layers */

.bg-layer {
  position: fixed;
  top: -50px; /* extra marge boven */
  left: -50px; /* extra marge links */
  width: calc(100% + 100px); /* extra breedte voor beweging */
  height: calc(100% + 100px); /* extra hoogte voor beweging */
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
  filter: blur(20px);
}

/* Layer1 – naar links en op/af bewegen */
.layer1 {
  background-image: url("../images/bg1.svg");
  background-position: -150px -10px;
  animation: float1 20s linear infinite;
}

/* Layer2 – rechtsboven, meer beweging */
.layer2 {
  background-image: url("../images/bg2.svg");
  background-position: right -100px top;
  animation: float2 20s linear infinite;
}

/* Keyframes – grotere bewegingen */
@keyframes float1 {
  0% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(-80px, 40px);
  }
  50% {
    transform: translate(-160px, 0px);
  }
  75% {
    transform: translate(-80px, -40px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(40px, -80px);
  }
  50% {
    transform: translate(0px, -160px);
  }
  75% {
    transform: translate(-40px, -80px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

/* 10. Typography */
h1,
h2 {
  font-family: "SkylineSans", sans-serif;
}
h1 {
  font-weight: 900;
}
p {
  font-family: "Inter", sans-serif;
}

.date {
  font-family: "SkylineSans", sans-serif;
}

button {
  font-family: "SkylineSans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background-color: white;
  color: #2563eb;
}

.oker {
  color: #fbbf24;
}
.glass-button {
  padding: 12px 24px;
  font-size: 16px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Glans effect bij hover */
.glass-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: rotate(45deg);
  transition: all 0.5s ease;
  pointer-events: none;
}

.glass-button:hover::before {
  top: -20%;
  left: -20%;
}

/* Border en achtergrond bij hover */
.glass-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.7); /* lichter en glanzender */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* subtiele glow */
}
