#history-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 1024px;
    margin: -128px auto 0;
    padding: 48px 24px;

    background-color: white;
    border-radius: 6px;
    box-shadow: rgb(0 0 0 / 35%) 0 -6px 6px -6px;
}

#history {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 76%;
}

#history-photos {
    display: flex;
    gap: 12px;
    justify-content: space-between;

    width: 1024px;
    padding: 48px 24px;
}

#history-photos > img {
    max-width: 24%;
    height: auto;
}

@media only screen and (width <= 1024px) {
    #history-wrapper {
        width: 100%;
        margin: 0 auto;
    }

    #history-photos {
        flex-direction: column;
        width: 100%;
    }

    #history-photos > img {
        max-width: 100%;
    }
}
