body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    flex-direction: column;
}

.container {
    text-align: center;
    max-width: 800px;
    width: 90%;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: auto;
    overflow-y: auto;
    max-height: 90vh;
}

.header, .description, .frame {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h1 {
    font-family: 'Georgia', serif;
    font-size: 2em;
    margin: 0;
}

.description p {
    font-size: 1.2em;
    margin: 0;
    line-height: 1.5;
}

#question-container, #image-container {
    text-align: center;
}

#image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#image-container .frame {
    width: 100%;
    margin-bottom: 20px;
}

#image-question {
    font-size: 1.5em;
}

#options button {
    display: block;
    width: calc(100% - 40px);
    max-width: 400px;
    padding: 10px;
    margin: 10px auto;
    font-size: 1em;
    border: none;
    background: #007BFF;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#options button:hover {
    background: #0056b3;
}

#clock-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 0;
}

#clock-container img {
    width: 400px;
    height: 400px;
    cursor: pointer;
    transition: transform 0.2s;
    margin: 10px;
}

#clock-container img:hover {
    transform: scale(1.1);
}

#timer {
    font-size: 2em;
    font-weight: bold;
    color: #d9534f;
    margin-top: 20px;
}

#result-container {
    display: none;
}

#result-container p {
    font-size: 1.2em;
}

#result-container p strong {
    font-weight: bold;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 10px;
    text-decoration: none;
}

.button:hover {
    background: #218838;
}

footer {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 100%;
    position: fixed;
    bottom: 0;
}

@media (max-width: 600px) {
    .container {
        width: 90%;
    }
    #image-question {
        font-size: 1.2em;
    }
    #options button {
        width: calc(100% - 20px);
        font-size: 0.9em;
    }
    #clock-container {
        flex-direction: column;
        align-items: center;
    }
    #clock-container img {
        width: 90%;
        height: auto;
    }
    #timer {
        font-size: 1.5em;
    }
}
