﻿* {
    padding: 0;
    margin: 0;
    /*transition: 0.2s all ease;*/
}

/* Ensure the body remains scrollable vertically */
body {
    overflow-y: auto; /* Enables vertical scrolling */
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

.vjs-mobile .vjs-user-inactive .vjs-volume-panel {
    display: block !important;
}

#info {
    background-color: rgb(246, 246, 246);
    color: darkblue;
    padding: 10px 10px;
    font-size: larger;
    text-align: center;
    visibility: hidden;
}

#reward-text {
    position: absolute;
    visibility: collapse;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

#response-text {
    position: absolute;
    visibility: collapse;
    background-color: rgb(246, 246, 246);
    color: rgb(210, 112, 37);
    font-size: larger;
    text-align: center;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 18px;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

/*#reward-text-header {
    background-color: rgb(246, 246, 246);
    color: rgb(210, 112, 37);
    padding: 10px 10px;
    font-size: larger;
    text-align: center;
    visibility: visible;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 24px;
}*/

#score-text-header {
    background-color: rgb(246, 246, 246);
    color: rgb(210, 112, 37);
    padding: 10px 10px 5px 10px;
    text-align: center;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 18px;
}

#score-text-subheader {
    background-color: rgb(246, 246, 246);
    color: rgb(210, 112, 37);
    text-align: center;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 14px;
}

#score-details {
    background-color: rgb(246, 246, 246);
    margin: 10px;
    color: rgba(22, 22, 22, 0.9);
    display: inline-block;
    text-align: center;
    font-size: larger;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 14px;
}

#emailInput {
    width: 80%;
    margin: 5px;
    padding: 5px;
    border: solid;
    border-width: 1px;
}

#submitButton {
    width: 80%;
    border: solid;
    border-width: 1px;
    margin: 5px;
    padding: 5px;
}

#reward {
    background-color: rgb(246, 246, 246);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    visibility: collapse;
    text-align: center;
    z-index: 2147483647;
    position: absolute;
}

#prePlay {
    background-color: transparent;
    visibility: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    width: 75%;
    height: 35%;
    text-align: center;
    z-index: 2147483647;
    position: absolute;
}

#prePlay-text {
    position: absolute;
    width: 100%;
    padding: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    background-color: rgb(246, 246, 246);
    color: rgb(210, 112, 37);
    font-size: 15pt;
    text-align: center;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
}

#playVideo {
    width: 30%;
    border-color: black;
    color: black;
    border: solid;
    border-width: 1px;
    margin: 10px;
    padding: 5px;
    display: inline-block;
}

#video-container {
    position: relative;
    height: 95vh;
    max-width: 100%;
    max-height: calc(100vh - 20px); /* Adjust for any additional elements or spacing */
}

#myplayer {
    max-width: 100%;
    max-height: 95%;
}
/*.video-js
{
    width: 75%;
    height: 50%;
}*/
#overlay-box {
    position: absolute;
    visibility: hidden;
    top: 1px;
    left: 1px;
    /*transform: translate(-50%, -50%);*/
    width: 40px; /* Set the width of the square box */
    height: 40px; /* Set the height of the square box */
    border: 2px solid #AAFF00; /* Set the border color and thickness */
    background-color: transparent; /* Set the background color of the box */
    /*pointer-events: none;  Allow clicks to pass through the overlay */
    z-index: 2147483647;
}

#overlay-volumetext {
    position: absolute;
    visibility: hidden;
    left: 50%;
    top: 80%;
    -webkit-transform: translate(-50%, -90%);
    -moz-transform: translate(-50%, -90%);
    transform: translate(-50%, -90%);
    width: 400px; /* Set the width of the square box */
    height: 20px; /* Set the height of the square box */
    /* border: 2px solid #AAFF00; Set the border color and thickness */
    background-color: black; /* Set the background color of the box */
    color: white;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 20px;
    text-align: center;
    z-index: 2147483647;
    /*pointer-events: none;  Allow clicks to pass through the overlay */
}

#overlay-cursortext {
    position: absolute;
    visibility: hidden;
    left: 50%;
    top: 90%;
    -webkit-transform: translate(-50%, -90%);
    -moz-transform: translate(-50%, -90%);
    transform: translate(-50%, -90%);
    width: 400px; /* Set the width of the square box */
    height: 20px; /* Set the height of the square box */
    /* border: 2px solid #AAFF00; Set the border color and thickness */
    background-color: black; /* Set the background color of the box */
    color: white;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    font-size: 20px;
    text-align: center;
    z-index: 2147483647;
    /*pointer-events: none;  Allow clicks to pass through the overlay */
}

#header {
    background-color: rgba(22, 22, 22, 0.9);
    height: 96px;
    font-family: 'League Spartan', arial, helvetica, sans-serif;
    color: white;
    text-align: center;
    padding: 5px;
}

.table-container {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling */
}

/* Ensure the table container is scrollable */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    display: block; /* Forces scrolling when content overflows */
}

/* Ensure the table does not shrink */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Ensures table stays wide enough to trigger horizontal scroll */
}

/* Show scrollbars on all devices */
.table-responsive::-webkit-scrollbar {
    height: 8px;
    display: block; /* Ensures scrollbar is always visible */
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Improve spacing and responsiveness */
@media (max-width: 768px) {
    th, td {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}