/* início reset  */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* fim reset */
html {
  min-height:100vh;
}
body {
  width: calc(100% - 140px);
  margin: 0 auto;
  max-width:1920px;
}
header img {
  margin-left:30px;
  margin-top:15px;
}
h1 {
  font-family: nexa_slab_bold_freeregular;
  font-size:57px;
  color:#585858;
  margin-bottom:35px;
}

section {
  display:flex;
}
section .left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  max-width: 50%;
  width: 100%;
}

section .left .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width:465px;
  margin-right: 90px;
}
form {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  margin-bottom:80px;
}
form input {
  border:none;
  border-bottom:2px solid #888888;
  width: calc(100% - 5px);
  margin: 0 auto 35px;
  order: 2;
  font-size: 20px;
  font-family: nexa_lightregular;
}
form input:focus + label {
  opacity:1;
}
form label {
  font-family: nexa_lightregular;
  color: #505050;
  order:1;
  width:100%;
  opacity:0;
  transition:opacity 300ms ease;
  font-size:16px;
  margin-bottom:10px;
}
form button {
  padding:10px;
  background-color:#f4a228;
  color:white;
  font-size:20px;
  text-align:center;
  letter-spacing:0px;
  font-family:gothambold;
  border-color:transparent;
  border-radius:5px;
  cursor:pointer;
  transition: opacity 300ms ease;
  transition: transform 200ms ease;
  height:70px;
  width: calc(100% - 5px);
  order:3;
}
form button:hover {
  opacity:0.8;
}
form button:active {
  transform: translate(0.5px,2px);
}
p {
  color: #505050;
  font-family: nexa_lightregular;
  margin-bottom:75px;
}
strong {
  font-weight:bold;
  font-family: nexa_boldregular;
}
.left .social-media {
  width:100%
}
.left .social-media a {
  margin-right:70px;
}
.left .social-media a:nth-child(1) {
  margin-left:25px;
}
footer img {
  
}


section .right{
  max-width:50%;
  width:100%;
  position:relative;
  margin-top: 30px;
}

section .right img:nth-child(1){
  width: calc(100% + 60px);
  display: block;
  position: relative;
  right: 2px;
}
section .right img:nth-child(2){
  position:absolute;
  bottom:-90px;
  right:-67px;
}
@media only screen and (max-width:1150px) {
    section{
      flex-direction: column;
      align-items: center;
    }
    body{
      width: 100%;
    }
    section .right, section .left{
      max-width: 100%;
    }
    header img{
      margin-right: auto;
      margin-left: auto;
      display: block;
      margin-bottom: 40px;
    }
    section .left .wrapper{
      max-width: 500px;
      width: 95%;
      margin-right: auto;
      margin-left: auto;
      text-align: center;
    }
    .left .social-media a{
          margin-left: 25px;
          margin-right: 25px;
    }
    p{
      margin-bottom: 40px;
    }
    form{
      margin-bottom: 40px;
    }
    section .right img{
      display: none !important;
    }
    h1{
      font-size: 35px;
    }
    section .right{
      height: 300px;
      display: block;
      width: 100%;
      background-position: right bottom;
    }
}
@media only screen and (max-width:550px) {
  section .right{
    background-position: calc(100% + 40px) bottom;
  }
}
