/* Ensure the HTML and body cover the full height of the viewport */
html, body {
    height: 100%;
    margin: 0;
}

/* Use a wrapper for the content */
.body-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    background-color: #000000;
    padding: 20px 0;
    text-align: right;
    color: #fffefe;
    text-decoration: none;
    font-size: 18px;
    margin-right: 20px;
    margin-top: auto; /* This line should be reinstated to push the footer to the bottom */
}

footer a {
    color: #fffefe;
    text-decoration: none;
    font-size: 18px;
    margin-right: 20px;
}

@font-face {
    font-family: 'Hedgehog';
    src: url('/static/fonts/Inika-Regular.ttf') format('truetype');
}

header {
	display: flex;
    font-family: 'Hedgehog', 'Arial', sans-serif;
    text-align: left;
    /* Add left padding */
    padding-left: 200px;
    /* Add right padding */
    padding-right: 200px;
    background-color: #ffffff;
    padding: 20px 0;
    text-align: left;
}

.logo {
    display: flex; /* Activates Flexbox layout model */
    align-items: flex-end; /* Aligns items to the end of the container (bottom) */
	gap: 1ch; /* Adds a gap between the flex items */
}

.logo {
    display: flex; /* Use Flexbox */
    align-items: flex-end; /* Align children to the bottom */
    /* Ensure the logo and text are on the same line */
    flex-direction: row;
}

body {
    font-family: 'Hedgehog', 'Arial', sans-serif;
    background-color: #ffffff; /* White background */
    text-align: center;
    color: #333; /* Dark text color */
}

.quiz-container {
    background-color: #ffffff; /* White background */
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    /* box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); */
    border: 2px solid #3D8AE3; /* Border */
    margin: 20px auto; /* Center the container and add margin */
    max-width: 600px; /* Maximum width */
	font-family: 'Hedgehog', 'Arial', sans-serif;
    font-size: 20px;
}

.container2 {
    background-color: #ffffff; /* White background */
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    margin: 20px auto; /* Center the container and add margin */
    max-width: 600px; /* Maximum width */
}


input[type=number] {
    font-size: 20px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    width: 80%; /* Adjust width */
}

input[type=submit] {
    background-color: #000000; /* Black color */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Hedgehog', 'Arial', sans-serif;
    font-size: 20px;
    margin-top: 20px;
}

input[type=reset] {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Hedgehog', 'Arial', sans-serif;
    font-size: 20px;
    margin-top: 20px;
}


@media (max-width: 480px) {
    body {
        padding: 10px;
        font-size: 14px; /* Adjust font size for readability */
    }

    .quiz-container {
        padding: 10px;
        width: auto; /* Allow the container to expand as needed */
        margin: 10px 5%; /* Adjust margin for spacing */
    }

    input[type=number], input[type=submit] {
        font-size: 18px; /* Adjust font size for ease of use */
        padding: 8px 12px; /* Adjust padding */
        width: 90%; /* Adjust width for smaller screens */
    }
}
