#fotoclienti #quartopattern {
    max-width: fit-content;
    position: absolute;
    left: 3vw;
    top: 0vh;
    height: 34vh;
    z-index: 0;
}

#fotoclienti {
    background-color: #dde3dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

#fotoclienti > h3 {
    font-family: "Titan One", regular;
    font-size: 4em;
    color: #3AB08A;
    text-shadow: -4px 3px #72c4e4;
    text-align: center;
    margin: 0 0rem 5rem 0rem;
    letter-spacing: 0.2rem;
    padding-top: 10rem;
    z-index: 1;
    font-weight: 1;
}

.tantefoto {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 4.5rem;
    z-index: 1;
    font-family: "nunito sans", sans-serif;
}

.tantefoto div > p {
    text-align: center;
    margin-top: 5px;
}

#cooperation {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    gap: 4.5rem;
    z-index: 1;
}

.logoCooperation {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: contain;
}

#img1, #img2, #img3, #img4, #img5, #img6, #img7, #img8, #img9 {
    width: 380px;
    height: 380px;
    border-radius: 30px;
}

@media screen and (max-width: 600px) {
    #fotoclienti > h3 {
        font-size: 1.5em;
        text-shadow: -3px 2px #72c4e4;
        margin: 0 0rem 2rem 0rem;
        letter-spacing: 0.2rem;
        padding-top: 6rem;
        font-weight: 1;
    }

    .tantefoto {
        grid-template-columns: auto;
        gap: 0vh;
        margin-top: 0vh;
    }

    .tantefoto #img1, .tantefoto #img2, .tantefoto #img3 {
        scale: 85%;
    }

    .tantefoto #img4, .tantefoto #img5, .tantefoto #img6, .tantefoto #img7, .tantefoto #img8, .tantefoto #img9 {
        display: none;
    }

    #fotoclienti #quartopattern {
        display: none;
    }

    #pattern2telefono {
        max-width: fit-content;
        position: absolute;
        left: 0.2rem;
        top: 2.8rem;
        height: 14.1vh;
        z-index: 0;
    }
}

@media screen and (min-width: 600px) {
    #pattern2telefono {
        display: none;
    }

}

@media screen and (max-width: 770px) {
    #pattern2telefono {
        display: none;
    }

    #cooperation {

        grid-template-columns: auto;

    }
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
    .tantefoto {
        grid-template-columns: auto auto;
    }


    #cooperation {

        grid-template-columns: auto auto auto;

    }
}

@media screen and (min-width: 2560px) {
    #fotoclienti {
        padding-top: 17vh;
    }

    #fotoclienti h3 {
        font-size: 7em;
    }


    #img1, #img2, #img3, #img4, #img5, #img6, #img7, #img8, #img9 {
        width: 21vw;
    }
}