﻿@font-face {
  font-family: 'Horizon';
  src: url('/fonts/horizon.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Horizon Outlined';
  src: url('/fonts/horizon_outlined.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Recoleta';
  src: url('/fonts/recoleta.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

label {
    color: black;
}

.font-horizon {
  font-family: 'Horizon', sans-serif;
}

.font-horizon-outlined {
  font-family: 'Horizon Outlined', sans-serif;
}

.font-recoleta {
  font-family: 'Recoleta', sans-serif;
}

body {
    background-image: url('/assets/phonebg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

@media (min-width: 768px) {
    body {
        background-image: url('/assets/desktopbg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
    }
}

.action-button {
  background-color: blue;
  border-radius: 9999px;
  transition: transform 0.2s;
  padding: 10px;
}

.action-button:hover {
  transform: scale(1.05);
}

.account-button {
  background-image: linear-gradient(135deg, #f08149 0%, #8c070e 100%);
  border-radius: 9999px;
  transition: transform 0.2s;
  padding: 10px;
  font-size: 1.25rem;
  background-color: unset;
}

.account-button:hover {
  transform: scale(1.05);
}

.join-button {
  margin-top: 20px;
  text-align: center;
  font-family: 'Recoleta';
  font-size: 24px;
  background-image: linear-gradient(0deg, #7758b9 0%, #340d40 100%);
  border-radius: 9999px;
  transition: transform 0.2s;
  padding: 10px 20px 10px 20px;
  background-color: unset;
  animation: pulse-glow-action 2s infinite ease-in-out;
}

.join-button:hover {
  cursor: grab;
  transform: scale(1.05);
}

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

a:hover {
  color: white;
  text-decoration: none;
}

main {
    margin-bottom: 5rem;
}

html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
  color: white;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  color: white;
}

#anno {
  position: relative;
  width: 100%;
  overflow: visible;
}

.anno-wrapper {
  display: flex;
  align-items: center;
  min-height: 300px;
  width: 100%;
  gap: 5vw;
}

.anno-container {
  flex: 0 0 50%;
  box-sizing: border-box;
}

.anno-container h1 {
  font-size: 3.5rem;
}

#planet-container {
  flex: 0 0 40%;
  position: relative;
  overflow: visible;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotation 5s infinite ease-in-out;
}

#planet-container img {
  margin: 50px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes rotation {
    0% { transform: translateX(5px); }
    50% {transform: translateX(10px) translateY(10px); }
    100% {transform: translateX(5px); translateY(5px); }
}

@keyframes pulse-glow {
  0% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); }
  20% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4)); }
  100% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)); }
}

@keyframes pulse-glow-action {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
    #countdown-container{
       margin-top: 20px;
    }

    #countdown {
        margin-top: 20px;
    }

  .anno-container h1 {
    font-size: 2rem;
  }

  .anno-wrapper {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
  }

  .anno-container {
    flex: 0 0 100%;
    margin-top: 0;
    z-index: 2;
  }

  #planet-container {
    display: none;
  }
}

#games {
  position: fixed;
  top: 70vh;
  left: 40%;
  width: 60%;
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 10;
  overflow: hidden;
}

#games::before {
  content: "";
  position: fixed;
  top: 70vh;
  left: 40%;
  width: 60%;
  height: 20vh;
  background: #8e0c00;
  opacity: 0.9;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  border-radius: 20px;
}

.games-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.game-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  text-align: center;
  transform: scale(1.0);
  transition: transform 0.2s ease-in-out;
}

.game-planet {
  width: 20vh;
  height: 20vw;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.game-title {
  font-size: 1.5rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  #games {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    height: auto;
    z-index: auto !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  #games::before {
    display: none;
  }

  .games-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 15vh;
  }

  .game-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 0;
    background: transparent;
    padding: 20px;   
    box-sizing: border-box;
    pointer-events: none;
  }

  .game-item.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  .game-item.exit-up {
    opacity: 0;
    transform: translateY(-100%);
    z-index: 0;
  }

  .game-item.exit-down {
    opacity: 0;
    transform: translateY(100%);
    z-index: 0;
  }

  .game-item.reset-position{
    transform: translateY(100%);
  }

  .game-title {
    margin-top: 20px;
    font-family: 'Recoleta', sans-serif;
    font-size: 20px;
    color: white;
    background-image: linear-gradient(0deg, #ff8800 0%, #ff4d00 100%);
    border-radius: 9999px;
    padding: 10px 24px;
    text-align: center;
    animation: pulse-glow-action 2s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 72, 0, 0.5);
  }

  .game-planet {
    max-width: 300px;
    max-height: 300px;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }
}

.planet1 {
  background-image: url('/assets/planet1.png');
}
.planet2 {
  background-image: url('/assets/planet2.png');
}
.planet3 {
  background-image: url('/assets/planet3.png');
}

.game-item:hover{
   cursor: pointer;
   transform: scale(1.02);
   transition: transform 0.2s ease-in-out;
}

.parallax-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: -1;
}

.parallax-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
}

.layer-field::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    background-image: url('/assets/fielddesktop.png');
    background-position: center;
    filter: blur(5px);
    transform: scale(1.01);
    z-index: -1;
}

.layer-field {
  background-image: url('/assets/fielddesktop.png');
  filter: blur(3px);
  z-index: 4;
}

.layer-mountains3 {
  background-image: url('/assets/mountainsdesktop.png');
  filter: blur(2px);
  z-index: 3;
  opacity: 1;
}

.layer-mountains2 {
  background-image: url('/assets/mountainsdesktop.png');
  filter: blur(1px);
  z-index: 2;
  opacity: 0.7;
  animation: floatLayer2 12s ease-in-out infinite;
}

.layer-mountains1 {
  background-image: url('/assets/mountainsdesktop.png');
  z-index: 1;
  opacity: 0.4;
  animation: floatLayer1 14s ease-in-out infinite;
}

@keyframes floatLayer2 {
  0%   { transform: scale(1.05) }
  50%  { transform: scale(1.02) }
  100% { transform: scale(1.05) }
}

@keyframes floatLayer3 {
  0%   { transform: scale(1.05), translateY(-5px); }
  50%  { transform: scale(1.02), translateY(-10px); }
  100% { transform: scale(1.06), translateY(-5px); }
}


@media (max-width: 768px) {
    .parallax-layer{
      background-size: contain;
    }

    .layer-field {
       background-image: url('/assets/mountains.png');
       filter: blur(0px);
    }

    .layer-field::before {
        opacity: 0;
    }

    .layer-mountains1,
    .layer-mountains2,
    .layer-mountains3{
        display: hidden;
    }
}

.default-accent-button {
  position: relative;
  background-image: linear-gradient(135deg, #f08149 0%, #8c070e 100%);
  color: white;
  border: none;
  overflow: hidden;
  z-index: 1;
}

.default-accent-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #ff7c3a 0%, #a5131b 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.default-accent-button:hover::before {
  opacity: 1;
}

.text-danger ul {
    margin-left: 0;
    list-style-type: none;
    padding: 0;
}

.text-danger:empty {
    display: none;
}

.text-danger li {
    width: 100%;
    background-color: #dc3545;
    color: white !important;
    border: none;
    border-radius: 3.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: none;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-danger span {
    margin-top: 2px;
    width: 100%;
    background-color: #dc3545;
    color: white !important;
    border: none;
    border-radius: 3.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: none;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Stepper style */
#step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step-indicator-item {
    padding: 8px 16px;
    border-radius: 20px;
    background: #e0e0e0;
    color: #333;
    font-weight: 500;
    transition: background 0.3s;
}

.step-indicator-item.active {
    background: #007bff;
    color: #fff;
}

.step-indicator-item.completed {
    background: #28a745;
    color: #fff;
}


/* Drag and Drop input style*/
#sortable-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
  margin: 20px auto;
}

.card {
  padding: 15px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  cursor: grab;
  transition: transform 0.2s, background 0.2s;
}

.card:active {
  cursor: grabbing;
}

.dragging {
  background: #dbeafe;
  opacity: 0.8;
}

.chosen {
  transform: scale(1.05);
}

<!--  -->


.body-wordle {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
}


.wordle-game-container {  
   max-width: 500px;  
   width: 100%;  
   display: flex;  
   flex-direction: column;  
   align-items: center;  
   justify-content: center;  
   gap: 10px;  
   margin: 30px;  
}

.wordle-board {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 5px;
    padding: 10px;
    box-sizing: border-box;
}

.wordle-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 5px;
}

.wordle-tile {
    width: 40px;
    height: 40px;
    border: 2px solid #B832E1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: transparent;
    color: #ffffff;
    transition: all 0.15s ease;
    position: relative;
}

@media (min-height: 728px){
    .wordle-tile {
        width: 60px;
        height: 60px;
    }
}

    .wordle-tile.filled {
        border-color: #B832E1;
        animation: pop 0.1s ease-in-out;
    }

    .wordle-tile.correct {
        background-color: #1a7d45;
        border-color: #B832E1;
        animation: flip 0.6s ease-in-out;
    }

    .wordle-tile.present {
        background-color: #b8941d;
        border-color: #B832E1;
        animation: flip 0.6s ease-in-out;
    }

    .wordle-tile.absent {
        background-color: #301A59;
        border-color: #B832E1;
        color: #ffffff;
        animation: flip 0.6s ease-in-out;
    }

    .wordle-tile.shake {
        animation: shake 0.5s ease-in-out;
    }

.wordle-keyboard {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wordle-keyboard-row {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.wordle-key {
    min-width: 30px;
    height: 58px;
    border: none;
    border-radius: 4px;
    background-color: #a982ba;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.1s ease;
}

    .wordle-key:hover {
        background-color: #c097d1;
    }

    .wordle-key.wide {
        min-width: 45px;
    }

    .wordle-key.correct {
        background-color: #1a7d45;
    }

    .wordle-key.present {
        background-color: #b8941d;
    }

    .wordle-key.absent {
        background-color: #301A59;
    }

.wordle-message {
    position: fixed;
    top: 100px;
    background-color: #ffffff;
    color: #000000;
    padding: 16px 24px;
    border-radius: 4px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .wordle-message.show {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

@keyframes flip {
    0% {
        transform: rotateX(0);
    }

    50% {
        transform: rotateX(-90deg);
    }

    100% {
        transform: rotateX(0);
    }
}

@keyframes shake {
    10%, 90% {
        transform: translateX(-1px);
    }

    20%, 80% {
        transform: translateX(2px);
    }

    30%, 50%, 70% {
        transform: translateX(-4px);
    }

    40%, 60% {
        transform: translateX(4px);
    }
}

@media (max-width: 480px) {
    .tile {
        width: 30px;
        height: 50px;
        font-size: 24px;
    }

    .key {
        min-width: 35px;
        height: 50px;
        font-size: 12px;
    }

        .key.wide {
            min-width: 55px;
        }
}

select {
    max-height: 300px;
}

select option{
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.form-question{
  background-image: linear-gradient(135deg, #f08149 0%, #8c070e 100%);
  border-radius: 10px;
  transition: transform 0.2s;
  padding: 10px;
  font-size: 1.25rem;
  background-color: unset;
  margin-bottom: 10px;
}

select {
  background-color: #340d40 !important;
  border-radius: 10px !important;
  max-height: fit !important;
  color: white !important;
}

select option:checked{
  color: white !important;
  background-color: #f0814960 !important;
  border-radius: 5px !important;
  padding: 2px !important;
}

.form-question label{
  color: white !important;
}

.quiz-planet{
    width: 30vw !important;
    height: auto !important;
}

@media (min-width: 728px){
  .quiz-planet{
        width: 10vw !important;
        height: auto !important;
    }
}

.button-quiz{
    text-align: center;
    font-family: 'Recoleta';
    margin-top: 20px;
    font-size: 24px;
    background-image: linear-gradient(0deg, #7758b9 0%, #340d40 100%);
    border-radius: 9999px;
    transition: transform 0.2s;
    padding: 10px 20px 10px 20px;
    background-color: unset;
}

.button-quiz:hover{
    transform: scale(1.02);
}

.button-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .button-container a {
        width: 100%;
        text-align: center;
    }

    .button-quiz {
        width: 100%;
    }
}

.formField{
    background-color: white;
    padding: 1.2rem 2rem 1.2rem 2rem;
}

.input-formular{
    border: none;
    transition:none!important;
}

.input-formular:focus {
    border: 1px solid #dee2e6 !important;
    box-shadow: none !important;
}

@keyframes form-input-transition{
    from{
        border-color: aqua;
    }

    to{
        border-color: red;
    }
}

.multiselectGridCheckbox{
    height: 20px;
    width: 20px;
}

#startbtn{
    display: hidden;
}