body {
    font-family: sans-serif;
    background-color: #e6f2ff;
    margin: 20px;
    background-image: url('https://zero-two.1.obrh.uno/uploads/images/file-1754163984570-289924681.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1 {
    color: #fff;
}

/* Estilos para la pantalla de carga */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://zero-two.1.obrh.uno/uploads/images/file-1754163984570-289924681.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.loader {
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    display: flex;
    font-size: 2em;
    color: #fff;
    letter-spacing: 2px;
}

.loading-text .letter {
    display: inline-block;
    animation: snake 1.5s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes snake {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Estilos para el nuevo panel de información */
.info-panel {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    cursor: grab;
    z-index: 1000;
    box-shadow: 0 0 15px 5px blue;
    color: white;
    border-radius: 20px;
    transition: max-height 0.5s ease;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-out;
}

.info-panel.active {
    display: block;
    opacity: 1;
}

/* Estilos para la imagen circular */
.circular-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    position: relative;
    box-shadow: 0 0 10px blue;
}

.circular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 30s linear;
}

/* Estilos para el texto del panel */
.panel-text {
    font-size: 1.5em;
    color: white;
}

.button-description {
    color: blue;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Estilos para los nuevos contenedores de información */
.info-container {
    margin-top: 15px;
    text-align: left;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.info-container p {
    margin: 5px 0;
    font-size: 0.9em;
    display: flex; /* Para alinear el texto y el botón de copiado */
    align-items: center;
    justify-content: space-between;
}

/* Estilos para los nuevos botones de copiado */
.copy-button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.copy-button:hover {
    opacity: 1;
}

/* Estilos para el botón de audio */
.audio-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.audio-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}
