@keyframes bounceIn {
    0% { transform: scale(0.5) translateY(-100%); opacity: 0; }
    50% { transform: scale(1.1) translateY(10%); opacity: 0.8; }
    70% { transform: scale(0.9) translateY(-5%); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes wiggle {
    0% { transform: rotateZ(20deg); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%,
    100% { transform: rotateZ(0);}
}
@keyframes pulse {
    0% { transform: scale(1) translateY(0); opacity: 1; }
    50% { transform: scale(1) translateY(15%); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.pulse { animation: pulse 2s ease-out infinite; }

.b1 { animation: bounceIn 0.8s ease-out forwards; }
.b2 { animation: bounceIn 1s ease-out forwards; }
.b3 { animation: bounceIn 1.2s ease-out forwards; }
.b4 { animation: bounceIn 1.5s ease-out forwards; }

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-ExtraLight.ttf') format('truetype');
}
@font-face {
    font-family: 'Cabin Sketch';
    src: url('fonts/CabinSketch-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Gluten';
    src: url('fonts/Gluten-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Atma';
    src: url('fonts/Atma-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Neucha';
    src: url('fonts/Neucha-Regular.ttf') format('truetype');
}


:root {
    --myDarkGreen: #4caf50;
    --myLightGreen: rgb(179, 246, 194);
    --myDarkRed: #af4c4c;
    --myLightRed: rgb(245, 143, 143);

    --myBlack: rgb(26, 26, 31);
    --myDarkGray: rgb(60, 60, 60);
    --myTitleGray: rgba(100, 100, 100, 0.654);
    --myGray: rgba(0, 0, 0, 0.2);

    /* --white40: rgba(157, 171, 250, 0.4);
    --white15: rgba(54, 52, 158, 0.09); */

    --white40: rgba(141, 141, 141, 0.4);
    --white15: rgba(143, 143, 143, 0.09);   
    --myBG1: #3B8CC4; 

    --bs-btn-disabled-bg: white !important;
}
.degub {
    background-color: white;
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
}

body {
    margin: 0px;
    background-color: #606060;
    /* background: linear-gradient(#ffffff, #c4eefc); */
    font-weight: 400;
    height: 100%;
}
.container {
    position: fixed;
    height: 100%;
    width: 100%;
    margin: 0 auto; /* Centers the container */
    max-width: 400px; /* Slightly smaller for tablets */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    left: 50%;
    transform: translateX(-50%);
}

#navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 91px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    /* background: url("img/landscape2.png") no-repeat center/cover; */
    /* background-size: 100% 148px; */
    background: url("img/wood.png") no-repeat center/cover;
    background-size: 110% 100px;
    /* background-color: rgb(126, 178, 58); */
    z-index: 2000;
    padding: 30px 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

#navigation button {
    position: relative;
    height: 30px;
    border: none;
    background-color: transparent;
    color: rgb(10, 77, 11);
    cursor: pointer;
    margin: 0px;
    /* margin: 0px 10px 0px 0px; */
    font-size: 1.8rem;
    z-index: 2;
}
#navigation button.active {
    color: white;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100vh - 80px);
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #a9e3f9;
    overscroll-behavior: none;
}

#quizScreen, #helpScreen, #startScreen { 
    width: 100%;
}
#quizScreen > div, #helpScreen > div, #startScreen > div { 
    padding-left: 20px;
    padding-right: 20px;
}
#panoScreen, #mapScreen {
    height: calc(100vh - 80px);
    width: 100%;
    overflow: hidden;
}
#map {
    height: 100vh;
    width: 100%;
    margin: 0px !important;
    z-index: 1000;
}
.avatar {
    position: fixed;
    bottom: 80px;
    right: 0px;
    height: calc(100% - 80px);
    z-index: 1001;
    pointer-events: none;
}
#helpScreen .avatar {
    height: 600px;
    position: absolute;
    top:110px;
    right: 6px;
}
#girl-help {
    position: absolute;
    top: -117px;
    right: 50px;
    height: 210px;
    z-index: 1001;
}
#foto-hint {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1000;
}
.airplane {
    position: absolute;
    bottom: 40px;
    left: 50px;
    height: 40px;
    z-index: 800;
 }
.qr-logo img {
    width: 280px;
    padding-bottom: 10px;
}

#helpScreen {
    text-align: left;
}
.accordion-header i {
    width: 50px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid var(--myGray);
    border-radius: 4px;
    font-size: 1em;
}
.section {
    position: relative;
    padding-top: 30px;
    padding-bottom: 50px;
}
.section.signpost::before {
    position: absolute;
    top: -55px;
    left: 230px;
    content: url('img/signpost.png');
    height: 50px;
}
.sec-1 { 
    padding-top: 0px;
    background: linear-gradient(#a9e3f9, #c4eefc);
}
.sec-2 { 
    background-color: #9ad5fa; 
}
.sec-2.wave::before {
    position: absolute;
    top: -80px;
    left: 0px;
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" width="100%" height="100px" preserveAspectRatio="none"><path fill="rgb(241, 255, 240)" fill-opacity="1" d="M0,160L48,170.7C96,181,192,203,288,208C384,213,480,203,576,181.3C672,160,768,128,864,122.7C960,117,1056,139,1152,165.3C1248,192,1344,224,1392,240L1440,256L1440,320L0,320Z"></path></svg>');
    width: 100%;
    height: 100px;
    overflow: hidden;
} 
.sec-2.lake::before {
    position: absolute;
    z-index: 1000;
    top: -40px;
    left: 0px;
    width: 100%;
    height: 60px; /* Set an appropriate height */
    content: "";
    /* background: url("img/lake.png") no-repeat center/cover; */
    background: url("img/lakeside.png") no-repeat center/cover;
    background-size: 100% 60px;
    display: block;
    pointer-events: none;
}
.sec-3 { 
    background-color: #f0c95d; 
}
.sec-3.landscape1::before {
    position: absolute;
    top: -50px;
    left: 0px;
    width: 100%;
    height: 148px; /* Set an appropriate height */
    content: "";
    background: url("img/landscape1.png") no-repeat center/cover;
    background-size: 100% 148px;
    display: block;
}
.sec-3.landscape1b::before {
    position: absolute;
    top: -50px;
    left: 0px;
    width: 100%;
    height: 148px; /* Set an appropriate height */
    content: "";
    background: url("img/landscape1b.png") no-repeat center/cover;
    background-size: 100% 148px;
    display: block;
}
.sec-4 { 
    background-color: #91c623; 
    /* color: white; */
    padding-top: 100px;
}
.sec-4.tree::before {
    position: absolute;
    top: -200px;
    left: 0px;
    width: 100%;
    height: 290px; /* Set an appropriate height */
    content: "";
    background: url("img/tree.png") no-repeat center/cover;
    /* background: url("img/lightGreen-border.png") no-repeat center/cover; */
    background-size: 100% 290px;
    display: block;
}
.cloud {
    position: absolute;
    z-index: 800;
}
#codeModal .cloud {
    top: 60px;
    right: 5px;
    height: 78px;
}
#helpScreen .cloud {
    top: 30px;
    right: -60px;
    height: 80px;
}
.content-layer {
    position: relative;
    z-index: 2;
}
.landscape0 {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
}
.signpost {
    position: absolute;
    top: -45px;
    right: 60px;
    height: 150px;
    z-index: 1000;
}
.flex {
    display: flex;
    text-wrap: wrap;
}

.hidden {
    display: none;
}
.centered {
    text-align: center;
}

.track-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    cursor: pointer;
}

.circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: var(--myDarkGreen);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
    z-index: 1;
}
#quizScreen {
    min-height: 100%;
}
/* Vertical line for connecting the circles */
#quizScreen :not(:last-child) .circle::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 30px;
    /* Align with circle center */
    margin: 15px;
    width: 5px;
    height: 30px;
    background-color: var(--white40);
}
#quizScreen > :last-child {
    padding-bottom: 150px;
}
#quizScreen > :last-child::after {
    position: absolute;
    z-index: 1000;
    bottom: -30px;
    left: 0px;
    width: 100%;
    height: 210px; /* Set an appropriate height */
    content: "";
    background: url("img/busch.png") no-repeat center/cover;
    background-size: 120% 210px;
    display: block;
    pointer-events: none;
}
#helpScreen > :last-child {
    padding-bottom: 100px;
}
#helpScreen > :last-child::after {
    position: absolute;
    z-index: 1000;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 210px; /* Set an appropriate height */
    content: "";
    background: url("img/busch.png") no-repeat center/cover;
    background-size: 120% 210px;
    display: block;
    pointer-events: none;
}
.track-name {
    font-size: 1rem;
}

#tracks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}

.track {
    width: 300px;
    height: 500px;
    margin: 10px;
    padding: 10px;
}

.track img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1) inset;
    border-radius: 15px;
}

.track-label {
    /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: bolder;
    text-align: center;
    color: var(--myDarkGray);
    margin: 10px 0px;
    text-shadow:
        1px 1px 3px white,
        /* Bottom right */
        -1px -1px 3px white,
        /* Top left */
        -1px 1px 3px white,
        /* Bottom left */
        1px -1px 3px white;
        /* Top right */
}

#pointForm {
    position: absolute;
    top: 10px;
    left: 50px;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    border: var(--myGray) 2px solid;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
#poinForm td {
    vertical-align: middle;
    padding: 0px 5px;
}

.padding {
    padding: 10px;
}

.attribution {
    font-size: smaller;
}

.currentPoint {
    color: var(--myLightRed);
}

/* ------------------------------------ */
.round-box {
    background-color: rgba(255, 255, 255, 0.77);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}
.round-box > div {
    margin-bottom: 20px;
}
#quiz-status { 
    color: var(--white40);
    font-size: 12px;
    display: flex;
}
#quiz-status > div {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 5px;
    border: 1px solid white;

    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-color: var(--white40);
}
#quiz-status > .status-good {
    background-color: var(--bs-success);
}
.status-good::after {
    /* content: "\2713"; */
    content: "✓";
    font-size: 12px;
    color: white;
}
#quiz-status > .status-bad {
    background-color: var(--bs-danger);
}
.status-bad::after {
    content: "✕";
    font-size: 12px;
    color: white;
}
.status-new {
    border: 1px solid white;
    color: var(--bs-body-color);
    font-weight: bolder;
}

#quiz-media img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#options-container, #question-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0px 10px;
}
#question-container div {
    height: 100%;
    margin-bottom: 20px;
    vertical-align: bottom;
}

#options-container button {
    --bs-btn-bg: white;
    cursor: pointer; 
    margin-bottom: 10px;
    text-align: left; 
    /* color: rgb(122, 122, 122); */
    color: var(--bs-primary-rgb);
}
/* #options-container button:not(:hover) {
    color: var(--bs-primary-rgb);
} */
#options-container button:hover {
    background-color: white;
    border: 3px solid black;
    /* color: var(--bs-primary-rgb); */
}
#options-container button:disabled {
    background-color: white;
    cursor: not-allowed;
}
button {
    font-family: "Atma";
}
#options-container button::before {
    content: "\F10B"; 
    font-family: "bootstrap-icons";
    display: inline-block;
    margin-right: 8px; 
    vertical-align: middle; 
    /* padding: 10px; */
    font-size: 1.3em;
}

#options-container button.incorrect::before {
    content: '✕ ';
    color: var(--bs-danger);
}

#options-container button.correct::before {
    content: '✓ ';
    color: var(--bs-success);
}

#options-container button.correct.selected {
    border: 4px solid var(--bs-success);
}

#options-container button.incorrect.selected {
    border: 4px solid var(--bs-danger);
}

#feedback {
    display: none;
}
#feedback.visible {
    display: block;
    /* animation: bounceIn 1.4s ease-out forwards; */
    animation: wiggle 2s;

}
#feedback.alert-danger {
    background-color: rgba(255, 220, 220, 0.8);
}
#feedback.alert-success {
    background-color: rgba(209, 255, 214,0.8);
}

.codeInputRow {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    /* width: 100%; */
    margin: auto;
    /* left: 35px; */
    padding: 0 20px 20px 15px;
    z-index: 1000;
}
.codeInputCell {
    width: 51px;
    height: 50px;
    margin: 3px 3px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    /* background-color: rgb(140, 31, 31); */
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.199);
}
.codeInput {
    position: absolute;
    top: -7px;
    left: 0;
    border: 0;
    /* border: 1px solid red; */
    padding: 0px 0px 0px 30px;
    margin-top: 0px;
    background-color: transparent;
    width: 320px;
    caret-color: rgba(163, 163, 163, 0.561);
    font-family: 'Courier New', Courier, monospace;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 28px;
    /* color: var(--myDarkGreen); */
    color: var(--myDarkRed);
}
.codeInput:focus {
    outline: none; /* Remove focus outline */
}
#codeInputModal .modal-header {
    /* background-color: var(--myTitleGray); */
    /* color: white; */
    font-size: 1.5em;
    padding: 8px 16px;
}
#codeInputModal .modal-dialog {
    width: 320px;
}
#code-error {
    margin: 10px 0px 0px 0px;
    /* padding-top: 10px; */
    color: red;
    text-align: center;
}
#codeModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: linear-gradient(#a9e3f9, #c4eefc); */
    background: linear-gradient(#a9e3f9, #dcf6ff);
    /* background-color: white; */
    color: black;
    font-weight: bolder;
    padding: 20px;
    z-index: 1001;
    /* border-radius: 0 0 20% 20%; */
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}
#codeModal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.19);
}
.modal-backdrop {
    background-color: transparent !important;
    opacity: 1 !important;
}
#help-accordion {
    position: relative;
    z-index: 1000;
    padding-bottom: 20px; 
    top: 50px   
}
.accordion-button {
    background-color: rgba(215, 215, 215, 0.19);
    font-size: 1.2rem;
    font-family: "Atma";
    padding: 0.7rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(134, 133, 133, 0.19);
} 
.tagTitle {
    display: flex;
    font-size: 2rem;
    font-weight: bolder;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}
.t1 {
    color:rgb(13, 110, 253);
}
.t2 {
    color: var(--myDarkGreen);
}
.progress {
    background-color: var(--white15);
}
#new-guestbook-entry {
    background-color: var(--white15);
}
#touch-hand {
    color: white;
    position: fixed;
    top: calc(50vh - 50px);
    /* left: calc(50vw - 50px); */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    font-size: 2rem;
    text-shadow: 1px 1px 3px black;
}
