hgroup {
    text-align: center;
}

.centers > div {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
    background-color: var(--white);
}

.centers > div img {
    border-radius: 10px;
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

.centers h4 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: -20px;
    margin-top: 10px;
}

.centers h2 {
    font-size: 30px;
    line-height: 36px;
}

/* Mobile & Tablet */
@media (min-width: 540px) and (max-width: 819.999px) {
    .centers > div {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }  

    .centers > div picture {
        width: 35%;
    }

    .centers > div > div {
        width: 65%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .centers > div {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }  

    .centers > div picture {
        width: 35%;
    }

    .centers > div > div {
        width: 65%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.center .gallery {
    white-space: nowrap;
    overflow-x: hidden;
}

.center .gallery picture img {
    height: 400px;
    width: auto;
}