body {
    margin: 0;
    overflow: hidden;
    background-color: #f9f9f9; 
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #56a4ea;
    font-size: 350%;
}

div.home {
    text-align: center;
}

.button {
    display: inline-block;
    background-color: #ecf5ff;
    color: #56a4ea; 
    border: 2px solid #56a4ea; 
    margin-top: 20px;
    height: 2rem;
    width: 10rem;
    text-align: center;
    line-height: 2rem; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    cursor: pointer; 
}

.button:hover {
    box-shadow: 0px 4px 8px rgba(86, 164, 234, 0.5); 
    transform: scale(1.1); 
}

.game-box {
    background-color: #ffffff; 
    border: 2px solid #dddddd; 
    border-radius: 10px; 
    padding: 40px; 
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); 
    max-width: 1000px; 
    margin: 20px auto; 
}

.game-container {
    width: 80%;
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.hud {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hud-item {
    text-align: center;
}

.hud-prefix {
    font-size: 16px;
    color: #56a4ea;
}

.hud-main-text {
    font-size: 24px;
    color: #56a4ea;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar-full {
    height: 100%;
    width: 0;
    background-color: #56a4ea;
    transition: width 0.3s;
}

h2 {
    color: #56a4ea;
    margin-bottom: 20px;
}

h2#question {
    font-size: 24px; 
    color: #333333; 
    margin-bottom: 20px; 
}

.choice-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    border: 2px solid #dddddd; 
    background-color: #f9f9f9; 
}

.choice-container:hover {
    background-color: #56a4ea;
    color: #ffffff;
}

.choice-prefix {
    background-color: #56a4ea;
    color: #ffffff;
    padding: 12px; 
    border-radius: 5px 0 0 5px;
    margin-right: 10px;
    width: 30px;
    text-align: center;
}

.choice-text {
    flex-grow: 1;
    padding: 12px; 
    color: #333333; 
}

.correct {
    background-color: #4caf50 !important;
    color: #ffffff !important;
}

.incorrect {
    background-color: #f44336 !important;
    color: #ffffff !important;
}

/* End page styling */
.end-container {
    text-align: center;
}

.end-container h1 {
    color: #56a4ea;
    margin-bottom: 20px;
}

.end-container p {
    font-size: 24px;
    color: #56a4ea;
}

.end-container .button-container {
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    background-color: #56a4ea;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #01579b;
}
