@import url("https://fonts.googleapis.com/css2?family=Gabarito&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap");

body
{
    margin: 0;
    padding: 0;
}

img
{
    user-select: none;
}

main
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    overflow-x: hidden;
}

section
{
    position: relative;
    width: 90vw;
    max-width: 800px;
    height: auto;
}

section.about > .title,
section.gallery > .title,
section.albums > .title,
section.projects > .title,
section.contact > .title,
section.youtube_feed > .title,
section.spotify_showcase > .title,
section.tiktok_feed > .title,
section.twitch_feed > .title,
section.etsy_shop > .title,
section.links > .title
{
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

@media (max-width: 450px)
{
    section.about > .title,
    section.gallery > .title,
    section.albums > .title,
    section.projects > .title,
    section.contact > .title,
    section.youtube_feed > .title,
    section.spotify_showcase > .title,
    section.tiktok_feed > .title,
    section.twitch_feed > .title,
    section.etsy_shop > .title,
    section.links > .title
    {
        text-align: center;
    }
}

section:not(.hero) > .title:empty
{
    display: none;
}

section.projects > .projects_container,
section.albums > .albums_container,
section.testimonials > .cards_container,
section.youtube_feed > .videos_container,
section.links > .links_container
{
    gap: 15px;
}

    /* HERO */

section.hero
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    user-select: none;
    padding-bottom: 10vh;
    min-height: 40vh;
}

@media (max-width: 450px)
{
    section.hero
    {
        align-items: center;
        text-align: center;
    }
}

section.hero > .background
{
    position: absolute;
    width: 100vw;
    height: 50vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section.hero > .title
{
    margin: 0;
    margin-top: 20vh;
    width: fit-content;
    max-width: 75%;
}

section.hero > .subtitle
{
    width: fit-content;
    max-width: 75%;
    opacity: 0.75;
}

    /* ABOUT */

section.about > .description
{
    opacity: 0.75;
}

@media (max-width: 450px)
{
    section.about > .description
    {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section.about > .description ul,
    section.about > .description ol
    {
        padding-left: 10px;
    }
}

    /* GALLERY */

section.gallery > .columns_container,
section.gallery > .columns_container > .column
{
    gap: 10px;
}

section.gallery > .columns_container
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

section.gallery > .columns_container > .column
{
    display: flex;
    flex-direction: column;
}

section.gallery img
{
    display: block;
    width: 100%;
}

    /* ALBUMS */ /* PROJECTS */

section.albums > .albums_container,
section.projects > .projects_container
{
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media (max-width: 450px)
{
    section.albums > .albums_container,
    section.projects > .projects_container
    {
        flex-direction: column;
        align-items: center;
    }
}

body:has(.album_popup.active),
body:has(.project_popup.active)
{
    overflow: hidden;
    touch-action: none;
}

.album_popup,
.project_popup
{
    position: fixed;
    inset: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10;
}

:is(.album_popup, .project_popup):not(.active)
{
    opacity: 0;
    pointer-events: none;
}

:is(.album_popup, .project_popup) > .panel
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: calc(100dvh - 85px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    box-sizing: border-box;
    padding: 20px;
}

:is(.album_popup, .project_popup) > .close_button
{
    position: absolute;
    top: 25px;
    right: 25px;
    width: 35px;
    aspect-ratio: 1/1;
    background-image: url("https://staging.framee.me/assets/gfx/svg/x.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    background-color: transparent;
    border: none;
}

:is(.album_popup, .project_popup) > .close_button:hover
{
    cursor: pointer;
}

:is(.album_popup, .project_popup) > .panel > .content
{
    width: 90vw;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow-y: auto;
    padding: 0 10px;
}

:is(.album_popup, .project_popup) > .panel > .content > .images,
:is(.album_popup, .project_popup) > .panel > .content > .images > .column
{
    gap: 10px;
}

:is(.album_popup, .project_popup) > .panel > .content > .images
{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

:is(.album_popup, .project_popup) > .panel > .content > .images > .column
{
    display: flex;
    flex-direction: column;
}

:is(.album_popup, .project_popup) > .panel img
{
    display: block;
    width: 100%;
}

.project_popup > .panel > .content > .description
{
    width: 100%;
    padding-bottom: 10px;
    overflow-x: auto;
    opacity: 0.75;
}

    /* ALBUMS */

section.albums > .albums_container > .album
{
    position: relative;
    width: 200px;
    padding: 6px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-sizing: border-box;
    background-color: transparent;
    text-decoration: none;
}

section.albums > .albums_container > .album > div
{
    width: 100%;
}

section.albums > .albums_container > .album > .name
{
    margin-top: 8px;
}

section.albums > .albums_container > .album > .image
{
    position: relative;
    width: 100%;
    height: 225px;
    padding: 6px;
    margin: -6px;
    overflow: hidden;
}

section.albums > .albums_container > .album > .image > img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.albums > .albums_container > .album > .images_count
{
    opacity: 0.75;
}

section.albums > .albums_container > .album > .curtain
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

section.albums > .albums_container > .album:hover
{
    cursor: pointer;
}

section.albums > .albums_container > .album:hover > .curtain
{
    opacity: 1;
}

    /* PROJECTS */

section.projects > .projects_container > .project
{
    position: relative;
    width: 240px;
    padding: 6px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-sizing: border-box;
    background-color: transparent;
    text-decoration: none;
}

section.projects > .projects_container > .project > div
{
    width: 100%;
}

section.projects > .projects_container > .project > .name
{
    margin-top: 8px;
}

section.projects > .projects_container > .project > .image
{
    position: relative;
    width: 100%;
    height: 175px;
    padding: 6px;
    margin: -6px;
    overflow: hidden;
}

section.projects > .projects_container > .project > .image > img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.projects > .projects_container > .project > .description
{
    opacity: 0.75;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

section.projects > .projects_container > .project > .description *
{
    margin: 0;
}

section.projects > .projects_container > .project > .curtain
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

section.projects > .projects_container > .project:hover
{
    cursor: pointer;
}

section.projects > .projects_container > .project:hover > .curtain
{
    opacity: 1;
}

    /* BANNER */

section.banner
{
    height: 45vh;
    width: 100vw;
    max-width: none;
}

@media (max-width: 450px)
{
    section.banner
    {
        height: 25vh;
    }
}

section.banner > .background
{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

section.banner > .background
{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section.banner > .background.vertical
{
    display: flex;
    gap: 6px;
}

section.banner > .background.vertical > div
{
    flex: 1 1 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

section.banner > .background.diagonal
{
    position: relative;
    display: flex;
    overflow: hidden;
    --cut: 50px;
}

section.banner > .background.diagonal > div
{
    flex: 1 1 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
    margin: 0 -22px;
}

section.banner > .background.diagonal > div:first-child
{
    margin-left: calc(var(--cut) * -1);
}

section.banner > .background.diagonal > div:last-child
{
    margin-right: calc(var(--cut) * -1);
}

    /* CONTACT */

section.contact > .contact_details
{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

section.contact > .contact_details > div
{
    display: flex;
    flex-direction: column;
    gap: 4px;    
}

section.contact > .contact_details > div > .label
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

section.contact > .contact_details > div > .label::before
{
    content: "";
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 15px;
    aspect-ratio: 1/1;
}

section.contact > .contact_details > .email > .label::before
{
    background-image: url("https://staging.framee.me/assets/gfx/svg/email.svg");
}

section.contact > .contact_details > .address > .label::before
{
    background-image: url("https://staging.framee.me/assets/gfx/svg/location.svg");
}

section.contact > .contact_details > .phone > .label::before
{
    background-image: url("https://staging.framee.me/assets/gfx/svg/phone.svg");
}

section.contact > .contact_details > div > .value
{
    opacity: 0.75;
}

@media (max-width: 450px)
{
    section.contact > .contact_details,
    section.contact > .contact_details > div
    {
        align-items: center;
    }
}

    /* PROFILE */

section.profile
{
    --background-height: minmax(110px, 20vh);
    --avatar-size: clamp(180px, 25vh, 240px);
    width: 100vw;
    max-width: none;
    display: grid;
    grid-template-rows: var(--background-height) auto;
    grid-auto-columns: 100%;
}

section.profile > .background
{
    grid-row: 1;
    width: 100%;
    height: var(--background-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

section.profile > .profile_container
{
    grid-row: 2;
    position: relative;
    box-sizing: border-box;
    justify-self: center;
    width: 90vw;
    max-width: 800px;
    display: grid;
    margin-top: calc(var(--avatar-size) / -2);
    grid-template-rows: calc(clamp(180px, 25vh, 240px) / 2) 65px auto auto;
    grid-template-columns: clamp(180px, 25vh, 240px) auto;
    padding-bottom: 15px;
}

section.profile > .profile_container:not(:has(> .avatar))
{
    grid-template-columns: 100%;
}

section.profile > .profile_container > .avatar
{
    grid-row: 1/4;
    grid-column: 1;
    aspect-ratio: 1/1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 10px solid;
}

section.profile > .profile_container > .name
{
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
    margin-top: 12px;
    margin-left: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

section.profile > .profile_container > .links
{
    grid-row: 3;
    grid-column: 2;
    align-self: start;
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 5px 8px;
}

section.profile > .profile_container > .links > a
{
    display: grid;
    place-items: center;
}

section.profile > .profile_container > .links > a > img
{
    width: 22px;
    aspect-ratio: 1/1;
}

section.profile > .profile_container > .bio
{
    grid-row: 4;
    grid-column: 1/-1;
    margin-top: 10px;
    opacity: 0.75;
}

section.profile > .profile_container:not(:has(> .avatar)) > .name,
section.profile > .profile_container:not(:has(> .avatar)) > .links,
section.profile > .profile_container:not(:has(> .avatar)) > .bio
{
    grid-column: 1;
    margin-left: 0;
    justify-self: center;
}

@media (max-width: 450px)
{
    section.profile > .profile_container:has(> .avatar)
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    section.profile > .profile_container > .avatar
    {
        height: calc(var(--avatar-size) - 20px);
    }
}

    /* YOUTUBE FEED */

section.youtube_feed
{
    display: flex;
    flex-direction: column;
}

section.youtube_feed > .user_details
{
    position: relative;
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: 30px 1fr;
    gap: 0 15px;
}

section.youtube_feed  > .user_details > .avatar
{
    position: relative;
    grid-column: 1;
    grid-row: 1/3;
    width: 95%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    justify-self: center;
}

section.youtube_feed > .user_details > .username
{
    grid-column: 2;
    grid-row: 1;
    line-height: 30px;
    width: fit-content;
}

section.youtube_feed > .user_details > .subscribers
{
    grid-column: 2;
    grid-row: 2;
    width: fit-content;
    opacity: 0.75;
}

section.youtube_feed > .user_details > .link
{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    user-select: none;
    background-color: #f70002;
    color: white;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

section.youtube_feed > .user_details > .link:hover
{
    filter: brightness(0.75);
}

section.youtube_feed > .user_details > .link:active
{
    filter: brightness(0.5);
}

section.youtube_feed > .user_details > .link::after
{
    content: "";
    mask-image: url("https://staging.framee.me/assets/gfx/svg/diagonal_arrow_white.svg");
    mask-size: 10px;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: white;
    width: 12px;
    aspect-ratio: 1/1;
}

section.youtube_feed > .videos_container
{
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 15px;
}

@media (max-width: 450px)
{
    section.youtube_feed > .videos_container
    {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section.youtube_feed > .videos_container > .video
    {
        width: 70vw;
    }
}

section.youtube_feed > .videos_container > .video
{
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
    text-decoration: none;
}

section.youtube_feed > .videos_container > .video > .thumbnail
{
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.youtube_feed > .videos_container > .video > .meta
{
    opacity: 0.75;
}

    /* SPOTIFY SHOWCASE */

/* PLAYLIST */

section.spotify_showcase > .playlist_container
{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}

section.spotify_showcase > .playlist_container > .playlist_header
{
    height: 150px;
    display: grid;
    grid-template-columns: 150px minmax(100px, 100%);
    align-items: start;
}

section.spotify_showcase > .playlist_container > .playlist_header > .playlist_cover
{
    grid-column: 1;
    justify-self: center;
    align-self: center;
    width: 80%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

section.spotify_showcase > .playlist_container > .playlist_header > .playlist_info
{
    grid-column: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

section.spotify_showcase > .playlist_container > .playlist_header > .playlist_info > .playlist_name
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    width: fit-content;
    max-width: 100%;
}

section.spotify_showcase > .playlist_container > .playlist_header > .playlist_info > .playlist_name:hover
{
    text-decoration: underline;
}

section.spotify_showcase > .playlist_container > .playlist_header > .playlist_info > .playlist_details
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0.75;
}

section.spotify_showcase > .playlist_container > .playlist_tracks
{
    max-height: calc(75vh - 150px);
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    min-height: 120px;
}

section.spotify_showcase > .playlist_container > .playlist_tracks > .track
{
    width: 100%;
    height: 40px;
    display: grid;
    grid-template-columns: 30px 40px 1fr 60px;
    grid-template-rows: 25px 15px;
    gap: 0px 4px;
    text-decoration: none;
    padding: 4px 0;
}

section.spotify_showcase > .playlist_container > .playlist_tracks > .track > .track_number
{
    grid-column: 1;
    grid-row: 1/-1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    opacity: 0.75;
}

section.spotify_showcase > .playlist_container > .playlist_tracks > .track > .track_cover
{
    grid-column: 2;
    grid-row: 1/-1;
    justify-self: center;
    align-self: center;
    width: 85%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.spotify_showcase > .playlist_container > .playlist_tracks > .track > .track_title
{
    grid-column: 3;
    grid-row: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 25px;
}

section.spotify_showcase > .playlist_container > .playlist_tracks > .track > .track_subtitle
{
    grid-column: 3;
    grid-row: 2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 15px;
    opacity: 0.75;
}

section.spotify_showcase > .playlist_container > .playlist_tracks > .track > .track_duration
{
    grid-column: 4;
    grid-row: 1/-1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    opacity: 0.75;
}

/* ALBUM */

section.spotify_showcase > .album_container
{
    height: 300px;
    display: grid;
    grid-template-columns: minmax(100px, 250px) minmax(100px, 100%);
    gap: 5px;
    align-items: start;
}

section.spotify_showcase > .album_container > .album_info
{
    grid-column: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.spotify_showcase > .album_container > .album_info > .album_cover
{
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

section.spotify_showcase > .album_container > .album_info > .album_name
{
    margin-top: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    max-width: 100%;
}

section.spotify_showcase > .album_container > .album_info > .album_name:hover
{
    text-decoration: underline;
}

section.spotify_showcase > .album_container > .album_info > .album_details
{
    margin-top: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.75;
}

section.spotify_showcase > .album_container > .album_tracks
{
    grid-column: 2;
    width: 100%;
    max-height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    min-height: 120px;
}

section.spotify_showcase > .album_container > .album_tracks > .track
{
    width: 100%;
    height: 40px;
    display: grid;
    grid-template-columns: 40px 1fr 60px;
    grid-template-rows: 25px 15px;
    text-decoration: none;
    padding: 2px 0;
}

section.spotify_showcase > .album_container > .album_tracks > .track > .track_number
{
    grid-column: 1;
    grid-row: 1/-1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    opacity: 0.75;
}

section.spotify_showcase > .album_container > .album_tracks > .track > .track_title
{
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 25px;
}

section.spotify_showcase > .album_container > .album_tracks > .track > .track_subtitle
{
    grid-column: 2;
    grid-row: 2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 15px;
    opacity: 0.75;
}

section.spotify_showcase > .album_container > .album_tracks > .track > .track_duration
{
    grid-column: 3;
    grid-row: 1/-1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    opacity: 0.75;
}

@media (max-width: 450px)
{
    section.spotify_showcase > .album_container
    {
        height: auto;
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 300px;
    }

    section.spotify_showcase > .album_container > .album_info
    {
        grid-column: 1;
        grid-row: 1;
    }

    section.spotify_showcase > .album_container > .album_tracks
    {
        grid-column: 1;
        grid-row: 2;
    }
}

/* ARTIST */

section.spotify_showcase > .artist_container
{
    display: flex;
    flex-direction: column;
}

section.spotify_showcase > .artist_container > .artist_details
{
    position: relative;
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: 100%;
    gap: 0 15px;
}

section.spotify_showcase > .artist_container > .artist_details > .image
{
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 95%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    justify-self: center;
}

section.spotify_showcase > .artist_container > .artist_details > .name
{
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: fit-content;
}

section.spotify_showcase > .artist_container > .artist_details > .link
{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    user-select: none;
    background-color: #1ed760;
    color: white;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

section.spotify_showcase > .artist_container > .artist_details > .link:hover
{
    filter: brightness(0.75);
}

section.spotify_showcase > .artist_container > .artist_details > .link:active
{
    filter: brightness(0.5);
}

section.spotify_showcase > .artist_container > .artist_details > .link::after
{
    content: "";
    mask-image: url("https://staging.framee.me/assets/gfx/svg/diagonal_arrow_white.svg");
    mask-size: 10px;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: white;
    width: 12px;
    aspect-ratio: 1/1;
}

section.spotify_showcase > .artist_container > .latest_releases
{
    margin-top: 10px;
}

section.spotify_showcase > .artist_container > .latest_releases > .releases_container
{
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 25%);
    gap: 5px;
    margin-top: 5px;
}

@media (max-width: 450px)
{
    section.spotify_showcase > .artist_container > .latest_releases > .releases_container
    {
        grid-template-columns: repeat(2, 50%);
    }
}

section.spotify_showcase > .artist_container > .latest_releases > .releases_container > .release
{
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
    text-decoration: none;
}

section.spotify_showcase > .artist_container > .latest_releases > .releases_container > .release > .cover
{
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

section.spotify_showcase > .artist_container > .latest_releases > .releases_container > .release > .subtitle
{
    opacity: 0.75;
}

    /* TIKTOK FEED */

section.tiktok_feed
{
    display: flex;
    flex-direction: column;
}

section.tiktok_feed > .account_container
{
    display: grid;
    grid-template-columns: 125px auto;
    grid-template-rows: 125px;
    gap: 20px;
}

section.tiktok_feed > .account_container > .avatar
{
    grid-column: 1;
    grid-row: 1;
    width: 95%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    justify-self: center;
}

section.tiktok_feed > .account_container > .account_details
{
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-rows: 40px 1fr 30px;
    gap: 0 10px;
}

section.tiktok_feed > .account_container > .account_details > .username
{
    line-height: 40px;
}

section.tiktok_feed > .account_container > .account_details > .stats_container
{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

section.tiktok_feed > .account_container > .account_details > .stats_container > div
{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

section.tiktok_feed > .account_container > .account_details > .stats_container > div > .label
{
    opacity: 0.75;
}

section.tiktok_feed > .account_container > .account_details > .link
{
    text-decoration: none;
    user-select: none;
    text-align: center;
    line-height: 30px;
    max-width: 250px;
    background-color: #eb4863;
    color: white;
}

section.tiktok_feed > .account_container > .account_details > .link:hover
{
    filter: brightness(0.75);
}

section.tiktok_feed > .account_container > .account_details > .link:active
{
    filter: brightness(0.5);
}

section.tiktok_feed > .videos_container
{
    margin-top: 10px;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

@media (max-width: 450px)
{
    section.tiktok_feed > .videos_container
    {
        justify-content: center;
    }
}

section.tiktok_feed > .videos_container > .video
{
    position: relative;
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    text-decoration: none;
    user-select: none;
}

section.tiktok_feed > .videos_container > .video > .thumbnail
{
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.tiktok_feed > .videos_container > .video > .views
{
    opacity: 0.75;
}

    /* TWITCH FEED */

section.twitch_feed
{
    display: flex;
    flex-direction: column;
}

section.twitch_feed > .user_details
{
    position: relative;
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: 30px 1fr;
    gap: 0 15px;
}

section.twitch_feed > .user_details > .avatar
{
    position: relative;
    grid-column: 1;
    grid-row: 1/3;
    width: 95%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    justify-self: center;
}

section.twitch_feed > .user_details > .avatar.live::before
{
    content: "Live";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    padding: 2px 4px;
    border-radius: 4px;
    background-color: rgb(255, 80, 50);
    color: white;
    font-family: consolas;
    font-size: 13px;
    font-weight: bold;
}

section.twitch_feed > .user_details > .username
{
    grid-column: 2;
    grid-row: 1;
    line-height: 30px;
    width: fit-content;
}

section.twitch_feed > .user_details > .followers
{
    grid-column: 2;
    grid-row: 2;
    width: fit-content;
    opacity: 0.75;
}

section.twitch_feed > .user_details > .link
{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    user-select: none;
    background-color: #9147ff;
    color: white;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

section.twitch_feed > .user_details > .link:hover
{
    filter: brightness(0.75);
}

section.twitch_feed > .user_details > .link:active
{
    filter: brightness(0.5);
}

section.twitch_feed > .user_details > .link::after
{
    content: "";
    mask-image: url("https://staging.framee.me/assets/gfx/svg/diagonal_arrow_white.svg");
    mask-size: 10px;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: white;
    width: 12px;
    aspect-ratio: 1/1;
}

section.twitch_feed > .stream
{
    margin-top: 15px;
    width: 100%;
}

section.twitch_feed > .stream:has(> iframe.live)
{
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

section.twitch_feed > .stream > iframe.live
{
    width: 100%;
    height: 100%;
}

section.twitch_feed > .stream > .offline > h3
{
    margin: 10px 0;
    opacity: 0.75;
}

section.twitch_feed > .recent_streams
{
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

section.twitch_feed > .recent_streams > .stream
{
    position: relative;
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
    text-decoration: none;
}

section.twitch_feed > .recent_streams > .stream > .thumbnail
{
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.twitch_feed > .recent_streams > .stream > .meta
{
    opacity: 0.75;
}

@media (max-width: 450px)
{
    section.twitch_feed > .recent_streams
    {
        flex-direction: column;
        align-items: center;
    }

    section.twitch_feed > .recent_streams > .stream
    {
        flex: unset;
        width: 70vw;
    }
}

    /* ETSY SHOP */

section.etsy_shop
{
    display: flex;
    flex-direction: column;
}

section.etsy_shop > .shop_details
{
    position: relative;
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: 30px 1fr;
    gap: 0 15px;
}

section.etsy_shop > .shop_details > .icon
{
    position: relative;
    grid-column: 1;
    grid-row: 1/3;
    width: 95%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    justify-self: center;
}

section.etsy_shop > .shop_details > .name
{
    grid-column: 2;
    grid-row: 1;
    line-height: 30px;
    width: fit-content;
}

section.etsy_shop > .shop_details > .stats
{
    grid-column: 2;
    grid-row: 2;
    height: 20px;
    position: relative;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-right: 100px;
}

section.etsy_shop > .shop_details > .stats > .rating
{
    display: flex;
    flex-direction: row;
    gap: 4px;
    white-space: nowrap;
}

section.etsy_shop > .shop_details > .stats > .rating > .star
{
    width: 15px;
    aspect-ratio: 1/1;
    mask-image: url("https://staging.framee.me/assets/gfx/svg/star.svg");
    mask-size: 15px;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: #efcd35;
    margin-top: -1px;
}

section.etsy_shop > .shop_details > .stats > .rating > .count,
section.etsy_shop > .shop_details > .stats > .sales,
section.etsy_shop > .shop_details > .stats > .time_on,
section.etsy_shop > .shop_details > .stats > .divider
{
    opacity: 0.75;
}

section.etsy_shop > .shop_details > .link
{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    user-select: none;
    background-color: #ef6535;
    color: white;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

section.etsy_shop > .shop_details > .link:hover
{
    filter: brightness(0.75);
}

section.etsy_shop > .shop_details > .link:active
{
    filter: brightness(0.5);
}

section.etsy_shop > .shop_details > .link::after
{
    content: "";
    mask-image: url("https://staging.framee.me/assets/gfx/svg/diagonal_arrow_white.svg");
    mask-size: 10px;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: white;
    width: 12px;
    aspect-ratio: 1/1;
}

section.etsy_shop > .products_container
{
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 25%);
    gap: 5px;
    margin-top: 15px;
}

@media (max-width: 450px)
{
    section.etsy_shop > .products_container
    {
        grid-template-columns: repeat(2, 50%);
    }

    section.etsy_shop > .shop_details > .stats > .divider,
    section.etsy_shop > .shop_details > .stats > .sales,
    section.etsy_shop > .shop_details > .stats > .time_on
    {
        display: none;
    }
}

section.etsy_shop > .products_container > .product
{
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 4px;
    box-sizing: border-box;
    text-decoration: none;
}

section.etsy_shop > .products_container > .product > .image
{
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.etsy_shop > .products_container > .product > .title
{
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

section.etsy_shop > .products_container > .product > .price
{
    opacity: 0.75;
}

    /* LINKS */

section.links > .links_container
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media (max-width: 450px)
{
    section.links > .links_container
    {
        justify-content: center;
    }
}

section.links > .links_container > .link
{
    position: relative;
    width: 125px;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

section.links > .links_container > .link > .icon
{
    width: 65px;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.links > .links_container > .link > .label
{
    margin-top: 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

    /* IMAGE POPUP */

body:has(.image_popup)
{
    overflow: hidden;
    touch-action: none;
}

.image_popup
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.image_popup > img
{
    max-width: 80vw;
    max-height: 80vh;
}

.image_popup > .close_button
{
    position: absolute;
    top: 25px;
    right: 25px;
    width: 35px;
    aspect-ratio: 1/1;
    background-image: url("https://staging.framee.me/assets/gfx/svg/x.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
}

.image_popup > .close_button:hover
{
    cursor: pointer;
}

button.heart
{
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: black;
    border: none;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    animation: show_heart_button 0.75s ease forwards;
    animation-delay: 1s;
    margin-bottom: -150px;
    opacity: 0;
    transition: 0.3s;
}

@keyframes show_heart_button
{
    from
    {
        margin-bottom: -150px;
        opacity: 0;
    }
    to
    {
        margin-bottom: 20px;
        opacity: 1;
    }
}

button.heart > .icon
{
    width: 25px;
    aspect-ratio: 1/1;
    background-image: url("https://staging.framee.me/assets/gfx/svg/empty_heart.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
}

button.heart.hearted > .icon
{
    background-image: url("https://staging.framee.me/assets/gfx/svg/heart.svg");
}

button.heart > .tooltip
{
    position: absolute;
    top: 0;
    transform: translateY(-100%);
    margin-top: -6px;
    background-color: rgb(40, 40, 40);
    color: white;
    font-family: "Gabarito", sans-serif;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.15s;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 450px)
{
    button.heart > .tooltip
    {
        display: none;
    }
}

button.heart:hover
{
    cursor: pointer;
    background-color: rgb(40, 40, 40);
}

button.heart.hearted:hover
{
    cursor: default;
}

button.heart:not(.hearted):hover > .icon
{
    width: 28px;
}

button.heart:hover > .tooltip
{
    opacity: 1;
}

button.heart:not(.hearted):active
{
    background-color: rgb(60, 60, 60);
}

button.heart:not(.hearted):active > .icon
{
    width: 32px;
}

button.heart.heart_left > .icon
{
    animation: heart_left 0.6s ease forwards;
}

@keyframes heart_left
{
    from
    {
        transform: scale(1);
    }
    33%
    {
        transform: scale(0);
        background-image: url("https://staging.framee.me/assets/gfx/svg/heart.svg");
    }
    66%
    {
        transform: scale(1.5);
        background-image: url("https://staging.framee.me/assets/gfx/svg/heart.svg");
    }
    to
    {
        transform: scale(1);
        background-image: url("https://staging.framee.me/assets/gfx/svg/heart.svg");
    }
}

.floating_heart
{
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 30px;
    aspect-ratio: 1/1;
    background-image: url("https://staging.framee.me/assets/gfx/svg/heart.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 8;
    transform: translate(-50%, -50%) scale(var(--scale));
    animation: floating_heart 0.8s ease-out forwards;
}

@keyframes floating_heart
{
    from
    {
        opacity: 1;
        transform: translate(-50%, -50%) scale(var(--scale)) rotate(0deg);
    }
    50%
    {
        opacity: 1;
    }
    to
    {
        opacity: 0;
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.2) rotate(var(--rotation));
    }
}

.join_framee_popup
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10;
    pointer-events: auto;
    opacity: 0;
    animation: join_framee_popup_fade_in 0.3s ease forwards;
}

@keyframes join_framee_popup_fade_in
{
    from
    {
        opacity: 0;
    }
    to
    {
        opacity: 1;
    }
}

@keyframes join_framee_popup_fade_out
{
    from
    {
        opacity: 1;
    }
    to
    {
        opacity: 0;
    }
}

.join_framee_popup > .panel
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #2c2b2d;
    background-color: #05040a;
    color: lightgray;
    width: 450px;
    height: 250px;
    border-radius: 15px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: join_framee_panel_fade_in 0.5s ease forwards;
}

@keyframes join_framee_panel_fade_in
{
    from
    {
        opacity: 0;
        top: 100%;
        transform: translate(-50%, 100%) rotate(-15deg);
    }
    to
    {
        opacity: 1;
        top: 50%;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes join_framee_panel_fade_out
{
    from
    {
        opacity: 1;
        top: 50%;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to
    {
        opacity: 0;
        top: 100%;
        transform: translate(-50%, 100%) rotate(15deg);
    }
}

.join_framee_popup > .panel > .top_bar
{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2c2b2d;
    padding: 20px;
    box-sizing: border-box;
}

.join_framee_popup > .panel > .top_bar > .title
{
    margin-left: 10px;
    font-size: 22px;
    font-family: "Space Grotesk", sans-serif;
}

.join_framee_popup > .panel > .top_bar > .close_button
{
    position: relative;
    border: 1px solid #2c2b2d;
    background-color: transparent;
    border-radius: 8px;
    width: 35px;
    aspect-ratio: 1/1;
    transition: 0.3s;
}

.join_framee_popup > .panel > .top_bar > .close_button::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../gfx/svg/x.svg");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
}

.join_framee_popup > .panel > .top_bar > .close_button:hover
{
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.join_framee_popup > .panel > .top_bar > .close_button:active
{
    background-color: rgba(255, 255, 255, 0.25);
}

.join_framee_popup > .panel > .subtitle
{
    margin-top: 35px;
}

.join_framee_popup > .panel > button
{
    margin-top: 10px;
    border: none;
    position: relative;
    background-color: lightgray;
    color: #05040a;
    font-family: "Gabarito", sans-serif;
    user-select: none;
    font-size: 17px;
    white-space: nowrap;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    padding-right: 45px;
    transition: background-color 0.3s, filter 0.2s;
}

.join_framee_popup > .panel > button > div
{
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    height: 50%;
    aspect-ratio: 1/1;
    background-color: #05040a;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s;
}

.join_framee_popup > .panel > button > div::before
{
    content: "";
    position: absolute;
    background-image: url("https://staging.framee.me/assets/gfx/svg/diagonal_arrow_white.svg");
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.join_framee_popup > .panel > button > div::after
{
    content: "";
    position: absolute;
    background-image: url("https://staging.framee.me/assets/gfx/svg/diagonal_arrow_black.svg");
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
}

.join_framee_popup > .panel > button:hover
{
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    color: lightgray;
}

.join_framee_popup > .panel > button:hover > div
{
    background-color: lightgray;
}

.join_framee_popup > .panel > button:active
{
    filter: brightness(0.4);
}

.join_framee_popup > .panel > button:hover > div::before
{
    animation: hover_diagonal_white_arrow 0.6s ease forwards;
}

.join_framee_popup > .panel > button:hover > div::after
{
    animation: hover_diagonal_black_arrow 0.6s ease forwards;
}

@keyframes hover_diagonal_white_arrow
{
    from
    {
        transform: none;
    }
    to
    {
        transform: translate(40px, -40px);
        visibility: hidden;
    }
}

@keyframes hover_diagonal_black_arrow
{
    from
    {
        visibility: visible;
        transform: translate(-40px, 40px);
    }
    to
    {
        transform: translate(0, 0);
        visibility: visible;
    }
}