﻿/* ==== GENERAL ==== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
    background: linear-gradient(120deg, #fefefe, #fff7f0, #f0fff4, #fefefe);
    background-size: 400% 400%;
    animation: bgShift 20s ease infinite;
}

/* ==== HEADER ==== */
header {
    background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853, #4285F4);
    background-size: 400% 400%;
    animation: rainbowShift 8s linear infinite;
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* ==== NAVBAR ==== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .navbar a {
        color: white;
        text-decoration: none;
        margin-left: 1rem;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

        .navbar a:hover {
            text-decoration: underline;
        }

/* ==== MAIN CONTENT ==== */
main.content {
    padding: 2rem;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    margin: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==== HERO ==== */
.hero {
    background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC05, #34A853, #4285F4);
    background-size: 400% 400%;
    animation: rainbowShift 10s linear infinite;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 0 0 40px 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

    .hero h2 {
        margin-bottom: 1rem;
        font-size: 2.5rem;
        background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-size: 300%;
        animation: rainbowShift 8s linear infinite;
    }

/* ==== BUTTONS ==== */
.btn {
    background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853);
    background-size: 400% 400%;
    animation: rainbowShift 6s linear infinite;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease;
    display: inline-block;
}

    .btn:hover {
        transform: scale(1.05);
    }

/* ==== FOOTER ==== */
footer {
    background: linear-gradient(90deg, #34A853, #FBBC05, #EA4335, #4285F4, #34A853);
    background-size: 400% 400%;
    animation: rainbowShift 12s linear infinite;
    text-align: center;
    padding: 1rem;
    color: white;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ==== ANIMATIONS ==== */
@keyframes rainbowShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes bgShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}
