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

#minigame-intro-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;
}

#minigame-instruction-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;
}

#minigame-instruction-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;
}

#minigame-instruction-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.25vw, 64px);
    /* font-style: italic; */
    text-align: center;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#minigame-instruction-tap {
    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;
}

#minigame-instruction-parent {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
}

#minigame-bottom-instruction {
    position: absolute;
    bottom: clamp(64px, 2vh, 96px);
    left: 60%;
    width: 64vw;
    height: auto;
    aspect-ratio: 980/183;
    z-index: 2;
    -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;
    font-family: AvenirLTStd-Roman;
    color: white;
    font-size: clamp(20px, 4vw, 64px);
    /* font-style: italic; */
    text-align: center;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#minigame-bottom-instruction-text {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 6.4%;
    top: 50%;
    left: 50%;
    z-index: 2;
    -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);
    /* font-style: italic; */
    text-align: center;
    text-justify: center;
    pointer-events: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#minigame-completion {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100vw;
    height: 100vh;
    visibility: hidden;
}

#minigame-completion-background {
    position: absolute;
    top: 70%;
    left: 50vw;
    width: 100vw;
    height: auto;
    aspect-ratio: 1179/559;
    z-index: 2;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Paper_dialogue_small.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;
}

#minigame-completion-text {
    position: absolute;
    width: 88%;
    height: 100%;
    padding-top: 34%;
    padding-left: 20%;
    padding-right: 20%;
    top: 50%;
    left: 50%;
    z-index: 2;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: AvenirLTStd-Roman;
    color: white;
    font-size: clamp(12px, 4vw, 54px);
    /* font-style: italic; */
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#minigame-completion-tap {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 90%;
    height: 24%;
    z-index: 3;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: AvenirLTStd-Roman;
    color: white;
    font-size: clamp(8px, 3vw, 54px);
    /* font-style: italic; */
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#minigame-cursor-parent {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

#minigame-cursor-reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: auto;
    aspect-ratio: 248/250;
    z-index: 2;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url("../images/Cursor_Base_white.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;
}

#minigame-cursor-icon {
    position: absolute;
    top: 0%;
    right: -46px;
    width: 100px;
    height: auto;
    aspect-ratio: 512/512;
    z-index: 2;
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    background-image: url("../images/Cursor_fire_bucket.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;
}

.minigame-stop-button {
    position: absolute;
    top: 92%;
    left: 5%;
    width: 80px;
    height: 80px;
    z-index: 5;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: transparent;
    background-image: url('../images/Button_Circle_MysteryJournal.webp');
    cursor: pointer;
    border: none;
    padding: 0;
    display: block;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}