@font-face {
    font-family: 'Comic';
    src: url('assets/Comic.ttf') format('truetype');
}

body {
    font-family: 'Comic', 'Comic Sans MS', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

#game-container {
    width: 900px;
    height: 650px;
    background-color: #fff;
    border: 2px solid #333;
    position: relative;
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1 {
    font-size: 36px;
    color: #000;
}

h2 {
    font-size: 32px;
}

p {
    font-size: 24px;
}

button {
    padding: 15px 30px;
    font-family: 'Comic', sans-serif;
    font-size: 24px;
    color: #fff;
    background-color: #005032; /* VERDE_OSCURO */
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #90ee90; /* VERDE_CLARO */
}

.main-image {
    width: 300px;
    margin: 20px 0;
}

.medium-image {
    width: 180px;
    margin-bottom: 20px;
}

/* --- Pantalla de Juego --- */
#game-screen {
    justify-content: flex-start;
}

.header {
    width: 100%;
    height: 80px;
    background-color: #005032; /* VERDE_OSCURO */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-image {
    width: 80px;
    height: 50px;
}

#level-title {
    font-size: 30px;
}

.timer {
    display: flex;
    align-items: center;
    font-size: 36px;
}

.timer img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

#question-text {
    font-size: 30px;
    color: #000;
    margin: 40px 50px;
    min-height: 80px;
}

#options-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.option-button {
    width: 700px;
    height: 60px;
    background-color: #90ee90; /* VERDE_CLARO */
    color: #000;
    font-size: 24px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.option-button:hover:not(.disabled) {
    background-color: #005032; /* VERDE_OSCURO */
    color: #fff;
}

.option-button.correct {
    background-color: #005032; /* VERDE_OSCURO */
    color: #fff;
}

.option-button.incorrect {
    background-color: #ce1126; /* ROJO_MEXICANO */
    color: #fff;
}

.option-button.disabled {
    background-color: #c8c8c8; /* GRIS */
    color: #fff;
    cursor: default;
}

.timer.alert {
    color: #ce1126; /* ROJO_MEXICANO */
}