:root {
  --desaturated-red: hsl(0, 36%, 70%);
  --soft-red: hsl(0, 93%, 68%);
  --dark-grayish-red: hsl(0, 6%, 24%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

body {
  font-family: "Josefin Sans", sans-serif;
}

.container {
  min-height: 100vh;
  max-width: 100%;
  display: grid;
  grid-template-columns: 0px 55% 45%;

  overflow-y: hidden;
}

.esquerda {
  background-image: url("../img/bg-pattern-desktop.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
}

.logo {
  width: 200px;
  padding: 4em 0 6em 0;
  margin-left: 10px;
}

.texto {
  display: flex;
  flex-direction: column;
  align-content: center;
}

.texto li:nth-child(1) {
  margin-left: 20px;
  font-size: 4em;
  font-weight: 300;
  max-width: 400px;
  letter-spacing: 10px;
  color: var(--desaturated-red);
}

.texto li:nth-child(2) {
  margin-left: 20px;
  font-size: 4em;
  max-width: 400px;
  font-weight: 600;
  letter-spacing: 20px;
  color: var(--dark-grayish-red);
}

.texto li:nth-child(3) {
  margin-left: 20px;
  margin-right: 20px;
  font-size: 1.125em;
  max-width: 500px;
  padding: 16px 0 0 0;
  color: var(--desaturated-red);
}

.direita {
  background-image: url("../img/hero-desktop-2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2em;
  margin-bottom: 2em;
}

form input {
  padding: 20px 40px 20px 20px;
  width: 400px;
  box-shadow: 0 0 0 0;
  border: 1px solid var(--desaturated-red);
  opacity: 0.7;
  border-radius: 50px;
  outline: 0;
  position: absolute;
  margin-left: 20px;
}

form button {
  background-color: var(--soft-red);
  padding: 10px 20px;
  vertical-align: middle;
  width: 90px;
  border-radius: 50px;
  padding: 16px 20px;
  z-index: 1;
  position: relative;
  left: 327px;
  outline: 0;
  border: 0;
}

form button img {
  margin: 0 auto;
}

@media (max-width: 739px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 250px 2fr;
  }

  .direita {
    background-image: url("../img/hero-mobile-2.png");
    background-size: cover;
    order: 1;
  }

  .esquerda {
    order: 2;
  }

  .logo-mobile {
    padding: 2em 0px 2em 2em;
    width: 150px;
  }

  .logo {
    display: none;
  }

  .texto {
    text-align: center;
  }

  .texto li:nth-child(1) {
    padding-top: 2.5rem;
    font-size: 3em;
    max-width: 300px;
    letter-spacing: 10px;
    margin-left: 0;
  }

  .texto li:nth-child(2) {
    font-size: 3em;
    max-width: 300px;
    letter-spacing: 10px;
    margin-left: 0;
  }

  .texto li:nth-child(3) {
    font-size: 1.125em;
    padding: 16px 0px;
    max-width: 300px;
    margin: 0 auto;
    color: var(--desaturated-red);
    margin-left: 0;
  }

  form {
    margin-top: 1em;
    margin-bottom: 4em;
  }
  form input {
    padding: 20px 40px 20px 20px;
    width: 300px;
    box-shadow: 0 0 0 0;
    border: 1px solid var(--desaturated-red);
    opacity: 0.7;
    border-radius: 50px;
    outline: 0;
    position: absolute;
    margin: 0 auto;
  }

  ::-webkit-input-placeholder {
    color: var(--desaturated-red);
  }

  :-moz-placeholder {
    /* Firefox 18- */
    color: var(--desaturated-red);
  }

  ::-moz-placeholder {
    /* Firefox 19+ */
    color: var(--desaturated-red);
  }

  :-ms-input-placeholder {
    color: var(--desaturated-red);
  }

  form button {
    padding: 10px 20px;
    width: 90px;
    padding: 16px 20px;
    outline: 0;
    border: 0;
    left: 207px;
  }
}
