body {
    margin: 0;
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.desktop,
.mobile {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.mobile {
    display: none;
}

.loader {
    position: absolute;
    left: 50%;
    top: 13%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
}

.loader span {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .loader {
        top: 18.5%;
        gap: 8px;
    }

    .loader span {
        width: 10px;
        height: 10px;
    }
}
