@import url('../css/main.css');

section.MainBody {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

section.MainBody>h2 {
    color: #fff;
}

.Photos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.Photos>.Photo {
    width: 100%;
    height: 152px;
    margin-top: 12px;
    padding: 6px 4px;
    border-radius: 4px;
    box-sizing: border-box;
}

.Photos>.Photo>img {
    width: 100%;
    height: inherit;
    object-fit: cover;
    border-radius: 5px;
}




@media only screen and (min-width: 1024px) {
    
    body {
        height: 100vh;
    }

    .Photos {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0px 12%;
        box-sizing: border-box;
         justify-content: flex-start;
    }

    .Photos>.Photo {
        width: 20%;
        height: 152px;
        margin-top: 12px;
        padding: 6px 4px;
        border-radius: 4px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}