html,
body {
    height: 100%;
    margin: 0;
}

.image-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.image-container img {
    max-width: 100%;
    height: auto;
}


/* For mobile phones: */

@media only screen and (max-width: 600px) {
    /* Insert CSS rules for mobile here */
}


/* For tablets: */

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Insert CSS rules for tablets here */
}


/* For desktops: */

@media only screen and (min-width: 1025px) {
    /* Insert CSS rules for desktops here */
}