/* ---------------------------------------------------------
Root-variabler
- farver og font
--------------------------------------------------------- */
/* importeret skrifttype*/
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Londrina+Solid:wght@100;300;400;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  /* Farver */
  --ocean-top: #a2bfeb;
  --ocean-bottom: #315b9a;
}

/* ---------------------------------------------------------
   Global reset
--------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ---------------------------------------------------------
Body og landingpage stil
--------------------------------------------------------- */
/* styling af body og baggrund*/
body {
  margin: 0;
  min-height: 100vh;
  min-width: 100vw;
  background-size: 100% 100%;
  overflow: hidden;
  background-image: linear-gradient(var(--ocean-top), var(--ocean-bottom));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* placere landingpage elementer i midten */
.landing {
  display: flex;
  justify-content: unset;
  align-items: center;
  flex-direction: column;
  display: flex;
  height: 100vh;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}

/* ---------------------------------------------------------
tekst stil
--------------------------------------------------------- */
/* landing page tekst stil */
.landing h1,
.landing p {
  font-family: "Londrina Solid", sans-serif;
  text-align: center;
  color: black;
  margin: 0.2em;
}

.landing h1 {
  font-size: 3em;
}

.landing p {
  font-size: 2em;
}
/* ---------------------------------------------------------
logo
--------------------------------------------------------- */
.nordLogo {
  position: absolute;
  top: 2em;
  left: 2em;
  width: 10em;
}
/* ---------------------------------------------------------
Main characther (nutte og blæksprutte)
--------------------------------------------------------- */
/* størrelse på main character */
.mainCharacterHoldet {
  height: 40vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 8vw;
}

/* animation til nutte og blæksprutte*/
.mainCharacterHoldet {
  animation: float 4s ease-in-out infinite;
}

/* Keyframes for mild floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* ---------------------------------------------------------
blæksprutte
--------------------------------------------------------- */
.octopusWrapper {
  transform: scale(0.8) rotateY(180deg);
}

/* ---------------------------------------------------------
nutte
--------------------------------------------------------- */
.nutteWrapper {
  transform: scale(0.8);
}
/* ---------------------------------------------------------
Knapper
--------------------------------------------------------- */
/* knapper position*/

.optionsBtnHolder {
  z-index: 100;
  display: flex;
  gap: 8vw;
  justify-content: center;
  width: 100vw;
  pointer-events: auto;
  bottom: 5vh;
}
/* styling af knapper*/
.optionsBtn {
  background-color: rgba(
    114,
    168,
    197,
    0.3
  ); /* Genemsigtig blå baggrund, 0.3 betyder 30% synligt */
  border: #adcfeb 0.2em solid;
  border-radius: 2em; /* skaber runde kanter*/
  padding: 0.8em 2em; /*afstand mellem tekst og kant*/
  min-width: 12em; /*minimum bredde, så stadigvæk læsbart*/
  /* styling af tekst til knapper*/
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0; /* fjern standard margin*/
  opacity: 1; /*sikker på at tekst er synlig*/
}

/*hover effekt på knapper*/
.optionsBtn:hover {
  background-color: rgba(114, 168, 197, 0.5); /* øger synlighed ved hover*/
  transform: scale(1.05); /* let forstørrelse ved hover*/
  transition: all 0.3s ease; /* glidende overgang*/
}
/* ---------------------------------------------------------
vejledende mini ikoner
--------------------------------------------------------- */
.miniNutte {
  position: absolute;
  width: 5em;
  height: auto;
  left: 38vw;
  bottom: 19vh;
}
.miniSprutte {
  position: absolute;
  width: 5em;
  height: auto;
  right: 38vw;
  bottom: 14vh;
}
/* --

/* ---------------------------------------------------------
@media til at gøre siden responsiv 
iPad Air 2020 (landskabs: 2360x1640 -> CSS: 1180x820)
Bemærk: iPad Air 2020 har pixel ratio 2, så vi arbejder med halve pixels
--------------------------------------------------------- */

/* Ipad (landskabsmode) dette er standard opløsningen for Ipad i følge Apple */

@media only screen and (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {
  /* Reset til at fylde hele skærmen */
  .scene {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    max-height: 100% !important;
    transform: none !important;
  }

  /* Tilføj denne for at sikre body/html fylder */
  html,
  body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
}
