@keyframes fall {
    0% {
        top: -60px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        top: calc(100vh + 60px);
        opacity: 0;
    }
}

.emoji-plane, .emoji-car {
    animation: fall 3s forwards;
    animation-iteration-count: infinite;
}

@keyframes fly {
    0% { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    25% { transform: translateX(-25vw) translateY(-20px) rotateY(90deg) rotateZ(90deg); }
    50% { transform: translateX(-50vw) translateY(0) rotateY(180deg) rotateZ(180deg); }
    75% { transform: translateX(-75vw) translateY(20px) rotateY(270deg) rotateZ(270deg); }
    100% { transform: translateX(-100vw) translateY(0) rotateY(360deg) rotateZ(360deg); }
}

@keyframes fly2 {
    0% { transform: translateX(0) translateY(0) rotate(-90deg); }
    100% { transform: translateX(-120vw) translateY(10px) rotate(-90deg); }
}

@keyframes fire-animation {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    background: linear-gradient(45deg, #ff0000, #ff9900, #ffcc00, #ffff00, #ffcc00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }
.letter:nth-child(6) { animation-delay: 0.6s; }
.letter:nth-child(7) { animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }
.letter:nth-child(9) { animation-delay: 0.9s; }
.letter:nth-child(10) { animation-delay: 1.0s; }
.letter:nth-child(11) { animation-delay: 1.1s; }
.letter:nth-child(12) { animation-delay: 1.2s; }
.letter:nth-child(13) { animation-delay: 1.3s; }
.letter:nth-child(14) { animation-delay: 1.4s; }
.letter:nth-child(15) { animation-delay: 1.5s; }
.letter:nth-child(16) { animation-delay: 1.6s; }
.letter:nth-child(17) { animation-delay: 1.7s; }
.letter:nth-child(18) { animation-delay: 1.8s; }
.letter:nth-child(19) { animation-delay: 1.9s; }
.letter:nth-child(20) { animation-delay: 2.0s; }

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

.animated-title {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes moveAndFade {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    20% {
        transform: translateX(20px);
        opacity: 1;
    }
    80% {
        transform: translateX(-20px);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

.small-square:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.small-square:nth-child(2) {
    top: 10%;
    left: 50%;
    animation-delay: 0.5s;
}

.small-square:nth-child(3) {
    top: 10%;
    left: 80%;
    animation-delay: 1s;
}

.small-square:nth-child(4) {
    top: 30%;
    left: 10%;
    animation-delay: 1.5s;
}

.small-square:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 2s;
}

.small-square:nth-child(6) {
    top: 30%;
    left: 80%;
    animation-delay: 2.5s;
}
