{box-sizing: border-box;}

body {
	background-color: #EAEAEA;
	color: #530000;
	font-family: Arial, "Helvetica", or sans-serif;
}

header {
	background-color: #f77e7e;
	color: #FFFFFF;
	text-align: center;
	padding-top: 10px;
}

header a {
	text-decoration: none;
	color: #FFFFFF;
}

header a:link {
	color: #FFFFFF;
}

header a:visited {
	color: #FFFFFF;
}

header a:hover {
	color: #f1c232;
}

h1 {
	color: #008080;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0.5em 0;
	font-family: Georgia, "Times New Roman", serif;
}

h2 {
	color: #f77e7e;
	font-family: Georgia, "Times New Roman", serif;
	text-shadow: 1px 1px 1px #CCCCCC;
}

h3 {
	font-family: Georgia, "Times New Roman", serif;
	color: #008080;
}

nav {
	font-weight: bold;
	font-size: 120%
	padding: 0;
	text-align: center;
}

nav a {
	text-decoration: none;
	padding-left: .5em;
	padding-right: .5em;
	transition: color 3s ease-out;
	
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding-left: 0;
	font-size: 1.4em;
}

nav li{
	border-bottom: 1px solid #f77e7e;
}

nav a:link{
	color: #5fcfcf;
}

nav a:visited{
	color: #008080;
}

nav a:hover {
	color: #f1c232;
}

main {
	padding: 15px 20px 20px 30px;
	display: block;
	background-color: #FFFFFF;
	padding-left: 30px;
	overflow: auto;
}

main ul {
	list-style-image: url(cupcake.gif)
}

dt {
	color: #002171;
}

.divine {
	color: #f77e7e;
	font-weight: bold;
}

form {
	display: flex;
	flex-flow: column nowrap;
	}
input, textarea {
	margin-bottom: .5em;
}

input {
	padding: .5em;
}

* {
	box-sizing: border-box;
}

.column {
	float: left;
	width: 33.33%;
	padding: 5px;
}

.row::after {
	content: "";
	clear: both;
	display: table;
}

footer {
	padding: .5em;
	background-color: #FFFFFF;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 75%;
	font-style: italic;
	text-align: center;
}

#wrapper {
	margin: auto;
	background-image: linear-gradient(to bottom, #FFFFFF, #f77e7e);
	background-color: #f77e7e;
}

#contact {
	font-size: 90%;
}

#homehero {
	height: 450px;
	background-image: url(simplydivine.jpg);
	background-size: 100% 130%;
	background-repeat: no-repeat;
}

#cakehero {
	height: 500px;
	background-image: url(cake.jpg);
	background-size: 100% 90%;
	background-repeat: no-repeat;
}

#cookiehero {
	height: 500px;
	background-image: url(cookie.jpg);
	background-size: 100% 90%;
	background-repeat: no-repeat;
}

#cupcakehero {
	height: 500px;
	background-image: url(cupcake.jpg);
	background-size: 100% 90%;
	background-repeat: no-repeat;
}

table {
	border-spacing: 0;
	border-collapse: collapse;
	border: 2px solid #3399CC;
}

th, td {
	padding: 0.5em;
	border: 2px solid #3399CC;
}

td {
	text-align: center;
}

.text {
	text-align: left;
}

tr:nth-child(even) {
	background-color: #d0ffff;
}

video {
	float: right;
	margin: 1em;
}

@media (min-width: 600px) {
	nav ul{
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-around;
	}
	
	nav li{
		border-bottom: none;
	}
	
	section{
		margin: 0 2em;
		flex: 1;
	}
	
	.flow{
		display: flex;
		flex-direction: row;
	}
	
	form{
		display: grid;
		grid-template-columns: 6em 1fr;
		grid-template-rows: auto;
		grid-gap: 1em;
	}
	#submit {
		grid-column: 2/3;
		width: 9em;
	}
}

@media (min-width: 1024px){
	#wrapper{
		margin: auto;
		width: 80%;
		border: 1px solid #f77e7e;
		box-shadow: 3px 3px 3px #f77e7e;
	}
	
	nav{
		text-align: left;
		padding-left: 1em;
	}
	@supports (display: grid){
		nav ul{
			flex-direction: column;
		}
		
		header{grid-area: header;}
		nav{grid-area: nav;}
		.hero{grid-area: hero;}
		main{grid-area: main;}
		footer{ grid-area: footer;}
		#wrapper{
			display: grid;
			grid-template: 
						"header header" 100px
						"nav hero" auto
						"nav main" auto
						"nav footer" 50px / 180px 1fr ;
		}
	}
}