﻿/* Disable pinch zoom and double-tap zoom */
html, body {
    overscroll-behavior: contain;
    touch-action: none;
    -webkit-user-select: none; /* Prevent text selection */
    -webkit-touch-callout: none; /* Prevent long press menu */
    -webkit-overflow-scrolling: none;
    overflow: hidden; /* Prevent scrolling */
    user-select: none;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.5);
}

.questionnaire_body {
    color: white;
    overscroll-behavior: contain;
    touch-action: none;
    -webkit-user-select: none; /* Prevent text selection */
    -webkit-touch-callout: none; /* Prevent long press menu */
    -webkit-overflow-scrolling: auto;
    user-select: none;
    margin: 3%;
    padding: 3%;
    width: 100vw;
    height: 100vh;
    background: #355C91;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: rgba(0,0,0,.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

button {
    position: absolute;
    max-height: 153%;
    min-width: 30%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255, 1.0);
    color: black;
    cursor: pointer;
    transition: background 0.3s ease;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.open_textbox {
    min-width: 90%;
    min-height: 20%;
      }
.submit_button {
    left: 50%;
}

.previous-button {
    position: absolute;
    top: 90%;
    height: 7%;
    left: 25%;
    background: rgba(255,255,255, 1.0);
    color: black;
}

.close-button {
    position: absolute;
    top: 5%;
    left: 82%;

    background: rgba(255, 255, 255, 1.0);
    color: black;
}

.next-button {
    position: absolute;
    top: 90%;
    height: 7%;
    left: 70%;
    color: white;
    background: rgba(59,199,143, 1.0);
}

.pause-button {
    position: absolute;
    top: 5%;
    left: 17%;
}

.mute-button {
    position: absolute;
    height: 7%;
    top: 70%;
    left: 50%;
}

.play-button {
    position: absolute;

    top: 5%;
    left: 50%;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.close-button:active {
    background: rgba(0, 0, 0, 1);
}
