body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #111;
    color: #eee;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #111;
    top: 0;
    left: 0;
    z-index: -1;
}

.scene {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 1rem;
    gap: 2rem;
    flex-wrap: nowrap;
}

.step {
    text-align: center;
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step img {
    width: 100px;
    margin-bottom: 1rem;
}

.arrow {
    font-size: 2rem;
    color: #0f0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.arrow.visible {
    opacity: 1;
}

button {
    margin-top: 1rem;
    background-color: #0f0;
    color: #111;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0c0;
}

@media (max-width: 768px) {
    .scene {
        flex-direction: column;
        height: auto;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

.log-stream {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    /* Aumenta la separación vertical */
}

.log-stream img {
    width: 100px;
    height: 100px;
    z-index: 2;
    position: relative;
}

.log-stream .log {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 60px;
    height: 16px;
    background-color: #0f0;
    color: #111;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    animation: emitLog 2s linear infinite;
}

.log-stream .log:nth-child(2) {
    animation-delay: 0.5s;
}

.log-stream .log:nth-child(3) {
    animation-delay: 1s;
}

@keyframes emitLog {
    0% {
        left: 100%;
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.log-line {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    animation: emitLog 3s linear infinite;
}

.log-line:nth-child(2) {
    top: 60%;
    animation-delay: 1s;
}

.log-line:nth-child(3) {
    top: 75%;
    animation-delay: 2s;
}

.log-line:nth-child(4) {
    top: 90%;
    animation-delay: 3s;
}

.log {
    background-color: #0f0;
    color: #111;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

@keyframes emitLog {
    0% {
        left: 100%;
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.splunk-washer {
    width: 60px;
    height: 60px;
    border: 3px solid #0f0;
    border-radius: 50%;
    margin: 10px auto;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.splunk-washer .arrow-head {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #0f0;
}

.splunk-washer.rotate {
    animation: rotateWasher 2s linear infinite;
}

@keyframes rotateWasher {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Imagen del cubo (Envío a Splunk) */
.step img[alt="Envío a Splunk"] {
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor del círculo rotatorio */
.circle-container {
    margin-top: 1rem;
    /* sin separación extra */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Icono giratorio dentro del círculo */
.rotating-circle {
    border: 2px solid #0f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0f0;
    font-size: 1.5rem;
    transition: transform 1s linear;
}

/* Animación al hacer clic */
.circle-container.rotate .rotating-circle {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}