body {
	display: flex;
  flex-direction: column;
	min-height: 100vh;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
}

a:link,
a:visited {
	color: inherit;
	transition: 0.1s linear;
	text-decoration: none;
}
a:hover {
	color: #ffffff;
	opacity: 1;
}

h1 {
	font-size: 28px;
	font-family: 'avantgardebold';
	text-align: center;
	margin-bottom: 30px;
	text-transform: lowercase;
}

h2 {
	font-size: 20px;
	font-weight: bold;
	text-align: left;
	margin-bottom: 20px;
	text-transform: lowercase;
}

p {
	line-height: 1.2em;
}

* + p,
p + * {
	margin-top: 0.8em;
}

#bg-grad{
	display: flex;
	flex-direction: column;
  flex:1;
}

header {
	padding: 30px 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;}

#home header {
	flex: 1;	
}

#hh {
	font-family: 'avantgardebold';
	text-align: right;
	font-size: 6vw;
	color: #bcb7bb;
	line-height: 0.9em;
	text-transform: lowercase;
  width: 5.1em;
}

#name {
	width: 300px;
	height: 100px;
}

#name path {
	fill: #bcb7bb;
}

nav {
	color: #bcb7bb;
	font-family: 'avantgardebold';
	font-size: 2.5vw;
	display: flex;
	justify-content: center;
	margin-top: 4vw;
}

nav a {
	margin: 0 2vw;
}

nav a.current {
	padding-bottom: 1vw;
	border-bottom: 0.6vw solid #bcb7bb;
}

main {
  position: relative;
	flex: 1;	
}

#home main {
}

#logo{
	width: 100%;
	height: 90%;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

#logo svg {
	height: 100%;
  width: 100%;
}

#logo polygon,
#logo path {
	fill: #bcb7bb;
}

.night #logo polygon,
.night #logo path {
	fill: #3a3a42;
}

#logo polygon.window {
	fill: transparent;
}

.lights #logo polygon.window {
	fill: #ffe441;
	animation-duration: .5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes party {
  0%, 100% {
    fill: #7272E9;
  }
  25% {
    fill: #51CFDB;
  }
  50% {
    fill: #3AD4AC;
  }
  75% {
    fill: #E04351;
  }
}

div.copy {
	width: 80%;
	background-color: rgba(0,0,0,0.3);
	padding: 3vw;
	margin: 0 auto 3vw;
	color: #bcb7bb;
}

footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

footer small {	
  display: flex;
  flex-direction: column;
}

#contact-email:link,
#contact-email:visited {
	font-family: 'avantgardebold';
	color: #bcb7bb;
	font-size: 2em;
	display: block;
	text-align: center;
}

footer {
	padding: 30px 15px;
	background: linear-gradient(to bottom, #3a3a42, #000);
	color: #bcb7bb;
}

footer > * {
	margin: 0 15px;
}

.nowrap {
	white-space: nowrap;
}

.ad {
	position: relative;
	margin: 2em 0;
  border: 1px solid rgba(188,183,187,0.5);
  background-position: center;
  background-size: cover;
  padding-top: 50%;
}

.ad	div {
	background-image: linear-gradient(to top, #000 , transparent);
	padding: 4em 2em 2em;
	text-shadow: 0 0 1em rgba(0,0,0,0.5);
}

.ad img {
	width: 100%;
}

.ad a:link,
.ad a:visited {
	float: right;
	display: table;
	background-color: #bcb7bb;
	padding: 0.5em;
	color: #3a3a42;
	transition: all 0.1s linear;
	margin-left: 2em;
}

.ad a:hover {
	background-color: #fff;
}

@media screen and (orientation: landscape) {
	#home #bg-grad{
	  flex-direction: row;
	}
}

@media screen and (orientation: portrait) {

	#hh {
		font-size: 10vw;
	}

	#name {
		width: 75vw;
		height: 25vw;
		max-width: 450px;
		max-height: 300px;
	}

	#bg-grad{
		display: flex;
		flex:1;
	}

	footer {
	  flex-direction: column;
    justify-content: space-between;
    text-align: center;
	}

	footer small {
	  flex-direction: column;
	  margin-top: 15px;
		line-height: 1.3em;
	}

}