

body {
    margin: 0;
    padding: 20px;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;

    text-align: center;
}


/* Main game containers */

#startScreen,
#gameScreen {
    width: 60%;
    max-width: 600px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Hidden */

.hidden {
    display: none !important;
}


/* =========================================================
   TITLE
   ========================================================= */

#startScreen h1 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: clamp(
        28px,
        7vw,
        44px
    );
}


/* =========================================================
   PLAYER INPUTS
   ========================================================= */

#playerInputs {
    width: 100%;
    max-width: 450px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    margin: 15px auto;
}


#playerInputs input {
    width: 100%;

    max-width: 400px;

    box-sizing: border-box;

    padding: 16px;

    font-size: 18px;

    text-align: center;

    border-radius: 12px;

    border: 2px solid #ccc;

    outline: none;
}


#playerInputs input:focus {
    border-color: #ff9800;
}


/* =========================================================
   QUESTION SELECTION
   ========================================================= */

.question-selection {
    width: 100%;
    max-width: 400px;

    margin: 20px auto;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 10px;
}


.question-selection label {
    font-size: 18px;
    font-weight: bold;
}


#questionCount {
    width: 100%;

    max-width: 300px;

    padding: 14px;

    font-size: 18px;

    text-align: center;

    border-radius: 12px;

    border: 2px solid #ccc;

    background: white;
}


/* =========================================================
   ALL MAIN BUTTONS
   ========================================================= */

button {
    cursor: pointer;
background:lightblue;
    min-height: 58px;

    padding: 14px 28px;

    border: none;

    border-radius: 14px;

    font-size: 40px;

    font-weight: bold;

    touch-action: manipulation;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}


button:hover {
    transform: scale(1.03);
}


button:active {
    transform: scale(0.96);
}


/* =========================================================
   ADD PLAYER
   ========================================================= */

#addPlayer {
    width: 100%;

    max-width: 400px;

    margin: 5px auto 10px;
}


/* =========================================================
   START GAME
   ========================================================= */

#startGame {
    width: 100%;

    max-width: 400px;

    min-height: 70px;

    margin: 20px auto;

    font-size: 24px;
}


/* =========================================================
   GAME SCREEN
   ========================================================= */

#gameScreen {
    gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

#card {
    width: 100%;

    max-width: 500px;

    min-height: 300px;

    margin: 10px auto;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 35px 25px;

    border-radius: 24px;

    user-select: none;

    touch-action: pan-y;
}


/* Card category */

#category {
    margin-bottom: 25px;

    font-size: 22px;

    font-weight: bold;

    text-transform: uppercase;
}


/* Card question */

#cardText {
    width: 100%;

    font-size: clamp(
        24px,
        6vw,
        38px
    );

    line-height: 1.3;

    font-weight: bold;
}


/* =========================================================
   CARDS LEFT
   ========================================================= */

#cardsLeft {
    font-size: 17px;

    font-weight: bold;

    margin: 5px auto 10px;
}


/* =========================================================
   NEXT CARD BUTTON
   ========================================================= */

#nextButton {
    width: 60%;
background:darkred;
    max-width: 450px;

    min-height: 75px;

    margin: 15px auto;

    font-size: 50px;

    font-weight: bold;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body {
        padding: 15px;
    }


    #card {
        min-height: 320px;

        padding: 30px 20px;

        border-radius: 20px;
    }


    #nextButton {
        min-height: 80px;

        font-size: 24px;
    }


    button {
        min-height: 62px;

        font-size: 20px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    body {
        padding: 10px;
    }


    #card {
        min-height: 280px;

        padding: 25px 15px;
    }


    #cardText {
        font-size: 25px;
    }


    #nextButton {
        min-height: 70px;

        font-size: 22px;
    }

}
```
