/* CURSOR */

.cursor {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  /* place cursor to center of circle, not top left of box */
  pointer-events: none;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.25);
}

.mouse-down {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid white;
  background: white;
}

.mouse-hover {
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.5);
}

.header__button:hover {
  cursor: none;
}

li,
a,
i {
  cursor: none;
}

@media screen and (max-width: 768px) {
  .cursor {
    z-index: -1;
  }
}

/* Removed cursor in html, body{} */

/* END OF CURSOR */

html,
body {
  cursor: none;
  margin: 0;
  padding: 0;
  height: 100vh;
  color: #fff;
  background-color: #0f0f0f;
  font-family: "Old Standard TT", Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

header {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.header__button {
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d1b675;
  border: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: -10px;
  margin: 2rem;
  outline: none;
  animation-duration: 300ms;
  animation-timing-function: ease;
}

.header__button[data-open="true"] {
  background-color: #0f0f0f;
  animation-name: scale;
}

.header__button[data-open="false"] {
  transition: background-color 250ms linear;
}

@keyframes scale {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(100%);
  }
}

h1 {
  font-size: 10rem;
  font-weight: normal;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
}

.header__nav {
  background-color: #d1b675;
  position: fixed;
  overflow: hidden;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  clip-path: circle(var(--radius) at calc(100% - 55px) 47px);
}

.header__nav[data-active="true"] {
  visibility: visible;
}

.header__menu {
  padding: 0;
  margin: 0;
}

.header__menu > .header__menu-item {
  font-size: 100px;
}

@media screen and (max-width: 700px) {
  .header__menu > .header__menu-item {
    font-size: 90px;
  }
}

@media screen and (max-width: 500px) {
  .header__menu > .header__menu-item {
    font-size: 68px;
  }
  .header__menu {
    padding-top: 15%;
  }
}

@media screen and (max-width: 400px) {
  .header__menu > .header__menu-item {
    font-size: 60px;
  }
  .header__menu {
    padding-top: 15%;
  }
}

@media screen and (max-height: 650px) {
  .header__menu > .header__menu-item {
    font-size: 70px;
  }
}

@media screen and (max-height: 500px) {
  .header__menu > .header__menu-item {
    font-size: 50px;
  }
}

@media screen and (max-height: 340px) {
  .header__menu > .header__menu-item {
    font-size: 40px;
  }
}

.header__menu > .header__menu-item:not(:last-of-type) {
  margin-bottom: 10px;
}

.header__menu-item a {
  letter-spacing: -4px;
  font-weight: 300 !important;
  color: #0f0f0f;
  text-decoration: none;
}

li {
  list-style-type: none;
}

.pace {
  pointer-events: none;
  user-select: none;
  z-index: 2000;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  border: 0px;
  height: 1px;
  overflow: hidden;
  background: #1b1b1b;
}

.pace .pace-progress {
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  max-width: 400px;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: grey;
  z-index: 3;
}

.pace.pace-inactive {
  display: none;
}

#preloader {
  width: 100%;
  height: 100vh;
  background: white;
  overflow: hidden;
  position: fixed;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
}

.loading {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 1.5rem;
  z-index: 2;
}

.bounce {
  position: fixed;
  right: 2.625rem;
  bottom: 0;
  margin-top: -25px;
  margin-left: -25px;
  -webkit-animation: bounce 1.25s infinite;
}

@-webkit-keyframes bounce {
  0% {
    bottom: 5px;
    top: 10rem;
  }
  25% {
    bottom: 20px;
    top: 7rem;
  }
  100% {
    bottom: 0;
    top: 10rem;
  }
}

.arrow_right {
  font-size: 75px;
}

.i18n-hide body,
html.i18n-hide body {
  visibility: hidden;
}

.language-selector {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.language-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url("images/language-icon-black.svg") no-repeat center;
  background-size: cover;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.2s, background 0.2s; /* Add background transition */
  transform-origin: center center;
}

.language-icon:hover {
  transform: scale(0.9); /* Add this line for the hover squish animation */
}

.language-icon:active {
  transform: scale(0.8); /* Add this line for the click squish animation */
  transition-duration: 0.14s; /* Adjust the duration as desired (faster animation) */
}

#language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
