/*
   Final Website

      Doodle the Stress Away Page
      Author: Noah Wilkins
      Date: 8-30-15

   Filename:         dtsa.css
   Supporting Files: zentangleLeftpng.png, zentangle-patterns-free.lpg, 
                        TangleLeft.jpg, Pens.jpg, Logo.jpg, dtsa.css,
     					3 HOURS Relaxing Music with Water Sounds Meditation.mp3,
                        1 HOUR Zen Music For Inner Balance, Stress Relief and Relaxation by Vyanah.mp3

*/

/* Display HTML5 structural elements as blocks */

article, aside, figure, figcaption, footer, hgroup, header, 
section, nav {
   display: block;
}


/* Set the default page element styles */

body * {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 100%;
	font-weight: inherit;
	line-height: 1.2em;
	list-style: none;
	margin-top: 2px;
	margin-left: 29px;
	margin-bottom: 25px;
	text-decoration: none;
	vertical-align: baseline;
	margin-right: 3px;
}



/* Body Styles */
body {
	background: url(zentangleLeftpng) repeat-y;
	width: 95%;
	min-width: 1000px;
	max-width: 1400px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: normal;
}



/* Header Styles */

header {
	width: 50%;
	margin-top: -251px;
	margin-right: auto;
	margin-left: auto;
}

header nav {
	position: absolute;
	top: 170px;
	width: 71%;
	z-index: 2;
	margin-top: 96px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0px;
	right: -21px;
}

header nav ul li {
	display: block;
	float: left;
	width: auto;
	margin: 0px 2px;
	text-align: center;
}

header nav ul li a {
	display: block;
	border: 2px double black;
	width: 80%;
	background-color: rgba(255,0,3,0.70);
	color: white;
}

header nav ul li a:hover {
   color: black;
}

header h1 {
	text-align: center;
	clear: left;
	width: 45%;
	font-size: 1.4em;
	letter-spacing: 3px;
	font-weight: bold;
	margin-left: 40%;
	border-radius: 21px;
	border-style: double;
	border-width: 8px;
}



/* Vertical Navigation Styles */
nav.vertical {
	float: left;
	width: 15%;
	margin-top: -10px;
	-op-background-size: contain;
	-moz-background-size: contain;
	-webkit-background-size: contain;
	background-size: contain;
	margin-left: -25px;
	margin-right: 75px;
}

nav.vertical ul {
	margin-left: 10px;
	text-align: center;
	width: 95%;
}

nav.vertical li.lTitle {
	font-size: 1.2em;
	margin-top: 30px;
	margin-bottom: 12px;
	display: block;
	border: 3px solid black;
	width: 88%;
	background-color: rgba(255,0,3,0.70);
	color: white;
	text-align: center;
	margin-left: -15px;
}

nav.vertical li {
	display: block;
	margin-bottom: 3px;
	border: 2px solid black;
	width: 90%;
	background-color: rgba(255,0,3,0.70);
	color: white;
	text-align: center;
	border-radius: 20px;
	margin-left: -15px;
	padding-top: 0px;
}

nav.vertical li a {
	width: 76%;
	margin-left: 15px;
	color: #FFFFFF;
	text-align: center;
}

nav.vertical li a:hover {
	color: rgba(0,0,0,1.00);
	text-align: center;
}



/* Section Styles */
section {
   margin-top: 20px;
}


section article h2 {
	margin: 0px 0px 15px 0px;
	font-weight: normal;
	text-align: center;
	color: white;
	background-color: #FF0003;
	font-size: 1.2em;
	letter-spacing: 5px;
	line-height: 2em;
}

section article {
	background-color: white;
	border: 8px double rgba(60,7,7,1.00);
	border-radius: 0px;
	margin-bottom: 20px;
	margin-left: 55px;
	width: 95%;
}

section article p {
	font-size: 0.9em;
	margin-right: 15px;
	margin-left: 42px;
}


section.middle article:first-of-type p:first-of-type {
   text-align: center;
}




/* Middle Section Styles */
section.middle {
	width: 30%;
	float: left;
	margin-left: 80px;
}

section.middle img {
   float: right;
   clear: right;
   margin: 0px 0px 0px 10px;
}

section.middle ul {
	position: relative;
	margin-left: -20px;
	margin-right: 20px;
}

section.middle ul li {
	margin-left: auto;
	margin-right: auto;
	padding-left: 0px;
}


/* Right Section Styles */
section.right {
	width: 40%;
	float: left;
	margin-left: 16px;
} 




/* Footer Styles */
footer {
	clear: left;
	margin-left: 28%;
	width: 70%;
	border-top: double;
	padding-bottom: 20px;
}

footer nav ul li {
   display:  block;
   float:  left;
   width: 14%;
   text-align: center;
}

footer nav ul li a {
   	display: block;
	border: 1px solid rgba(60,7,7,1.00);
	width: 90%;
	background-color: rgba(255,0,3,0.70);
	color: white;
}

.img_logo{
	
}

.img_spin {
	margin-top: 27px;
	margin-right: 0px;
	margin-left: 20px;
	margin-bottom: 89px;
	-webkit-animation: spin1 4s infinite linear;
	-moz-animation: spin1 4s infinite linear;
	-o-animation: spin1 4s infinite linear;
	-ms-animation: spin1 4s infinite linear;
	animation: spin1 4s infinite linear;
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-o-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	width: 156px;
	height: 156px;
	border: 3px solid rgba(255,0,3,0.70);
}
 
@-webkit-keyframes spin1 {
0% { -webkit-transform: rotate(0deg);}
100% { -webkit-transform: rotate(360deg);}
}
@-moz-keyframes spin1 {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(360deg);}
}
@-o-keyframes spin1 {
0% { -o-transform: rotate(0deg);}
100% { -o-transform: rotate(360deg);}
}
@-ms-keyframes spin1 {
0% { -ms-transform: rotate(0deg);}
100% { -ms-transform: rotate(360deg);}
}
@-keyframes spin1 {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg);}
} 
