@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    padding: 0;
    background: linear-gradient(135deg, #f9f9f9, #e6e6e6);
    color: #333;
    box-sizing: border-box;
}

#iframe-clima {
    width: 100%; /* Ocupa todo el ancho disponible */
    height:98px ; /* Ajusta la altura según lo necesites */
    border: none; /* Quita el borde */
    overflow:hidden;
    
}

/* Reproductor principal */
.container_reproductor {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 500px;
    /*border: solid 2px blue;*/
    margin: 0;
    padding: 0;
    background: url('img/background.png') no-repeat center center/cover;
}

#bloque-superior {
  /* border: solid 2px red;*/
    min-height: 150px;
}

.bloque-central {
    display: flex;
    justify-content: space-between;
    align-items: center;
   /* border: solid 2px pink;*/
    min-height: 220px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header, #play-button-container, #vacio_derecha {
    flex: 1; /* Ocupa proporcionalmente todo el ancho */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    box-sizing: border-box;
    margin: 0; /* Elimina cualquier margen adicional */
    padding: 0;
}

.header {
   /* border: solid 2px black;*/
    display:flex;
    justify-content: center;
    align-items: center;
}

#play-button-container {
   /* border: solid 2px grey;*/
}

#vacio_derecha {
    /*border: solid 2px purple;*/
}

#bloque-inferior {
   /* border: solid 2px orange;*/
    min-height: 150px;
    display:flex;
    align-items: center;
    justify-content: end;
}

    
    #logo_texto {
        max-width: 100%;
        height: auto;
        margin-left: 120px;
        
    }
    
   #play-button {
        width: 30%;
        height: auto;
        cursor: pointer;
        transition: transform 0.2s ease;
    }
    
    #play-button:hover {
        transform: scale(1.1);
    }

    
    
    #volume{
        -webkit-appearance: none; /* Elimina el estilo predeterminado de Webkit */
       -moz-appearance: none; /* Elimina el estilo predeterminado de Firefox */
       appearance: none; /* Estilo neutral */
       width: 100%; /* Ocupa todo el ancho del contenedor */
       height: 8px; /* Grosor de la barra */
        background: #1e3c72; /* Color de fondo de la barra */
        border-radius: 5px; /* Esquinas redondeadas */
       outline: none; /* Elimina el contorno cuando se enfoca */
        transition: background 0.3s ease; /* Animación para el cambio de fondo */
    }
    /* Cambia el color de la barra cuando se interactúa */
    #volume:hover {
        background: #aaa; /* Color más oscuro al pasar el cursor */
    }
    
    /* Estilo para el control deslizante (el botón que se mueve) */
   #volume::-webkit-slider-thumb {
        -webkit-appearance: none; /* Elimina el estilo predeterminado */
     appearance: none; /* Estilo neutral */
       width: 20px; /* Ancho del botón */
        height: 20px; /* Alto del botón */
        background: #1e3c72; /* Color rojo del botón */
        border-radius: 50%; /* Botón redondo */
        cursor: pointer; /* Cambia el cursor al pasar */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Sombra */
    }
    
    /* Estilo para navegadores Firefox */
    #volume::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background: #1e3c72;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    /* Estilo para navegadores Microsoft Edge/Internet Explorer */
    #volume::-ms-thumb {
        width: 20px;
        height: 20px;
        background: #1e3c72;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .volume-control {
        
        width: 30%;
        text-align: center;
        color: #fff;
        font-size: 1rem;
        /*border: solid 2px yellow;*/
        
        
    }
    
    .volume-slider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 1rem;
        width: 75%;
        margin: auto;
        
    }
    
    .volume-slider input[type="range"] {
        width: 100%;
        
    }
    
    .search-container {
        margin-bottom: 20px;
        text-align: center;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
       /*background-color: red;*/
    }
    
    .bi-volume-up{
        font-size:25px
    }
    .search-container h1 {
        text-align: left;
        margin-bottom: 10px;
        margin-top: 35px;
    }
    
    .search-container p {
        text-align: left;
        margin-bottom: 35px;
    }
    
    .search-container input[type="text"] {
        width: 80%;
        max-width: 600px;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        
    }
    
    .search-container button {
        padding: 10px;
        font-size: 1rem;
        border: none;
        border-radius: 80px;
        background: #2a92c5;
        color: white;
        cursor: pointer;
        transition: background 0.3s ease;
        margin-left:10px
    }
    
    .search-container button:hover {
        background: #2a5298;
    }
    
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        
    }
    
    .card {
        display: flex;
        flex-direction: row;
        background: #fff;
        border: 1px solid #ddd;
        
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: 70%;
        margin: 0 auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        align-items: stretch;
        position: relative;
        margin-bottom: 25px;
    }
    
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
    
    .card .left-container {
        background-color: #f0f0f0;
        width: 30%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
        gap: 10px;
    }
    
    .card .play-button {
        width: 50px;
        height: 50px;
        cursor: pointer;
    }
    
    .card .play-button:hover {
        transform: none;
    }
    
    .card .area {
        font-size: 0.9rem;
        color: #333;
        text-align: center;
    }
    
    .card .right-container {
        width: 70%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .card .action-buttons {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }
    
    .card .download-btn,
    .card .share-btn {
        background-color: transparent;
        color: #333;
        text-decoration: none;
        padding: 8px 12px;
        border: none;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .card .download-btn:hover,
    .card .share-btn:hover {
        background-color: #e6e6e6;
        transform: scale(1.05);
        text-decoration: none;
    }
    
    .card .share-btn i {
        color: #333;
    }
    
    .share-bar {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        background-color: transparent;
        width: 100%;
    }
    
    .share-bar a {
        color: #333;
        font-size: 4rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, color 0.3s ease;
    }
    
    .share-bar a:hover {
        transform: scale(1.1);
        color: #1e3c72;
    }
    

    .descripcion {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Mostrar solo 3 líneas */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em; /* Altura aproximada para 3 líneas */
        opacity: 1;
        transition: max-height 0.6s ease, opacity 0.6s ease; /* Transición suave */
    }

    .descripcion.expanded {
        display: block;
        -webkit-line-clamp: unset; /* Quita el truncado */
        max-height: 1000px; /* Suficiente para expandir */
        opacity: 1; /* Mantener la opacidad visible */
    }

    .read-more {
        color: #007bff;
        cursor: pointer;
        display: block;
        text-align: right; /* Alinea a la derecha */
        margin-top: 5px;
        font-weight: bold;
    }

    .read-more:hover {
        color: #0056b3;
    }



/************************************************************************************************************************/



@media (min-width: 992x) and (max-width: 1399px) {


    
}



/*****************************************************************************************************************************/
@media (min-width: 576px) and (max-width: 991px) {
    #iframe-clima {
        width: 100%; /* Ocupa todo el ancho disponible */
        height:107px ; /* Ajusta la altura según lo necesites */
        border: none; /* Quita el borde */
        overflow:hidden;
        
    }
.container_reproductor{
    min-height: 300px;
}
    #vacio_derecha{
        display: flex;
    }   
    
    #bloque-superior {
        
         min-height: 80px;
     }
  
    .volume-control {
        
        width: 50%;
               
        
    }
    
    #logo_texto {
        max-width: 110%;
        height: auto;
        margin-left: 70px;
        
    }

    #play-button {
        width: 33%;
        
    }
    .search-container {
       
        width: 90%;
       
    }
    .search-container input[type="text"] {
        width: 70%;
        
    }

    .card {
        width: 100%;
        
    }
}
/********************************************************************************************************************************/
@media (min-width: 401px) and (max-width: 575px) {

    .container_reproductor {
    min-height: 550px;
       
    }

    .bloque-central {
        flex-direction: column;
        min-height: 400px;
    }

    #vacio_derecha {
        display: none;
    }
    #bloque-superior{
       display:flex;
       
    }

    .header, #play-button-container {
        width: 100%;
        min-height: 160px; /* Ajusta el valor según lo que necesites */
    }

    #bloque-inferior{
        min-height: 150px;
        display:flex;
        justify-content: center;
        align-items: center;
        
     }
     #play-button {
        width: 25%;
        margin-bottom: 50px;
        
    }

     .volume-control {
        
        width: 90%;
               
        
    }

    #logo_texto {
        max-width: 75%;
        height: auto;
        margin:auto;
        margin-bottom: 60px;
        
        
    }
.search-container h1{
font-size: 25px;
margin-bottom: 0px;
padding: 0px;
}

.search-container p{
    font-size: 15px;
    margin-top:0px
}
    .search-container {
       
        width: 97%;
        
       
    }
    .search-container input[type="text"] {
        width: 55%;
        margin:0px
        
        
    }

    .card {
    
        width: 100%;
       
    }

    .card .descripcion{
        display:none
    }

    .card .area{
        font-size: 10px;
    }

    .card h3{
        font-size: 15px;
        margin:0px;
        margin-top:10px
    }
   .right-container p small{
    font-size:12px
   }

   .right-container i {
    font-family: 10px;
   }

   .card .right-container{
    padding:7px;
   }

   .card .action-buttons{
    margin:0px;
    
   }

   .card .download-btn{
    font-size: 15px;
   }

   .card .share-btn{
    font-size: 15px;
   }

   .card .play-button {
    width: 35px;
    height: 35px;
    
}

.read-more{
    display:none
}
}

/********************************************************************************************************************************/
@media (max-width: 375px) {

    .container_reproductor {
    min-height: 550px;
       
    }

    .bloque-central {
        flex-direction: column;
        min-height: 400px;
    }

    #vacio_derecha {
        display: none;
    }
    #bloque-superior{
       display:flex;
       
    }

    .header, #play-button-container {
        width: 100%;
        min-height: 160px; /* Ajusta el valor según lo que necesites */
    }

    #bloque-inferior{
        min-height: 150px;
        display:flex;
        justify-content: center;
        align-items: center;
        
     }
     #play-button {
        width: 25%;
        margin-bottom: 50px;
        
    }

     .volume-control {
        
        width: 90%;
               
        
    }

    #logo_texto {
        max-width: 75%;
        height: auto;
        margin:auto;
        margin-bottom: 60px;
        
        
    }
.search-container h1{
font-size: 25px;
margin-bottom: 0px;
padding: 0px;
}

.search-container p{
    font-size: 15px;
    margin-top:0px
}
    .search-container {
       
        width: 97%;
        
       
    }
    .search-container input[type="text"] {
        width: 55%;
        margin:0px
        
        
    }

    .card {
    
        width: 100%;
       
    }

    .card .descripcion{
        display:none
    }

    .card .area{
        font-size: 10px;
    }

    .card h3{
        font-size: 15px;
        margin:0px;
        margin-top:10px
    }

    .card-autor{
        font-size:13px;
    }

    .card-emitido{
        font-size:12px;
    }
   .right-container p {
    font-size:12px
   }

   .right-container i {
    font-family: 10px;
   }

   .card .right-container{
    padding:7px;
   }

   .card .action-buttons{
    margin:0px;
    
   }

   .card .download-btn{
    font-size: 15px;
   }

   .card .share-btn{
    font-size: 15px;
   }

   .card .play-button {
    width: 35px;
    height: 35px;
    
}
.read-more{
    display:none
}
}