body{
	font-family: 'Open Sans', sans-serif;
	background-color: rgba(68,154,171,0.2);
	height: 100%;
	margin: 0;
	padding: 0;
}

.container{
	position: relative;
	min-height: 100%;
}

h1{
	font-weight: 100;
	font-size: 1.25rem;
	line-height: 125%;
	max-width: 600px;
	font-style: italic;
	margin: 2rem auto;
	text-align: center;
}

h2{
	color: #4a9dad; 
	font-size: 1.325rem;
	font-weight: 700;
	margin: 0.25rem;
}

p{
    font-size: 1rem;
    line-height: 150%;
}

.wrapper{
	max-width: 600px;
	margin: 0 auto;
}

header{
	height: 0.5rem;
	background-image:
    linear-gradient(
	  45deg, 
	  #9fc756, #4a9dad
	);
	margin-bottom: 1.5rem;
}

img {
    width: 100%;
    height: auto;
}

.logo{
	display: block;
    margin-left: auto;
	margin-right: auto
}

img.logo{
	max-width: 300px;
}

main{
	padding: 0 1em;
}

.contact{
	margin: 2rem;
}

.contact .button{
	padding: 0.5rem 0.8rem;
	width: 35%;
	margin: 0 auto;
}

.button{
	text-transform: uppercase;
	font-size: 0.8625rem;
	font-weight: bold;
	border: solid 2px #9fc756;
	border-radius: 5px;
	cursor: pointer;
	background-color: transparent;
	-webkit-transition: background-color 0.8s linear;
    -ms-transition: background-color 0.8s linear;
    transition: background-color 0.8s linear;
    display: block;
    text-align: center;
}

.button:hover{
	background-color: #4a9dad; 
	-webkit-transition: background-color 0.8s linear;
    -ms-transition: background-color 0.8s linear;
    transition: background-color 0.8s linear;
	color: white;
}

.contact.open{
	margin-bottom: 0.5rem;
}
.contact.open .button{
	border: none;
	border-bottom: solid 2px #9fc756;
	border-radius: 0;
	-webkit-animation: line 0.8s 1 forwards;
	animation: line 2s 1 forwards;
	cursor: default;
	color: black;
}
.contact.open .button:hover{
	background-color: transparent;
}

@-webkit-keyframes line {
  0% {
    width: 35%;
  }
  100% {
    width: 90%;
  }
}
@keyframes line {
  0% {
    width: 35%;
  }
  100% {
    width: 90%;
  }
}

.contact-form{
	opacity: 0;
	visibility: hidden;
	height: 0;
	overflow: hidden;
	padding: 1rem;
	max-width: 500px;
	margin: 0 auto;
	transition: visibility 0s, opacity 0.8s linear;
}

.contact-form.open{
	visibility: visible;
  	opacity: 1;
	height: auto;
	overflow: visible;
	 transition: opacity 0.4s ease-out;
    -ms-transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -webkit-transition: opacity 0.4s ease-out;
}

form input,
form textarea{
	background-image: none;
	border: none;
	border-bottom: solid 1px #9fc756;
	margin: 0.5rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.825rem;
	font-weight: 100;
	color: black;
	width: 90%;
}

form input{
	height: 2rem;
	margin: 0.5rem;
}

form textarea{
	height: 200px;
}

form input[type=submit]{
	width: 30%;
	margin-bottom: 3rem;
}

footer{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0.625rem 0 0.5rem;
	background-color: #4a9dad; 
	border-bottom: solid 2px #9fc756;
	color: white;
}

footer .wrapper{
	text-align: center;
	font-size: 0.8125rem;
}

@media (min-width: 980px) {
	h1{
		font-size: 1.6rem;
		line-height: 135%;
	}

	.logo{
		margin-top: 4rem;
	}

	img.logo{
		max-width: 600px;
	}
}