@charset "UTF-8";
@import url(base/_reset.css);
@import url(base/_variables.css);
@import url(layout/_header.css);
@import url(layout/_aside.css);
@import url(layout/_footer.css);

body {
    background-color: var(--color_background);
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.5rem;
}

main {
    width: 100%;
    min-height: 80%;
    display: flex;
    padding: 0.5rem 0;
    position: relative;
}

.container_content_main {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    background-image: var(--background_linear_main);
    padding: 0 1.5rem;
    overflow-y: auto;
    gap: 2rem;
}

.container_content_main::-webkit-scrollbar {
    width: 0px;
    background-color: transparent;
}

.custom_scrollbar_main {
    position: absolute;
    top: 7px;
    right: 0px;
    width: 0.8rem;
    height: calc(90% - 20px);
    opacity: 0;
    transition: opacity 0.2s ease-in, opacity 0.2s ease 0.8s;
}

.container_content_main:hover > .custom_scrollbar_main {
    opacity: 1;    
    transition: opacity 0.2s ease-in;
}

.custom_thumb_main {
    width: 100%;
    position: absolute;
    top: 0;
    height: 30px;
    cursor: pointer;
    background-color: var(--color_scroll, #555);
}

.custom_thumb_main:hover {
    background-color: var(--color_scroll_hover, #333);
}

.container_cards {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header_cards {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.title_cards {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color_text);
    cursor: pointer;
}

.button_cards {
    gap: 0.5rem;
    color: var(--color_caracter);
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.button_cards:hover, .title_cards:hover {
    text-decoration: underline;
    text-decoration-color: var(--color_white);
}

.content_cards {
    container-type: inline-size;
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
}

.cards {
    width: 100%;
    gap: 1rem;
    padding: 0.8rem;
    cursor: pointer;
}

.cards:hover {
    background-color: var(--color_cards_hover);
    border-radius: 0.5rem;
}

.cards_image {
    width: 100%;
    position: relative;
}

.play-button {
    position: absolute;
    top: 88%;
    left: 88%;
    transform: translate(-78%, -50%);
    background-color: var(--color_button_play);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cards:hover .play-button {
    opacity: 1;
    transform: translate(-78%, -80%) scale(1.1);
}

.cards .play-button:hover {
    transform: translate(-78%, -80%) scale(1.15);
    background-color: var(--color_button_play_hover);
    transition: transform 0s;
}

.image_artists {
    border-radius: 50%;
    box-shadow: var(--box_shadow);
}

.name_artists, .name_album {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color_white);
    cursor: pointer;
    margin-top: 0.5rem;
}

.name_artists:hover, .name_album:hover {
    text-decoration: underline;
}

.content_type, .name_album_artist {
    font-size: 0.85rem;
    color: var(--color_caracter);
}

.image_albuns {
    border-radius: 0.5rem;
    box-shadow: var(--box_shadow);
}

.subtitle_playlist {
    font-size: 0.85rem;
    color: var(--color_caracter);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-top: 1rem;
}

.footer_section_main {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color_border_footer_main);
}

.container_links_footer {
    width: auto;
    height: auto;
    display: flex;
    gap: 5rem;
}

.box_links_footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.title_footer_main {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color_white);
    cursor: pointer;
}

.link_footer_main {
    font-size: 1rem;
    color: var(--color_caracter);
}

.link_footer_main:hover {
    color: var(--color_white);
    text-decoration: underline;
}

.container_social_footer {
    width: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1rem;
}

.social_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    background-color: var(--color_secondary);
}

.social_link:hover {
    background-color: var(--color_background_hover_links_footer);
}

.creator {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color_caracter);
    margin: 1rem 0 4rem 0;
}

.link_creator:hover {
    color: var(--color_white);
    text-decoration: underline;
}