:root {
    --primary-color: #0056b3;
    --secondary-color: #003d7a;
    --background-color: #f0f0f0;
    --text-color: #333;
    --card-background: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-size: 18px;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.container {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    width: 98%;
    height: 98vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    color: var(--primary-color);
}

h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.2em;
}

.quiz-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
    font-size: 1.2em;
    width: 100%;
    text-align: center;
}

.quiz-link:hover {
    background-color: var(--secondary-color);
}

footer {
    margin-top: 2rem;
    font-size: 1em;
    color: #666;
    text-align: center;
}

.info-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

.speak-btn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.speak-btn:hover {
    background-color: var(--secondary-color);
}

.desktop-logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 180px;
    height: auto;
}

.mobile-logo {
    display: none;
}

.content {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    margin-top: 2rem;
}

.exam-section {
    flex: 1;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exam-content {
    flex-grow: 1;
}

.exam-button {
    margin-top: auto;
    padding-top: 1rem;
}
