@charset "utf-8";
/*CSS Document*/

body {
	color:rebeccapurple;
	font-size: 20px;
	font-family:"Book Antiqua";
	text-align:left;
	line-height: 36px;
	margin: 0;
	padding: 0;
	background-color:lavender;
	background-image: url("../images/flowers a.png");
}

h1,h2,h3,h4 {
	color:mediumpurple;
	font-family:"Mystery Quest";
	text-align:center
}

h1 {
	font-size: 68px;
	line-height: 68px;
	background-color:#E1C3F5;
	padding: 12px;
}

h2 {
	color:mediumpurple;
	font-size: 60px;
	line-height: 64px;
	background-color:#E1C3F5;
	padding: 12px;
}

h3 {
	font-size: 42px;
	line-height: 42px;
	background-color:#E1C3F5;
	padding: 12px;
}

h4 {
	font-size: 34px;
	line-height: 34px;
	background-color:#E1C3F5;
	padding: 12px;
}

blockquote {
	font-size: 32px;
	line-height: 32px;
	color:hotpink;
	background-color:#E1C3F5;
	padding: 4px 32px 24px;
}

/*LINK STYLES*/
/*====================*/

a:link {
color:darkviolet;
font-weight:bolder;
text-decoration:none
}

a:visited {
color:darkmagenta;
}

a:focus {
color:ghostwhite;
text-decoration:underline
}

a:hover {
color:ghostwhite;
text-decoration:underline
}

a:active {
color:#EEB2F4;
}

/*HEADER STYLES*/
/*====================*/

header {
	text-align: center;
	height: 250px;
	
}

/*NAV STYLES*/
/*====================*/

nav {
	background-color:#DAA6FC;
	padding: 10px;
	text-align:center;
	text-transform: uppercase;
	margin-bottom: 16px;
}

nav li {	
	display: inline;
	margin:48px;
}

nav a:hover  {
	color:lavender;
	text-decoration:none;
}

nav a:active {
	color:ghostwhite;
}

/*MAIN STYLES*/
/*====================*/

main {
	background-color:ghostwhite;
	padding: 4px 32px 24px;
	width: 68%;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-boz-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 16px;
	min-height: 300px;
}

.full-width-main {
	width: 100%;
}

/*ASIDE STYLES*/
/*====================*/

aside {
	background-color:#EFE2F8;
	padding: 4px 16px 24px;
	width: 30%;
	height: 300px;
	float:right;
	-webkit-box-sizing: border-box;
	-moz-boz-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 20px;
}

aside h2 {
	background-color: transparent;
	color:rebeccapurple;
	padding: 0px;
	text-align: center;
}

/*FOOTER STYLES*/
/*====================*/

footer {
	clear: both;
	text-align:center;
}

/*IMAGE STYLES*/
/*====================*/

.float-left {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

.float-right {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

/*BUTTON STYLES*/
/*====================*/

.button:link,
.button:visited {
    background-color: #E1C3F5;
	border:rebeccapurple dotted 4px;
    padding: 14px;
	-webkit-box-sizing: border-box;
	-moz-boz-sizing: border-box;
	box-sizing: border-box;
	display: block;
	margin-top: 14px;
	text-align:center;
}

.button:focus,
.button:hover {
background-color:mediumpurple;
	}	

.button:active {
	background-color: #E1C3F5;
}

/*TABLE STYLES*/
/*====================*/

table {
	width : 100%;
	font-size: 24px;
}

th {
	background-color:#C8A9EF;
}

tr {
	background-color: lavender;
}

td,tr,th {
	border: 4px solid #F8F8FF;
	padding: 1em;
	vertical-align: top;
}

table caption {
	text-transform:uppercase;
}

/*FORM STYLES*/
/*====================*/

label {
	text-align: left;
	width: 25%;
	float: left;
	padding-right: 0.5em;
}

.textbox {
	width: 70%;
	padding: 0.5em; 
	-webkit-box-sizing: border-box;
	-moz-boz-sizing: border-box;
	box-sizing: border-box;
}

.submit {
	margin-left: 27%;
}

/*CUSTOM STYLES*/
/*====================*/

.red-section {
	color: hotpink;
}

#wrapper {
	max-width: 1000px;
	margin: 0 auto;
}

.white-background {
	background-color:#EFE2F8;
	padding: 10px;
}

.message-bar {
width: 100%;
margin: 0;
padding: 1em;
color: rebeccapurple;
background-color:ghostwhite;
text-align: center;
}

/* 48, 40, 20em (768px, 640,and 320px )*/
/*====================*/

@media screen and (max-width:48em) {
	main {
		width: 100%;
	}
	aside {
		width: 100%;
		padding: 4px 32px 24px;	
	}
}

@media screen and (max-width:20em) {
	main {
		padding: 0.125em 0.5em 0.25em;
	}
	aside {
		padding: 0.125em 0.5em 0.25em;
	}
	blockquote{ 
		margin-left: 0;
		margin-right: 0;
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
}


@media screen and (max-width:40em) {
    .float-left,
    .float-right {
	width: 100%;
}
}

