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

html {
  scroll-behavior: smooth;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.container1 {
  background-color: #dd402a;
  min-height: 85vh;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
}

h1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

img {
  width: 100%;
  max-width: 860px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.35;
  color: #ffe9c0;
  max-width: 730px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2.25rem); 
  margin-top: clamp(1rem, 3vw, 3rem);
  margin-bottom: clamp(1.5rem, 6vw, 5rem);
}

.inline-link {
  color: inherit;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

.container2 {
  background-color: #ffe9c0;
  min-height: 100vh;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 7vw, 5rem);
  flex-direction: column;
}

.gallery-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 1100px);
  text-decoration: none;
}

.gallery-link picture,
.gallery-link img {
  width: 100%;
}

.fit-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(80vh, 960px);
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .container2 {
    padding: 5rem 3rem;
  }
  .container2 .fit-img {
    max-height: calc(100vh - 160px);
  }
}

.container3 {
  background-color: #000;
  min-height: 70vh;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem);
}

#sd-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: clamp(2rem, 8vw, 5rem);
}

.scroll-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 3vh, 18px);
  padding: clamp(8px, 2vw, 14px);
  border-radius: 999px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.scroll-trigger:focus-visible {
  outline: 2px solid #ffe9c0;
  outline-offset: 6px;
}

.arrow {
  position: relative;
  width: 42px;
  height: 16px;
  opacity: 0;
}
.arrow::before,
.arrow::after {
  content: "";
  width: 21px;
  height: 2px;
  background-color: #ffe9c0;
  border-radius: 2px;
  display: inline-block;
}
.arrow::before {
  transform: rotate(45deg) translateX(25%);
}
.arrow::after {
  transform: rotate(-45deg) translateX(-25%);
}
.arrow:nth-child(1) {
  top: -50px;
  opacity: 1;
  -webkit-animation: arrow2 1s ease 0s infinite;
  animation: arrow2 1s ease 0s infinite;
}
.arrow:nth-child(2) {
  top: -25px;
  -webkit-animation: arrow1 1s ease 0.25s infinite;
  animation: arrow1 1s ease 0.25s infinite;
}

@-webkit-keyframes arrow1 {
  from {
    opacity: 0;
    top: -25px;
  }
  to {
    opacity: 0;
    top: 0px;
  }
  50% {
    opacity: 1;
  }
}

@keyframes arrow1 {
  from {
    opacity: 0;
    top: -25px;
  }
  to {
    opacity: 0;
    top: 0px;
  }
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes arrow2 {
  from {
    opacity: 0;
    top: -35px;
  }
  to {
    opacity: 0;
    top: -10px;
  }
  50% {
    opacity: 1;
  }
}
@keyframes arrow2 {
  from {
    opacity: 0;
    top: -35px;
  }
  to {
    opacity: 0;
    top: -10px;
  }
  50% {
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .container1 {
    min-height: auto;
    padding: 2rem 1rem;
  }
  .container2 {
    min-height: auto;
    padding: 1.25rem 1rem;
  }
  .container3 {
    min-height: auto;
    padding: 1.75rem 1rem 2.5rem;
  }

  .fit-img {
    max-height: 60vh;
  }
  h2 {
    max-width: 550px;
  }

  .scroll-trigger {
    gap: 12px;
  }

  #sd-container {
    margin-top: clamp(1.5rem, 7vw, 3rem);
  }
}

.scroll-trigger:hover {
  transform: translateY(4px);
}

.map-wrapper {
  width: min(100%, 960px);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

@media (max-width: 768px) {
  .map-wrapper {
    aspect-ratio: 1 / 1;
    width: 100%;
  }

  .map-wrapper iframe {
    min-height: 360px;
  }
}
