/* tutorial-ui.css */
@import url("fonts.css");

#modal-paper-parent {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

#modal-paper {
    position: absolute;
    top: 48%;
    left: 50vw;
    width: 80%;
    height: auto;
    /* height: clamp(312px, 30vh, 900px); */
    aspect-ratio: 917/868;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Paper_popup_square.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-header-text {
    position: absolute;
    top: 14%;
    left: 50%;
    width: 100%;
    height: 20%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: AvenirLTStd-Roman;
    color: black;
    font-size: clamp(20px, 4vw, 64px);
    font-weight: bolder;
    text-align: center;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-divider {
    position: absolute;
    top: clamp(48px, 18%, 128px);
    left: 50%;
    width: 60%;
    height: 20%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Divider_black.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-body-text {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 80%;
    height: 30%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: AvenirLTStd-Roman;
    color: black;
    font-size: clamp(16px, 4.1vw, 32px);
    /* font-style: italic; */
    text-align: center;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-paper-icon-center {
    position: absolute;
    top: 66%;
    left: 50%;
    width: 30%;
    height: auto;
    aspect-ratio: 255/171;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Icon_tutorial_phonebook.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    visibility: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-paper-icon-left {
    position: absolute;
    top: 66%;
    left: 40%;
    width: 22%;
    height: auto;
    aspect-ratio: 203/170;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Icon_tutorial_talk.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    visibility: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-paper-icon-right {
    position: absolute;
    top: 66%;
    left: 60%;
    width: 22%;
    height: auto;
    aspect-ratio: 128/128;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Icon_talk_red.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    visibility: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#modal-tap-to-continue {
    position: absolute;
    bottom: clamp(16px, 6%, 360px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: transparent;
    font-family: AvenirLTStd-Roman;
    text-wrap: nowrap;
    color: black;
    font-size: clamp(18px, 3.5vw, 64px);
    font-weight: bolder;
    /* font-style: italic; */
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 3;
}

/* 
    ====================
      Tutorial Overlay 
    ====================
*/

#tutorial-overlay-parent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

#tutorial-overlay {
    position: absolute;
    top: 18%;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1179/754;
    z-index: 12;
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    background-image: url("../images/Paper_dialogue.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#tutorial-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: auto;
    z-index: 12;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: AvenirLTStd-Roman;
    color: white;
    font-size: clamp(18px, 4.2vw, 28px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#tutorial-overlay-tap-to-continue {
    position: absolute;
    bottom: clamp(16px, 12%, 360px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: transparent;
    font-family: AvenirLTStd-Roman;
    text-wrap: nowrap;
    color: white;
    font-size: clamp(18px, 3.5vw, 64px);
    font-weight: bolder;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 13;
}

.overlay-highlight {
    box-shadow: 0px 0px 1px 100vmax rgba(0, 0, 0, 0.5);
}

/* 
    ====================
        Audio Prompt
    ====================
*/

#audio-prompt-parent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

#audio-prompt-box {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 90%;
    height: auto;
    aspect-ratio: 1038/329;
    z-index: 5;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/TutorialRect_01_Gray.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#audio-prompt-box-icon {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 24%;
    height: auto;
    aspect-ratio: 210/162;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Icon_Volume.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#audio-prompt-body-text {
    position: absolute;
    top: 50%;
    left: 64%;
    width: 60%;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(12px, 12ch, 22px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#audio-prompt-tap-to-continue {
    position: absolute;
    top: 88%;
    left: 50%;
    width: 80%;
    height: auto;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(24px, 4vw, 32px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 
    ====================
        Teddy Call 
    ====================
*/

#teddy-call-parent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

.call-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 4;
    background-image: url("../images/BG_TutorialCall.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#teddy-call-name {
    position: absolute;
    top: 18%;
    left: 50%;
    width: 90%;
    height: 20%;
    z-index: 3;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(28px, 5vw, 36px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#teddy-call-profile-pic {
    position: absolute;
    top: 26%;
    left: 50%;
    width: 30%;
    height: auto;
    aspect-ratio: 403/403;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Icon_TeddyProfile.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#teddy-call-phone-button {
    position: absolute;
    top: 85%;
    left: 50%;
    width: 24%;
    height: auto;
    aspect-ratio: 265/265;
    z-index: 5;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Button_AnswerCall.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#teddy-call-body-text {
    position: absolute;
    top: 64%;
    left: 50%;
    width: 92%;
    height: 50%;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(16px, 4.8vw, 24px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: 'hidden';
}

#teddy-call-tap-to-continue {
    position: absolute;
    top: 88%;
    left: 50%;
    width: 80%;
    height: auto;
    z-index: 12;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(20px, 4vw, 32px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

/* 
    ====================
    Required Permissions Description
    ====================
*/

#required-permissions-description-parent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

#required-permissions-description-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 82%;
    height: auto;
    aspect-ratio: 1038/870;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/TutorialRect_02_Gray.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#required-permissions-description-title {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 90%;
    height: auto;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: Generic-G50;
    font-size: clamp(24px, 4vw, 32px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#required-permissions-description-body-text {
    position: absolute;
    top: 56%;
    left: 50%;
    width: 84%;
    height: 70%;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(16px, 4.2vw, 32px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*
    Required Permissions Buttons
*/

#required-permissions-buttons-parent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

#required-permissions-buttons-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76%;
    height: auto;
    aspect-ratio: 1038/1191;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/TutorialRect_03_Gray.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#required-permissions-buttons-title {
    position: absolute;
    top: 8%;
    left: 50%;
    width: 90%;
    height: auto;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: Generic-G50;
    font-size: clamp(24px, 4vw, 32px);
    /* font-weight: bold; */
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#required-permissions-subtitle-text {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 90%;
    height: auto;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(14px, 4vw, 28px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.required-permissions-button {
    position: absolute;
    left: 50%;
    width: 84%;
    height: auto;
    aspect-ratio: 872/176;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Button_Rectangle_Red.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.required-permissions-button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92%;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 4;
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(16px, 3.2vw, 24px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#permission-camera-access-button {
    top: 34%;
}

#permission-microphone-access-button {
    top: 52%;
}

#permission-motion-access-button {
    top: 70%;
}

#permission-tos-button {
    position: absolute;
    top: 89%;
    left: 50%;
    width: 90%;
    height: auto;
    z-index: 4;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#permission-tos-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92%;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 4;
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(16px, 4vw, 28px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.teddy-call-tap-to-continue {
    position: absolute;
    top: 90%;
    left: 50%;
    width: 80%;
    height: auto;
    z-index: 14;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-family: AvenirLTStd-Medium;
    font-size: clamp(24px, 4vw, 32px);
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    visibility: hidden;
}

#tutorial-scan-intro-parent {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

#tutorial-scan-intro-instruction {
    position: absolute;
    bottom: clamp(12px, 2%, 24px);
    left: 60%;
    width: 64%;
    height: auto;
    aspect-ratio: 980/183;
    z-index: 1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Paper_tooltip.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#tutorial-scan-intro-icon {
    position: absolute;
    top: -50px;
    right: 0px;
    width: 100px;
    height: 100px;
    z-index: 1;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background-image: url("../images/MysteryJournal_Ghost_Timothy_Circle.webp");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#tutorial-scan-intro-instruction-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 6.4%;
    top: 50%;
    left: 50%;
    z-index: 1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: AvenirLTStd-Roman;
    color: white;
    font-size: clamp(12px, 3.2vw, 64px);
    text-align: center;
    text-justify: center;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}