body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-image: linear-gradient(to right, #333, #444);
    background-size: 150%;
    background-position: left top;
    animation: backgroundMarquee 8s ease infinite; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

@keyframes backgroundMarquee {
    0% {
        background-image: linear-gradient(to right, #333, #444);
        background-size: 150%; /* Start zoomed in */
        background-position: left top; /* Start from the left */
    }
    50% {
        background-image: linear-gradient(to right, #444, #333);
        background-size: 100%; /* Normal size in the middle */
        background-position: center top; /* Centered */
    }
    100% {
        background-image: linear-gradient(to right, #333, #444);
        background-size: 150%; /* Zoomed out */
        background-position: right top; /* Ends on the right */
    }
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

header nav {
    display: flex;
    justify-content: space-between;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 1rem;
}

header nav a {
    text-decoration: none;
    color: white;
}

header nav a:hover {
    color: #FFC107;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main .container {
    background-image: linear-gradient(to right, #333, #444);
    background-size: 150%;
    background-position: left top;
    animation: backgroundMarquee 8s ease infinite; 
    padding: 0 1rem;
    margin-bottom: 20px;
    border-radius: 10px;
}

main .container h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

main .resources {
    margin-top: 2rem;
}

.resource {
    background-color: #FFFFFF;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.resource h3 {
    margin-top: 0;
}

.resource p {
    margin-bottom: 1rem;
}

.footer {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}

.cta {
    background-color: #FFC107;
    color: #333;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.cta:hover {
    background-color: #FFA07A;
}