@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat:wght@500&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
    overflow-y: auto;
}

.main-panel {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 20px auto;
}

header {
    background-color: #fff;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-size: 20px;
    font-weight: bold;
}

header h1 {
    font-family: 'Lobster', cursive;
    font-size: 40px;
    font-weight: bold;
    color: #333;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav li {
    margin: 0 15px;
}

header nav a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

header nav a:hover {
    color: #0056b3;
}

.content-panel {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 95%;
    padding: 20px;
    align-items: center;
}

.quiz-area {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    border: 1px solid #ddd;
    gap: 30px;
}

.quiz-panel {
    flex: 3;
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
}

.quiz {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.question {
    font-size: 22px;
    font-weight: 300;
    min-height: 50px;
    margin-bottom: 20px;
}

.options-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}

.options {
    flex: 2;
    display: flex;
    flex-direction: column;

}

.score-timer-panel {
    flex: 1;
    background: #007bff;
    color: white;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    min-width: 150px;
	margin-top: 10px;
}


#score, #timer {
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    display: inline-block;
    width: 120px;
    text-align: center;
}

.options button {
    display: block;
    margin: 10px auto;
    padding: 15px;
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
    transition: background 0.3s ease-in-out, transform 0.1s;
	font-family: 'Montserrat', sans-serif;
}

.options button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.options button.correct {
    background: #28a745 !important;
}

.options button.wrong {
    background: #dc3545 !important;
}

footer {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.1);
    width: 70%;
    margin: 10px auto;
    position: relative;
    bottom: 0;
    border-radius: 10px;
}

footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #0056b3;
}
