@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

body {
  height: 100%;
  background: #84A2BA;
  overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
}

p {
  line-height: 1.6;
  font-size: 1em;
}

main {
  display: flex;
  flex-grow: 1;
  min-height: 100%;
}

.header {
  min-height: 100%;
  background-image: url(resin.jpg);
  background-color:#C1DCFD;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  padding: 60px 90px;
  background-size: cover;
  width: 80%;
}

.info {
  text-align: left;
  margin: 30px 0 15px;
}

.content {
  min-height: 100%;
  background: #84A2BA;
  max-width: 570px;
  padding: 90px 80px 45px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
}

.info p:last-child {
  margin-bottom: 0;
}

h1 {
  font-weight: 500;
  font-size: 48px;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: 0.5s ease-in 1s fadein;
  animation-fill-mode: forwards;
}

.content header {
  text-align: center;
  margin: auto;
  margin-bottom: 15px;
}

input {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 2px;
  height: 42px;
  width: 284px;
  color: #fff;
  font-size: 14px;
  padding: 0 10px;
}

button {
  background: #144262;
  box-shadow: 0 2px 9px 0 rgba(0,0,20,0.10);
  border-radius: 2px;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  border: none;
  letter-spacing: 0;
  width: 108px;
  height: 42px;
}

input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(255,255,255, 0.9);
}
input::-moz-placeholder { /* Firefox 19+ */
  color: rgba(255,255,255, 0.9);
}
input:-ms-input-placeholder { /* IE 10+ */
  color: rgba(255,255,255, 0.9);
}
input:-moz-placeholder { /* Firefox 18- */
  color: rgba(255,255,255, 0.9);
}

p {
  margin-bottom: 1em;
}

.socials li {
  list-style: none;
  font-size: 1.5em;
}

.submit-area {
  display: flex;
  align-items: center;

  margin-top: 15px;
}

.submit-area .button {
  margin-right: 15px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.submit-area .button:hover {
  background: #0D293C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px 0 rgba(0,0,20,0.30);
}

.button.fb {
  display: inline-block;
  background: #144262;
  box-shadow: 0 2px 9px 0 rgba(0,0,20,0.10);
  border-radius: 2px;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  border: none;
  letter-spacing: 0;
  width: 108px;
  height: 42px;
  text-decoration: none;
  align-items: center;
  display: flex;
  justify-content: center;
}



.button.fb .fa {
 margin-right: 5px;
}


footer {
  width: 100%;
  opacity: 0.9;
  margin-top: 40px;
  align-self: flex-end;
}


@media only screen and (max-width: 947px)  {
  .content {
    padding: 40px 20px;
  }

  .header {
    padding: 20px;
  }
  
}

@media only screen and (max-width: 500px)  {
  main {
    flex-wrap: wrap;
  }
  .content {
    width: 100%;
    text-align: center;
    min-height: 0;
  }

  .info {
    text-align: center;
  }

  .header {
    width: 100%;
    padding: 20px;
    order: -1;
    min-height: 300px;
    /* animation: 0.5s ease-in 1s fadein; */
    animation-fill-mode: forwards;
  }
  
}


.animation-container {
  opacity: 0;
  animation: 1s ease-in fadein;
  animation-fill-mode: forwards;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}