@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  background: url("../Bilder/background.webp") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  padding: 20px;
}

/* Highly opaque overlay for readability */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* High opacity white overlay */
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 600px;
  text-align: center;
  z-index: 1;
}

h1 {
  font-size: 1.8rem;
  line-height: 2.8rem;
  margin-bottom: 1.5rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro-text {
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;
  background-color: #007bff;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-info {
  background-color: #17a2b8;
}

.btn-info:hover {
  background-color: #138496;
}

input[type="checkbox"] {
  transform: scale(1.6);
  cursor: pointer;
  margin: 5px;
}

/* Mobile First - adjustments for larger screens if needed */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
    line-height: 3.5rem;
  }

  .btn {
    font-size: 1.3rem;
  }

  input[type="checkbox"] {
    transform: scale(1.2);
  }
}
