body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background-color: #1b1f1b;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: 'Nadpis';
    src: url('minecraft-ten-font/MinecraftTen-VGORe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.nadpis {
    font-family: 'Nadpis', sans-serif;
    color: #edfeed;
}

.particle {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    animation: fall linear infinite;
    opacity: 0.9;
}

.particle:nth-child(4n+0) {
    background-image: url('img/minecraft-chicken.gif');
}

.particle:nth-child(4n+1) {
    background-image: url('img/ukazka.gif');
}

.particle:nth-child(4n+2) {
    background-image: url('img/cooked.webp');
}

.particle:nth-child(4n+3) {
    background-image: url('img/egg.png');
}



@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0);
    }

    100% {
        top: 110%;
        transform: translateX(50px);
    }
}

.particle:nth-child(1) {
    left: 5%;
    animation-duration: 5.8s;
}

.particle:nth-child(2) {
    left: 15%;
    animation-duration: 3.3s;
}

.particle:nth-child(3) {
    left: 25%;
    animation-duration: 4.2s;
}

.particle:nth-child(4) {
    left: 35%;
    animation-duration: 5.5s;
}

.particle:nth-child(5) {
    left: 45%;
    animation-duration: 2.9s;
}

.particle:nth-child(6) {
    left: 55%;
    animation-duration: 3.5s;
}

.particle:nth-child(7) {
    left: 65%;
    animation-duration: 5.8s;
}

.particle:nth-child(8) {
    left: 75%;
    animation-duration: 4.3s;
}

.particle:nth-child(9) {
    left: 85%;
    animation-duration: 5.7s;
}

.particle:nth-child(10) {
    left: 95%;
    animation-duration: 4.9s;
}

.particle:nth-child(11) {
    left: 10%;
    animation-duration: 3.5s;
}

.particle:nth-child(12) {
    left: 20%;
    animation-duration: 5.8s;
}

.particle:nth-child(13) {
    left: 30%;
    animation-duration: 5.9s;
}

.particle:nth-child(14) {
    left: 40%;
    animation-duration: 4.2s;
}

.particle:nth-child(15) {
    left: 50%;
    animation-duration: 3.1s;
}

.particle:nth-child(16) {
    left: 60%;
    animation-duration: 3.3s;
}

.particle:nth-child(17) {
    left: 70%;
    animation-duration: 5.4s;
}

.particle:nth-child(18) {
    left: 80%;
    animation-duration: 3.6s;
}

.particle:nth-child(19) {
    left: 90%;
    animation-duration: 4.8s;
}

.particle:nth-child(20) {
    left: 100%;
    animation-duration: 5s;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.content h1 {
    font-size: 5rem;
    color: #fcf7e1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}