
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');

body {
    font-family: Montserrat, sans-serif !important;
    /* Apply the gradient background using variables */
    /*background-image: linear-gradient(to bottom, var(--primary-dark), var(--primary-light));*/
	background-color:#ffffff;
    background-attachment: fixed;
    margin: 0;
    padding: 0; /* Remove body padding to allow overlay to cover full page */
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically and horizontally */
    min-height: 100vh; /* Ensure body is at least viewport height for centering */
    color: var(--text-dark);
    /*overflow: hidden; /* Prevent scrollbars when overlay is fixed */
	overflow-x: hidden; /* Prevent horizontal scrollbar if overlay is slightly wider */
}

:root {
    /* Define the color palette as CSS variables */
    --primary-dark: #000879;
    --primary-light: #8000DD;
    --accent-color: #7F2AA9;
    --white: #ffffff;
    --text-dark: #333;
    --form-background: var(--white);
}

.quiz-container {
    width: 90%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative; /* Needed for logo positioning relative to container */
    z-index: 1; /* Ensure content is above the overlay */
}

.menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    color: var(--primary-dark);
    z-index: 100;
    border: 1px solid var(--primary-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-button:hover {
    background-color: var(--accent-color);
    color: var(--white);
}


.submit-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: color-mix(in srgb, var(--accent-color) 80%, black);
}

.submit-button:disabled {
    background-color: #ccc;
    color: var(--white);
    cursor: not-allowed;
}

/* Logo Styles */
.logo-container {
    text-align: center; /* Center the logo horizontally */
    margin-bottom: 0px; /* Add some space below the logo */
}

.logo {
    max-width: 200px; /* Adjust logo size as needed */
    height: auto;
    display: block; /* Remove any extra space below image */
    margin-left: auto;  /* Center logo in container */
    margin-right: auto; /* Center logo in container */
	width: 160px;
}


/* Overlay Image Styles */
.overlay-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}