@import url('https://fonts.googleapis.com/css?family=Crafty+Girls');

body {
	background-image: url("images/background.jpg");
	font-family: Tahoma, Geneva, sans-serif;
	border-bottom: 1px solid #686767; /*needs to stay or else footer floats!*/
	max-height: 1020px;
	margin: 0px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Crafty Girls', cursive;
	color: #686767;
	margin: 25px 0px -150px 0px;
}

p {
	color: #f2a391;
	font-size: .9em;
}

figcaption {
	font-family: 'Crafty Girls', cursive;
	color: #9accc7;
	font-size: 1.15em;
}

								/*HEADER*/

#topgrey {
	height: 190px;
	background: #686767;
	margin: 0px;
	padding: 0px;
	position: relative;
	top: 0px;
}

#navback {
	height: 190px;
	width: 725px;
	background: #686767; 
	margin: 0px;
	padding: 0px;
	position: relative;
	top: -190px;
}

header {
	height: 165px;
	width: 625px;
	margin: 0px auto;
	position: relative; 
	top: -355px;
	padding: 0px;
}

header nav div {
	width: 78px;
	height: 78px;
	color: white;
	text-align: center;
	float: right;
	z-index: 100;
	position: relative;
	top: -275px;
	margin-bottom: -75px;
}

header nav div a {
	background-color: #f2a391;
	display: block;
	border-radius: 50px;
	padding: 18px 8px 44px 8px;
	margin: 0px;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: .95em;
}

												/*mainnav*/											
#mainnav {
	margin: 0px;
}												
												
#mainnav a:link {
	color: #686767;
	text-decoration: none;
	font-weight: bold;
}

#mainnav a:visited {
	color: #686767;
}

#mainnav a:hover {
	background-color: #9accc7;
}

#mainnav a:active {
	background-color: #9accc7; 
	color: white; 
}

.current {
	background-color: #fce7e2;
}

#logo {
	position: relative;
	top: -20px;
	left: -35px;
	z-index: 2000;
}

.quote {					
	width: 380px;
	height: 130px;	
	position: relative;
	top: -240px;
	left: 245px;
	z-index: 2500;
}

header h2 {
	text-align: center;
	font-size: 2em;
}

								/*BODY*/

main {
	background-color: #fce7e2;
	margin: 0px auto -510px auto;
	width: 625px;
	height: 830px;
	border-top: 1px solid #fce7e2;
	border-bottom: 1px solid #686767; /*without the border, the frame collapses*/
	text-align: center;
	position: relative;
	top: -453px;
	z-index: 500;
}

.pale-body {
	background-color: #fbefec;
	border: 2px solid white;
	margin: 130px 15px 90px 15px;
	z-index: 510;
	height: 610px;
}

							/*Home Page Slider Circle*/
#slider {
position:relative;
top: -20px;
left: 25px;
height:540px;
width:540px;
border-radius: 1000px;
border: 3px solid #9accc7;
overflow: hidden;
margin: 0;
z-index: 520;
}

#slider img {
position:absolute;
left:0;
animation-name:sliderFadeInOut;
animation-timing-function:ease-in-out;
animation-iteration-count:infinite;
animation-duration:24s;

-webkit-animation-name:sliderFadeInOut;
-webkit-animation-timing-function:ease-in-out;
-webkit-animation-iteration-count:infinite;
-webkit-animation-duration:24s;

-moz-animation-name:sliderFadeInOut;
-moz-animation-timing-function:ease-in-out;
-moz-animation-iteration-count:infinite;
-moz-animation-duration:24s;
}

@keyframes sliderFadeInOut { 
  0% { opacity:1; } 
  13% { opacity:1; } 
  17% { opacity:0; } 
  96% { opacity:0; } 
  100% { opacity:1; } 
} 

@-webkit-keyframes sliderFadeInOut { 
  0% { opacity:1; } 
  13% { opacity:1; } 
  17% { opacity:0; } 
  96% { opacity:0; } 
  100% { opacity:1; } 
} 

@-moz-keyframes sliderFadeInOut { 
  0% { opacity:1; } 
  13% { opacity:1; } 
  17% { opacity:0; } 
  96% { opacity:0; } 
  100% { opacity:1; } 
} 

#slider img:nth-of-type(1) {
	animation-delay:20s;
	-webkit-animation-delay:20s;
	-moz-animation-delay:20s;
}

#slider img:nth-of-type(2) {
	animation-delay:16s;
	-webkit-animation-delay:16s;
	-moz-animation-delay:16s;
}

#slider img:nth-of-type(3) {
	animation-delay:12s;
	-webkit-animation-delay:12s;
	-moz-animation-delay:12s;
}

#slider img:nth-of-type(4) {
	animation-delay:8s;
	-webkit-animation-delay:8s;
	-moz-animation-delay:8s;
}

#slider img:nth-of-type(5) {
	animation-delay:4s;
	-webkit-animation-delay:4s;
	-moz-animation-delay:4s;
}

#slider img:nth-of-type(6) {
	animation-delay:0s;
	-webkit-animation-delay:0s;
	-moz-animation-delay:0s;
}

#home-text {
	position: relative;
	top: -20px;
	margin-bottom: -90px;
}

main div img {
	border-radius: 500px;
	border: 3px solid #9accc7;
}

							/*ABOUT PAGE*/

#column-left {
	width: 181px;
	float: left;
	margin: 100px 20px -150px 40px;
	text-align: left;
}

table {
	position: relative;
	top: 50px;
	left: -10px;
}

.left {
	padding-right: 20px;
}

.left, .right {
	padding-bottom: 20px;
}

							/*RECIPES PAGE*/

#recipe-text {
	text-align: left;
	width: 480px;
	position: relative;
	top: 55px;
	left: 45px;
}

.recipes-table {
	width: 510px;
	position: relative;
	left: 30px;
}

 .recipes-figure {
	 margin: 10px 13px 0px 13px;
 }
  
 							/*ARTWORK PAGE*/

#artwork-text {
	text-align: left;
	width: 480px;
	position: relative;
	top: 55px;
	left: 45px;
}

.artwork-table {
	width: 510px;
	position: relative;
	left: 30px;
}

 .artwork-figure {
	 margin: 10px 13px 0px 13px;
 }

							/*CONTACT PAGE*/

#contact-text {
	text-align: left;
	width: 148px;
	position: relative;
	top: 310px;
	left: 20px;
}

#main-bubble {
	background: #9accc7;
	width: 420px;
	height: 420px;
	border-radius: 500px;
	border: 2px solid white;
	position: relative;
	left: 155px;
	top: -80px;
}

#second-bubble {
	background: #9accc7;
	width: 110px;
	height: 110px;
	border-radius: 500px;
	border: 2px solid white;
	position: relative;
	left: 118px;
	top: -120px;
}

#small-bubble {
	background: #9accc7;
	width: 63px;
	height: 63px;
	border-radius: 100px;
	border: 2px solid white;
	position: relative;
	left: 35px;
	top: -160px;
}

#name-form, #email-form {
	background: white;
	width:248px;
	border-radius: 10px;
	border: 2px solid #686767;
	text-align: left;
	padding: 8px 0px 8px 10px;
	margin: 60px auto -50px auto;
}

#message-form {
	background: white;
	width:248px;
	border-radius: 10px;
	border: 2px solid #686767;
	position: relative;
	text-align: left;
	padding: 8px 0px 172px 10px;
	margin: 60px auto 0px auto;
}

#send-away {
	background: #f2a391;
	width: 110px;
	border-radius: 10px;
	border: 2px solid #686767;
	position: relative;
	top: -190px;
	left: 460px;
	text-align: center;
	padding: 6px 0px 10px 0px;
	font-weight: bold;
	color: #e5faf8;
}

							/*FOOTER*/

#bottomgrey {
	height: 150px;
	background: #686767;
	position: absolute;
	margin: 0 auto;
	width: 725px;
}

footer {
	background: #686767;
	width: 100%;
	height: 150px;
	text-align: center;
	position: absolute;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0;
}

footer nav li{
	display: inline;
}

#footernav {
	width: 450px;
	margin: 70px auto -65px auto;
}

#footernav li {
	margin-right: 30px;
	font-size: 1.1em;
}

#footernav a:link{
	color: #f2a391;
	text-decoration: none;	
}

#footernav a:visited{
	color: #f2a391;
}

#footernav a:hover {
	color: #9accc7;
}

#footernav a:active{
	color: white;
}

#footersubnav {
	width: 400px;
	margin: 70px auto 0px auto;
}

#footersubnav li {
	margin-right: 35px;
	font-size: .9em;
	color: #f2a391;
}

#footersubnav a:link{
	color: #f2a391;
	text-decoration: none;	
}

#footersubnav a:visited{
	color: #f2a391;
}

#footersubnav a:hover {
	color: #9accc7;
}

#footersubnav a:active{
	color: white;
}