﻿/* ✅ Ensures background covers all screens properly */
		html, body {
		    height: 100%;
		    margin: 0;
		    padding: 0;
		    overflow: hidden; /* Prevent horizontal scrolling */
		}
        body {
            background-image: url('background.gif'); /* Replace with actual image URL */
		    background-size: cover;
		    background-position: center center;
		    background-repeat: no-repeat;
		    background-attachment: fixed; /* Optional: Enables parallax effect */
		    display: flex;
		    flex-direction: column;
		    align-items: center;
		    justify-content: center;
		    text-align: center;
		    font-family: Arial, sans-serif;
		    color: white;
		    padding: 20px; 
		    overflow: hidden; /* Prevent horizontal scrolling */
       }

        /* ✅ Keeps title fixed in place */
        .header-container {
            position: fixed;
            top: 20px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 10;
        }

        h1 {
            font-size: 2.5rem;
            text-shadow: 2px 2px 5px black;
            margin-bottom: 10px;
        }

        /* ✅ Button stays fixed below the title */
        button {
            font-size: 1.5rem;
            padding: 15px 30px;
            border: none;
            border-radius: 10px;
            background-color: #ff0000; /* Red button */
            color: white;
            cursor: pointer;
            box-shadow: 3px 3px 10px black;
            transition: 0.3s ease-in-out;
            max-width: 300px;
            width: 90%;
            display: block;
            margin: 10px auto;
            text-align: center;
        }

        button:hover {
            background-color: #cc0000;
        }

        /* ✅ Quiz container now appears BELOW without moving anything */
        #quiz-container {
            display: none;
            margin-top: 100px; /* ✅ Adds spacing so the quiz starts below */
            padding: 15px;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            border-radius: 10px;
            text-align: center;
            max-width: 500px;
            width: 90%;
        }

        /* ✅ Responsive typography adjustments */
        @media (max-width: 768px) {
            h1 {
                font-size: 1.75rem;
            }
            button {
                font-size: 1.2rem;
                padding: 10px 20px;
            }
            #quiz-container {
                padding: 10px;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.2rem;
            }
            button {
                font-size: 1rem;
                padding: 10px 20px;
            }
            #quiz-container {
                padding: 10px;
            }
        }
