@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap);
:root {
  --font-size: pxrem($global-font-size);
  --font-family: "Open Sans", sans-serif;
  --color-red: #F04D0C;
  --color-white: #FFFFFF;
  --color-grey: #858484;
  --color-orange: #FF9C00;
  --color-blue-green: #0093A6;
  --color-blue-dark: #192445;
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: inherit;
  margin: 0;
  line-height: 1;
}

.content,
.wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
}
a:not([href^="#"]) {
  cursor: pointer;
}

textarea,
input,
button {
  outline: none;
  background-color: transparent;
}

button {
  border: none;
}

textarea {
  resize: none;
}

input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-results-button, input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

/*
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="password"],
textarea
{
    @extend %cleanInput;
}

select
{
    @extend %cleanSelect;
}

button
{
    @extend %cleanButton;
}
*/
@media (min-width: 993px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 993px) {
  .show-desktop {
    display: block !important;
  }
}

.show-tablet {
  display: none !important;
}
@media (max-width: 992px) {
  .show-tablet {
    display: block !important;
  }
}

.show-mobile {
  display: none !important;
}
@media (max-width: 992px) {
  .show-mobile {
    display: block !important;
  }
}

@media (min-width: 993px) {
  .show-desktop-flex {
    display: flex !important;
  }
}

.show-tablet-flex {
  display: none !important;
}
@media (max-width: 992px) {
  .show-tablet-flex {
    display: flex !important;
  }
}

.show-mobile-flex {
  display: none !important;
}
@media (max-width: 992px) {
  .show-mobile-flex {
    display: flex !important;
  }
}

.clr {
  clear: both;
}

.input-container.text input[type=text], .form-container .button, html {
  font-family: var(--font-family);
}

html {
  font-weight: 400;
}

.obrigado-container h2, .input-container.text input[type=text] + p, .input-container.text input[type=text] {
  font-weight: 600;
}

.form-container .button {
  font-weight: 700;
}

.input-container.text input[type=text] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  outline: none;
}
.input-container.text input[type=text]:focus {
  outline: none;
}
.input-container.text input[type=text]::-webkit-outer-spin-button, .input-container.text input[type=text]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.input-container.text input[type=number][type=text] {
  -moz-appearance: textfield;
}

.form-container .button {
  color: var(--color-white);
}

.input-container.checkbox input[type=checkbox] + label {
  color: var(--color-grey);
}

.input-container.checkbox.error input[type=checkbox] + label, .input-container.text input[type=text] + p {
  color: var(--color-orange);
}

.obrigado-container, .input-container.text input[type=text] {
  color: var(--color-blue-dark);
}

.input-container.checkbox.error input[type=checkbox]:checked + label .square {
  background-color: var(--color-orange);
}

.input-container.checkbox input[type=checkbox]:checked + label .square, .form-container .button {
  background-color: var(--color-blue-green);
}

.obrigado-container, .form-container .button {
  text-align: center;
}

.obrigado-container p {
  line-height: 140%;
}

.global-container,
.page-container {
  position: relative;
  min-height: 100vh;
}

.form-container {
  padding: 1.875rem 1.875rem 2.8125rem 1.875rem;
  min-height: calc(100vh - 155px);
}
.form-container > .wrapper {
  max-width: 360px;
}
.form-container .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.125rem;
}
.form-container .header img {
  height: 45px;
}
.form-container .button {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 0.78125rem 0.9375rem;
  font-size: var(--font-size);
  cursor: pointer;
}

.input-container {
  position: relative;
}
.input-container:not(:last-child) {
  margin-bottom: 1.5625rem;
}
.input-container.checkbox input[type=checkbox] {
  float: left;
  width: 0;
  height: 0;
  overflow: hidden;
}
.input-container.checkbox input[type=checkbox] + label {
  display: flex;
  font-size: 0.75rem;
}
.input-container.checkbox input[type=checkbox] + label .square {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 0.9375rem;
  flex: 1 0 25px;
  border-radius: 5px;
}
.input-container.checkbox input[type=checkbox] + label .square:before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: url("/images/check.svg");
  transform: translate(-50%, -50%);
}
.input-container.text input[type=text] {
  padding: 0 0.9375rem;
  width: 100%;
  height: 45px;
  font-size: 0.875rem;
  border-radius: 5px;
}
.input-container.text input[type=text]::-webkit-input-placeholder {
  color: var(--color-grey);
  font-weight: 400;
}
.input-container.text input[type=text]:-moz-placeholder {
  color: var(--color-grey);
  font-weight: 400;
}
.input-container.text input[type=text]::-moz-placeholder {
  color: var(--color-grey);
  font-weight: 400;
}
.input-container.text input[type=text]::-ms-input-placeholder {
  color: var(--color-grey);
  font-weight: 400;
}
.input-container.text input[type=text]:-ms-input-placeholder {
  color: var(--color-grey);
  font-weight: 400;
}
.input-container.text input[type=text] + p {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  font-size: 0.6875rem;
  transform: translateY(-50%);
}

.pattern-container {
  width: 100%;
  height: 155px;
  background-image: url("/images/pattern.svg");
  background-repeat: repeat-x;
  background-size: auto 155px;
}

.obrigado-container {
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.obrigado-container h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}
.obrigado-container p {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.input-container.checkbox.error input[type=checkbox] + label {
  transition: colord 0.35s ease-in-out;
}
.input-container.checkbox.error input[type=checkbox] + label .square {
  border: 1px solid var(--color-orange);
}
.input-container.checkbox.error input[type=checkbox] + label .square:before {
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}
.input-container.checkbox input[type=checkbox]:checked + label .square:before {
  opacity: 1;
}
.input-container.checkbox input[type=checkbox] + label .square {
  border: 1px solid var(--color-blue-green);
  transition: background 0.35s ease-in-out, border 0.35s ease-in-out;
}
.input-container.text.error input[type=text] {
  border: 1px solid var(--color-orange);
}
.input-container.text input[type=text] {
  border: 1px solid var(--color-blue-green);
  transition: border 0.35s ease-in-out;
}
