.corner-root {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: auto;

    width: calc(100% - 4rem);
    margin: 5rem 2rem 0 2rem;
}

.corner-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 100%;

    color: black;
    font-size: 2.0rem;
    font-weight:500;
}

.corner-masonry-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 60%;
    height: auto;
}

.masonry-grid {
    width: 100%;
    display: block;
}
  
.masonry-item {
    width: 46%;
    margin: 0.5% 0.5% 0.5% 0.5%;
    display: inline-block;
}

.masonry-item img {
    width: 100%;
    max-height: 45vh;
    object-fit: fill;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

@media (max-width: 992px) {
    .corner-root {
        flex-direction: column;
    }

    .corner-title {
        width: 100%;
        text-align: center;
        height: auto;
        margin: 1rem 1rem 1rem 1rem;
    }

    .corner-masonry-container {
        width: calc(100% - 2rem);
        margin: 2rem 1rem 1rem 1rem;
    }

    .masonry-item {
        width: calc(100% - 2rem);
        margin: 1rem 1rem 1rem 1rem;
    }
}
