/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #F8F8F8;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
}

/* Image Fade In/Out Loop */
#image-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Ensure it's behind other content */
    background-size: cover;
    background-position: center;
    animation: fadeImages 9s infinite;
    opacity: 0;
}

@keyframes fadeImages {
    0%, 33.33% {
        opacity: 1;
        background-image: url('images/page1.jpg'); /* First Image */
    }
    33.34%, 66.66% {
        opacity: 1;
        background-image: url('images/page2.jpg'); /* Second Image */
    }
    66.67%, 100% {
        opacity: 1;
        background-image: url('images/page1.jpg'); /* Third Image */
    }
}

/* Header */
header {
    background-color: #2C8C84;
    color: white;
    padding: 60px;
    font-size: 14px; /* Reduced font size */
    text-align: center;
}

/* Back Button */
.back-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #1D6D66;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 16px;
    position: absolute;
    left: 10px;
    top: 10px;
}

.back-btn:hover {
    background-color: #155954;
}

/* Form Container */
.form-container {
    background: white;
    margin: 40px auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Form Titles */
.form-container h2 {
    color: #2C8C84;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Google Form Iframe */
iframe {
    width: 100%;
    height: 600px;
    border-radius: 5px;
}


/* Footer */
footer {
    background-color: #2C8C84; /* Game Point Green */
    color: white;
    text-align: center;
    padding: 20px 15px;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 50px; /* Adds space between content and footer */
}

/* Social Icons */
footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer .social-icons a {
    font-size: 22px;
    transition: transform 0.3s ease-in-out;
}

footer .social-icons a:hover {
    transform: scale(1.2);
}

/* Copyright Text */
footer p {
    font-size: 14px;
    margin-top: 5px;
}

/* Logo Styling */
footer .header-logo {
    width: 120px;
    height: auto;
    margin-top: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

footer .header-logo:hover {
    transform: scale(1.1);
}

/* Ensures Footer Stays at Bottom if Content is Short */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        padding: 15px;
    }

    footer .social-icons a {
        font-size: 20px;
    }

    footer p {
        font-size: 12px;
    }

    footer .header-logo {
        width: 100px;
    }
}