section#artists {
    height: -moz-fit-content;
    height: fit-content;
    min-height: 0;
}


section#artists .container {
    width: 100%;
    max-width: none;
    margin: 0;

    overflow-x: hidden;
}

section#artists picture {
    width: 100%;
    height: 100%;

    display: flex;
}

.grid-icon {
    margin-bottom: 12px;
}

.grid-icon svg * {
    fill: var(--secondary);
}


.header-texts {
    padding: 0 20px;
    margin: 70px 0 200px 0;
}

.header-texts .title-group h1 {
    font-size: 7em;
    font-weight: 400;
}

.header-texts .title-group {
    width: -moz-fit-content;
    width: fit-content;
    padding-left: 115px;
    margin: 0 auto;
}

section#artists .title-group .svg-wrapper {
    transform: translateY(-20px);
    margin-left: 30px;
}

.carousel {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    height: -moz-fit-content;
    height: fit-content;

    overflow-x: hidden;

    display: flex;

    margin: 40px 0;
}

.line-template {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
}


.block {
    position: relative;

    width: 360px;
    height: 360px;

    font-size: 3.2em;
    margin: 0 20px;

    flex-shrink: 0;
    flex: 1 0 0px; /* É daora colocar aquele px no final do ultimo 0 porque IE ignora flex basis sem unidade de medida */
    text-align: center;

    color: var(--primary);
    background: var(--secondary);

    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}


.block::after {
    top: 0;
    left: 0;

    position: absolute;
    content: attr(data-artist-name);

    width: calc(100% - 20px);
    padding: 0 10px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: 0.3s ease-out;
    z-index: 5;

    background: var(--secondary-transparent);
}

.block.active::after {
    opacity: 1;
}

.block:hover {
    cursor: pointer;
}

.block img {
    width: 100%;
    height: 100%;

    -o-object-fit: cover;
    object-fit: cover;

    pointer-events: none;
}


@media screen and (max-width: 1920px){
    .block {
        width: 274px;
        height: 274px;
    }
}

@media screen and (max-width: 1440px){
    .block {
        width: 207px;
        height: 207px;
    }
}


@media screen and (max-width: 1080px){
    section#artists.hover .svg-wrapper svg .arrow-body {
        transition-delay: 0.2s;
        stroke-dashoffset: 0;
    }
    
    section#artists.hover .svg-wrapper svg .small-chevron {
        transform: translateX(60%);
    }
    
    section#artists.hover .svg-wrapper svg .small-chevron line {
        transition-delay: 0.3s;
        stroke-dasharray: 20;
    }
}

@media screen and (max-width: 850px){
    .header-texts .title-group {
        padding-left: 0;
        flex-direction: column;
    }

    section#artists .title-group .svg-wrapper {
        margin-left: 0;
        transform: none;
    }
}

@media screen and (max-width: 730px){
    .back-button {
        height: 38px;
        width: -moz-fit-content;
    width: fit-content;
        top: 92px;
    }

    .back-button svg {
        width: auto;
        height: 100%;
    }
}

@media screen and (max-width: 700px){
    .block {
        width: 175px;
        height: 175px;

        margin: 0 10px
    } 
}

@media screen and (max-width: 650px){
    .header-texts .title-group h1 {
        font-size: 6em;
    }
}

@media screen and (max-width: 570px){

    .header-texts {
        margin-bottom: 150px;
    }

}