/* We begin with designing for smartphones, portrait iPhone, portrait 480x320 phones (Android) */ 
@import url("https://fonts.googleapis.com/css?family=Marcellus|Oswald|Logger");




html, body { height: 100%; width: 100%;} /* no need to edit this, set it and forget it */

body {
  background: #eeefeb;
}
  
#home, 
#courses,
#links,
#contact {
  display: block;
  color: #1c2628;  
  font-style: normal;
  min-height:100vh; 
}

h1 { 
  font-weight: bold;
  color: #664444;
  font-family: Oswald, sans-serif;
	font-size: 2.0rem;
	font-style: normal;
	font-variant: small-caps;
	line-height: 40px;
	text-shadow: 1px 2px 3px #fff;
}

h3 {
  font-weight: bold;
  margin: 40px 0 30px 0;
  color: #664444;
  font-family: Logger;
	font-size: 4.5rem;
	font-style: normal;
	line-height: 25px;	
	text-shadow: 1px 2px 3px #fff;
}

h2 {
  font-weight: bold;
  margin: 0px 0 0px 0;
  color: #664444;
  font-family: Logger;
	font-size: 3.5rem;
	font-style: normal;
	line-height: 50px;	
	text-shadow: 1px 2px 3px #fff;
}

aside {
  margin:10px 0 10px 0;

}

aside p {
  font-size: 0.8rem;
  padding:1%;
}

asideb p {
  font-family: Marcellus, serif;
	font-size: 1.3rem;
	line-height: 1rem;
}

nav {
  position: fixed;
  display: none;
}

footer nav {
  z-index: 100;
  top: 50px;
  right: 0;
  background: #1c2628;
  padding: 1%;
  text-decoration: none;
}

#menu-toggle {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  display: inline-block;
  background: #664444;
  padding: 10px; 
}

#mobile-nav {
  position: fixed;
  z-index: 100;
  top: 100px;
  right: 0;
  display: inline-block;
  background: #eeefeb;
  border: 1px solid;
  box-shadow: 5px 5px 5px #ddddd0;
  height: 200px;
  width: 80px;
  padding: 50px;
  color: #1c2628;
  font-family: Oswald, sans-serif;
  font-size: 1.4rem;
  line-height: 3rem;
}

#mobile-nav:hover {
  background: #fff;
}

#home {
  text-align: center;
  background: #eeefeb;
  background-size: cover;
}

p {
  font-family: Marcellus, serif;
  font-size: 0.8rem;
  font-weight: bold;
  line-height:1.0rem;
  margin: 0 30px 10px 30px;
  color: #664444;

}

p1 {
  font-family: Marcellus, serif;
  font-size: 1.0rem;
  font-weight: bold;
  line-height:1.5rem;
  margin: 0 30px 10px 30px;
  color: #664444;
  max-width:80%;
}

p2 {
  font-family: Marcellus, serif;
  font-weight: bold;
  font-size:1.0rem;
  line-height:2.0rem;
  margin: 0 0 40px 0;
  color: #1c2628;
}
  
p3 {
  font-family: Marcellus, serif;
  font-size: 1.0rem;
  font-weight: bold;
  line-height: 1.2rem;
  margin: 0 0px 10px 0px;
  color: #664444;
}

#courses {
  text-align:right;
  line-height: 20px;
  padding: 10%;
   
}

article img {
  border: #356a00 solid 5px;
  border-radius:5px;
  box-shadow: 1px 1px 3px 3px
}
  
.feature {
  width: 100%;
  margin: 10px 0 10px 0;
  display: block;
  padding: 0;
}
.feature a {
  display: block;
  margin: 2%;
  text-align: center;
  border: solid #fdfdfd 10px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.feature a img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

.feature a p {
  position: absolute;
  z-index: 2; 
  bottom: -110%;
  background-color: #ae98a8;
  margin: auto;
  display: block;
  width: 100%;
  padding: 31% 0 31% 0;
  font-family: Marcellus, serif;
  font-size: 1.6rem;
  color: #1c2628;
  text-shadow: 1px 1px 2px rgba(25, 25, 25, 0.5);
  text-decoration: none;
}

#links {
  text-align: left;
  padding: 10%;
 
}

#contact {
  text-align: center; 
}

.svg-icon {
  width: 4em;
  height: 4em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: #1c2628;
}

.svg-icon circle {
  stroke: #1c2628;
  stroke-width: 1;
}

.call-to-action {
  display: inline-block;

}

.call-to-action:hover {
  background-color:#664444;
}

.call-to-action:active {
  background-color: #fff;
  color:#a89ea8;
}

.facebook {
  font-weight: bold; 
  color: #356a00;
}


@media (min-width:600px) {
  
  /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ 

  body {
    background:#eeefeb;
  }
  
   #home {
    background: url(../images/ab_faded_medium.png) no-repeat top center scroll;
    background-size: cover;
  }
  
  #courses {
    background: url(../images/vs-medium.jpg) no-repeat scroll;
    background-position: center bottom;
  }
  article div ul li {
    display: inline-block;
    margin: 10px;
    padding: 5px;
  }
  
  .feature {
    width: 50%;
    float:left;
  }
  
 .open {
	animation: showup 2s infinite;
	animation: reveal 5s infinite;
	animation-iteration-count: 1;
} 

@keyframes showup {
    0% {opacity:0;}
    20% {opacity:0;}
    80% {opacity:0.5;}
    100% {opacity:0.5;}
}

@keyframes reveal {
    0% {opacity:0;width:0px;}
    20% {opacity:0;width:0px;}
    30% {opacity:0;width:50%;}
    80% {opacity:1;}
    100% {opacity:1;width:100%;}	
}

  

} /* do not delete this */

@media (min-width:1025px) { 
  
  /* big landscape tablets, laptops, and desktops */

body {
    background: #eeefeb;
}
  
#home {
    background: url(../images/ab_faded_large.png) no-repeat top center scroll;
    background-size: cover;
} 
   

header nav {
    display: block; /* this brings our header nav back */
    background: #eeefeb;
    width: 100%;
    left: 0;
    top: 0; 
}

  
#menu-toggle {
    display: none;
}
  
nav ul {
    text-align: center;  
}
  
nav ul li {
    display: inline;
    font-family: Oswald, sans;
}
  
#home, 
#courses,
#links,
#contact {
    display: block;
    padding-top: 4%;
    min-height:96vh;
    color: #fff;
}
  
.fadeIn {
   animation: fadeIn 3s infinite;
   animation: show 6s infinite; 
}

#courses {   
  background: url(../images/vs-large.jpg) no-repeat scroll;
  background-position: center bottom; 
} 



#contact
{ background: #eeefeb;
 
}


nav ul li a {
    color: #1c2628;
    text-decoration: none;
    padding: 20px 20px 20px 20px;
    display: inline-block;
    margin: 0 10px 0 10px;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;  
    
    -webkit-transition: background 0.2s ease-in-out;
    -moz-transition: background 0.2s ease-in-out;
    -ms-transition: background 0.2s ease-in-out;
    -o-transition: background 0.2s ease-in-out;
    transition: background 0.2s ease-in-out;    
}

nav ul li a:hover {
    color: #1c2628;
    background: #98a8ae;
}

nav ul li a:active {
    background: #444444;
    color: #dfdfdf;
}
.open {
	animation: showup 2s infinite;
	animation: reveal 5s infinite; 
	animation-iteration-count: 1;
}

@keyframes fadeIn {
  from{ opacity:0;}
  to {opacity:1;}
}

@keyframes show {
  from{ opacity:1;}
  to {opacity:0;}
}
@keyframes showup {
    0% {opacity:0;}
    20% {opacity:0;}
    80% {opacity:0.5;}
    100% {opacity:0.5;}
}

@keyframes reveal {
    0% {opacity:0;width:0px;}
    20% {opacity:0;width:0px;}
    30% {opacity:0;width:50%;}
    80% {opacity:1;}
    100% {opacity:1;width:100%;}
}

 
footer nav {
    display: none !important;
} 


} /* do not delete this */
