@font-face {
    font-family: 'Terminal';
    src: local('Terminal'), url('https://fonts.cdnfonts.com/s/41879/Terminal.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    overflow: hidden;
    font-family: 'Terminal', monospace;
}

.image-container {
    position: fixed; /* Fijar el fondo */
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden; /* Evitar desbordamiento */
}

.interactive-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajustar sin recortar */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrar la imagen */
}

}

.dialog-title {
    position: absolute;
    cursor: grab;
}

#title1 { transform: scale(1); }
#title2 { transform: scale(2); }
.nube { transform: scale(1.5); }

.dialog-text {
    position: absolute;
    font-size: 30px;
    font-family: Impact, sans-serif;
    color: black;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    cursor: grab;
}

/* Reproductor de audio flotante */
.audio-player {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 350px;
    color: white;
    font-family: 'Terminal', monospace;
    cursor: grab;
    user-select: none;
}

.audio-player button {
    background: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.scrolling-text {
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.scrolling-text span {
    display: inline-block;
    animation: scrollText 5s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
