@font-face {
  font-family: "MerloRegular";
  src: url(fonts/merlo/Merlo-Medium.otf);
  font-weight: normal; }
@font-face {
  font-family: "MerloLight";
  src: url(fonts/merlo/Merlo-Light.otf);
  font-weight: lighter; }
body {
  margin: 0;
  padding: 0;
  background: #525453;
  color: #F6F8F9;
  font-family: "MerloLight", "MerloRegular", Helvetica, sans-serif;
  font-size: 20px;
  padding-bottom: 30px; }

h1 {
  text-align: center;
  background: url(images/monkey_logo.png);
  max-width: 400px;
  height: 150px;
  margin: 0 auto;
  background-position: center;
  background-size: cover;
  text-indent: -9999px;
  margin-top: 50px; }

p {
  text-align: center; }

#form-messages {
  text-align: center; }

form {
  margin: 50px auto;
  transition: all .5s ease-in-out; }
  form.hide {
    transform: translateX(100%); }

@keyframes hide {
  0% {
    transform: translateX(0%); }
  99% {
    transform: translateX(100%); }
  100% {
    display: none;
    transform: translateX(100%); } }
@-webkit-keyframes hide {
  0% {
    -webkit-transform: translateX(0%); }
  99% {
    -webkit-transform: translateX(100%); }
  100% {
    display: none;
    -webkit-transform: translateX(100%); } }
input, textarea, button {
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  border: none;
  width: 100%;
  background: #797979;
  font-size: 20px;
  color: #F6F8F9;
  padding: 10px;
  font-family: 'MerloLight', Helvetica, sans-serif;
  border-radius: 3px;
  margin: 10px 0; }
  input:focus, input:active, textarea:focus, textarea:active, button:focus, button:active {
    outline: none; }

textarea {
  min-height: 200px; }

button {
  background: none;
  color: #F6F8F9;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 15px;
  width: 50%;
  margin: 20px auto;
  display: block;
  font-family: 'MerloRegular';
  border: solid 2px #F6F8F9;
  transition: all .2s ease-in-out; }
  button:hover {
    background: #454746;
    cursor: pointer; }

.social-media {
  text-align: center;
  padding: 0;
  margin: 50px 0; }
  .social-media li {
    display: inline-block; }
  .social-media a {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 10px;
    border-radius: 50%;
    background: #797979;
    position: relative;
    transition: all .2s ease-in;
    color: #F6F8F9; }
    .social-media a:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      transform-origin: center;
      border: solid 2px #525453;
      top: 0;
      left: 0;
      border-radius: 50%;
      box-sizing: border-box;
      transition: all .2s ease-in; }
    .social-media a:hover {
      transform: scale(0.9); }
      .social-media a:hover:after {
        transform: scale(1.3);
        border-color: #F6F8F9; }
    .social-media a i {
      line-height: 60px; }

.main {
  margin: 0 auto;
  padding: 20px;
  max-width: 500px; }

footer {
  text-align: center;
  font-size: 16px;
  color: #797979;
  padding: 20px; }

#form-messages {
  position: absolute;
  top: 200px;
  left: 0;
  width: 100%;
  opacity: 0; }
  #form-messages.active {
    animation: show .3s linear .7s forwards;
    -webkit-animation: show .3s linear .7s forwards; }
    #form-messages.active.error {
      position: static;
      margin-bottom: 30px; }
  #form-messages.success:before {
    content: "\f058"; }
  #form-messages.error:before {
    content: "\f071"; }
  #form-messages:before {
    display: block;
    font-family: FontAwesome;
    font-size: 2em;
    margin-bottom: 30px;
    color: #797979; }

@keyframes show {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
@-webkit-keyframes show {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
#form {
  width: 100%;
  overflow: hidden;
  position: relative; }
