/*
Path of Light Yoga Studio
Author: Roxy Gosney
Date: 11/16/2020
*/
*{box-sizing:border-box;}
body{
	background-color:#40407A;
	color:#40407A;
	font-family:Verdana, Arial, sans-serif;
	margin:0;
}
header{
	background:#40407A url(images/sunrise.jpg) 100% 100%;
	color:#FFFFFF;
	margin-top:50px;
}
header a:link{
	text-decoration:none;
	color:white;
}
header a:visited{
	text-decoration:none;
	color:white;
}
header a:hover{
	text-decoration:none;
	color:#EDF5F5;
}

form { display: grid;
       grid-template-rows: auto;
       grid-template-columns: 9em 1fr;
       grid-gap: 1em; gap: 1em;
       width: 60%; max-width: 40em;
       padding: 2em; }
input[type="submit"] { 
	   grid-column: 2 / 3;
       width: 9em;}

table {margin-bottom: 1em; border: 1px solid #40407A; width: 400px; border-collapse: collapse;}
td, th { border: 1px solid #40407A; padding: 0.5em; }
tr:nth-of-type(even) { background-color: #D7E8E9;}  
caption { font-size: 120%; font-weight: bold; margin: 1em;}
.home{
	height:20vh;
	padding-top:2em;
	padding-left:10%;
	
}
   form { display: flex; 
          flex-flow: column nowrap; }    
   input, datalist textarea { margin-bottom: .5em; }
   
.content{
	height:20vh;
	padding-top:2em;
	padding-left:10%;
}
#media (min-width: 600px) { 
  nav ul  {
  text-align: center; 
  display: flex;
  flex: nowrap; 
  justify-content: flex-end;
  }

  nav li { width: 7em;}
  #matehero {display: block;
             height:300px; background-image: url(yogamat.jpg); 
			 background-repeat: no-repeat; 
			 background-size: 100% 100%;
			 padding: 1em;}
  #loungehero{display: block;
             height:300px; background-image: url(yogamat.jpg); 
			 background-repeat: no-repeat; 
			 background-size: 100% 100%;
			 padding: 1em;}
  #flow {flex: row;} 
} 
 #media (min-width: 1024px) {
	 header {font-size: 120%;}
	 .home { height: 50vh;
		     padding-top: 5em;
	         padding-left: 8em;}
	 .content {height: 30vh;
	           padding-top: 2em;
	           padding-left: 8em;}
   #wrapper {margin: auto;
			background-color: #FFFFFF;
			 width: 80%;}
 }
   
   

#mathero{
	height:300px;
	background:url(images/yogamat.jpg) no-repeat 100% 100%;
	display: none;
}   
#loungehero{
	height:300px;
	background:url(images/yogalounge.jpg) no-repeat 100% 100%;
	display: none;
}
#flow {
	display: block;
}
h2{margin:0;}
nav{
	text-align:right;
	background-color:white;
	margin:0;
	padding-top:0.5em;
	padding-bottom:1em;
	padding-right:0;
	position:absolute;
	top:0;
	left:0;
	z-index:9999;
	width:100%;
	height:auto;
}
nav ul{
	list-style-type:none;
	margin:0;
	padding-right:2em;
	font-size:1.2em;
}
nav li{
	display:inline;
	padding-left:2em;
	width: 30%;
}
nav a:link{
	text-decoration:none;
	color:#3F2860;
}
nav a:visited{
	text-decoration:none;
	color:#497777;
}
nav a:hover{
	text-decoration:none;
	color:#A26100;
}

#wrapper{
	background-color:#F5F5F5;
	padding:2em;
	border:solid 1px red;
}



ul li{
	font-size:90%;
}

dl dd{
	font-size:90%;
}
footer{
	clear:right;
	font-style:italic;
	text-align:center;
	font-size:small;
}
