@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #4b134f, #c94b4b, #4b134f);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: #f0f0f0;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header {
    background: rgba(75, 19, 79, 0.9);
    color: #f0f0f0;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #4b134f;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #c94b4b;
}

main {
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

section {
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
    background: rgba(75, 19, 79, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 45%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
}

section:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

footer {
    background: rgba(75, 19, 79, 0.95);
    color: #f0f0f0;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #c94b4b;
    position: relative;
    z-index: 10;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 5px 0;
    }

    main {
        padding: 10px;
    }

    footer {
        position: static;
    }
}