body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #080808;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0px;
    height: 100%;
    overflow: hidden;

    border-radius: 30px;
    margin: 0;
    padding: 0;
    background-image: url('assets/images/prompts/default_scaled.png');
    /* Path to your image */
    /* background-size: cover; */
    background-size: 130%;
    /* Cover the entire page */
    background-repeat: no-repeat;
    /* Prevent the image from repeating */
    background-attachment: fixed;
    /* Optional: Fix the background image during scroll */
    /* background-position: bottom 120px left -20px; */
    box-sizing: border-box;
}

header .small_logo {
    position: absolute;
    top: -10px;
    left: 8%;
    transform: translateX(-50%) rotate(-15deg) scale(1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 10;
    overflow: hidden;
    filter: grayscale(80%);
}

header p {
    margin: 0;
    padding: 0 0 20px;
    font-size: 1em;
    color: #080808;
}

/* Keyframes for zooming effect */
@keyframes backgroundZoom {
    0% {
        background-size: 130%;
    }

    50% {
        background-size: 140%;
    }

    100% {
        background-size: 130%;
    }
}

/* Class to trigger animation */
.bodyBackgroundZoom {
    animation: backgroundZoom 60s ease-in-out;
    animation-fill-mode: forwards;
    transform-origin: bottom 120px left -20px;
}

.container {
    max-width: 600px;
    margin: auto;
    background: #faf9f9a2;
    /* semi white background */
    padding: 1px;
    padding-block: 5%;
    border: 0px solid #a3a3a3;

    border-radius: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* sharper shadow */

    position: absolute;
    top: 40%;
    /* Move the top of the container to 50% of the screen height */
    /* transform: translateY(-10%); Adjust position to center the container vertically */
    left: 50%;
    /* Position the left edge of the container at the center of the parent */
    transform: translateX(-50%);
    width: 95%;
    /* Set the desired width */
    margin: 0 auto;
    /* Center the container horizontally */
    /* Add other styling as needed */
}

.gameLogo {
    max-width: 500px;
    /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

header {
    background: #06060600;
    /* semi white background */
    border-radius: 100px;
    max-width: 100%;
    margin: auto;
}

header h1 {
    color: #050505;
    text-shadow:
        -1px -1px 0 white,
        /* Top-left shadow */
        1px -1px 0 white,
        /* Top-right shadow */
        -1px 1px 0 white,
        /* Bottom-left shadow */
        1px 1px 0 white;
    /* Bottom-right shadow */

    /* charcoal color */
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin: 0;
    padding: 10px 0;
    font-size: 3em;
    /* larger, sharper font size */
    font-weight: bold;
}

button {
    background-color: #333333;
    /* black background */
    color: #ffffff;
    /* white text */
    border: 2px solid #26262600;
    /* charcoal border */
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
}

button:disabled {
    background-color: #cccccc;
    cursor: default;
}

#promptDisplay {
    margin-top: 10px;
    font-size: 1.2em;
    color: #262626;
    /* charcoal text */
}

#timer {
    margin-top: 0px;
    font-weight: bold;
    font-size: 1.5em;
    color: #000000;
    /* black text */
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    /* .body {
        background-position: bottom 120px left -30px;
    } */

    .container {
        width: 97%;
        padding: 5px;
        padding-block: 5%;
        top: 58%;
    }

    .gameLogo {
        max-width: 375px;
    }

    header h1 {
        font-size: 2.0em;
    }

    header p, #promptDisplay, #timer {
        font-size: 0.9em;
    }
}

#promptDisplay {
    min-height: 30px;
    padding-block: 5px;
    margin-top: 20px;
    font-size: 1.2em;
    color: #fbf9f9;
    background: #060606d0;
}

#wordsDisplay {
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
    font-size: 1.1em;
    color: #fbf7f7;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #ffffff5b;
    /* semi white background */
    padding: 1px;
    border-radius: 8px;
}

.context {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.word {
    margin-left: 1px;
    text-transform: uppercase;
    /* Convert text to uppercase */
    background: #0e0d0de0;
    /* semi white background */
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 17px;
    padding-bottom: 5px;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    /* Starting height, but can grow if content wraps */

    margin: 0 5px;
    /* Adds space between words */
    padding: 5px;
    /* Add padding for better presentation */
    flex-wrap: wrap;
    /* Allows text to wrap */

}

.point-value {
    display: inline-block;
    width: 80px;
    /* Fixed width for alignment */
    text-align: right;
    /* Right align the point labels */
    margin-right: 10px;
    /* Space between label and word */
}

#timerBar {
    width: 100%;
    /* Full width initially */
    height: 10px;
    /* Height of the timer bar */
    background-color: #333333;
    /* Charcoal color for the timer bar */
    border-radius: 5px;
    /* Rounded corners */
    transition: width 1s linear;
    /* Smooth transition for width decrease */
    margin-top: 1px;
    /* Some space between the timer number and the bar */
    margin-bottom: 5px;
}

#challengeArea {
    margin-top: 0;
}

#challengeText {
    background-color: #333333;
    /* Charcoal background */
    color: white;
    /* White font color */
    border: 1px solid #444444;
    /* Slightly lighter border for some contrast */
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 1em;
}

#messageText {
    background-color: #333333;
    /* Charcoal background */
    color: white;
    /* White font color */
    border: 1px solid #444444;
    /* Slightly lighter border for some contrast */
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 1em;
}

/* Help Button Style */
#helpButton {
    position: fixed;
    top: 11px;
    right: 4%;
    background-color: #333333;
    color: white;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    /* Ensure it's above other elements */
}

/* Popup Styles */
.popup {
    display: none;
    /* Hidden by default */
    text-align: left;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 80%;
    /* Maximum height */
    width: 90%;
    /* Set a width for the popup */
    border: 1px solid #333;
    background-color: white;
    z-index: 1001;
    /* Above the help button */
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    /* Enable scroll for the whole popup */
}

.popup h1 {
    text-align: center;
}

.popup .sub-title {
    text-align: center;
}

.popup-header {
    position: sticky;
    top: 0;
    background-color: white;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

.popup-content {
    padding: 20px;
}

.close {
    position: absolute;
    right: 10px;
    top: -5px;
    cursor: pointer;
    font-size: 1.8em;
    /* Slightly larger for easier clicking */
}

/* Options popup window */

/* Settings Icon */
.settings-icon {
    position: fixed;
    top: -2px;
    right: 15%;
    cursor: pointer;
    font-size: 55px;
    color: #050505;
    /* Charcoal color */
    z-index: 2000;
}

/* Popup Window */
.popup-window {
    display: none;
    /* Hidden by default */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    max-width: 600px;
    height: auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #FFF;
    /* White background */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Popup Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.popup-content>*:first-child {
    margin-top: 0px;
    /* Reduce the top margin of the first child in popup content */
}

.close-btn {
    cursor: pointer;
    font-size: 30px;
    color: #333;
    /* Charcoal color */
}

/* Range Input */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: 10px 0;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #333;
    /* Charcoal color */
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #333;
    /* Charcoal color */
    cursor: pointer;
}

/* Checkbox Header */
.checkbox-header {
    text-align: center;
    color: #333;
    /* Charcoal color */
    margin: 20px 0;
}

/* Checkbox Header */
.durations-header {
    text-align: center;
    color: #333;
    /* Charcoal color */
    margin: 20px 0;
}

/* Checkboxes */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-group label {
    .checkbox-group label {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
}

.checkbox-group input[type=checkbox] {
    margin-right: 5px;
}

/* Style for category counts */
.checkbox-group span {
    font-size: 0.9em;
    /* Smaller font size for count */
    color: #666;
    /* Lighter text color */
    margin-left: 5px;
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    .popup-window {
        width: 80%;
    }

    .settings-icon {
        font-size: 43px;
    }

    .checkbox-group label {
        display: flex;
        justify-content: flex-start;
        /* Aligns items to the left */
        margin-bottom: 10px;
    }
}

/* Include Challenges Checkbox */
#includeChallenges {
    margin-top: 10px;
}