﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-family:fredoka;
}

body 
{
    background-color: #ced4da; 
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: aliceblue;
    transition: 1s ease;
    width: 80%;
    max-width: 40rem;
    border-radius: 1rem;
    overflow: hidden;
    padding: 1rem 2.5rem;
    border:1px solid black;
}

.question-card {
    background-color: teal;
    border-radius: 1rem;
    margin: 1rem auto;
    padding: 1.5rem 0;
    text-align: center;
}

.answer-card {
    padding: .5rem 0 0;
    display: flex;
    flex-direction: column;
}

button {
    transition: 0.3s;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
    padding: 1rem 0;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

.game-data {
    margin: 1rem auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#start-game,
#end-game {
    text-align: center;
    display: flex;
    flex-direction: column;
    column-gap: 2rem;
}

#start-btn,
#restart-btn {
    cursor: pointer;
    border-radius: 1rem;
    margin: 2rem auto 1rem;
    padding: 1rem 3rem;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    background-color: rgb(64, 107, 226);
}

#in-game,
#end-game {
    display: none;
}

#start-game>p {
    margin: 2rem auto;
}

#timer {
    display: none;
    text-align: left;
    height: 0.5rem;
    width: 100%;
    background-color: rgb(250, 250, 250);
    overflow: hidden;
    border-radius: 1rem;
}

#progress {
    transition: ease;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.5);
}

#message {
    font-size: 1.5rem;
}

