
* {
    box-sizing: border-box;
}

body {
    background: url(../images/paisley_muted.jpg) #44433f; 
    font-family: sans-serif; 
    margin:0px;
}
#decoration {
    display: none; 
    margin-top: -7; 
    margin-left: 20; 
    z-index: 3;
}

#container {
    background: #fdf7db; 
    width: 690px; 
    margin: 0 auto; 
    border-left: .4em solid #a74b39; 
    border-right: .4em solid #a74b39; 
    padding: 15px; 
    color: #333; 
    line-height: 1.5em;
}

#bodytext {
	margin-left: 35px;
}

#bodytext p {
	padding: 0 1em;
}

#bodytext a {
	color: #a74b39;
}

#bodytext > ul > li + li {
    margin-top: 0.7lh;
}

#navigation {
	width: 150px;
	margin-left: -120px;
	margin-right: 1em;
	margin-top: 1em;
	margin-bottom: 1em;
	border: 3px solid #a74b39;
	background: #fdf7db;
	float: left;
	line-height: 1.2em;
	border-radius: 6px;
}

#navigation ul {
	list-style-type: none;
	margin-left: -1em;
}

#navigation li {
	padding-bottom: 1em;
}

#navigation a {
	text-decoration: none;
	color: #a74b39;
	font-weight: 700;
}

#navigation a:hover {
	text-decoration: underline;
}

#title {height: 100px; text-align: center; clear: both;}

#title h1 {font-family: "Alegreya"; font-size: 38pt; font-weight: 400;}
#title p {font-family: "Alegreya", serif; font-weight: 400; margin-top: -.4em; font-size: 18pt; letter-spacing: 2px;}

#quote {
	font-size: smaller;
	color: #666;
	font-family: serif;
	font-style: italic;
	text-align: center;
	clear: both;
	/* margin-top: -2em;
	padding-bottom: 1em;
	*/
	line-height: 1.2em;
}

#footer {
    width:100%; 
    clear: both; 
    margin: 0 auto; 
    font-size: x-small; 
    text-align: center; 
    margin-top: 60px; 
    border-top: 1px solid #999;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr;
    grid-template-areas: "image boilerplate";
    gap: 1em;
}


#footer p {
	margin-top: .2em;
	line-height: 1.2em;
	text-align: left;
    grid-area: boilerplate;
}

#footer img {
	margin-left: auto;
	margin-top: 3px;
	border: 1px solid #ccc;
	padding: 2px;
	background: white;
    grid-area: image;
}

#sub-footer{
    display: none;
}

.body_photo img {
	padding: 12px;
	margin-right: -220px;
	margin-top: .4em;
	margin-left: .4em;
	margin-bottom: .4em;
	border: 3px solid #a74b39;
	background: white;
	border-radius: 6px;
    width: 380px;
    height: auto;
    float: right;
}

@media (max-width: 1023px) {
    #title {
        height: auto;
    }
    #title h1 {
        font-size: 20pt;
    }
    #title p {
        font-size: 14pt;
        margin-top: 0;
    }
    #container {
        width: 95vw;
    }
    #navigation {
        width: auto;
        margin: 1em auto;
        border-width: 2px;
        float: none;
    }
    #navigation li:last-child {
        padding-bottom: 0;
    }
    #bodytext {
        margin-left: 0;
    }
    .body_photo img {
        float: none;
        width: 100%;
        margin: .4em auto;
        border-width: 1px;
        padding: .5em;
    }
    #footer {

    }
}

