/* Grundlæggende styling */

body {
  margin: 0;
  padding: 0;
  background-color: #5d4d5d;
  overflow-x: hidden;
  font-family: "Work Sans", sans-serif;
}

p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
}

h1 {
  text-align: center;
  margin-top: 110px;
  padding-bottom: 50px;
  color: #c6ae70;
  font-family: "Playfair Display", serif;
  font-size: 40px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
}

/* navigation styling */

header nav {
  position: fixed;
  width: 100%;
  z-index: 999;
  background-color: #5d4d5d;
}

.wrapper {
  position: relative;
  padding: 0 30px;
  height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.wrapper .logo a {
  color: #c6ae70;
  font-size: 30px;
  text-decoration: none;
  font-family: "playfair-display";
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  font-family: "Work Sans", sans-serif;
}

.nav-links li a {
  color: #c6ae70;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 30px;
  border-radius: 5px;
  transition: all 0.4s ease;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
}

.nav-links li a:hover {
  font-weight: bold;
}
/* Mega dropdown-menu styling */
.mega-box {
  display: none; /* Skjuler dropdown-menuen som standard */
  position: absolute;
  left: 0;
  width: 100%;
  padding-top: 20px;
  top: 50px; /* Placerer dropdown-menuen under navigationen */
  opacity: 0;
  z-index: 1000;
  visibility: hidden;
}

.nav-links li:hover .mega-box {
  display: block; /* Viser dropdown-menuen ved hover */
  opacity: 1;
  visibility: visible;
  transition: all 0.7s;
}

.mega-box .content {
  background-color: #b49197;
  border: 10px;
  padding: 25px 40px;
  width: 100%;
  display: flex;
}

.main {
  width: 20%;
  line-height: 30px;
}

.main p {
  color: #000000;
  font-weight: bold;
  font-size: 25px;
}

.mega-links li {
  margin-left: -40px;
  
}

.mega-links li {
  list-style: none;
}

.mega-links li a {
  text-decoration: none;
  color: #000000;
  font-size: 14px;
  padding: 5px 0;
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #c6ae70;
}

.menu-checkbox {
  display: none;
}

/* Burger-menu styling */

.menu-icon {
  display: none; 
  font-size: 2rem;
  cursor: pointer;
}

.menu-checkbox {
  display: none; 
}

/* Responsiv styling */

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #b49197;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px;
  }

  .menu-checkbox:checked + .menu-icon + .logo + .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    color: #000000;
  }

  .nav-links li:hover .mega-box {
    display: block;
  }

  .mega-box .content {
    flex-direction: column;
    background-color: #b49197;
  }

  .main {
    width: 100%;
  }

  .mega-box {
    display: none !important;
  }
}

/* Hero Sektion - Video */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  margin-bottom: 100px;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero p {
  background-color: white;
  padding: 10px 40px;
  color: black;
  font-weight: 500;
  font-size: 16px;
  margin-top: 350px;
  z-index: 1;
  font-family: "Work Sans", sans-serif;
}

.video-hero {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main - Sektion med kategorier */

.kategori {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.kategori a {
  text-align: center;
  text-decoration: none;
  color: #c6ae70;
}

.produkt-info {
  padding-left: 5px;
}

.kategori img {
  width: 100%;
  height: auto;
}

.kategori p {
  margin-top: 20px;
}

/* Nyheder - Sektion */

.snap-karussel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  margin-bottom: 70px;
}

.produkt-kort {
  flex-shrink: 0;
  width: 300px;
  scroll-snap-align: center;
}

.produkt-kort img {
  width: 100%;
  display: block;
}

.produkt-info {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  margin-bottom: 15px;
  color: #c6ae70;
}

.produkt-info span {
  font-size: 16px;
}

/* Stjernetegn - Sektion */

.stjernetegn {
  position: relative;
}

.stjernetegn img {
  width: 100%;
}

.overlay-image {
  position: absolute;
  top: 25%;
  color: white;
  padding: 40px;
}

.overlay-image h2 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 20px;
}

.overlay-image p {
  font-size: 20px;
  margin-bottom: 70px;
}

.overlay-image a {
  text-decoration: none;
  font-size: 16px;
  background-color: white;
  color: black;
  padding: 10px 40px;
  font-family: "Work Sans", sans-serif;
}

/* Stjernetegn - Responsive */

@media (max-width: 768px) {
  .overlay-image {
    position: relative;
    top: auto;
    text-align: center;
  }

  .overlay-image h2 {
    font-size: 25px;
    color: #c6ae70;
  }

  .overlay-image p {
    font-size: 16px;
    color: #c6ae70;
  }

  .overlay-image a {
    font-size: 16px;
    color: #c6ae70;
    background-color: #5d4d5d;
    border: #c6ae70 solid 2px;
  }
}

/* Sunsister - Sektion */

.sunsister {
  position: relative;
}

.sunsister img {
  width: 100%;
}

.overlay-image-center {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px;
}

.overlay-image-center h2 {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 20px;
  color: #e8c879;
}

.overlay-image-center p {
  text-align: center;
  font-size: 20px;
  margin-bottom: 70px;
  color: black;
  font-weight: 300;
  
}

.overlay-image-center a {
  text-decoration: none;
  font-size: 16px;
  background-color: white;
  color: black;
  padding: 10px 40px;
  display: inline-block;
  font-family: "Work Sans", sans-serif;
}

.sunsister-mobil img {
  width: 100%;
}

.divider-line {
  width: 77%;
  margin: 20px auto;
  height: 1px;
  background-color: #c6ae70;
}

/* Sunsister - Responsive */

@media (min-width: 769px) {
  .sunsister-mobil {
    display: none;
  }
}

@media (max-width: 768px) {
  .sunsister {
    display: none;
  }

  .sunsister-mobil-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .overlay-image-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    padding: 20px;
  }

  .overlay-image-center h2 {
    font-size: 25px;
    color: #c6ae70;
  }

  .overlay-image-center p {
    font-size: 16px;
    color: #c6ae70;
  }

  .overlay-image-center a {
    font-size: 16px;
    color: #c6ae70;
    background-color: #5d4d5d;
    border: #c6ae70 solid 2px;
    margin-bottom: 20px;
  }
}

/* Mix-match sektion */

.container {
  display: flex;
  margin-bottom: 40px;
  margin-top: 40px;
}

.left-side {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.container h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #c6ae70;
  font-family: "playfair-display";
}

.container p {
  font-size: 23px;
  color: #ffffff;
  font-family: "Work Sans", sans-serif;
  font-weight: 200;
}

.right-side {
  width: 50%;
  display: flex;
  gap: 20px;
  justify-content: center; /* Centrerer billederne vandret */
}

.right-side img {
  width: 100%;
  max-width: 300px; /* Styrer billedstørrelse */
  height: auto;
}

button {
  margin-top: 10px;
  margin-bottom: 50px;
  padding: 10px 20px;
  background-color: #b49097;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: "Work Sans", sans-serif;
}

.right-side-reverse {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.left-side-reverse {
  width: 50%;
  display: flex;
  justify-content: center; /* Centrerer billederne vandret */
}

.left-side-reverse img {
  width: 100%;
  max-width: 650px; /* Styrer billedstørrelse */
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .container {
    display: none;
  }
}

/* Newsletter */

.newsletter {
  text-align: center;
  padding: 60px;
  color: white;
  background-color: #b49097;
}

.newsletter h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-family: "playfair-display";
}

.newsletter p {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 30px;
  font-family: "Work Sans", sans-serif;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 15px 20px;
  width: 500px;
  max-width: 70vw;
  border: none;
  font-size: 16px;
  font-family: "Work Sans", sans-serif;
}

.newsletter-form button {
  background-color: #4a3c4c;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  font-family: "Work Sans", sans-serif;
  margin-top: 48px;
}

.regler {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.regler p {
  text-align: center;
  width: 100%;
  font-size: 18px;
  color: #c6ae70;
  font-family: "Work Sans", sans-serif;
  padding: 20px;
}

.border-end {
  border-bottom: 1px solid #c6ae70;
}

/* footer */

.footer {
  background-color: #b49097;
  color: #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.footer-logo {
  margin-top: 50px;
}

.footer-logo h2 {
  font-family: serif;
  font-size: 40px;
  display: flex;
}

.footer-kolonner {
  display: flex;
  gap: 200px;
  justify-content: center;
}

.footer-kolonne h3 {
  font-weight: bold;
  font-family: "Work Sans", sans-serif;
  margin-bottom: 10px;
}

.footer-kolonne ul {
  list-style: none;
  padding: 0;
}

.footer-kolonne li {
  margin-bottom: 2px;
}

.footer-kolonne a {
  text-decoration: none;
  color: black;
}

.social-icons img {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  width: 30px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

/* Footer - Responsive*/

@media (max-width: 768px) {
  .footer-kolonner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-kolonne {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .menu-toggle {
    display: none;
    font-size: 28px;
    color: #c6ae70;
    cursor: pointer;
  }

  .regler p {
    font-size: 14px;
    padding: 10px;
  }
}
