body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    background-image: url('assets/gifgalaxy.gif');
    background-repeat: repeat;
    animation: backgroundFlow 10s linear infinite, colorShift 15s ease-in-out infinite;
}

header {
    background-color: #333;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 5px solid #4CAF50;
    animation: slideInFromLeft 1s ease-out, pulse 2s infinite;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out, transform 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50;
    text-shadow: 0px 0px 5px rgba(255,255,255,0.5);
    transform: scale(1.1);
}

main {
    margin: 20px;
    padding: 20px;
    border-left: 5px solid #4CAF50;
    animation: expandIn 0.5s ease-out forwards;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.button-container button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: buttonGlow 3s ease-in-out infinite;
}

.button-container button:hover {
    background-color: #333;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

section {
    margin-bottom: 20px;
    background-color: #f0b7e3;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: fadeIn 2s ease-out, popIn 0.5s ease-out, float 6s ease-in-out infinite;
    border-radius: 10px;
}

footer {
    text-align: center;
    padding: 10px 20px;
    background-color: #222;
    color: #fff;
    border-top: 5px solid #4CAF50;
    animation: slideInFromRight 1s ease-out, glow 5s ease-in-out infinite;
}

.marquee {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
  
  .marquee div {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes backgroundFlow {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 0; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes expandIn {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px #4CAF50; }
    50% { box-shadow: 0 0 20px #4CAF50; }
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(360deg); }
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 0 8px #4CAF50; }
    50% { box-shadow: 0 0 15px #4CAF50; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}