body {
  background-color: lightgray;
  background-size: cover;
  margin: 0;
  padding: 0;
}

.header-container {
  background-color: whitesmoke;
  padding: 15px 20px;
  position: relative;
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

button {
  background-color: whitesmoke;
  color: black;
  border-radius: 0%;
  width: 100px;
  height: 40px;
  font-family: 'Times New Roman', Times, serif;
  transition-duration: 5ms;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #ddd;
}

button:hover {
  background-color: lightgray;
  color: black;
}

.logo-button {
  border: none;
  border-radius: 0%;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.logo-button img {
  height: 100%;
  width: auto;
  max-width: 100%;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
}

.container {
  max-width: 800px;
  margin: 80px auto 20px;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* CSS-only hamburger meny */
.mobile-menu-toggle {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: black;
  transition: all 0.3s ease;
}

/* Responsiva stilar */
@media (max-width: 768px) {
  .menu-toggle {
      display: flex;
  }
  
  .nav-menu {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 70px);
      background-color: whitesmoke;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 20px;
      transition: left 0.3s ease;
      gap: 20px;
  }
  
  .mobile-menu-toggle:checked ~ .nav-menu {
      left: 0;
  }
  
  .mobile-menu-toggle:checked + .menu-toggle span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-toggle:checked + .menu-toggle span:nth-child(2) {
      opacity: 0;
  }
  
  .mobile-menu-toggle:checked + .menu-toggle span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }
  
  .container {
      margin-top: 20px;
  }

  .logo-button {
      position: static;
      margin-right: auto;
  }
}
