html {
    height:100%;
    background-color: #121010;
}

body{
    background-color:#332B2D;
    
}

header {
    position: fixed;
    display: flex;
    width: 100%;
    height: 60px;
    background: #FF0055;
    justify-content: space-between;
}

#content {
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Para ocultar barras innecesarias */
    background-color: #000; /* Fondo general */
}


/* Estilo general para la página */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
}

.music-scroll-container {
    position: relative;
    display: flex
;
    margin: 0px 0px 0px 200px;
    flex-direction: column;
    overflow-y: scroll;
    width: auto;
    gap: 80px;
    box-sizing: border-box;
}

.music-item {
    display: flex
;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 60%;
    margin: 10px auto;
}

.song {
    width: 100%;
    margin: 5% 2%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
}



.information {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
}



.information-n {
    padding: 10px;
    display: flex
;
    flex-direction: column;
    align-items: flex-start;
    background-color: #000000b8;
    border-radius: 15px;
}

.m-x12{
        width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}



.song-title {
    font-size: 1.5rem;
    margin: 0;
    padding: 5px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.artist-name {
    font-size: 1.2rem; /* Nombre del artista más grande */
    color: #ddd;
}

.avatars {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.avatar {
    width: 50px; /* Más grande */
    height: 50px; /* Más grande */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    transition: transform 0.3s;
}

.avatar:hover {
    transform: scale(1.1);
}

.controls {
    position: relative;
    margin: auto 10px 5% 0px;
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
}


.btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 10px 15px; /* Botón más grande */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.playButton {
    background-color: rgb(43 42 42 / 63%);
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s, transform 0.2s;
    margin: 3px;
    width: fit-content;
    float: left;
}

.inf-art{
    min-width: 70%;
}

.playButton:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.fa-play {
    color: #fff;
    font-size: 2rem; /* Ícono de reproducción más grande */
}

.like, .add-to-playlist {
    color: #fff;
    font-size: 1.5rem; /* Iconos de mayor tamaño */
}

.like {
    color: #e63946;
}

.add-to-playlist {
    color: #a8dadc;
}

/* Responsividad */
@media (max-width: 768px) {
       
    .music-item {
        width: 100%;
        height: 570px;
    }
       
    .song-title {
        font-size: 2rem;
    }
    .avatar {
        width: 40px; /* Ajuste de tamaño de los avatares */
        height: 40px;
    }
}


button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


.item {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.logo {
    margin: 10px 15px;
    position: relative;
    width: fit-content;
}

.logo img {
    width: 80px; /* Ajustar el tamaño de la imagen según lo necesites */
    height: auto; /* Mantener la proporción de la imagen */
    display:block;
}

.log-s {
    margin: auto 0px 125px 0px;
    width: 100%;
    display: flex
;
    justify-content: center;
}

.more{
    color: #FF0055;
    display: flex
;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}

.login-button a {
    width: fit-content;
    text-decoration: none;
    color: white;
    border: 1px solid #d40047;
    background-color: #000000;
    padding: 10px 70px;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 10px;
    display: flex
;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

/* Efecto hover para el botón */
.login-button a:hover {
    background-color: #350213; /* Cambiar el color de fondo al pasar el mouse */
    color:white;
    
}

.information-n {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #000000b8;
    padding: 2px 10px;
    border-radius: 15px;
}


.layout {
    display: flex; /* Esto permite que la barra lateral y el contenido coexistan en pantalla */
    min-height: 100vh; /* Asegura que la altura mínima sea el alto de la pantalla */
    flex-direction: column;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background-color: #000000;
    display: flex
;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    z-index: 3;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.3s;
    border-right: 1px solid #fff;
}

.done {
    width: calc(100% - 200px); /* Ocupa todo el ancho menos los 200px del margen izquierdo */
    height: fit-content;
    position: fixed;
    display: flex;
    margin: 0px 0px 0px 200px;
    padding: 10px 20px;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-decoration: none;
    gap: 10px;
    z-index: 99999;
    font-size: 20px;
    background-color: #0e0e0eb3;
    box-sizing: border-box; /* Asegura que el padding no aumente el ancho total */
}

.mate01{
        display: flex;
    width: 100%;
    gap: 10px;
    background-color: #181818;
    border-radius: 20px;
    padding: 5px 10px;
    align-items: center;
    justify-content: center;
}

.media {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 10px;
    align-items: center;
}

.sidebar-item {
    width: 100%;
    padding: 10px 0;
    color: #FF0055;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    transition: padding 0.3s;
}

.sidebar-item i {
    font-size: 14px;
    margin-bottom: 10px;
}

.sidebar-item span {
    font-size: 20px;
    color: white;
    font-family: "PT Sans", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.s-01{
     border-bottom: 1px solid;
     display:block;
}

.artist {
    border: #c086ce;
    height: 100%;
    border-style: inset;
    overflow-y: scroll;
    padding: 0px 0px 100px 0px;
    margin-left: 200px;
    margin-top: 60px;
    width: auto;
    background-color: white;
}

.ranking {

        margin: 60px 0px 0px 200px;
    height: 100%;
    }

/* Efecto hover */
@media (max-width: 768px) {
    
      .artist {
    border: #c086ce;
    height: 100%;
    border-style: inset;
    overflow-y: scroll;
    padding: 0px 0px 100px 0px;
    margin-left: 0px;
    width: auto;
    background-color: white;
}
    
    
       .sidebar-item span {
        display: none; /* Oculta el texto */
    }

    .sidebar-item i {
        font-size: 24px; /* Ajusta el tamaño del icono si es necesario */
    }


.s-01{
     border-bottom:none;
}

.information {
    display: flex
;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 90%;
}

.login-button a {
        text-decoration: none;
        color: white;
        background-color: #00000000;
        padding: 0px;
        border-radius: 0px;
        gap: 0px;
        transition: background-color 0.3s;
        margin: 0px;
        display: flex
;
        align-items: center;
        justify-content: space-between;
        align-content: center;
        flex-wrap: nowrap;
        flex-direction: row;
    }

      .sidebar {
       display:none;
    }
    
.logo img {
    display:none;
}

.log-s {
    margin: 0px;
    width: auto;
;
    justify-content: center;
}

    .sidebar .logo {
        display: flex;
        align-items: center;
    }

    .sidebar .tools {
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

     .sidebar-item {
        width: 60px;
        height: 50px;
        display: flex;
        align-items: center;
        color: #ffffff;
        text-decoration: none;
        border: 1px solid;
        border-radius: 10px;
        justify-content: center;
        align-content: center;
    }

    .media, .more {
        display: none; /* Ocultar las redes sociales y más en dispositivos móviles */
    }
}



.content2 {
    position:fixed;
    display:none;
    overflow-y: scroll;
    width: 85%;
    height: 100%;
    margin: 0px 20px 0px 220px;
    padding: 5px 10px 150px 10px;
    background-color: rgba(255, 0, 0, 0.2);

}



.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 7vh;
    height: 7vh;
    border-radius: 50%;
    border: 3px solid white;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ff0055;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    margin-top: 10px;
    right: 0; /* Alinea el menú al borde derecho del contenedor */
    overflow: hidden;
}

.dropdown-content a {
    color: #fff6f6;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Mostrar el menú al hacer clic en la imagen */
.user-menu:hover .dropdown-content {
    display: block;
}

.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    display: flex;
    width: 40%;
    padding: 2%;
    height: 60%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.explore-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.explore-button:hover {
    background-color: #45a049;
}

.like.liked i {
    color: red;  /* Cambiar el color del corazón cuando se ha dado "me gusta" */
}

.heart-animation {
    position: absolute;
    width: 30px;
    height: 30px;
    background: red;
    clip-path: circle(50%);
    animation: heartPop 1s ease-in-out;
}

@keyframes heartPop {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}



/* Media query para móvil */
@media (max-width: 680px) {
    

    
    .controls {
        background-color: #93939329;
        position: absolute;
        top: 35%;
        border-radius: 25px;
        right: 0;
        height: fit-content;
        display: flex;
        gap: 5px;
        flex-direction: column;
        align-items: center;
    }
    
    .music-scroll-container {
        position: relative;
        display: flex;
        margin: 0;
        flex-direction: column;
        overflow-y: scroll;
        width: auto;
        box-sizing: border-box;
    }
    
    .song {
        width: 100%;
        height: 90vh;
        border-radius: 15px;
        display: flex;
        background-size: contain;
        flex-direction: column;
        justify-content: space-between;
        padding: 20px;
        color: #fff;
    }
    
.song-title {
    font-size: 1.5rem;
    margin: 0;
    padding: 5px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}


    .toggle-btn {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        background-color: #333;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
}

.toggle-btn {
    display: none;
}