﻿.img-deceased {
    width: 300px;
    height: 300px;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
    object-fit: cover;
    border-radius:10px;
    margin:0 auto;
    display: block
}

.img-foodmenu {
    max-width: 300px;
    height: 400px;
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
}

.intro {
    font-weight: bold;
    text-align: justify;
}

.title {
    text-shadow: 1px 1px 2px pink;
    font-weight: bolder;
    color: mediumvioletred;
}

.error {
    text-shadow: 1px 1px 2px pink;
    font-weight: bolder;
    color: crimson;
    font-size: large;
}

.paragraph {
    text-align: justify;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    text-indent: 22px;
}

.eulogy {
    text-align: justify;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    text-indent: 22px;
    font-size: small;
    color: darkgreen;
    font-style: italic;
}

@media (min-width: 20em) {
    .image-left, .image-right, .img-foodmenu {
        display: flex;
        align-items: center;
    }

        .image-left img {
            margin-right: 1em;
            float: left; /* fallback */
        }

        .img-foodmenu img {
            margin-right: 1em;
            float: left; /* fallback */
        }

        .img-endowmentfund img {
            margin-right: 1em;
            float: left; /* fallback */
        }

        .image-right img {
            order: 1;
            margin-left: 1em;
            float: right; /* fallback */
        }

        /* clearfix for fallback */
        .image-left::after,
        .image-right::after {
            content: "";
            display: block;
            clear: both;
        }
}

@media (min-width: 30em) {
    .image-left img, .image-right img {
        flex-shrink: 0;
    }
}
