/* === Basis === */
body {
  font-family: "Verdana", "Open Sans", "Arial", "Helvetica", sans-serif;
  margin: 0;
  padding: 0;
}

h1, h3, p {
  margin: 0;
}

section {
  padding: 60px 0;
}

/* === Typografi === */
.fw-bold {
  font-weight: bold;
  font-size: clamp(1rem, 4vw, 2rem);
}

.fs-4 {
  font-size: clamp(0.8rem, 2vw, 1.25rem) !important;
}

.btn {
  padding: 1rem 2rem;
  font-size: clamp(1rem, 3vw, 1.25rem);
}

.btn-danger {
  color: #fff;
  background-color: #c8102e;
  border: none;
  border-radius: 20px;
}

.btn-danger:hover {
  background-color: rgb(160, 12, 37);
}

/* === Layout === */
.center-box {
  max-width: 1000px;
  padding: 40px;
  border-radius: 20px;
  margin: 0 auto;
  text-align: center;
}

.logo {
  width: 225px;
  margin-top: -45px;
}

header {
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("assets/MitForsvarFoto.jpg");
  background-position: center;
  background-size: cover;
  text-align: center;
}

/* === QR-kode === */
.qr-circle {
  background-color: white;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  max-width: 130px;
  height: auto;
}

/* === Lead-sektion === */
.lead-section {
  background-color: #e5e5e5;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
}

.scroll-down .arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(10px) rotate(-45deg);
  }
  60% {
    transform: translateY(5px) rotate(-45deg);
  }
}

/* === Footer === */
footer {
  background-color: #3c3c3c;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  padding: 40px 20px;
}

/* === Responsiv synlighed === */
#leadDesktop {
  display: block;
}

#leadMobile {
  display: none;
}

@media (max-width: 768px) {
  #leadDesktop {
    display: none;
  }

  #leadMobile {
    display: block;
  }

  header {
    padding-top: 70px;
  }

  .logo {
    margin-top: 0;
  }
}
