
body {
    background-color: #ffede1;
    color: #0e1c36;
    font-size: 25px;
    font-family: "Alegreya Sans", sans-serif;
}

h1 {
    text-align: center;
    position: sticky;
    margin: 1px;
    margin-top: 30px;
    padding: 10px;
    font-family: "Lobster", serif;

}

h2 {
    text-align: center;
    position: sticky;
    margin: 10px;
    margin-top: 20px;
    /*margin-bottom: px;*/
    padding: 10px;
    font-family: "Lobster", serif;

}

h3 {
    text-align: center;
    position: sticky;
    margin: 10px;
    margin-top: 20px;
    padding: 10px;
    font-family: "Lobster", serif;

}

p {
	font-size: 18px;
    line-height: 1.6;
}


.copyright {
    text-align: center;
    background-color: rgba(255,237,225, 0.7);
    padding: 20px;    
    margin-left: 200px;
    margin-right: 200px;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);

}

hr {
    border-width: 5px;
    border-color: black;
}

button {
	margin: 5px;
    padding: 10px;
    overflow: hidden;
    font-size: 17px;
    font-family: "Lobster", serif;
    background-color: #3a405a;
    color: white;
    border: none;
    /*text-decoration: none;*/
}

button:hover {
	background-color: #ffede1;
	color: #3a405a;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

#link {
    font-size: 18px;
    color: #3a405a;
    text-decoration: none;

}

#link:hover {
    color: #3a405a;
    text-shadow: 5px, 5px, black;

}

#linkButtons {
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    font-size: 17px;
    font-family: "Lobster", serif;
    background-color: #3a405a;
    color: white;
    border: none;
    text-decoration: none;
}

#linkButtons:hover {
    background-color: #ffede1;
    color: #3a405a;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);

}


#poem {
	height: auto;
	margin: 300px;
	margin-top: 150px;
	padding: 25px;
	text-align: center;
	font-size: 40px;
	background-color: rgba(255,237,225, 0.9);
	font-family: "Lobster", serif;
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.backing {
	width: auto;
	height: auto;
	margin: 50px;
	padding: 5px 20px 50px 20px;
	font-size: 17px;
	background-color: rgba(255,237,225, 0.5);
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);

}

.flex-box {
	border-style: solid;
	width: auto;
	height: auto;
	margin: 25px;
	padding: 25px;
	background-color: rgba(255,237,225, 0.9);
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.flex-box img {
	width: 400px;
    height: auto;
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}


/* Navigation Bar ---------------------------------*/

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffede1;
    font-size: 17px;
    font-family: "Lobster", serif;
    border-style: solid;
    width: 99.5%;
    position: sticky;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);

    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

li {
    display: inline;
	float: left;
	margin-top: 5px;
	margin-bottom: 5px;
    width: 19.9%;

}

li a {
    display: block;
    color: #0e1c36;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    cursor: pointer;

}

li a:first-child {
	margin-left: 5px;
}

li a:hover {
    background-color: #3a405a;
    color: white;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);

}

/* Responsive ---------------------------------*/


@media screen and (max-width: 1008px){
	/*p {font-size: 16px;}*/
	#poem {margin-left: 200px; margin-right: 200px;}
   	.flex-container {flex-direction: column;}
   	.flex-box {margin: 25px;}
   	.flex-box img {width: 200px;}
/*   	.recipe-page {margin-left: 5px; margin: 25px; width: 400px;}
   	.recipe-page object {width: 50%; height: 70%;}*/
    #linkButtons {width: 50%; height: 70%;}

}

@media screen and (max-width: 850px){
	#poem {margin-left: 100px;margin-right: 100px;}
    p {font-size: 16px;}

}

@media screen and (max-width: 640px){
    #poem {font-family: "Alegreya Sans", sans-serif; font-size: 14px;}
    ul.topnav {padding-right: 5px; width: 97%;}
    ul.topnav li.right, 
    ul.topnav li {float: none;}
    ul.topnav li {margin: 0px;}
   	#poem {margin: 10px;}
   	.flex-container {flex-direction: column; margin-top: 20px;}
    .flex-box {padding: 10px; margin: 10px; width: 80vw;}
   	.flex-box img {padding: 0px; margin: 10px; width: 75vw;}
    .backing {width: 100%; padding: 0px; margin: 0px; padding-top: 5px; margin-top: 5px; padding-bottom: 2px;}
   	/*#fiction {margin: 15px; padding-bottom: 15px;}*/
/*   	.recipe-page{padding: 15px; margin: 15px; width: 300px;}
   	.recipe-page object {width: 300px;}*/
    .copyright {margin-left: 10px; margin-right: 10px;}
    #linkButtons {margin: 5px; padding: 10px;}

}