/* --- FONTS --- */
@font-face {
  font-family: "Maison Neue Trial Book";
  src: url("../fonts/maison-neue-trial-book.woff2") format("woff2");
}
@font-face {
  font-family: "Maison Neue Extended Bold";
  src: url("../fonts/maison-neue-extended-bold.woff") format("woff");
}


/* --- VARIABLES --- */
:root {
  /* colors */
  ---light-gray: #F4F5EB;
  --light-orange: #FB7B4C;
  --dark-green: #2E4726;
  --white: #FFFFFF;
  --black: #000000;

  --primary-font: "Maison Neue Trial Book", sans-serif;
  --secondary-font: "Maison Neue Extended Bold", sans-serif;
}
  

/* --- RESET --- */
*, *::after, *::before {
  box-sizing: border-box;
}
  
* {
  margin: 0;
  padding: 0;
}
  
body {
  background-color: var(---light-gray);
  font-family: var(--primary-font);
  color: var(--dark-green);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}
  
ol, ul, menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 0;
}
  
input, button, textarea, select {
  font: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  width: 100%;
  max-width: 100%;
}
  

/* --- TYPOGRAPHY --- */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

.text-headline {
  text-wrap: wrap;
  font-family: var(--secondary-font);
  color: var(--dark-green);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.3;
  font-size: 30px;
  padding-right: 50px;
  letter-spacing: 12px;
}

.text-subtitle {
  font-family: var(--secondary-font);
  text-wrap: wrap;
  color: var(--dark-green);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 6px;
  margin-bottom: 1rem;
}

/* --- BUTTON --- */
.btn-primary {
  border: 2px solid var(--dark-green);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 11px 10px 9px;
  display: inline-block;
  color: var(--dark-green);
  line-height: 17px;
  max-width: 197px;
  width: 100%;
  text-align: center;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
  margin-bottom: 1rem;
}
.btn-primary:hover {
  border-color: var(--light-orange);
}


/* --- LINKS --- */
a.link {
  color: var(--black);
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}
a.link:hover{
  color: var(--light-orange);
}


/* --- MAIN --- */
.main__content {
  position: relative;
  z-index: 1;
  width:100%;
}


/* --- POI --- */
.poi {
  pointer-events: none;
}
.poi__item {
  position: absolute;
  pointer-events: auto;
}
.poi__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background-color: var(--light-orange);
  box-shadow: inset 0 1px 0.5px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: none;
  transition: 0.2s;
}
.poi__btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 1px 1px var(--light-orange);
  -webkit-animation: poi-pulse 2s infinite;
  animation: poi-pulse 2s infinite;
}
.poi__btn .poi__icon {
  height: 16px;
  width: 16px;
  display: inline-block;
  color: inherit;
  fill: var(--white);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes poi-pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    opacity: 0;
  }
}


/* --- MODAL --- */
.modal {
  position: fixed;
  z-index: 15;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1.25rem;
  transition: all 0.3s ease-in-out;
}
.modal:not(.modal--is-visible) {
  pointer-events: none;
  background-color: transparent;
}
.modal--is-visible {
  opacity: 1;
  visibility: visible;
}
.modal .modal__content {
  position: relative;
  width: 100%;
  max-width: 40rem;
  max-height: 70%;
  overflow: auto;
  background-color: var(---light-gray);
  padding: 1.125rem;
}
.modal__content ul {
  padding-left: 1rem;
  list-style: disc;
}
.modal__content .modal__close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  border: none;
  background-color: transparent;
}
.modal__content .modal__close-btn .modal__close-inner {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--light-orange);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}
.modal__content .modal__close-btn .modal__close-inner svg {
  width: 16px;
  height: 16px;
  fill: var(--dark-green);
}

/* --- SWIPER --- */
.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
.swiper-main {
  margin-top: 2rem;
}
.swiper-main .swiper-slide {
  height: 400px;
}
.swiper-main .swiper-slide img {
  object-fit: contain;
}
.swiper-thumbs {
  box-sizing: border-box;
  padding: 10px 0;
}
.swiper-thumbs + .text-subtitle {
  margin-top: 2rem;
}
.swiper-slide {
  background-size: cover;
  background-position: center;
}
.swiper-thumbs .swiper-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-thumbs .swiper-wrapper.justify-start {
  justify-content: start!important;
}
.swiper-thumbs .swiper-slide {
  width: 25%;
  height: 100px;
  opacity: 0.4;
  cursor: pointer;
}
.swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper .swiper-button-next, .swiper .swiper-button-prev {
  color: var(--light-orange);
}
.swiper .swiper-button-next::after, .swiper .swiper-button-prev::after {
  font-size: 28px;
}