body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background-color: black;
    background-image: url('/images/ui/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "proxima-nova", sans-serif;
}

h1 {
    font-family: "ethnocentric", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
}

.screen {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#screen1 {
    display: block;
}

.footer-container {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#logo-beyond {
    height: 40px;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

#logo-kentucky {
    height: 40px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.image-container {
    position: relative;
    text-align: center;
    margin-top: 40px;
    top: 20px;
}

.photo-container {
    position: relative;
    text-align: center;
    margin-top: 0;
}

.photo-container img {
    max-width: 100%;
    height: auto;
}

.take-photo-container {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.take-photo-container img {
    max-width: 25%;
    height: auto;
}

.canvas-container {
    position: relative;
    text-align: center;
    margin-top: 0px;
}

canvas {
    width: 100%;
    height: 100%;
}

#video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.image-container img {
    max-width: 70%;
    height: auto;
}

.instructions-container {
    padding: 20px 20px;
    margin: 0 20px;
    height: auto;
    text-align: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.controls-container {
    height: auto;
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
}

.controls-container p {
    text-transform: uppercase;
}

.control-left {
    display: inline-block;
    width: 40%;
    text-align: right;
}

.control-right {
    display: inline-block;
    width: 50%;
}

.control-right input[type="radio"] {
    margin-right: 10px;
    display: none;
}

.control-right label {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-image: url('/images/ui/image-selected-off.png');
    background-size: contain;
    text-align: center;
    /* Center the text horizontally */
    line-height: 40px;
    /* Center the text vertically */
    color: white;
    /* Make the text color white */
    font-weight: bold;
    /* Make the text bold */
}

.control-right input:checked+label {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-image: url('/images/ui/image-selected-on.png');
    background-size: contain;
}

.final-screen-buttons-container {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.final-screen-buttons-container button {
    margin-top: 20px;
}

.save-instructions {
    color: white;
    text-align: center;
    padding: 0 20px;
    animation: pulse 1.5s infinite alternate;
    transition: transform .3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.save-instructions .highlight {
    color: #ff6600;
    font-weight: bold;
}

button {
    padding: 10px 20px;
    background-color: white;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 0;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    font-family: "ethnocentric", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
}

#buttonDownload {
    display: none;
}

#preloadBar {
    width: 0;
    height: 20px;
    background-color: white;
    text-align: center;
    line-height: 30px;
    color: black;
    /* Changing text color to black so it's visible on white background */
    border-radius: 5px;
    transition: width 0.3s;
}

#loadingTitle {
    font-size: 16px;
    margin-bottom: 10px;
    color: white;
    /* Changed to white */
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #999;
    outline: none;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #6666ff;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #6666ff;
    cursor: pointer;
}

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: portrait) {
    .canvas-container {
        max-width: 80%;
        margin: 0 auto;
    }
}