﻿/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Layout */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #303030;
    margin: 0;
    position: relative;
    overflow-y: hidden;
}

/* Game Container */
#game {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

/* Title */
.title {
    font-size: 2em;
    margin-bottom: 20px;
}

#categoryTitle{
    color: white;
}

/* Category Selection - Move to the right */
#categorySelection {
    position: absolute;
    top: 100px;
    right: 400px;
    text-align: right;
}

    #categorySelection button {
        display: block;
        margin-bottom: 10px;
        padding: 10px 20px;
        font-size: 1em;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        background-color: #4CAF50;
        color: white;
    }

        #categorySelection button:hover {
            background-color: #45a049;
        }

#questionTitle{
    color: white;
}

/* Question Prompt Buttons - Align to the right */
#questionTypeSelection {
    position: absolute;
    bottom: 100px;
    right: 420px;
    text-align: right;
}

    #questionTypeSelection button {
        display: block;
        margin-bottom: 10px;
        padding: 10px 20px;
        font-size: 1em;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        background-color: #2196F3;
        color: white;
    }

        #questionTypeSelection button:hover {
            background-color: #1E88E5;
        }

/* Video Thumbnail Styling */
#videoThumbnail img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 10px auto;
}

/* Game Area */
#gameArea.hidden {
    display: none;
}

#gameArea {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Input */
input {
    width: 80%;
    padding: 10px;
    font-size: 1em;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Buttons in Game Area */
button {
    padding: 10px 20px;
    font-size: 1em;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
}

    button:hover {
        background-color: #45a049;
    }
