@import url("https://fonts.googleapis.com/css2?family=Sora&display=swap");
@font-face {
  font-family: "Bandeins Sans & Strange Variable";
  src: url("https://res.cloudinary.com/dldmpwpcp/raw/upload/v1566406079/BandeinsStrangeVariable_esetvq.ttf");
}
* {
  box-sizing: border-box;
  user-select: none;
}

::-webkit-scrollbar {
  display: none;
}

figure {
  margin: 0;
  overflow: hidden;
}

html,
body {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
  height: -webkit-fill-available;
  font-size: 20px;
}

body {
  color: #fff;
  /* background: #354f70; */
  background: #ffffff;
  /* background-image: url('./images/backgrounds/bg4.jpg'); */
  font-family: "Sora", sans-serif;
}

footer {
  position: fixed;
  z-index: 999;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  width: 100%;
  height: 7em;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1rem);
}

@media (max-height: 600px) {
  footer {
    height: fit-content;
  }
}

footer p {
  /* background-color: #000000bf; */
  background-color: #ff00bbbf;
  cursor: pointer;
  padding: 5px;
  font-size: clamp(2rem, 0.5vw, 5rem);
  margin: 0 5px 0 5px;
}
footer p:hover {
  padding: 10px;
}

@media (orientation: portrait) {
  footer p {
  writing-mode: vertical-rl; /* Text runs vertically from right to left */
    text-orientation: mixed; /* Ensures proper orientation of characters */
    text-align: left;
  }
  footer {
    height: fit-content;
    margin-bottom: 20px;
    /* flex-direction: column; */
    align-items: flex-end; /* Align items to the start */
  }
}
@media (max-height: 1000px) {
  footer p {
  font-size: clamp(1.5rem, 0.5vw, 5rem);
  }
}


a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  color: #ff0000;
}
h1 {
  padding: 0;
  margin: 0;
  /* font-size: clamp(2.5rem, 7vw, 7rem); */
  font-size: 6.75vmin;
  font-size: clamp(35px, 6.75vmin, 65px);
}


.slide {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;  
}
.slide__outer, .slide__inner {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}
.slide__content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
}
.slide__container {
  position: relative;
  max-width: 1400px;
  width: 100vw;
  margin: 0 auto;
  height: 90dvh;
  margin-bottom: 10dvh;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding: 0 1rem;
}
.slide__heading {
  --width: 200;
  display: block;
  text-align: left;
  font-family: "Bandeins Sans & Strange Variable";
  /* font-size: clamp(5rem, 15vw, 15rem); */
  font-size: clamp(6rem, 15vw, 15rem);
  font-weight: 900;
  font-variation-settings: "wdth" var(--width);
  margin: 0;
  padding: 0;
  color: #f2f1fc;
  z-index: 999;
  mix-blend-mode: difference;
  grid-area: 2/2/3/0;
  align-self: end;
}

.front-content {
  overflow-y: scroll;
}

#nav-instructions {
  color: #ff00bb;
  color: #00b7ffbf;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 5px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 2s ease-in 4s forwards; /* 2s delay, 2s duration */
  width: 100%;
}

#front-quote p {
  /* font-size: 3vmin; */
  font-size: calc(1.25vw + 1.25vh);
  line-height: calc(1.3vw + 1.3vh);

  font-size: clamp(10px, calc(1.25vw + 1.25vh), 25px);
  font-family: 'Courier New', Courier, monospace;
}

#front-quote-ref {
  line-height: calc(1vw + 1vh);
  font-size: calc(1vw + 1vh);
}

@media (min-width: 700px) and (max-width: 960px) and (orientation: portrait) {
  #front-quote {
    /* font-size: 2vmin !important;
    line-height: 2vmin !important; */
  }

  #front-quote-ref {
    /* font-size: 1.6vmin !important;
    line-height: 1.6vmin !important; */
  }
}

.front-content p {
  margin-left: 15px;
  font-size: 4vmin;
  font-family: "Sora", sans-serif;
}


/* #contact-icon {
  padding: 0;
  padding-left: clamp(65px, 7vw, 75px);
  width: 30px;
  background-image: url('./images/other/mail.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  margin-bottom: 30px;
  margin-top: 30px;
} */

#contact-icon {
  padding: 0;
  padding-left: clamp(40px, 6vw, 60px);
  background-image: url('./images/other/mail.png');
  background-repeat: no-repeat;
  background-size: clamp(35px, 6vw, 55px);
  background-position: left;
  
}


#insta-icon {
  padding: 0;
  padding-left: clamp(40px, 6vw, 60px);
  background-image: url('./images/other/instagram.png');
  background-repeat: no-repeat;
  background-size: clamp(33px, 6vw, 43px);
  background-position: left;
}

#open-gallery, #open-contact, #open-insta {
  background-color: #00aeffcb;
  padding: 5px;
  cursor: pointer;
}

#open-gallery:hover, #open-contact:hover, #open-insta:hover {
  background-color: #ff00bbb5;
  color: #ffffff;
}

/* #open-contact {
  margin-left: 15px;
} */

#open-insta {

}

@media (min-width: 700px) and (max-width: 960px) and (orientation: portrait) {
  /* #contact-icon {
    padding: 0px 0px 0px 48px;
  }
  #insta-icon {
    margin-left: 20px;
    padding: 0px 0px 0px 59px;
  } */

}



#about-content p {
  color: #bcbcbc;
  /* color: #d8d0bd; */
}

@media (orientation: landscape) {
  .front-content p {
    font-size: 2.8vmin;
  }
}

@media (orientation: portrait) {
  .overlay__content, .slide__container {
    height: 75dvh;
  margin-bottom: 15dvh;
  }
  .slide__heading {
  /* align-self: center; */
  font-size: clamp(8.25rem, 15vw, 15rem);
  }
  /* .front-content h1 {
    font-size: 5rem;
  } */
  .front-content p {
    /* font-size: 2rem; */
  }
}


.slide__img-cont {
  margin-top: 4rem;
  grid-area: 2/1/7/8;
}
.slide__img-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide:nth-of-type(1) {
  visibility: visible;
}
.slide:nth-of-type(1) .slide__content {
  background-color: #ffffff;
  background: url('./images/backgrounds/bg4.jpg');
  background-size: cover;
  /* animation: cycleBackgrounds 32s infinite;  */
  /* animation: cycleBackgrounds 1s infinite;  */
}

#load-hider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-background, url('./images/backgrounds/bg4.jpg')); /* Use CSS variable */
  background-size: cover; /* Ensure the background image covers the entire pseudo-element */
  z-index: 1; /* Ensure the pseudo-element sits on top */
  display: block;
}



.slide:nth-of-type(2) .slide__content {
  background-color: #354f70a7;
  /* background: url('./images/backgrounds/bg13.jpg'); */
  background-size: cover;
}

.slide:nth-of-type(3) .slide__content {
  background-color: #354f70be;
  /* background: url('./images/backgrounds/bg16.jpg'); */
  background-size: cover;
}

.slide:nth-of-type(4) .slide__content {
  background-color: #354f70be;
  /* background: url('./images/backgrounds/bg19.jpg'); */
  background-size: cover;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.overlay__content {
  max-width: 1400px;
  width: 100vw;
  margin: 0 auto;
  padding: 0 1rem;
  height: 90vh;
  margin-bottom: 10vh;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.overlay__img-cont {
  position: relative;
  overflow: hidden;
  margin: 0;
  grid-area: 4/3/9/11;
}
.overlay__img-cont img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.overlay__img-cont .front-content {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  background: #4361ee;
  padding: 10px;
  opacity: 0;
}
.overlay__count {
  grid-area: 3/10/4/10;
  font-size: clamp(3rem, 4vw, 15rem);
  margin: 0;
  padding: 0;
  text-align: right;
  border-bottom: 7px white solid;
  color: #ffffff;
  border-bottom: 7px #ff00bbca solid;

}

@media screen and (min-width: 1024px) and  (orientation: landscape) {
/* @media (orientation: portrait) { */
  .overlay__content,
.slide__container {
    padding: 0 3rem;
    margin-top: 10vh;
    height: 80vh;
  }

  .overlay__img-cont {
    grid-area: 5/4/10/11;
  }

  .overlay__count {
    grid-area: 3/10/4/11;
  }

  .slide__img-cont {
    margin-top: 0;
    grid-area: 3/2/8/7;
    /* -webkit-box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.26);
-moz-box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.26);
box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.26); */

  }

  .slide__heading {
    grid-area: 1/1/4/10;
  }
}


/* @keyframes cycleBackgrounds {
  0% { background-image: url('./images/backgrounds/bg1.jpg'); }
  5% { background-image: url('./images/backgrounds/bg2.jpg'); }
  10% { background-image: url('./images/backgrounds/bg3.jpg'); }
  15% { background-image: url('./images/backgrounds/bg4.jpg'); }
  20% { background-image: url('./images/backgrounds/bg5.jpg'); }
  25% { background-image: url('./images/backgrounds/bg6.jpg'); }
  30% { background-image: url('./images/backgrounds/bg7.jpg'); }
  35% { background-image: url('./images/backgrounds/bg8.jpg'); }
  40% { background-image: url('./images/backgrounds/bg9.jpg'); }
  45% { background-image: url('./images/backgrounds/bg10.jpg'); }
  50% { background-image: url('./images/backgrounds/bg11.jpg'); }
  55% { background-image: url('./images/backgrounds/bg12.jpg'); }
  60% { background-image: url('./images/backgrounds/bg13.jpg'); }
  65% { background-image: url('./images/backgrounds/bg14.jpg'); }
  70% { background-image: url('./images/backgrounds/bg15.jpg'); }
  75% { background-image: url('./images/backgrounds/bg16.jpg'); }
  80% { background-image: url('./images/backgrounds/bg17.jpg'); }
  85% { background-image: url('./images/backgrounds/bg18.jpg'); }
  90% { background-image: url('./images/backgrounds/bg19.jpg'); }
  95% { background-image: url('./images/backgrounds/bg20.jpg'); }
  100% { background-image: url('./images/backgrounds/bg11.jpg'); }
} */


/* .cycle-background {
  width: 100%;
  height: 100vh; 
  animation: cycleBackgrounds 80s infinite; 
  background-size: cover;
  background-position: center;
} */

#gallery, #contact {
  background-color: #fffdf4e5;
  background-color: #ffffffdf;
  width: 100vw;
  position: fixed;
  z-index: 999;
  bottom: 0;
  height: 0;
}

#contact {
  overflow-y: auto;
}

.gallery-strip {
    width: 90vw;
    margin: 0 auto;
    /* max-width: 800px; */
    padding: 5% 25% 5% 25%;
    height: inherit;
    overflow: auto;
    scroll-snap-type: y mandatory;
    opacity: 0;
}

/* @media (max-width: 1200px) { */
@media (orientation: portrait) {
  .gallery-strip {
  padding: 5% 15% 5% 15%;
  }
}
/* @media (max-width: 820px) { */
@media (orientation: portrait) {
  .gallery-strip {
  padding: 5% 5% 5% 5%;
  }
}

.gal-image {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

#close-gallery, #hodge-tag, #close-contact, #hodge-tag2 {
    position: absolute;
    top: 45px;
    left: 0px;
    padding: 0;
    width: 8vw;
    line-height: 8vw;
    /* padding-left: 2.5vw; */
    cursor: pointer;
    color: #000000;
    writing-mode: vertical-rl; /* Text runs vertically from right to left */
    text-orientation: mixed; 
    /* display: none; */
    /* transform: rotate(90deg);
    transform-origin: center;  */
    z-index: 99;
    display: none;
    opacity: 0;
}

#hodge-tag, #hodge-tag2 {
    top:initial;
    left: initial;
    bottom: 20px;
    right: 0px;
    opacity: 0.4;
    cursor: default;
}

#close-gallery:hover, #close-contact:hover{
    color: #ff0000;
}

/* @media (max-width: 820px) { */
@media (orientation: portrait) {
  #close-gallery, #close-contact {
    /* left: -56px; */
    font-size: 5vw;
    /* left: -2.5vw; */
    /* padding-left: 5px; */
  }
  #hodge-tag, #hodge-tag2 {
    /* right: -41px; */
    font-size: 5vw;
    /* right: 2vw; */
  }
}



.gallery-section {
  padding-top: 45px;
  scroll-snap-align: start;
  display: none;
}

.product-gallery {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    max-width: 750px;
}

.product-gallery img {
    border: #ffffff4e 1px solid;
}

.large-image {
    flex: 2;
    margin-right: 10px;
    cursor: pointer;
}

.large-image img {
    height: 660px;
}

.small-images {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.small-images img {
    width: 100%;
    height: calc(50% - 5px); 
    object-fit: cover; /* Crop the thumbnails to fit */
    cursor: pointer;
    transition: opacity 0.8s ease;
    min-width: 50px;
}

.small-images img:hover {
    opacity: 0.7;
}

.product-info {
    text-align: center;
    margin-bottom: 150px;
}

.product-info h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000000;
    text-align: left;
}

.product-info p {
    font-size: 1rem;
    color: #555;
    text-align: left;
}

/* Media query for mobile devices */
@media (orientation: portrait) {
  /* .product-info h1 {
    font-size: 300.5px !important;
  }
  .product-info p {
    font-size: 1rem;
  } */

  .product-gallery {
      flex-direction: column;
      
  }

  .large-image {
    margin-right: 0;
    margin-bottom: 10px;
  }


  .small-images {
      flex-direction: row;
      justify-content: flex-start;
      width: 100%;
  }

  .small-images img {
      height: auto;
      max-height: 10vh;
      /* width: calc(50% - 5px);  */
  }
  .large-image img {
    height: auto;
    width: 100%;
  }

}


.expand-height {
  animation: expandHeight 1s ease forwards;
}


@keyframes expandHeight {
  from {
      height: 0;
  }
  to {
      height: 100dvh;
  }
}

.shrink-height {
  animation: shrinkHeight 0.5s ease forwards;
}


@keyframes shrinkHeight {
  from {
      height: 100dvh;
  }
  to {
      height: 0;
  }
}

.fade-in {
  animation: fadeIn 0.75s ease forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.fade-out {
  animation: fadeOut 0.75s ease forwards;
}

@keyframes fadeOut {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}


/*********************/


#form-holder {
  width: 60%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 15px;
}

#form {
  display: flex;
  flex-direction: column;
}

#form p {
  font-size: 1.6rem;
  color: #333;
}

#form input[type="text"],
#form input[type="email"],
#form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 1.5rem;
  font-family: "Sora", sans-serif;
}

#form textarea {
  resize: vertical;
  min-height: 150px;
  height: 30vh;
  /* font-family: "Bandeins Sans & Strange Variable"; */
  font-family: "Sora", sans-serif;
}

#form button[type="submit"] {
  padding: 0.75rem;
  background-color: #ff0000;
  color: #fffdf4e5;
  border: none;
  border-radius: 0;
  font-size: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#form button[type="submit"]:hover {
  background-color: #920000;
}

#result {
  margin-top: 1rem;
  font-size: 1rem;
  color: #333;
  text-align: center;
}

/* @media (max-width: 600px) { */
@media (orientation: portrait) {
  .overlay__content {
      padding: 1rem;
  }

  .front-content h1 {
      /* font-size: 1.5rem; */
  }

  .front-content p {
      /* font-size: 0.875rem; */
  }

  #form-holder {
    width: 80%;
  }
}