.music {
    margin-top: 80px;
    width: 100%;
    height: auto;
    min-height: 500px;
}

.container-music {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/*Options music*/

.options-music {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    margin: 50px 0px;
}

.nav-music {
    display: flex;
    justify-content:flex-start;
    width: 60%;
    list-style: none;
    line-height: 80px;
}

.nav-music-item a {
    padding: 10px 40px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
}

.nav-music-item a:hover {
    background-color: #a70818;
}


.search-music {
    display: flex;
    justify-content: space-between;
    width: 40%;
    
}

.input-busqueda {
    border-radius: 50px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    width: 85%;
    margin: 12px 0px;
    padding: 0px 20px;
    line-height: normal;

}

.input-busqueda:focus {
    outline: none;
  }

.btn-search {
    border-radius: 100px;
    width: 55px;
    height: 55px;
    border: 0px;
    background-color: white;
    color: black;
    margin: 12px 0px;
}





/*Content music*/

.music-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    align-items: stretch;
}


.music-card {
    width: calc((100% / 4) - 2%);
    /*margin-bottom: 20px;*/
    margin: 10px;
}

.action-play {
    position: relative;
}

.btn-play {
    width: 80px;
    height: auto;
    position: absolute;
    cursor: pointer;
    left: 0;
    right: 0;
    margin: 36% auto;
    z-index: 1;
}

.cover {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    z-index: 0;
}

.music-options {
    display: flex;
    justify-content: space-between;
}

.share {
    width: 49%;
    border: 0px;
    background-color: #0ae3d0;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 14px;
}

.download {
    width: 49%;
    border: 0px;
    background-color: #e81281;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 0px;
    font-size: 14px;
    text-decoration: none;
    color: black;
    text-align: center;
}

.categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content:flex-start;
    align-items: stretch;
    margin-top: 10px;
}

.categoria-item {
    background-color: #10e922;
    text-transform: uppercase;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    margin: 1px 2px 1px 0px;
}

.enlace-artist {
    color: white;
    text-decoration: none;
}

.enlace-artist:hover {
    text-decoration: underline;
}

/*Modal*/
/* Estilo para el fondo semi-transparente detrás de la modal */
.modal {
    display: none; /* La modal está oculta por defecto */
    position: fixed; /* La modal se posiciona en relación al viewport del navegador */
    z-index: 1; /* Asegura que la modal esté por encima del contenido */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Añade un desplazamiento para que se pueda desplazar el contenido de la modal si es demasiado grande */
    background-color: rgba(0,0,0,0.4); /* Un fondo negro semi-transparente */
  }
  
  /* Estilo para el contenido de la modal */
  .modal-contenido {
    margin: 7% auto; /* Coloca la modal en el centro de la pantalla */
    padding: 0px;
    width: 748px; /* Establece el ancho del contenido */
    height: 449px;
  }
  
  /* Estilo para el botón de cierre (x) */
  .cerrar {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  /* Cambia el color del botón de cierre al pasar el cursor por encima */
  .cerrar:hover,
  .cerrar:focus {
    color: #c3c3c3;
    text-decoration: none;
    cursor: pointer;
  }
  


/*Media Screen for Mobile*/
@media (max-width: 768px) {

    .music {
        margin-top: 150px;
        width: 100%;
    }
    
    .container-music {
        max-width: 768px;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    /*Options music*/
    
    .options-music {
        display:flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        max-width: 100%;
        height: 80px;
    }
    
    .nav-music {
        display: flex;
        justify-content: space-between;
        width: 100%;
        list-style: none;
        line-height: 80px;
        padding: 0;
    }

    .nav-music-item a {
        padding: 5px 15px;
        color: white;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 1rem;
    }
    
    .nav-music-item a:hover {
        background-color: #a70818;
    }
    
    
    .search-music {
        display: flex;
        width: 100%;
        
    }
    
    .input-busqueda {
        border-radius: 50px 0px 0px 50px;
        border: 2px solid white;
        background-color: transparent;
        color: white;
        width: 100%;
        margin: 12px 0px;
        padding: 0px 20px;
        line-height: normal;
    
    }
    
    .input-busqueda:focus {
        outline: none;
      }
    
    .btn-search {
        border-radius: 0px 100px 100px 0px;
        width: 55px;
        height: 55px;
        border: 0px;
        background-color: white;
        color: black;
        margin: 12px 0px;
    }
    
    /*Content music*/
    
    .music-card {
        width: calc((100% / 2) - 6%);
    }
    
    .btn-play {
        width: 60px;
    }

    .share {
        font-size: 8px;
        padding: 0px;
    }

    .share i {
        /* display: block; */
    }
    
    .download {
        font-size: 8px;
    }

    .download i {
        /* display: block; */
    }

    .categoria-item {
        padding: 8px 8px;
        font-size: 10px;
        margin: 1px 2px 1px 0px;
    }

      /*Modal Contenido Youtube */
    .modal-contenido {
        margin: 7% auto; /* Coloca la modal en el centro de la pantalla */
        padding: 0px;
        max-width: 375px;
        width: 375px; /* Establece el ancho del contenido */
        height: auto;
    }


    

}