@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100;300;400;800;900&family=Roboto:wght@100;300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
}

:root {
  --background-secondary: 256, 12%, 12%;
  --background: 266, 16%, 92%;
  --background-secondary-dark: 256, 10%, 10%;
  --background-secondary-light: 257, 11%, 16%;
  --quite-gray: 0, 0%, 50%;
  --black: 0, 0%, 0%;
  --white: 0, 0%, 100%;
  --grooble: 10, 28%, 93%;

  --doc-height: 100%;
  --space_between_doors_vertical: 0.04;
  --space_between_doors_horizontal: 0.02;
}

::selection {
  color: none;
  background: none;
}
/* For Mozilla Firefox */
::-moz-selection {
  color: none;
  background: none;
}

html, body {
  background-color: hsl(var(--background));
  font-family: "Fira Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden; 
  overflow-y: hidden;
}

.pull-refresh-indicator {
  --pull-distance: 0px;
  --pull-rotation: 0deg;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
  color: #666;
  font: 28px/1 sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(var(--pull-distance) - 52px)) rotate(var(--pull-rotation));
  transition: opacity 120ms ease, color 120ms ease, background-color 120ms ease;
}

.pull-refresh-indicator.is-pulling {
  opacity: 1;
}

.pull-refresh-indicator.is-ready {
  color: white;
  background: #666;
}

.pull-refresh-indicator.is-refreshing {
  opacity: 1;
  transform: translate(-50%, 28px);
  animation: pullRefreshSpin 700ms linear infinite;
}

@keyframes pullRefreshSpin {
  to { transform: translate(-50%, 28px) rotate(360deg); }
}

*:focus{
  outline: none;
}

.container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Prevent browser-level pinch zoom from changing the coordinate system of
     the calendar. Photo pinch zoom is handled explicitly via Pointer Events. */
  touch-action: none;
  /* Fallback until JavaScript has read the selected background's real size. */
  width: min(95vw, calc(95vh * 2497 / 4000));
  width: min(95vw, calc(95dvh * 2497 / 4000));
  aspect-ratio: 2497 / 4000;
  background-color: transparent;

  --div_width: 0;

  --space_between_doors_x: 0;
  --space_between_doors_y: 0;
  --padding_doors_x: 0;
  --padding_doors_y: 0;
  --door_width: 0;
  --door_height: 0;

  --space_between_windows: 0;
  --window_width: 0;
  --window_height: 0;

  --offset: 1;
  --scale_door_open: 1;
  --scale_door_close: 1;

  /* Zoom Animation porperties */
  --percentX: 0;
  --percentY: 0;
  --zoom_step: 0;
}

.white_backgound {
  position: absolute;
  background-color: white;
  left: -15%;
  top: -15%;
  width: 130%;
  height: 130%;
}

.large_image_container {
  position: absolute;
  width: 100%;
  height: 100%;

  background-color: transparent;

  padding: var(--padding_doors_x) var(--padding_doors_y);
  display: grid;
  grid-template-columns: repeat(4, --door_width);
  grid-template-rows: repeat(6, --door_height);
  grid-template-areas: 
      "image9 image6 image11 image7"
      "image3 image20 image16 image2"
      "image14 image12 image19 image15"
      "image22 image1 image5 image23"
      "image17 image10 image24 image21"
      "image8 image18 image4 image13";
  gap: var(--space_between_doors_x) var(--space_between_doors_y);
  box-sizing: border-box;
}

.cancel_button {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  padding: 1em 1em;
  font-size: 18px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: none;
  transition: all 0.3s;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.7;
  z-index: 10;
  border: 0;
}

.button_x1 {
  position: absolute;
  width: 75%;
  height: 10%;
  border-radius: 1em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: grey;
  z-index: 10;
}

.button_x2 {
  position: absolute;
  width: 75%;
  height: 10%;
  border-radius: 1em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: grey;
  z-index: 10;
}

.cancel_button:hover {
  opacity: 1;
}

.mask_and_small_image_container {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
  /* Keep the animated calendar independent from the surrounding document.
     This limits layout/paint invalidation while its SVG mask is transformed. */
  /* Layout containment keeps recalculation local. Paint containment is
     intentionally omitted because it clips the calendar's outer shadow. */
  contain: layout;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mask_and_small_image_container > *,
.doors_and_cover {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.small_image_container {
  position: absolute;
  width: 100%;
  height: 100%;

  background-color: transparent;

  padding: var(--padding_doors_x) var(--padding_doors_y);
  display: grid;
  grid-template-columns: repeat(4, --door_width);
  grid-template-rows: repeat(6, --door_height);
  grid-template-areas: 
      "image9 image6 image11 image7"
      "image3 image20 image16 image2"
      "image14 image12 image19 image15"
      "image22 image1 image5 image23"
      "image17 image10 image24 image21"
      "image8 image18 image4 image13";
  gap: var(--space_between_doors_x) var(--space_between_doors_y);
  box-sizing: border-box;
}

.grid-small-img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--window_width) * 0.04);
  display: none;
}

.grid-large-img {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -webkit-touch-callout: none;
}

.grid-large-img.is-locked {
  cursor: not-allowed;
}

.grid-large-img:focus-visible {
  outline: 3px solid #1c1190;
  outline-offset: 3px;
  border-radius: calc(var(--window_width) * 0.04);
}

body.photo-enlarged .grid-large-img:focus-visible {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.large_img {
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.large_img img {
  width: auto;
  height: auto;
  max-height: 100%;
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.small_img {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--window_width) * 0.04);
}

.small_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 100%;
  object-fit: cover;
}

.small_text {
  position: absolute;
  font-size: calc(var(--window_width) * 0.2);
  font-family: "Pacifico", cursive;
  top: -7%;
  left: 5%;
  font-weight: 200;
  fill: black;
  opacity: 1;
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}

.overflow_cover {
  position: absolute;
  background-color: hsl(var(--background));
  left: -20%;
  top: -20%;
  width: 140%;
  height: 140%;

  -webkit-mask-image:
    linear-gradient(to right, black 0 15%, transparent 15% 85%, black 85% 100%),
    linear-gradient(to bottom, black 0 15%, transparent 15% 85%, black 85% 100%);
  mask-image:
    linear-gradient(to right, black 0 15%, transparent 15% 85%, black 85% 100%),
    linear-gradient(to bottom, black 0 15%, transparent 15% 85%, black 85% 100%);
  box-sizing: border-box;

}

.shadow_div {
  position: absolute;
  width: 100%;
  height: 100%;

  background-color: transparent;

  padding: var(--padding_doors_x) var(--padding_doors_y);
  display: grid;
  grid-template-columns: repeat(4, --door_width);
  grid-template-rows: repeat(6, --door_height);
  grid-template-areas: 
      "image9 image6 image11 image7"
      "image3 image20 image16 image2"
      "image14 image12 image19 image15"
      "image22 image1 image5 image23"
      "image17 image10 image24 image21"
      "image8 image18 image4 image13";
  gap: var(--space_between_doors_x) var(--space_between_doors_y);
  box-sizing: border-box;
}

.numbers_div {
  position: absolute;
  width: 100%;
  height: 100%;

  background-color: transparent;

  padding: var(--padding_doors_x) var(--padding_doors_y);
  display: grid;
  grid-template-columns: repeat(4, --door_width);
  grid-template-rows: repeat(6, --door_height);
  grid-template-areas: 
      "image9 image6 image11 image7"
      "image3 image20 image16 image2"
      "image14 image12 image19 image15"
      "image22 image1 image5 image23"
      "image17 image10 image24 image21"
      "image8 image18 image4 image13";
  gap: var(--space_between_doors_x) var(--space_between_doors_y);
  box-sizing: border-box;
}

.door_shadow {
  width: 100%;
  height: 100%;
  place-self: center;
  box-sizing: border-box;
  overflow: visible;
  border-radius: calc(var(--window_width) * 0.04);
}

.toggleShadow {
  animation: shadowOn 1s forwards;
}

.door_shadow.is-open {
  box-shadow: inset 6px 6px 20px 0px rgba(45, 41, 41, 0.7);
}

@keyframes shadowOn {
  0% {
    box-shadow: inset 0px 0px 0px 0px rgba(45, 41, 41, 0);
  }
  100% {
    box-shadow: inset 6px 6px 20px 0px rgba(45, 41, 41, 0.7);
  }
}

.removeShadow {
  animation: shadowOff 1s forwards;
}

@keyframes shadowOff {
  0% {
    box-shadow: inset 6px 6px 20px 0px rgba(45, 41, 41, 0.7);
  }
  100% {
    box-shadow: inset 0px 0px 0px 0px rgba(45, 41, 41, 0);
  }
}

.open_door_up {
  animation: openUp 2s cubic-bezier(.42,0,.58,1) forwards;
}
.open_door_down {
  animation: openDown 2s cubic-bezier(.42,0,.58,1) forwards;
}
.open_door_left {
  animation: openLeft 2s cubic-bezier(.42,0,.58,1) forwards;
}
.open_door_right {
  animation: openRight 2s cubic-bezier(.42,0,.58,1) forwards;
}

.close_door_up    { animation: openUp 2s cubic-bezier(.42,0,.58,1) reverse forwards; }
.close_door_down  { animation: openDown 2s cubic-bezier(.42,0,.58,1) reverse forwards; }
.close_door_left  { animation: openLeft 2s cubic-bezier(.42,0,.58,1) reverse forwards; }
.close_door_right { animation: openRight 2s cubic-bezier(.42,0,.58,1) reverse forwards; }

.door_container.is-peeking {
  pointer-events: auto;
  cursor: pointer;
}

.close_peek_door_up    { animation: closePeekUp 2s cubic-bezier(.42,0,.58,1) forwards; }
.close_peek_door_down  { animation: closePeekDown 2s cubic-bezier(.42,0,.58,1) forwards; }
.close_peek_door_left  { animation: closePeekLeft 2s cubic-bezier(.42,0,.58,1) forwards; }
.close_peek_door_right { animation: closePeekRight 2s cubic-bezier(.42,0,.58,1) forwards; }

@keyframes closePeekUp {
  0%   { transform: scale(var(--scale_door_open)) translate(0, calc(-0.85 * var(--window_height))); }
  50%  { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: none; }
}
@keyframes closePeekDown {
  0%   { transform: scale(var(--scale_door_open)) translate(0, calc(0.85 * var(--window_height))); }
  50%  { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: none; }
}
@keyframes closePeekLeft {
  0%   { transform: scale(var(--scale_door_open)) translate(calc(-0.85 * var(--window_width)), 0); }
  50%  { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: none; }
}
@keyframes closePeekRight {
  0%   { transform: scale(var(--scale_door_open)) translate(calc(0.85 * var(--window_width)), 0); }
  50%  { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: none; }
}

@keyframes openUp {
  0%   { transform: none; }
  50%   { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: scale(var(--scale_door_open)) translate(0, calc(-1.2 * var(--window_height))); }
}

@keyframes openDown {
  0%   { transform: none; }
  50%   { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: scale(var(--scale_door_open)) translate(0, calc(1.2 * var(--window_height))); }
}

@keyframes openLeft {
  0%   { transform: none; }
  50%   { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: scale(var(--scale_door_open)) translate(calc(-1.2 * var(--window_width)), 0); }
}

@keyframes openRight {
  0%   { transform: none; }
  50%   { transform: scale(var(--scale_door_open)) translate(0, 0); }
  100% { transform: scale(var(--scale_door_open)) translate(calc(1.2 * var(--window_width)), 0); }
}

/* Zoom Animation */
.zoom_grid {
  animation: zoomGrid 0.8s cubic-bezier(.42,0,.58,1) forwards;
}
.zoom_grid_mask {
  animation: zoomGridMask 1s cubic-bezier(.42,0,.58,1) forwards;
}

@keyframes zoomGrid {
  0%      { transform: translate(0%, 0%) scale(1); }
  100%    { transform: translate(calc(50% - var(--percentX)), calc(50% - var(--percentY))) scale(calc(1 + var(--zoom_step) * 8)); }
}

@keyframes zoomGridMask {
  0%, 70% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(50% - var(--percentX)), calc(50% - var(--percentY))) scale(calc(1 + var(--zoom_step) * 35));
  }
}

.unzoom_grid {
  animation: unzoomGrid 0.8s cubic-bezier(.42,0,.58,1) backwards;
}
.unzoom_grid_mask {
  animation: unzoomGridMask 0.9s cubic-bezier(.42,0,.58,1) backwards;
}

@keyframes unzoomGrid {
  0%      { transform: translate(calc(50% - var(--percentX)), calc(50% - var(--percentY))) scale(calc(1 + var(--zoom_step) * 8)); }
  100%    { transform: translate(0%, 0%) scale(1); }
}

@keyframes unzoomGridMask {
  0%, 50% {
    opacity: 0;
    transform: translate(calc(50% - var(--percentX)), calc(50% - var(--percentY))) scale(calc(1 + var(--zoom_step) * 35));
  }
  100% {
    opacity: 1;
    transform: translate(0%, 0%) scale(1);
  }
}

/* Cancel Button Animation */
.reveal_button {
  animation: revealButton 0.5s ease-in-out;
}
.hide_button {
  animation: hideButton 0.375s ease-in-out;
}
@keyframes revealButton {
  0%      { opacity: 0; }
  100%    { opacity: 0.7; }
}
@keyframes hideButton {
  0%      { opacity: 0.7; }
  100%    { opacity: 0; }
}

.cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 0.7em;
  pointer-events: none;
  border-radius: 0.7em;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
  /*filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.4));*/
  overflow: hidden;
}

.door_container {
  -webkit-filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.4));
  filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.4));
  transform-box: view-box;
}

.door_text_overflow_container {
  width: var(--window_width);
  height: var(--window_height);
  place-self: center;
  border-radius: calc(var(--window_width) * 0.04);
  box-sizing: border-box;
  overflow: hidden;
}

.door_text_container {
  position: relative;
  width: var(--door_width);
  height: var(--door_height);
  left: calc((var(--window_width) - var(--door_width)) * 0.5);
  top: calc((var(--window_height) - var(--door_height)) * 0.5);
  transform-origin: center;
  box-sizing: border-box;
}

.door_text_big {
  position: absolute;
  font-size: calc(var(--door_height) * 0.3);
  font-family: "Pacifico", cursive;
  font-weight: 600;
  color: #1c1190;
  opacity: 0.6;
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;  
}

.door_text_medium {
  position: absolute;
  font-size: calc(var(--door_height) * 0.3);
  font-family: "Pacifico", cursive;
  font-weight: 500;
  color: #1c1190;
  opacity: 0.6;
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}

.door_text_small {
  position: absolute;
  font-size: calc(var(--door_height) * 0.3);
  font-family: "Pacifico", cursive;
  font-weight: 800;
  color: #1c1190;
  opacity: 0.6;
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}

/*
.doorclick {
  border-radius: 0.5em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98%;
  height: 96%;
  background-repeat: no-repeat;
  transition: transform 0.7s;
  transform-style: preserve-3d;
  position: relative;
  background-color: transparent;
}

.toggleShadow {
  animation: shadowOn 2s forwards;
}

@keyframes shadowOn {
  0% {
    box-shadow: inset 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
  20% {
    box-shadow: inset 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
  100% {
    box-shadow: inset 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
}

.removeShadow {
  animation: shadowOff 2s forwards;
}

@keyframes shadowOff {
  0% {
    box-shadow: inset 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
  80% {
    box-shadow: inset 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
  100% {
    box-shadow: inset 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
}

.openUp {
  animation: openDoorUp 2s forwards;
}

@keyframes openDoorUp {
  0% {
      transform: scale(1) translateY(0);
      box-shadow: 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
  20% {
      transform: scale(0.98) translateY(0);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7); 
  }
  100% {
      transform: scale(0.98) translateY(-100%);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
}

.closeUp {
  animation: closeDoorUp 2s forwards;
}

@keyframes closeDoorUp {
  0% {
      transform: scale(0.98) translateY(-100%);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7);  
  }
  80% {
      transform: scale(0.98) translateY(0);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7); 
  }
  100% {
      transform: scale(1) translateY(0);
      box-shadow: 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
}

.openRight {
  animation: openDoorRight 2s forwards;
}

@keyframes openDoorRight {
  0% {
      transform: scale(1) translateX(0);
      box-shadow: 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
  20% {
      transform: scale(0.98) translateX(0);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7); 
  }
  100% {
      transform: scale(0.98) translateX(100%);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
}

.closeRight {
  animation: closeDoorRight 2s forwards;
}

@keyframes closeDoorRight {
  0% {
      transform: scale(0.98) translateX(100%);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7);  
  }
  80% {
      transform: scale(0.98) translateX(0);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7); 
  }
  100% {
      transform: scale(1) translateX(0);
      box-shadow: 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
}

.openLeft {
  animation: openDoorLeft 2s forwards;
}

@keyframes openDoorLeft {
  0% {
      transform: scale(1) translateX(0);
      box-shadow: 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
  20% {
      transform: scale(0.98) translateX(0);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7); 
  }
  100% {
      transform: scale(0.98) translateX(-100%);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7);
  }
}

.closeLeft {
  animation: closeDoorLeft 2s forwards;
}

@keyframes closeDoorLeft {
  0% {
      transform: scale(0.98) translateX(-100%);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7);  
  }
  80% {
      transform: scale(0.98) translateX(0);
      box-shadow: 0px 0px 10px 3px rgba(45, 41, 41, 0.7); 
  }
  100% {
      transform: scale(1) translateX(0);
      box-shadow: 0px 0px 0px 0px rgba(45, 41, 41, 0.7);
  }
}

.text1 {
  position: absolute;
  font-family: 'Raleway', sans-serif;
  color: white;
  opacity: 0.8;
  text-shadow: 1px  1px 1px #000,
                1px -1px 1px #000,
              -1px  1px 1px #000,
              -1px -1px 1px #000;
    

}
b {
  font-size: 5vh;
  padding-left: 0.5em;
  line-height: 210%;
}

c {
  font-size: 4vh;
  font-weight: 300;
  margin-left: 0.2em;
  line-height: 300%;
}

d {
  font-size: 4vh;
  font-weight: normal;
  margin-left: 0.7em;
  line-height: 200%;
}

e {
  font-size: 3vh;
  font-weight: 300;
  margin-left: 0.9em;
  line-height: 350%;
}

@media (max-height: 625px) {
  .nav-button {
    top: 14px;
  }
}
*/
@media (min-aspect-ratio: 9/10) {

  .container {
    width: min(95vw, calc(95vh * 4000 / 2497));
    width: min(95vw, calc(95dvh * 4000 / 2497));
    aspect-ratio: 4000 / 2497;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .large_img img {
    position: absolute;
    max-height: none;
    width: 100%;
    height: auto;
  }

  .small_img img {
    position: absolute;
    max-height: none;
    width: 100%;
  }

  .small_text {
    font-size: calc(var(--door_height) * 0.2);
    top: -1%;
    left: 4%;
  }

  .door_text_big {
    font-size: calc(var(--door_height) * 0.5);
    font-weight: 900;
  }

  .door_text_medium {
    font-size: calc(var(--door_height) * 0.5);
    font-weight: 600;
  }

  .door_text_small {
    font-size: calc(var(--door_height) * 0.5);
    font-weight: 500;
  }

}

.spin {
  position: absolute;
  width: 10dvh;
  height: 10dvh;

  border: 0.5dvh solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  border-top-color: black;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
