body {
    font-family: Comic Sans MS, cursive, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ff69b4; /* Eye-burning pink */
    color: #00ff00; /* Toxic green */
    scroll-behavior: smooth;
    cursor: url('images/crazy-cursor.png'), auto; /* Use a custom crazy cursor */
    line-height: 1.5; /* For better readability */
}

header {
    text-align: center;
    padding: 180px;
    background: linear-gradient(45deg, #ff0000, #0000ff);
    animation: backgroundShift 4s infinite;
}

h1 {
    font-size: 8em;
    color: #ffff00;
    text-shadow: 4px 4px #000;
}

#collage {
    padding: 60px;
    background: repeating-linear-gradient(45deg, #ff00ff, #ff00ff 10px, #0000ff 10px, #0000ff 20px);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.gallery img {
    width: 100%;
    max-width: 350px;
    border: 5px dotted #ffff00;
    border-radius: 50%;
    transition: transform 0.2s, filter 0.2s;
    animation: spin 4s linear infinite;
}

.gallery img:hover {
    transform: rotate(360deg) scale(1.5);
    filter: hue-rotate(360deg);
}

footer {
    text-align: center;
    padding: 50px;
    background-color: #00ff00;
    color: #0000ff;
    font-size: 3em;
    text-shadow: 5px 5px #ff0000;
}

video {
    display: block;
    margin: 50px auto;
    width: 90%;
    max-width: 900px;
    border: 10px solid #ff00ff;
    border-radius: 50px;
    animation: shake 1s infinite;
}

img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

@keyframes flashText {
    0%, 100% { color: #ff0000; }
    50% { color: #00ff00; }
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    25% { transform: translate(-1px, -2px) rotate(-1deg); }
    50% { transform: translate(-3px, 0px) rotate(1deg); }
    75% { transform: translate(3px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -1px) rotate(-1deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); 
    }
    40% {
        transform: translateY(-40px); 
    }
    60% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 5em;
    }

    footer {
        font-size: 2em;
    }

    #collage h2 {
        font-size: 4em;
    }

    .gallery img {
        max-width: 90%;
    }

    video {
        max-width: 100%;
        margin: 20px auto;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    footer p {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3.5em;
    }

    footer {
        font-size: 1.5em;
    }

    #collage h2 {
        font-size: 3em;
    }

    .gallery img {
        max-width: 100%;
        margin: 10px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    footer p {
        font-size: 1.8em;
    }

    video {
        max-width: 100%;
        margin: 10px auto;
    }

    p {
        font-size: 2em;
    }
}
