/* ------------------- NAVBAR PAGINA ARTISTA --------------------------- */

#artistNavbarSearch {
    width: 2vw;
    cursor: pointer;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    transition: transform 0.3s;
}

#artistNavbarSearch:hover {
    transform: scale(1.2);
}

#artistNavbarCurrentButtonContent {
    padding-top: 5vh;
    padding-bottom: 5vh;
}

#artistNavbarProfileThumbImg {
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 50%;
    border: 1px solid var(--complementary-background-primary-color-video);
}

#artistNavbarButtonsLaptop,
.artistNavbarButtonLaptop {
    display: block;
}

#artistNavbarButtonsMobile,
.artistNavbarButtonMobile {
    display: none;
}

.title_button_container {
    color: var(--complementary-background-primary-color-video);
    font-size: xxx-large;
}

#artistNavbarButtonsContainer {
    display: flex;
    overflow-x: auto;
}

.artist_name_section {
    font-size: x-large;
    color: var(--complementary-background-primary-color-video);
}

#artistNavbarSearchContainer {
    position: relative;
    float: inline-end;
}

.artist_navbar_button {
    font-size: x-large;
    color: var(--complementary-background-primary-color-video);
    cursor: pointer;
    flex-grow: 1;
    /* max-width: 15%; causava bug con smarthphone in orizzontale*/
    max-width: fit-content;
    margin-right: 20px;
}

#artist_navbar_container {
    background-color: var(--background-primary-color-video);
    z-index: 998;
}

#artist_navbar_container button {
    border: 0 solid var(--complementary-background-primary-color-video);
    color: var(--main-text-color-video);
    background-color: var(--background-primary-color-video);
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

.artist_navbar_button_selected {
    color: var(--complementary-background-primary-color-video);
}

.stickyArtistNavbar {
    position: fixed;
    top: 62px;
}

.artist_navbar_button_not_selected {
    color: var(--complementary-background-primary-color-video-light);
    -webkit-transition: color 0.6s;
    -moz-transition: color 0.6s;
    transition: color 0.6s;
}

.artist_navbar_button_not_selected:hover {
    color: var(--color-hover-text);
}

#artistNavbarSearchContainer {
    float: right;
    display: flex;
    justify-content: flex-end;
    padding-right: 25px;
}

#artistNavbarProfileThumbSectionName {
    display: none;
    color: var(--main-text-color-video);
}

#artistNavbarProfileThumbSectionMobile {
    display: none;
}

#artistVideoContainer {
    display: grid;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    grid-template-columns: repeat(4, calc(100% / 4));
}

.posterBannerArtist {
    max-height: 20vw;
    width: 100%;
}

.introVideoDecription p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 13;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 990px) {
    #artistNavbarProfileThumbSectionMobile {
        display: block;
        top: -5px;
        padding-left: 0;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    #artistNavbarButtonsContainer::-webkit-scrollbar,
    .artist_name_section,
    .artist_navbar_title_current_button_section>div,
    #artistNavbarProfileThumbSection {
        display: none;
    }

    #artistNavbarProfileThumbSectionName {
        display: block;
        font-size: xx-large;
    }

    #artistNavbarSearch {
        width: 100%;
    }

    #artistNavbarButtonsLaptop,
    .artistNavbarButtonLaptop {
        display: none;
    }

    #artistNavbarButtonsMobile,
    .artistNavbarButtonMobile {
        display: block;
        height: 100%;
        width: 100%;
    }

    #artistNavbarSearchContainer {
        display: block;
        padding-right: 15px;
        padding-left: 15px;
        position: absolute;
        bottom: 4px;
        right: -14px;
    }

    #artistNavbarButtonsContainer {
        /* width: 100%; commentato per fare spazio alla search (ho usato le col di boostrap)*/
        max-width: 100vw;
        overflow-x: auto;
        -ms-overflow-style: thin;
        /* IE and Edge */
        scrollbar-width: thin;
        /* Firefox */
        -webkit-transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
        transition: all 0.2s linear;
        padding: 0;
    }

    #artistNavbarSearchBox {
        width: 20%;
        margin-bottom: 5px;
    }

    #posterBannerArtistContainer {
        margin-bottom: 0 !important;
    }

    #artistVideoContainer {
        display: grid;
        grid-template-rows: auto;
        grid-auto-rows: auto;
        grid-template-columns: repeat(3, calc(100% / 3));
    }
}

@media screen and (max-width: 767px) {
    .artist_navbar_button {
        max-width: 50%;
    }

    #artistVideoContainer {
        display: grid;
        grid-template-rows: auto;
        grid-auto-rows: auto;
        grid-template-columns: repeat(2, calc(100% / 2));
    }
}

/* -------------------------------------------------------------------------- */