.group:after {
  content: "";
  display: table;
  clear: both;
}

* {
    padding:0;
    margin:0;
    box-sizing: border-box;
	font-family:inherit;
	color:inherit;
}

img {
	display:block;
	max-width:100%;
}

.wrap {
  position:relative;
  width:960px;
  margin:0 auto;
}

#burger,
#mobnav {
  display:none;
}

body {
    font-size:62.5%;
	background-color:#040f16;
	color:#fff;
	background-image:url('../img/bg.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: 'Montserrat', sans-serif;
}

header {
	position:fixed;
	left:0;
	top:0;
	height:100%;
    width:28%;
	padding:3%;
	overflow:auto;
}

	#logo {
		margin-bottom:5%;
	}

    nav {
      float:left;
	  clear:left;
	  width:100%;
    }
  
      nav ul {
        list-style: none;
      }
	  
		nav ul li,
		nav ul li a {
			float:left;
			clear:left;
			width:100%;
		}
		
			nav ul li a {
				text-transform: uppercase;
				text-decoration: none;
				font-size: 1.4em;
				letter-spacing: 0.25em;
				background-color:#2b1e10; /* brown */
				padding:1em;
				text-align: center;
				margin-bottom:0.85em;
				position:relative;
				border-radius:0.5em;
				box-shadow: inset 0px 0px 10px 5px #744610;
				animation: pulse 1s infinite;
				color:#ffe6c1; /* cream */
			}
			
			.dots {
				position:absolute;
				left:0;
				top:0;
				width:100%;
				height:100%;
				border:6px dotted #ffe6c1;
				text-shadow:0px 0px 5px rgba(255,255,255,0.5);
				border-radius:0.5em;
			}
			
				nav ul li:nth-of-type(4n+1) a {
					animation-delay: 0.25s;
				}
				
				nav ul li:nth-of-type(4n+2) a {
					animation-delay: 0.5s;
				}
				
				nav ul li:nth-of-type(4n+3) a {
					animation-delay: 0.75s;
				}
				
				nav ul li:nth-of-type(4n+4) a {
					animation-delay: 1s;
				}
			
				nav ul li a:hover,
				nav ul li a.active{
					box-shadow: inset 0px 0px 15px 10px #744610;
					color:#fff;
					animation-play-state:paused;
				}
				
				nav ul li a:hover .dots,
				nav ul li a.active .dots{
					border:6px dotted #fff;
				}

.social {
	float:left;
	clear:left;
	width:100%;
	text-align: center;
}

.social a {
	display:inline-block;
	width:30px;
	margin:0 0.4em;
}

.lightbutton {
	display:inline-block;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 1.6em;
	letter-spacing: 0.15em;
	background-color:#2b1e10; /* brown */
	padding:1em;
	text-align: center;
	margin-bottom:1em;
	position:relative;
	border-radius:0.5em;
	box-shadow: inset 0px 0px 10px 5px #744610;
	animation: pulse 2s infinite;
	color:#ffe6c1; /* cream */
}

	.lightbutton:hover {
		box-shadow: inset 0px 0px 15px 10px #744610;
		animation-play-state:paused;
		color:#fff;
	}
	
	.lightbutton:hover .dots {
		border:6px dotted #fff;
	}

@keyframes pulse {
  0% {
    box-shadow: inset 0px 0px 10px 5px #744610;
  }
  50% {
    box-shadow: inset 0px 0px 15px 10px #744610;
  }
  0% {
    box-shadow: inset 0px 0px 10px 5px #744610;
  }
}

.flex {
  display:-webkit-flex;
  display:flex;
  -webkit-flex-direction:row;
  flex-direction:row;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap;
}

.fcw {
  float:left;
  clear:left;
  width:100%;
}

.main {
	float:right;
	width:75%;
	padding: 3.5% 2.5%;
	text-align:center;
}

.main p,
.main li{
  line-height:1.6;
  margin-bottom:1em;
  font-size:1.4em;
}

.main ul,
.main ol {
  margin:2em;
}

  .main li {
    padding-left:1em;
  }

.main h2,
.main h3,
.main h4,
.main h5,
.main h6 {
	color:#ffe6c1; /* cream */
	font-size:3em;
	margin-bottom:1em;
	font-weight:normal;
}

.align_left {
  float:left;
}

.align_right {
  float:right;
}

.align_center {
  text-align: center;
}

img.align_left {
  margin:0.5em 1em 1em 0;
}

img.align_right {
  margin:0.5em 0 1em 1em;
}

img.align_center {
  display:block;
  margin-left:auto;
  margin-right:auto;
}
  
footer {
  clear:both;
}

	.main .copyright {
	  font-size:1em;
	  margin-top:2.5%;
	}

@media screen and (max-width:999px) {
	#mainnav li a {
		font-size:1.1em;
	}
	
	.dots {
		border:4px dotted #ffe6c1;
	}
	
	#mobnav li a:hover .dots,
	#mobnav li a.active .dots{
		border:4px dotted #fff;
	}
}
  
@media screen and (max-width:599px) {
	
	header,
	.main{
		float:left;
		position:relative;
		width:100%;
		height:auto;
		text-align: center;
	}
	
	#logo,
	#logo img{
		display:block;
		float:none;
		clear:none;
		margin:0 auto;
		max-width:100%;
	}
	
  #burger{
    display:block;
	float:none;
	margin:1em auto;
	width:32px;
  }
  
  #mainnav {
    display:none;
  }
  
    #burger img {
      max-width:100%;
      display:block;
    }
  
        #mobnav li a.tri {
          position:absolute;
          float:none;
          clear:none;
          right: 0;
          top: 0;
          width: 3em;
          height: 100%;
          border:none;
          padding:0;
        }
        
          .tri img {
            float:left;
            width:23px;
            margin-left:0.5em;
            margin-top:0.8em;
            height:11px;
            display:block;
          }
}