#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 9999;
    flex-direction: column;
}

#logo {
    width: 184px;
    height: 84.56px;
    margin-bottom: 20px;
}

#loading-text {
    position: absolute;
    bottom: 10px;
    font-size: 28px;
    font-style: italic;
    color: #000;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}
/* Contenedor de imágenes */
.random-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Imágenes aleatorias */
.random-image {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0);
    animation: imageSequence 4s infinite linear;
}

/* Animación rápida */
@keyframes imageSequence {
    0% { opacity: 0; transform: scale(0); }
    10% { opacity: 1; transform: scale(1); }
    15% { transform: scale(1.1); }
    70% { opacity: 1; transform: scale(1); }
    80% { opacity: 0; transform: scale(0); }
    100% { opacity: 0; }
}

/* Posiciones manuales + delays de 1s */
.random-image:nth-child(1) {
    top: 20%; left: 20%; animation-delay: 0s;
}
.random-image:nth-child(2) {
    top: 30%; left: 60%; animation-delay: 1s;
}
.random-image:nth-child(3) {
    top: 60%; left: 25%; animation-delay: 2s;
}
.random-image:nth-child(4) {
    top: 65%; left: 65%; animation-delay: 3s;
}
.random-image:nth-child(5) {
    top: 5%; left: 50%; animation-delay: 4s;
}
.random-image:nth-child(6) {
    top: 65%; left: 15%; animation-delay: 5s;
}
.random-image:nth-child(7) {
    top: 75%; left: 90%; animation-delay: 6s;
}
.random-image:nth-child(8) {
    top: 50%; left: 80%; animation-delay: 7s;
}
.random-image:nth-child(9) {
    top: 20%; left: 40%; animation-delay: 8s;
}
.random-image:nth-child(10) {
    top: 50%; left: 60%; animation-delay: 9s;
}
.random-image:nth-child(11) {
    top: 70%; left: 10%; animation-delay: 10s;
}

.random-image:nth-child(12) {
    top: 70%; left: 10%; animation-delay: 11s;
}

/* Ajustes especiales */
.random-image[style*="dexter.jpg"] {
    top: 60% !important;
    /* Posición corregida */
    left: 20% !important;
    animation-timing-function: ease-in-out;
}

.random-image[style*="diversey.webp"] {
    bottom: 60% !important;
    left: 65% !important;
    animation-duration: 3.5s;
}




@media (min-width: 768px) {
#logo {
    width: 254px; 
    height: 116px; 
}

#loading-text {
    position: absolute;
    bottom: 10px; 
    right: 10px; 
    font-size: 40px; 
}

/* Contenedor de imágenes */
.random-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Imágenes aleatorias */
.random-image {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0);
    animation: imageSequence 4s infinite linear;
}

/* Animación rápida */
@keyframes imageSequence {
    0% { opacity: 0; transform: scale(0); }
    10% { opacity: 1; transform: scale(1); }
    15% { transform: scale(1.1); }
    70% { opacity: 1; transform: scale(1); }
    80% { opacity: 0; transform: scale(0); }
    100% { opacity: 0; }
}

/* Posiciones manuales + delays de 1s */
.random-image:nth-child(1) {
    top: 20%; left: 30%; animation-delay: 0s;
}
.random-image:nth-child(2) {
    top: 18%; left: 50%; animation-delay: 0.5s;
}
.random-image:nth-child(3) {
    top: 33%; left: 75%; animation-delay: 1s;
}
.random-image:nth-child(4) {
    top: 20%; left: 65%; animation-delay: 1.3s;
}
.random-image:nth-child(5) {
    top:40%; left: 10%; animation-delay: 1.5s;
}
.random-image:nth-child(6) {
    top: 65%; left: 50%; animation-delay: 2s;
}
.random-image:nth-child(7) {
    top: 80%; left: 80%; animation-delay: 2s;
}
.random-image:nth-child(8) {
    top:25%; left:0%; animation-delay: 3s;
}
.random-image:nth-child(9) {
    top: 50%; left: 10%; animation-delay: 3s;
}
.random-image:nth-child(10) {
    top: 68%; left: 68%; animation-delay: 4s;
}
.random-image:nth-child(11) {
    top: 50%; left: 75%; animation-delay: 4s;
}
.random-image:nth-child(12) {
    top: 65%; left: 30%; animation-delay: 4s;
}



.random-image[style*="diversey.webp"] {
    left: 10% !important;
    animation-duration: 3.5s;


}

}
@media (min-width: 1024px) {
    #loading-text {
        font-size: 90px;
    }
}