body {
    margin: 10px auto;
}

div img {
    max-width: 640px;
    object-fit: scale-down;
}

@media only screen and (max-width: 414px) {
    div img {
        max-width: 404px;
    }
}

@media only screen and (max-width: 375px) {
    div img {
        max-width: 365px;
    }
}

@media only screen and (max-width: 320px) {
    div img {
        max-width: 310px;
    }
}
