/* Ajustes generales para dispositivos móviles y diseño dinámico */
@media screen and (max-width: 768px) {
    body {
        background-size: cover;
        background-position: center;
    }

    header {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        height: auto;
        padding: 10px;
    }

    header img {
        height: auto;
        max-width: 80%;
    }

    .header-links {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header-links a {
        font-size: clamp(16px, 4vw, 24px);
        margin: 0 5px;
    }

    main {
        padding: 5%;
        margin-top: 20px;
        text-align: center;
    }

    .player-section {
        width: 100%;
        max-width: 400px;
        padding: 15px;
    }

    .player-titulo h2 {
        font-size: clamp(18px, 5vw, 28px);
    }

    .play-pause-btn {
        font-size: clamp(18px, 5vw, 24px);
    }

    .volume-slider {
        width: 100%;
    }

    footer {
        flex-wrap: wrap;
        text-align: center;
        height: auto;
        padding: 15px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(#00000080, #00000080), 
              url('../assets/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    flex-direction: column;
    min-height: 100vh; /* Asegura que el cuerpo ocupe al menos la altura total de la ventana */
    display: flex;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #FF5500;
    height: 40px;
}

header img {
    height: 40px;
}

header img:hover {
    height: 45px;
}

header .header-links {
    display: flex;
    align-items: center;
}

header .header-links a {
    color: white; /* Naranja brillante */
    font-size: 24px;
    margin-left: 15px;
    text-decoration: none;
}

header .header-links a:hover {
    color: gray; /* Naranja más oscuro al pasar el ratón */
}

/* Main Content Area */
main {
    flex: 1; /* Empuja el contenido para que el footer quede al final */
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

/* Player Controls */
.player-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    background-color: transparent;
    /* 
    border-radius: 10px;
    box-shadow: 0px 0px 50px rgb(148, 148, 148);
    */
    padding: 20px;
    width: 350px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.player-section h2 {
    font-size: 24px;
    color: white; /* Naranja brillante */
    margin-bottom: 20px;
}

.player-titulo h2 {
    font-size: 28px;
    color: white; /* Naranja brillante */
    margin-bottom: 20px;
}

/* Button Styling */
.play-pause-btn {
    background: #FF5500;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.play-pause-btn:hover {
    background-color: gray; /* Naranja más oscuro al pasar el ratón */
}

.play-pause-btn:focus {
    outline: none;
}

/* Volume Slider Styling */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 8px;
    background: #FF5500;;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    margin: 0 10px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white; /* Naranja brillante */
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb:hover {
    background-color: gray; /* Naranja más oscuro al pasar el ratón */
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white; /* Naranja brillante */
    cursor: pointer;
}

.volume-slider::-moz-range-thumb:hover {
    background-color: gray; /* Naranja más oscuro al pasar el ratón */
}

/* Audio Player Styling */
audio {
    display: none; /* Hide audio player */
}

/* Status text */
.status-text {
    color: white; /* Naranja brillante */
    font-size: 16px;
    margin-bottom: 10px;
}

/* Footer Styling */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #FF5500;
    height: 30px;
}

footer .footer-links {
    display: flex;
    align-items: center;
}

footer .footer-links a {
    color: white; /* Naranja brillante */
    font-size: 20px;
    margin-left: 15px;
    text-decoration: none;
}

footer .footer-links a:hover {
    color: gray; /* Hover effect */
}

footer .footer-links a i {
    margin-right: 5px; /* Space between icon and text */
    color: white; /* Naranja brillante para los íconos */
}

footer .footer-links a i:hover {
    color: gray; /* Hover effect */
}


