@font-face {
    font-family: 'TT Hoves';
    src: url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Regular.woff2') format('woff2'),
    url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Regular.woff') format('woff'),
    url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Hoves';
    src: url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Black.woff2') format('woff2'),
    url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Black.woff') format('woff'),
    url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Hoves';
    src: url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Bold.woff2') format('woff2'),
    url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Bold.woff') format('woff'),
    url('https://d3ftcb55k0tfmf.cloudfront.net/fonts/TTHoves/TTHoves-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'TT Hoves', sans-serif;
}

.absolute-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

h1 {
    text-align: left;
    color:#ffffff;
    font-size: clamp(14px, 3.8vh, 36px);
    margin: auto;
    width: fit-content;
}

h1 span {
    color: #f2a6ff;
}

h2 {
    color:#ffffff;
    font-size: clamp(14px, 2vh, 22px);
}

.pink {
    color: #f2a6ff;
}

.standard-button {
    border: 0;
    background: #f2a6ff;
    color: #000755;
    font-weight: bold;
    font-family: 'TT Hoves', sans-serif;
    font-size: clamp(14px, 2.6vh, 28px);
    padding: 5% 20%;
    cursor: pointer;
    pointer-events: auto;
}

.disabled {
    opacity: 0.5;
}

.icon-button {
    border: 0;
    width: 16vw;
    max-width: 80px;
    height: 16vw;
    max-height: 70px;
    background: #000755;
    color: #ffffff;
    font-weight: bold;
    font-family: 'TT Hoves', sans-serif;
    font-size: clamp(12px, 1.4vh, 18px);
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icon-button img {
    width: 18px;
    height: auto;
}

/* Loading Screen */
#loadingScreen {
    z-index: 100;
    background: #000755 url("assets/images/background.png") center/auto 100% no-repeat;
}

.loading-logo {
    background: transparent url("assets/images/logo_loading.png") center/auto 100% no-repeat;
}

.sensar-logo {
    position: absolute;
    bottom: 20vh;
    left: 0;
    right: 0;
    width: 55vw;
    max-width: 250px;
    height: auto;
    margin: auto;
}

.bottom-content {
    position: absolute;
    bottom: 4vh;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 8vh;
    margin: auto;
    border-top: 3px solid #f2a6ff;
    font-weight: 900;
    color: #ffffff;
    font-size: clamp(14px, 2.2vh, 28px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Start Screen */
#startScreen {
    z-index: 90;
    background: #000755 url("assets/images/background_start.png") center/auto 100% no-repeat;
}

.sensar-logo-large {
    position: absolute;
    top: 45vh;
    left: 0;
    right: 0;
    width: 60vw;
    max-width: 334px;
    height: auto;
    margin: auto;
}

.start-instructions {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    width: 70vw;
    max-width: 280px;
    margin: auto;
    font-size: clamp(12px, 1.6vh, 20px);
    color: #ffffff;
}

.circle-question-mark {
    width: 25px;
    height: 25px;
}

.border-top {
    border-top: 3px solid #f2a6ff;
    margin-top: 0.83em;
}

.start-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 13%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sensxpert-logo {
    width: auto;
    height: 40%;
}


/* End Screen */
#endScreen {
    z-index: 80;
    background: #000755 url("assets/images/background_start.png") center/auto 100% no-repeat;
}

.end-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 30%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.end-buttons button {
    margin: 10px;
    width: 40vw;
    max-width: 100%;
    height: 8vh;
    padding: 0;
}

.end-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 20%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Form Screen */
#formScreen {
    z-index: 90;
    background: #000755 url("assets/images/background.png") center/auto 100% no-repeat;
    overflow: auto;
}

.form-container {
    padding: 4vh 0;
    width: 86vw;
    max-width: 340px;
    margin: auto;
    color: #ffffff;
}

.form-container h1 {
    margin-bottom: 3vh;
    margin-left: 0;
}

.form-row {
    display: flex;
    margin-top: 3vh;
}

label {
    display: block;
    color: #f2a6ff;
    font-size: clamp(14px, 2.2vh, 24px);
    font-weight: bold;
    margin-top: 1.5vh;
}

.checkbox-label {
    color: #ffffff;
    font-size: initial;
    font-weight: normal;
    margin-top: initial;
    margin-left: 1vh;
}

input, select {
    width: 100%;
    height: calc(2.4vh + 16px);
    box-sizing: border-box;
    border: 0;
    font-size: clamp(14px, 2.2vh, 24px);
    color: #000755;
    padding: 8px 10px;
}

input::placeholder {
    color: #B7B9D5;
    opacity: 1;
    font-size: clamp(12px, 2vh, 22px);
}

input[type=checkbox] {
    flex: 1;
    min-width: 3vh;
    width: 3vh;
    height: 3vh;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: #ffffff;
    cursor: pointer;
}

input[type="checkbox"]::before {
    content: "";
    width: 2.5vh;
    height: 2.5vh;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    display: block;
    margin-left: 0.25vh;
    margin-top: 0.25vh;
    background: #000755;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.select-placeholder {
    color: #B7B9D5;
    opacity: 1;
    font-size: clamp(12px, 1.8vh, 20px);
}

.form-button {
    /*
    position: absolute;
    bottom: 4vh;
    left: 0;
    right: 0;
    */
    width: 80vw;
    max-width: 340px;
    height: 8vh;
    margin: 4vh auto 0 auto;
    border-top: 3px solid #f2a6ff !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    font-weight: 900;
    color: #ffffff !important;
    font-family: 'TT Hoves', sans-serif !important;
    font-size: clamp(14px, 2.2vh, 28px);
    display: flex;
    align-items: center;
    padding: 0 !important;
    text-transform: none !important;
    background: transparent url("assets/images/arrow_right.png") right center/auto 40% no-repeat !important;
    cursor: pointer;
}







/* Placement Screen */
#placementScreen {
    z-index: 80;
}

.placement-instruction {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    background-color: rgba(0, 7, 85, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}


/* AR overlay UI */
#arButtons {
    z-index: 60;
    pointer-events: none;
}

#repositionButton {
    position: absolute;
    bottom: 0;
    left: 0;
    border-top-right-radius: 5px;
}

#shareButton, #homeButton {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 5px;
}

#launchSection, #selectSection {
    z-index: 50;
    pointer-events: none;
}

#sceneButton {
    position: absolute;
    top: 4vh;
    left: 0;
    right: 0;
    padding: 1.5vh 3vh;
    margin: auto;
    width: fit-content;
    max-width: 400px;
}

.section-headline {
    position: absolute;
    top: 4vh;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 400px;
    background-color: rgba(0, 7, 85, 0.8);
    font-size: clamp(14px, 2.2vh, 28px);
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin: auto;
}

.bottom-button {
    position: absolute;
    bottom: 4vh;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 8vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}







#topicScreens {
    z-index: 50;
    pointer-events: none;
}

.box {
    position: absolute;
    left: 0;
    right: 0;
    width: 90vw;
    max-width: 420px;
    height: 25vh;
    background: #ffffff;
    border: 5px solid #f2a6ff;
    color: #000755;
    margin: auto;
    pointer-events: auto;
}
@media (max-height: 750px) and (max-width: 450px) {
    .box {
        height: 30vh;
    }
}

.box-top {
    top: 3vh;
}

.box-bottom {
    bottom: 3vh;
}

.box h1 {
    position: absolute;
    top: 10px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    width: initial;
    color: #042EA0;
    font-size: clamp(16px, 4vh, 42px);
    margin: 0;
    text-align: left;
}

.box h1 sup {
    margin-top: -10px;
    display: inline-block;
}

.box-page-num {
    position: absolute;
    bottom: 20px;
    left: 15px;
    color: #000755;
    font-size: clamp(14px, 1.8vh, 24px);
}

.box-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: clamp(12px, 1.4vh, 18px);
    font-weight: bold;
    border: 0;
    background: #f2a6ff;
    color: #000755;
    padding: 1vh 3vh;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-button img {
    width: auto;
    height: 1.5vh;
    margin-left: 1.5vw;
}

.box-top .box-side {
    width: calc(100% + 10px);
    height: 3.02vh;
    position: absolute;
    bottom: calc(-3vh - 5px);
    left: -5px;
    background: #a66db2;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.box-top .box-side .box-side-inner {
    position: absolute;
    top: 0;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 5px);
    background: #ffffff;
    clip-path: polygon(0.5% 0, 99.5% 0, 90.5% 100%, 9.5% 100%);
}

.box-bottom .box-side {
    width: calc(100% + 10px);
    height: 3.02vh;
    position: absolute;
    top: calc(-3vh - 5px);
    left: -5px;
    background: #f3beff;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.box-bottom .box-side .box-side-inner {
    position: absolute;
    bottom: 0;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 5px);
    background: #ffffff;
    clip-path: polygon(9.5% 0, 90.5% 0, 99.5% 100%, 0.5% 100%);
}

#infoBoxSplide {
    width: 100%;
    height: 100%;
}

#infoBoxSplide .splide__track {
    height: 100%;
}

#infoBoxSplide .splide__slide {
    padding: 15px;
    font-size: clamp(12px, 1.4vh, 18px);
    color: #000000;
}

#infoBoxSplide .splide__pagination {
    right: initial;
    bottom: 18px;
}

#infoBoxSplide .splide__pagination__page {
    width: 2vh;
    height: 2vh;
    opacity: 1;
    background: transparent;
    border: 1px solid #000755;
    margin: 0.5vh;
}








.topic-media-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vh 0;
    box-sizing: border-box;
}

@media (max-height: 750px) and (max-width: 450px) {
    .topic-media-container {
        height: 49vh;
    }
}

.topic-media-container2 {
    position: relative;
    width: fit-content;
    height: auto;
    pointer-events: auto;
}

.media-zoomed .topic-media-container2 {
    height: 100%;
}

.topic-media {
    width: 90vw;
    height: fit-content;
    max-height: 100%;
    overflow: auto;
    position: relative;
}

.topic-media img {
    width: 100%;
    max-width: 1361px;
    height: auto;
    display: block;
}

.media-zoomed img {
    width: 200%;
}

.corner-button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 12vw;
    height: 12vw;
    max-width: 60px;
    max-height: 60px;
    background: #f2a6ff;
    color: #000755;
    font-size: clamp(14px, 3.8vh, 36px);
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
}





.topic-media-heading {
    width: 100%;
    padding: 15px;
    text-align: center;
    color: #000755;
    font-size: clamp(14px, 2.4vh, 28px);
    font-weight: bold;
    box-sizing: border-box;
}

.splide-container {
    position: relative;
    width: 90vw;
    max-width: 420px;
    height: auto;
    pointer-events: auto;
    background: #ffffff;
}

.splide-media-content {
    display: flex;
    justify-content: center;
    color: #000755;
    padding-bottom: 40px;
    text-align: center;
}

.splide-media-content img {
    width: 46vw;
    height:auto;
    max-width: 220px;
    display: block;
}

.splide__pagination__page.is-active {
    background: #000755 !important;
}






/* Animations */
.fade-in {
    animation: fade-in 0.8s linear forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-out {
    animation: fade-out 0.4s linear forwards;
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* Zappar overrides */
.zappar-permission-request {
    background: #000755 url("assets/images/background.png") center/auto 100% no-repeat !important;
}

.zappar-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    font-family: 'TT Hoves', sans-serif !important;
    max-width: 340px !important;
}

.permissions-heading {
    margin: 15vh auto 1vh auto;
    height: 30vh;
    display: flex;
}

.zappar-inner h1 {
    text-align: left;
    font-size: clamp(14px, 3.8vh, 36px);
    margin: auto;
    width: fit-content;
}

.zappar-inner h1 span {
    color: #f2a6ff;
}

.zappar-inner button {
    position: absolute;
    bottom: 4vh;
    left: 0;
    right: 0;
    width: 80vw;
    max-width: 340px;
    height: 8vh;
    margin: auto;
    border-top: 3px solid #f2a6ff !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    font-weight: 900;
    color: #ffffff !important;
    font-family: 'TT Hoves', sans-serif !important;
    font-size: clamp(14px, 2.2vh, 28px);
    display: flex;
    align-items: center;
    padding: 0 !important;
    text-transform: none !important;
    background: transparent url("assets/images/arrow_right.png") right center/auto 40% no-repeat !important;
    cursor: pointer;
}
