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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #0F331B;
  background-color: #FCF8F2;
  overflow-x: hidden;
  /* Prevent horizontal scrollbars at the page level */
}

ul,
ol {
  list-style: none;
}

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

iframe {
  border: 0;
}

input,
button,
textarea,
select {
  font: inherit;
  line-height: inherit;
  color: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid dodgerblue;
  outline-offset: 2px;
}

h1,
.ivymode {
  font-family: ivymode, sans-serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 300;
  line-height: 40px;
  text-align: left;
  width: 100%;
}

.nautica {
  font-family: nautica, sans-serif;
  font-size: 45px;
  font-style: normal;
  font-weight: 450;
  line-height: 50px;
}

h3 {
  font-family: nautica, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 450;
  line-height: 34px;
  text-align: left;
  width: 100%;
}

.caslon {
  font-family: kings-caslon, sans-serif;
}

.button {
  font-family: kings-caslon, sans-serif;
  display: inline-block;
  padding: 6px 20px;
  font-size: 15px;
  line-height: 17px;
  color: #FCF8F2;
  background-color: #0F331B;
  border: 1px solid #0F331B;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.button:hover,
.button:focus {
  background-color: #000000;
}

.button-alt {
  font-family: kings-caslon, sans-serif;
  display: inline-block;
  padding: 6px 20px;
  font-size: 15px;
  line-height: 17px;
  color: #0F331B;
  background-color: #FCF8F2;
  border: 1px solid #0F331B;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.button-alt:hover,
.button-alt:focus {
  background-color: #000000;
  color: #FCF8F2;
}

header,
main,
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.vh-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
  box-sizing: border-box;
  gap: 20px;
  position: relative;
}

#kasane-section {
  overflow-x: hidden;
}

#kasane-section>.button {
  margin-top: 125px;
}

#image-panorama-section {
  padding: 0;
}

.horizontal-scroll-container {
  width: 100%;
  height: 360px;
  overflow: hidden;
  position: relative;
}

.scrolling-image {
  width: 5521px !important;
  height: 360px !important;
  max-width: none !important;
  object-fit: cover;
}

.vh-section img:not(.scrolling-image):not(.polaroid-image) {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.polaroid-animation-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 350px;
  margin: 0px auto 0;
  overflow: visible;
}

.polaroid-image {
  position: absolute;
  width: 60%;
  max-width: 250px;
  height: auto;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.05);
  object-fit: cover;
  opacity: 0;
}

#polaroid-left {
  top: 10%;
  left: 10%;
  transform: rotate(-8deg) translateX(-150%);
}

#polaroid-right {
  top: 20%;
  right: 10%;
  transform: rotate(10deg) translateX(150%);
}

main div:not(.polaroid-animation-container) {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
}

@media (max-width: 639px) {

  header h1,
  main h1 {
    max-width: 436px;
  }

  footer h3 {
    max-width: 436px;
    padding-top: 0px;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .vh-section img:not(.scrolling-image):not(.polaroid-image) {
    max-width: 436px;
  }

  main div:not(.polaroid-animation-container) {
    gap: 10px;
    max-width: 436px;
  }

  .polaroid-animation-container {
    height: auto;
  }

  .polaroid-image {
    width: 70%;
    max-width: 220px;
  }

  #kasane-section>.button {
    margin-top: 350px;
  }
}

@media (min-width: 640px) {

  /* Tablet */
  header h1,
  main h1 {
    max-width: 600px;
  }

  footer h3 {
    max-width: 600px;
    font-size: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .vh-section img:not(.scrolling-image):not(.polaroid-image) {
    max-width: 600px;
  }

  header h1 {
    font-size: 40px;
    line-height: 48px;
  }

  main h1 {
    font-size: 38px;
  }

  main div:not(.polaroid-animation-container) {
    gap: 20px;
    max-width: 600px;
  }

  .button,
  .button-alt {
    padding: 8px 25px;
    font-size: 16px;
  }

  .polaroid-animation-container {
    height: 380px;
    max-width: 500px;
  }

  .polaroid-image {
    width: 65%;
    max-width: 280px;
  }

  #kasane-section>.button {
    margin-top: 135px;
  }
}

@media (min-width: 1024px) {

  /* Desktop */
  header h1,
  main h1 {
    max-width: 1000px;
  }

  footer h3 {
    max-width: 1000px;
    font-size: 36px;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .vh-section img:not(.scrolling-image):not(.polaroid-image) {
    max-width: 1000px;
  }

  header h1 {
    font-size: 48px;
    line-height: 56px;
  }

  main h1 {
    font-size: 42px;
  }

  main div:not(.polaroid-animation-container) {
    gap: 30px;
    max-width: 1000px;
  }

  .button,
  .button-alt {
    padding: 10px 30px;
    font-size: 17px;
  }

  .polaroid-animation-container {
    height: 420px;
    max-width: 600px;
  }

  .polaroid-image {
    width: 60%;
    /* Adjust as needed */
    max-width: 320px;
    /* Further increased max physical size */
  }

  #kasane-section>.button {
    margin-top: 180px;
  }
}

/* SCROLL TO STYLE */

.scroll-arrow {
  position: fixed;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 9999;
  transition: opacity .3s;
}

.scroll-arrow svg {
  pointer-events: none;
}

.scroll-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}