* {
    margin: 0;
    padding: 0;
}
body {
    margin: 1.5em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
img {
    width: 100%;
    height: auto;
    display: block;
}
picture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eaeaea;
    height: 400px;
}
picture img {
    height: 85%;
    margin: 30px;
    width: auto;
    box-shadow: -4px 6px 10px rgba(1, 1, 1, 0.4);
}
h1 {
    margin: 1em 0;
    text-align: center;
    line-height: 130%;
}
p {
    margin: 1em 0;
    line-height: 150%;
    font-size: 17px;
    hyphens: auto;
}
a {
    color: #e1222a;
}
.byline {
    text-align: center;
    margin-bottom: 2.5em;
    font-size: 15px;
}
.bio {
    font-size: 15px;
}
#person {
    margin-top: 4em;
    border-top: 1px dotted #666;
    padding-top: 1em;
}
#person img {
    float: left;
    width: 22%;
    margin: 1.2em 1.2em 0 0;
}
#person p:last-of-type {
    color: #888;
}
@media screen and (min-width: 647px) {
    body {
        margin: 1.5em auto;
        max-width: 620px;
    }

}
@media screen and (min-width: 1000px) {
    body {
        margin: 1.5em auto;
        max-width: 960px;
    }
    #problem {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        grid-template-areas:
            "head head"
            "text img";
        gap: 2em;
    }
    #problem header {
        grid-area: head;
    }
    #problem div {
        grid-area: text;
        padding-top: 1.5em;
    }
    #problem img {
        grid-area: img;
        margin-top: 1em;
    }
    #proposal {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2em;
    }
    #proposal {
        margin-top: 4em;
    }
    #proposal div {
        order: 1;
    }
    #proposal picture {
        margin-top: 1em;
    }
    #person img {
        width: 10.5%;
    }
    h1 {
        font-size: 3.6em;
        letter-spacing: -1px;
        margin: 1em 40px 30px 40px;
    }
    p {
        font-size: 18px;
        hyphens: auto;
        text-align: justify;
    }
    a:hover {
        text-decoration: none;
    }
    picture {
        height: 470px;
    }
}

@media screen and (max-width: 899px) {
    #proposal picture {
        margin-top: 2em;
    }
    #person p:last-of-type {
        text-align: center;
        margin-top: 3em;
    }
    #person span {
        display: block;
    }
}