@import url("https://fonts.googleapis.com/css2?family=Belleza&family=Lora:ital,wght@0,400..700;1,400..700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Belleza", sans-serif;
  background: #ffffff;
}

main {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

header {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-image: url("/assets/img/Heidi Helene Moller Kjaer-fotograf-winnie-synia-7700 copy 2.jpg");
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
}
@media (max-width: 768px) {
  header {
    background-position: 75% center;
  }
}
header #hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  min-height: 40svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  text-align: center;
  /* ================= TOP BAR ================= */
}
header #hero #topBar {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
@media (max-width: 768px) {
  header #hero #topBar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
header #hero #topBar #logo {
  justify-self: start;
}
@media (max-width: 768px) {
  header #hero #topBar #logo {
    justify-self: center;
  }
}
header #hero #topBar #logo a {
  display: block;
}
header #hero #topBar #logo a img {
  width: clamp(120px, 20vw, 250px);
  height: auto;
  display: block;
  transition: all 0.3s ease;
}
header #hero #topBar #brandName {
  justify-self: center;
}
header #hero #topBar #brandName a {
  text-decoration: none;
  color: #53817f;
}
header #hero #topBar #brandName h1 {
  margin: 0;
  text-shadow: 2px 0 #18381e;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
}
header #hero {
  /* ================= NAV ================= */
}
header #hero nav {
  width: 100%;
}
header #hero nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  max-width: 900px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  header #hero nav ul {
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  header #hero nav ul {
    flex-direction: column;
  }
}
header #hero nav ul li a {
  text-decoration: none;
  color: #e3e0df;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: 0.2s ease;
}
header #hero nav ul li a:hover, header #hero nav ul li a.active {
  color: rgba(227, 224, 223, 0.5019607843);
}

footer {
  background-color: #53817f;
  width: 100%;
}
footer #footer {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-family: "Lora", serif;
  color: #e3e0df;
  padding: 20px;
}
footer #footer .footerInfo {
  padding: 20px;
  text-align: center;
}
footer #footer .footerInfo h3 {
  margin-bottom: 5px;
}
footer #footer .footerInfo h4 {
  margin: 5px 0;
  font-weight: 400;
}
footer #footer .footerInfo p {
  margin: 5px 0;
}
footer #footer .footerInfo {
  /* social icons */
}
footer #footer .footerInfo #socialMedia {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
footer #footer .footerInfo #socialMedia img {
  width: 28px;
  height: 28px;
}
footer #footer #footerLogo {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer #footer #footerLogo img {
  max-width: 15rem;
  width: 100%;
  height: auto;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  #footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}
/* ================= MOBILE ================= */
@media (max-width: 414px) {
  #footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  #footer .footerInfo {
    padding: 10px;
  }
  #footer .footerInfo #socialMedia img {
    width: 24px;
    height: 24px;
  }
  #footer #footerLogo img {
    max-width: 10rem;
  }
}
.container .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding-top: 40px;
}
.container .gallery img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.container {
  padding: 1rem;
}
.container #bornholmPoster {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.container #bornholmPoster img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  .container {
    padding: 0.5rem;
  }
  .container #bornholmPoster img {
    max-width: 100%;
  }
  .container h2 {
    font-size: 1.5rem;
  }
  .container h3 {
    font-size: 1.2rem;
  }
}
.container .snippet {
  margin-bottom: 60px;
}
.container .snippet .book-snippet {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.container .snippet .book-snippet img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  .book-snippet {
    gap: 15px;
  }
  .book-snippet img {
    max-width: 200px;
  }
}
/* ================= MOBILE ================= */
@media (max-width: 414px) {
  .book-snippet {
    flex-direction: column;
    align-items: center;
  }
  .book-snippet img {
    max-width: 100%;
  }
}
/* ================= DESKTOP ================= */
.container {
  padding: 45px;
}

.background {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

.slider-title {
  font-size: 4rem;
  margin-bottom: 20px;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.slider-container {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  max-height: 500px;
}

.slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background: #e3e0df;
}

.prev,
.next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background-color: #a9a9a9;
  transform: scale(1.2);
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  .container {
    padding: 25px;
  }
  .background .slider-wrapper {
    gap: 8px;
  }
  .background .slider-wrapper .slider-container {
    max-width: 100%;
  }
  .background .slider-wrapper .slider-container .slide {
    max-height: 350px;
  }
}
/* ================= MOBILE ================= */
@media (max-width: 414px) {
  .container {
    padding: 15px;
  }
  .background {
    padding-top: 20px;
  }
  .background .slider-wrapper {
    flex-direction: row;
  }
  .background .slider-wrapper .slide {
    aspect-ratio: 16/9;
    height: auto;
  }
  .background .slider-wrapper .prev,
  .background .slider-wrapper .next {
    width: 38px;
    height: 38px;
  }
  .background .dots-container {
    display: none;
  }
}/*# sourceMappingURL=styles.css.map */