@import '_vars_p52.css';

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-size: 10px;
  height: 100%;
}

body {
  font-size: 10px;
  font-family: var(--ff-body);
  font-weight: var(--fw-normal);
  color: var(--color-dark);
  text-align: left;
  height: 100%;
  overflow-x: hidden;
}

main {
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 16px auto;
}

nav.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 50px;
}

nav.header img {
  width: 120px;
  height: auto;
}

.center {
  text-align: center;
}

strong {
  font-weight: var(--fw-bold);
}

a {
  color: #1a0dab;
  text-decoration: none;
}
/* Headlines */
h1.main {
  font-family: var(--ff-body);
  font-size: var(--fscalc-xxl);
  font-weight: var(--fw-bold);
  line-height: 117%;
  text-align: center;
  color: #423f3f;
  width: 100%;
  max-width: 343px;
  margin: 0 auto 20px;
}

h2 {
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: 36px;
  line-height: 117%;
  color: var(--color-dark2);
  margin: 30px 0;
}

h2 .prehead {
  font-family: var(--ff-headline);
  font-weight: var(--fw-normal);
  font-size: 18px;
  line-height: 137%;
  color: var(--color-dark2);
  margin: 10px 0px;
  display: block;
}

h3.main {
  font-family: var(--ff-body);
  width: 100%;
  font-weight: var(--fw-normal);
  font-size: var(--fscalc-r);
  line-height: 145%;
  color: var(--color-dark2);
  margin: 0 auto;
}

@media (min-width: 730px) {
  h1.main {
    margin-top: 80px;
    font-size: 4.6em;
    max-width: 520px;
  }

  h3.main {
    font-size: 2.7em;
  }
}

@media (min-width: 992px) {
  h1.main {
    font-size: 4.4em;
    max-width: 600px;
  }

  h3.main {
    font-size: 2.5em;
  }
}

@media (min-width: 992px) and (min-height: 900px) {
  h1.main {
    font-size: 6.4em;
    max-width: 800px;
  }

  h3.main {
    font-size: 3em;
  }
}

/* Buttons */
button.button #submitButton {
  position: relative;
  cursor: pointer;
}

#submitButton {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer !important;
}

input[type='submit'] {
  font-weight: var(--fw-semibold);
  /* font-size: 14px; */
  text-decoration: none;
  color: #fff;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  height: 100%;
  line-height: 27px;
  cursor: pointer;
  padding: 16px;
}

.button,
#submitButton {
  border-radius: 5px;
  font-weight: var(--fw-semibold);
  font-size: 1.4em;
  text-decoration: none;
  padding: 10px 24px;
}

.button.outline {
  background: transparent;
  border: 2px solid var(--color-dark2);
  color: var(--color-dark2);
}

.button.blue,
#submitButton {
  border: none;
  background: var(--color-blue);
  color: #fff;
  width: 100%;
}

.button.white {
  color: #fff;
  background: transparent;
  border-color: #fff;
}

.button.large,
#submitButton {
  padding: 16px;
  line-height: 27px;
  font-size: 16px;
}

#submitButton {
  padding: 0;
}

.button.large svg,
#submitButton svg {
  display: none;
  height: 33px;
  width: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button.large svg .rotation,
#submitButton svg .rotation {
  transform-origin: 20px 20px;
  animation: rotate 0.5s infinite linear;
}

@keyframes rotate {
  from {
    /* Start rotation */
    transform: rotate(0deg);
  }
  to {
    /* End rotation */
    transform: rotate(360deg);
  }
}

/* Registration Form */
#formHolder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 970px;
  margin: 0 auto;
}

#registrationForm {
  width: 100%;
  max-width: 433px;
  margin-top: 50px;
}

#registrationForm .timeLeft {
  width: 100%;
  text-align: right;
  font-size: 1.4em;
  margin-bottom: 14px;
}

#registrationForm .container .overlay {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  flex-direction: column;
  left: 0;
  z-index: 2;
  backdrop-filter: blur(6px) saturate(40%);
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  align-items: center;
  border-radius: 5px;
}

#registrationForm .container .overlay .overlayContent {
  font-size: 1.1em;
  color: var(--color-dark2);
  margin-bottom: 10px;
  padding: 48px 40px 30%;
  text-align: center;
}

#registrationForm .container {
  border: 1px solid #dcdbdb;
  border-top-width: 0;
  border-radius: 0 0 5px 5px;
  padding: 48px 28px 36px;
  position: relative;
}

#registrationForm .container .timeProgress {
  display: flex;
  position: absolute;
  width: calc(100% + 2px);
  height: 7px;
  left: -1px;
  top: -7px;
  right: -1px;
  background: #e6e6e6;
  border-radius: 5px 5px 0px 0px;
  overflow: hidden;
}

#registrationForm .container p {
  font-size: 1.4em;
  line-height: 154%;
  text-align: center;
  color: var(--color-dark2);
  margin: 24px 0 0;
}

#registrationForm .container .timeProgress div {
  background: var(--color-orange);
  height: 100%;
  transition: width 1s linear;
}

#registrationForm .container button {
  margin-top: 24px;
}

#registrationForm h2 {
  font-size: 2.4em;
  margin: 0 0 24px;
}

#registrationForm h3 {
  font-size: 1.4em;
  color: var(--color-dark2);
  font-weight: var(--fw-bold);
  margin: 14px 0;
}

#formHolder input[type='text'],
#formHolder input[type='email'],
#formHolder input[type='password'],
#formHolder .inputDisabled {
  -webkit-appearance: none;
  padding: 13px 15px;
  width: 100%;
  background: #ffffff;
  box-shadow: rgb(218, 220, 224) 0px 0px 0px 1px;
  border: 1px solid transparent;
  box-sizing: border-box;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-weight: var(--fw-normal);
  font-size: 1.6em;
  line-height: 138%;
}

#formHolder .inputDisabled {
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

#formHolder .inputDisabled div {
  max-width: 85%;
  overflow: auto;
  padding: 0;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

#formHolder .inputDisabled div::-webkit-scrollbar {
  display: none;
}

#formHolder .formLabel.input input.am-error[type='text'],
#formHolder .formLabel.input input.am-error[type='email'],
#formHolder .formLabel.input input.am-error[type='password'] {
  border-color: #d50000;
  box-shadow: rgba(213, 0, 0, 0.3) 0px 0px 0px 1px;
  color: #000;
}

#formHolder input:-webkit-autofill {
  -webkit-background-clip: text;
}

#formHolder .formLabel.input input:valid ~ label,
#formHolder .formLabel.input input:focus ~ label,
#formHolder .formLabel.input input:disabled ~ label,
#formHolder .formLabel.input input.hascontent ~ label,
#formHolder .formLabel.input .inputDisabled ~ label {
  transform: translate(-0.6em, -2.15em) scale(0.75);
  transform-origin: left top;
  padding: 0 8px;
  background: #fff;
}

#formHolder .inputDisabled + label {
  border-radius: 5px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}

#formHolder input:focus ~ label,
#formHolder a {
  color: #1a73e8;
}

#formHolder input.am-error:valid ~ label,
#formHolder input.am-error:focus ~ label,
#formHolder input.am-error.hascontent ~ label {
  color: #d50000;
}

#formHolder input[type='text']:focus,
#formHolder input[type='email']:focus,
#formHolder input[type='password']:focus {
  border: 1px solid #1a73e8;
  box-shadow: rgb(26, 115, 232) 0px 0px 0px 1px;
  outline: none;
}

#formHolder input.am-error[type='text']:focus,
#formHolder input.am-error[type='email']:focus,
#formHolder input.am-error[type='password']:focus {
  border-color: #d50000;
  box-shadow: rgba(213, 0, 0, 0.3) 0px 0px 0px 1px;
}

.formLabel.input {
  position: relative;
  display: block;
  margin: 24px 0px;
}

.formLabel.input > label {
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 1.55em;
  transform: translateY(-50%);

  left: 16px;
  background: none;
  color: #606367;
  cursor: text;
  pointer-events: none;
  font-family: var(--ff-body);
  font-weight: var(--fw-normal);
  font-size: 1.6em;
  line-height: 138%;
}

.formLabel.input .sidenote {
  display: block;
  padding-top: 16px;
  font-size: 1.4em;
  color: #525965;
}

span.am-error {
  display: block;
  background: url('../img/icons/warning.svg') left top no-repeat;
  padding: 1px 0 0 20px;
  margin: 7px 0 0 3px;
  line-height: 130%;
  font-size: 1.2em;
}

span.am-warn {
  display: block;
  background: url('../img/icons/info.svg') left top no-repeat;
  padding: 1px 0 0 20px;
  margin: 7px 0 0 3px;
  line-height: 130%;
  font-size: 1.2em;
  opacity: 0.7;
}

#formHolder .paysys {
  display: flex;
  flex-direction: column;
}

#formHolder .paysys_hid {
  display: none;
}

#formHolder .paysys label {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  grid-template-rows: auto;

  border: 1px solid #d0d5dd;
  border-radius: 8px;
  width: 100%;
  padding: 20px 14px;

  cursor: pointer;
  font-size: 0px;
  margin-bottom: 16px;
}

#formHolder .paysys label:last-child {
  margin-bottom: 0px;
}

#formHolder .paysys input[type='radio'] {
  visibility: hidden;
  height: 1px;
  width: 1px;
  pointer-events: none;
}

#formHolder .paysys label .am-paysystem-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-weight: var(--fw-semibold);
  font-size: 14px;
  line-height: var(--lh-l);
  color: var(--color-dark2);
  display: flex;
  align-items: center;
  position: relative;
}

#formHolder .paysys label .am-paysystem-title:before {
  content: '';
  display: inline-block;
  height: 22px;
  width: 22px;
  min-width: 22px;
  background: #d0d5dd;
  border-radius: 50%;
  margin-right: 8px;
}

#formHolder .paysys label .am-paysystem-title:after {
  content: '';
  display: block;
  position: absolute;
  background: #fff;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  left: calc((22px - 8px) / 2);
  top: 50%;
  transform: translateY(-50%);
}

#formHolder .paysys label .am-paysystem-desc {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: center;
  justify-self: flex-end;
  font-size: 0px;

  display: block;
  margin-left: 8px;
  height: 19px;
  width: 100%;
  min-width: 50px;
}

#formHolder .paysys label:first-of-type .am-paysystem-desc {
  background: url('../img/icons/creditcards.svg') right center no-repeat;
  background-size: contain;
}

#formHolder .paysys label:last-child .am-paysystem-desc {
  background: url('../img/icons/paypal.svg') right center no-repeat;
  background-size: contain;
}

#formHolder .paysys .selected {
  /* #formHolder .paysys input[type='radio']:checked + label { */
  border: 1px solid #1a73e8;
  box-sizing: border-box;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
    0px 0px 0px 4px rgba(26, 115, 232, 0.2);
}

#formHolder
  .paysys
  label
  input[type='radio']:checked
  + .am-paysystem-title:before,
#formHolder .paysys label.selected .am-paysystem-title:before {
  background: #1a73e8;
}

input[type='submit'] {
  cursor: pointer;
}

/* Pricing Tables */
.pricing {
  padding: 16px;
  width: 100%;
  max-width: 380px;
}

.orange {
  color: #ff7e1d;
  font-size: 14px;
}

.desc .orange {
  text-align: right;
}

.flexRow {
  display: flex;
  flex-direction: row;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}

.flexCenter {
  align-items: center;
  justify-content: center;
}

.pricing .price {
  margin-right: 15px;
}

.pricing small {
  margin-top: 5px;
  display: inline-block;
}

.unlocked {
  display: inline-block;
  background: #fdc157;
  padding: 5px 14px 7px;
  font-weight: var(--fw-bold);
  font-size: 9px;
  line-height: 9px;
  text-transform: uppercase;
  border-radius: 15px;
}

.unlocked span {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.unlocked span svg {
  height: 12px;
  width: 9px;
  margin-right: 4px;
}

.pricing h3 {
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 169%;
  text-transform: uppercase;
  color: var(--color-dark2);
  margin: 18px 0;
}

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

.pricing ul li {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-body);
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing ul li:not(:last-child) {
  border-bottom: 1px solid #bac7d1;
  padding-bottom: 8px;
}

.pricing ul li:last-child {
  display: block;
  font-size: 14px;
  line-height: 154%;
  color: var(--color-dark2);
}

.pricing ul li .desc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  font-size: 16px;
  font-style: normal;
  font-weight: var(--fw-normal);
  line-height: 100%;
}

.pricing ul li .desc em {
  font-style: normal;
}

.pricing ul li .desc strong {
  font-weight: var(--fw-bold);
}

.pricing.single ul li:not(:last-child) {
  border-bottom: none;
  padding-bottom: 8px;
}

.pricing.single ul li.total {
  padding-top: 20px;
  padding-bottom: 20px !important;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e3e9;
  border-top: 1px solid #e0e3e9;
}

.pricing.single .price,
.pricing.single .discount,
.pricing.single .trial {
  margin-right: 12px;
  font-style: normal;
}

.pricing.single .desc .discount {
  margin-right: 0;
}

.pricing.single .discount {
  font-weight: 600;
}

@media (min-width: 730px) {
  #formHolder {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
  }

  #formHolder .priceTable {
    flex-basis: calc(45% - 20px);
    margin-top: 45px;
  }

  #registrationForm {
    flex-basis: calc(55% - 20px);
  }

  .pricing {
    padding: 16px 0;
  }

  .pricing ul li:not(:last-child) {
    padding-bottom: 12px;
  }

  .pricing ul li:last-child {
    font-size: 16px;
    line-height: 27px;
    margin-top: 30px;
  }
}

/* Counter */
.fullWidth {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

#counter {
  margin-top: 80px;
  background: #fcf5eb url('../img/bg/yellow.svg') center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.bgClip {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-height: 98px;
  z-index: -1;
}

.topBg {
  transform: scale(-1);
  top: -1px;
}

.horizontalFlip {
  transform: scale(-1, 1);
}

.bottomBg {
  bottom: -1px;
}

#counter .container {
  width: calc(100% - 32px);
  max-width: 970px;
  margin: 0 auto;
  padding-top: calc(6em + ((1vw - 1.75px) * 1.6901));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#counter aside {
  line-height: 150%;
  text-align: center;
  letter-spacing: -0.5px;
  color: var(--color-dark2);
  margin: 20px auto 50px;
  max-width: 700px;
}

#counter aside h1 {
  font-family: var(--ff-headline);
  font-weight: var(--fw-bold);
  font-size: calc(8em + ((1vw - 1.75px) * 1.6901));
  text-align: center;
  line-height: 100%;
  margin: 0;
  padding: 0;
}

#counter aside p {
  margin: 18px 0 45px;
  font-size: 1.8em;
  line-height: 150%;
  max-width: 25ch;
}

#counter picture {
  width: 100%;
  max-width: 390px;
  display: block;
}

picture img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 730px) {
  #counter .container {
    flex-direction: row;
    padding-top: 0px;
    justify-content: center;
    align-items: center;
  }

  #counter picture {
    width: 50%;
    align-self: flex-end;
  }

  #counter aside {
    margin-top: 60px;
    margin-left: 16px;
    margin-right: 0;
  }
}

@media (min-width: 1000px) {
  #counter {
    overflow: hidden;
  }

  #counter .container {
    justify-content: space-between;
  }

  #counter picture {
    width: 100%;
    max-width: 595px;
    margin-right: -10%;
    flex: 1 1 auto;
  }

  #counter aside {
    margin-top: 60px;
  }

  #counter aside h1 {
    font-size: 9.3em;
  }

  #counter aside p {
    font-size: 2.3em;
  }
}

/* Offer */
#offer {
  margin-top: 50px;
}

#offer > div {
  max-width: 520px;
  margin: 0 auto;
}

#offer ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#offer ul li {
  display: grid;
  grid-template-columns: 55px auto;
  grid-template-rows: auto auto;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #dcdbdb;
}

#offer ul li:last-child {
  border-bottom: none;
}

#offer ul li svg {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  align-self: center;
}

#offer ul li h3 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  font-weight: var(--fw-bold);
  font-size: 1.9em;
  line-height: 132%;
  margin: 0 0 5px 0;
}

#offer ul li p {
  font-size: 1.5em;
  line-height: 180%;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  margin: 0;
}

#offer figure,
#darkTheme figure,
#testimonials figure {
  overflow-x: hidden;
  width: 100vw;
  margin: 0 -16px -90px;
}

#offer figure {
  position: relative;
  z-index: 10;
}

#offer picture,
#darkTheme picture,
#testimonials .container picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

#offer picture img,
#darkTheme picture img,
#testimonials .container picture img {
  min-width: 390px;
  max-width: 559px;
  align-self: center;
  justify-self: center;
  display: block;
  height: auto;
}

@media (min-width: 730px) {
  #offer {
    margin-top: 60px;
    display: flex;
    flex-direction: row-reverse;
  }

  #offer > div {
    padding-left: 25px;
    width: 60%;
  }

  #offer figure,
  #darkTheme figure {
    overflow: visible;
    width: auto;
    max-width: 40%;
    position: relative;
  }

  #offer figure picture {
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
  }

  #offer picture img {
    position: sticky;
    align-self: auto;
    justify-self: auto;
    top: 30px;
    min-width: 559px;
    display: block;
  }
}

@media (min-width: 1000px) {
  #offer {
    margin-top: 100px;
  }

  #offer picture img {
    min-width: 620px;
    max-width: 620px;
  }
}

/* Dark Theme */
#darkTheme {
  background: #28216a url('../img/bg/darkBg.svg') center center;
  background-size: cover;
  color: #fff !important;
  z-index: 1;
  position: relative;
  padding: 20px 0;
}

#darkTheme h2,
#darkTheme h2 span {
  color: #fff;
}

#darkTheme .container {
  width: calc(100% - 32px);
  max-width: 970px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(6em + ((1vw - 1.75px) * 1.6901));
}

#darkTheme p {
  font-weight: var(--fw-normal);
  font-size: 1.8em;
  line-height: 150%;
  color: #fff;
  margin: 18px 0 10px;
}

#darkTheme .container a.button {
  margin: 30px 0 80px;
  display: inline-block;
}

@media (min-width: 730px) {
  #darkTheme {
    overflow: hidden;
    padding-top: 70px;
  }

  #darkTheme .container {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0;
  }

  #darkTheme aside {
    padding-right: 35px;
  }

  #darkTheme figure {
    max-width: 50%;
    margin: -30px -16px 0px;
  }

  #darkTheme figure picture {
    justify-content: flex-start;
    height: 100%;
  }

  #darkTheme picture img {
    height: auto;
    min-width: 650px;
  }

  #darkTheme .container a.button {
    margin: 30px 0 70px;
  }
}

@media (min-width: 1000px) {
  #darkTheme {
    margin-top: 100px;
    min-height: 630px;
  }

  #darkTheme aside {
    padding-right: 70px;
  }

  #darkTheme picture img {
    min-width: 664px;
    max-width: 664px;
  }
}

/* Step by step */
#steps {
  color: var(--color-dark2);
  max-width: 500px;
  margin: 120px auto 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#steps ul {
  list-style-type: none;
  margin: 0 0 30px;
  padding: 0;
}

#steps ul li {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

#steps li header {
  display: flex;
  align-items: center;
}

#steps li header .number {
  font-weight: var(--fw-bold);
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  background: var(--color-orange);
  border-radius: 50%;
  color: #ffffff;
  margin-right: 30px;
}

#steps li header h3 {
  font-weight: var(--fw-bold);
  font-size: 2em;
  margin: 0;
}

#steps li aside {
  display: flex;
}

#steps li aside p {
  font-size: 1.6em;
  line-height: var(--lh-l2);
  margin: 0;
  padding-bottom: 10px;
}

#steps li aside:before {
  display: block;
  content: '';
  border-left: 2px solid var(--color-orange);
  opacity: 0.2;
  margin: 7px 54px 0 24px;
}

@media (min-width: 730px) {
  #steps {
    margin: 90px auto 80px;
  }

  #steps li header .number {
    margin-right: 50px;
  }

  #steps li aside:before {
    margin: 7px calc(24px + 50px) 0 24px;
  }

  #steps li header h3 {
    font-size: 2.2em;
  }

  #steps li aside p {
    font-size: 1.7em;
  }
}

@media (min-width: 1000px) {
  #steps {
    margin-top: 110px;
  }
}

/* Testimonials */
.borderOrange {
  border-color: #ffb877 !important;
}
.borderPink {
  border-color: #e9989f !important;
}
.borderGreen {
  border-color: #77c79f !important;
}
.borderBlue {
  border-color: #6c9ee0 !important;
}
.borderViolet {
  border-color: var(--color-violet) !important;
}
.borderBlack {
  border-color: var(--color-dark2) !important;
}

#testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
}

#testimonials p,
#faq p {
  font-size: 2.1em;
  line-height: 164%;
  color: var(--color-dark2);
  margin: 21px 0;
}

#testimonials .container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  width: calc(100% - 32px);
  max-width: 970px;
  margin: 0 auto;
}

#testimonials .container figure {
  width: 100vw;
  max-width: 450px;
  margin: 0 -16px;
}

.masonryContainer {
  width: calc(100% - 32px);
  max-width: 970px;
  margin: 50px auto;
  padding: 0;
  column-count: 1;
}

.masonryItem {
  display: block;
  break-inside: avoid;
  width: 100%;
  margin-bottom: 50px;
}

.masonryItem header {
  display: flex;
  align-items: center;
  color: #0b0b0b;
}

.masonryItem header picture {
  height: 50px;
  width: 50px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid var(--color-dark2);
  margin-right: 15px;
}

.masonryItem header aside strong {
  display: block;
  font-family: var(--ff-headline);
  font-weight: var(--fw-bold);
  font-size: 1.8em;
  line-height: var(--lh-s);
  letter-spacing: 0.12px;
}

.masonryItem header aside em {
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: var(--fw-normal);
  font-size: 1.2em;
  line-height: var(--lh-s);
  opacity: 1;
  color: #6d6d6d;
  margin-top: 4px;
}

.masonryItem header aside em img {
  height: 12px;
  width: 12px;
  margin-left: 4px;
}

.masonryItem header picture img {
  height: 100%;
  width: 100%;
}

.masonryItem p {
  font-size: 1.6em !important;
  line-height: var(--lh-n2);
  letter-spacing: 0.116667px;
  color: var(--color-dark2);
  margin: 16px 0px;
}

@media (min-width: 730px) {
  #testimonials {
    overflow: hidden;
  }

  #testimonials .container {
    flex-direction: row;
    justify-content: space-between;
  }

  #testimonials aside {
    padding-right: 46px;
    flex: 1 1 auto;
  }

  #testimonial .container picture {
    justify-content: flex-start;
    height: 100%;
  }

  #testimonials .container figure {
    margin: 0 -70px 0 -16px;
    overflow: visible;
    width: 60%;
    max-width: 540px;
  }

  .masonryContainer {
    column-count: 2;
    column-gap: 50px;
  }
}

@media (min-width: 1000px) {
  .masonryContainer {
    column-gap: 70px;
  }
}

/* Partnering With */
#partneringWith {
  background: url('../img/bg/partneringWith.svg'),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 1) 0px,
      rgba(255, 255, 255, 1) 1px,
      rgba(3, 85, 192, 1) 1px,
      rgba(3, 85, 192, 1) 99.9%,
      rgba(255, 255, 255, 1) 99.9%,
      rgba(255, 255, 255, 1) 100%
    );
  background-size: cover;
  color: #fff !important;
  z-index: 1;
  position: relative;
  padding: 20px 0 0;
  margin-bottom: calc(112px * 2.5);
}

#partneringWith h2,
#partneringWith h2 span {
  color: #fff;
}

#partneringWith .container {
  width: calc(100% - 32px);
  max-width: 970px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(6em + ((1vw - 1.75px) * 1.6901));
}

#partneringWith p {
  font-weight: var(--fw-normal);
  font-size: 1.8em;
  line-height: 150%;
  color: #fff;
  margin-bottom: 10px;
}

#partneringWith .wrapper {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;

  padding-bottom: 20px;
  margin: 0 -16px calc(121px * -2);
}

#partneringWith .wrapper .slideTrack {
  display: flex;
  animation: infinity-slide-horizontal linear infinite;
  animation-duration: 90s !important;
  pointer-events: none;
}

#partneringWith .wrapper .slideTrack.reverse {
  animation-name: infinity-slide-horizontal-reverse;
  transform: translateX(90px);
}

#partneringWith .wrapper .slideTrack {
  flex-direction: row;
  transform: translateX(-90px);
}

#partneringWith .wrapper .slideTrack picture {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2),
    0px 7px 13px -3px rgba(0, 0, 0, 0.1), inset 0px -3px 0px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  height: 112px;
  width: 112px;
  min-height: 112px;
  min-width: 112px;
  margin: 9px;
}

#partneringWith .wrapper .slideTrack picture img {
  max-width: 89px;
  height: auto;
  width: auto;
}

#partneringWith .container a.button {
  margin: 30px 0 70px;
  display: inline-block;
}

@media (min-width: 730px) {
  #partneringWith {
    overflow: hidden;
    padding-top: 70px;
    margin-bottom: 100px;
  }

  #partneringWith svg {
    z-index: 999;
  }

  #partneringWith .container {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0;
    position: relative;
  }

  #partneringWith aside {
    width: 70%;
    padding-right: 35px;
  }

  #partneringWith .wrapper {
    width: calc(3 * (112px + 18px));
    height: 100%;
    display: flex;
    flex-direction: row;
    position: absolute;
    left: calc(70% + 30px);
    top: -40px;
    bottom: 3px;
    z-index: -2;
    padding: 0;
  }

  #partneringWith .wrapper .slideTrack {
    display: inline-block;
    flex-direction: column;
    animation: infinity-slide-vertical linear infinite;
    transform: translateX(0) translateY(-90px);
  }

  #partneringWith .wrapper .slideTrack.reverse {
    transform: translateX(0) translateY(90px);
    animation-name: infinity-slide-vertical-reverse;
  }

  #partneringWith .container a.button {
    margin: 30px 0 70px;
  }
}

@media (min-width: 1000px) {
  #partneringWith {
    margin-top: 100px;
    min-height: 630px;
  }

  #partneringWith aside {
    padding-right: 70px;
  }
}

@keyframes infinity-slide-horizontal-reverse {
  0% {
    transform: translate3d(calc(-90px - (22 * (18px + 112px))), 0, 0);
  }
  100% {
    transform: translate3d(-90px, 0, 0);
  }
}

@keyframes infinity-slide-horizontal {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(calc(-90px - (22 * (18px + 112px))), 0, 0);
  }
}

@keyframes infinity-slide-vertical-reverse {
  0% {
    transform: translate3d(0, calc(-90px - (22 * (9px + 112px))), 0);
  }
  100% {
    transform: translate3d(0, -90px, 0);
  }
}

@keyframes infinity-slide-vertical {
  0% {
    transform: translate3d(0, -90px, 0);
  }

  100% {
    transform: translate3d(0, calc(-90px - (22 * (9px + 112px))), 0);
  }
}

/* FAQ */
#faq {
  max-width: 768px;
  margin: 0 auto;
  color: #423f3f;
}

#faq input {
  display: none;
}

#faq article {
  grid-template-columns: auto 37px;
  grid-template-rows: auto auto;
  padding: 20px;
}

#faq article label {
  display: grid;
  grid-template-columns: auto 37px;
  grid-template-rows: auto;
  cursor: pointer;
}

#faq article label span {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-weight: var(--fw-bold);
  font-size: 1.6em;
  line-height: var(--lh-n);
  margin: 8px 0px;
}

#faq article label:before {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 22px;
  width: 22px;
  content: url("data:image/svg+xml,%3Csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 7v8m-4-4h8m6 0c0 5.523-4.477 10-10 10S1 16.523 1 11 5.477 1 11 1s10 4.477 10 10Z' stroke='%235F6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  align-self: flex-start;
  justify-self: flex-end;
  pointer-events: none;
  margin-top: 8px;
}

#faq article p {
  width: calc(100% - 37px);
  font-size: 1.6em;
  line-height: var(--lh-l);
  margin: 8px 0px;
  display: none;
}

#faq input:checked + article {
  background: #f8f8f8;
  border-radius: 5px;
  margin-bottom: 16px;
}

#faq input:checked + article p {
  display: block;
}

#faq input:checked + article label:before {
  content: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 11h8m6 0c0 5.523-4.477 10-10 10S1 16.523 1 11 5.477 1 11 1s10 4.477 10 10Z' stroke='%235F6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#faq footer {
  background: #f8f8f8;
  padding: 32px 20px;
  border: 1px solid #dcdbdb;
  border-radius: 5px;
  color: #101828;
  margin-top: 50px;
}

#faq footer h3 {
  font-weight: var(--fw-bold);
  font-size: 1.8em;
  line-height: var(--lh-n2);
  margin: 0 0 8px;
}

#faq footer p {
  font-size: 1.6em;
  margin: 0 0 24px;
}

#faq footer a {
  display: table-cell;
}

@media (min-width: 730px) {
  #faq article,
  #faq footer {
    padding: 32px;
  }

  #faq article label {
    grid-template-columns: 37px auto;
  }

  #faq article label span {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-size: 1.8em;
    line-height: var(--lh-n);
    margin: 8px 0px;
  }

  #faq article label:before {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: flex-start;
  }

  #faq article p {
    margin: 8px 0px 8px auto;
  }

  #faq footer {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }

  #faq footer h3 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: 2em;
  }

  #faq footer p {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    font-size: 1.8em;
    margin: 0;
    padding-right: 30px;
  }

  #faq footer a {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    display: table-cell;
  }
}

/* Footer */
body > footer {
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 110px auto 0;
  border-top: solid 1px #dcdbdb;
  padding: 27px 0;
}

body > footer img {
  width: 120px;
  height: auto;
}

body > footer p {
  margin-top: 27px;
  font-size: 1.4em;
}

/* Loading */
.button.loading,
#submitButton.loading {
  background: #c7c7c7;
}

button.button.loading svg,
#submitButton.loading svg {
  display: block !important;
}

button.button.loading span,
#submitButton.loading input[type='submit'] {
  visibility: hidden;
}

#formHolder form .button.large.blue:last-of-type,
#submitButton:last-of-type {
  margin-top: 40px;
}

#formHolder form .checkboxAnimated + .button.large.blue:last-of-type,
#formHolder form .checkboxAnimated + #submitButton:last-of-type {
  margin-top: 0;
}

/* Safe checkout */
.safeCheckout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}

.safeCheckout > span {
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(34, 34, 34, 0.7);
  display: block;
  margin-bottom: 12px;
}

.safeCheckout > span b {
  font-weight: 700;
}

/* Animated Checkbox */
.checkboxAnimated {
  margin-top: 16px !important;
  margin-bottom: 32px !important;
  display: block;
  padding-left: 2px;
}

.checkboxAnimated label {
  pointer-events: all !important;
  cursor: pointer;
  padding: 0 !important;
}

.checkboxAnimated input[type='checkbox'] {
  height: 1px;
  width: 1px;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: -9999px;
  right: -9999px;
}

.checkboxAnimated input[type='checkbox'] + label {
  position: relative;
  display: flex;
  margin: 0 0 14px 0;
  align-items: center;
  color: #525965;
  font-size: 1.4em;
  transition: color 250ms cubic-bezier(0.4, 0, 0.23, 1);
}

#formHolder .checkboxAnimated input[type='checkbox'] ~ label,
#formHolder .checkboxAnimated input[type='checkbox'] ~ label a,
#formHolder .checkboxAnimated input[type='checkbox'] ~ label a,
#formHolder .checkboxAnimated input[type='checkbox'] ~ label a:hover {
  color: #525965;
}

#formHolder .checkboxAnimated input[type='checkbox'] ~ label a,
#formHolder .checkboxAnimated input[type='checkbox'] ~ label a:hover {
  font-weight: var(--fw-semibold);
  color: #525965;
  text-decoration: underline;
}
.checkboxAnimated input[type='checkbox'] + label > span {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  margin-top: 0;
  width: 20px;
  min-width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid #9e9e9e;
  border-radius: 4px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.23, 1);
  position: relative;
}

.checkboxAnimated input[type='checkbox'] + label > div {
  padding-top: 2px;
  line-height: 140%;
}

.checkboxAnimated input[type='checkbox'] + label > span:before {
  content: '';
}

.checkboxAnimated input[type='checkbox'] + label:hover,
.checkboxAnimated input[type='checkbox']:focus + label {
  color: #2b80ff;
}

.checkboxAnimated input[type='checkbox'] + label:hover > span,
.checkboxAnimated input[type='checkbox']:focus + label > span {
  background: rgba(255, 255, 255, 0.1);
}

.checkboxAnimated input[type='checkbox']:checked + label > span {
  /* border: 10px solid var(--color-blue); */
  background: var(--color-blue);
  border-color: var(--color-blue);
  animation: shrink-bounce 200ms cubic-bezier(0.4, 0, 0.23, 1);
}

.checkboxAnimated input[type='checkbox']:checked + label > span:before {
  content: '';
  height: 10px;
  width: 5px;
  top: -4px;
  left: 1px;
  position: absolute;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  border-color: #fff;
  /* animation: checkbox-check 125ms 250ms cubic-bezier(.4,.0,.23,1) forwards; */
}

.checkboxAnimated
  input[type='checkbox'].am-error
  + label
  .checkboxAnimated
  input[type='checkbox'].am-error
  + label
  div,
#formHolder .checkboxAnimated input[type='checkbox'].am-error + label,
.checkboxAnimated input[type='checkbox'].am-error + label div a {
  color: #d50000 !important;
}

.checkboxAnimated input[type='checkbox'].am-error + label > span {
  border: 2px solid #d50000 !important;
}

@keyframes shrink-bounce {
  0% {
    transform: scale(1);
  }
  33% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes checkbox-check {
  0% {
    width: 0;
    height: 0;
    border-color: #fff;
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  33% {
    width: 5px;
    height: 0;
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  100% {
    width: 5px;
    height: 12px;
    border-color: #fff;
    transform: translate3d(0, -12px, 0) rotate(45deg);
  }
}

/* Safe checkout */
.safeCheckout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  opacity: 0.9;
}

.safeCheckout > span {
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(34, 34, 34, 0.7);
  display: block;
  margin-bottom: 12px;
}

.safeCheckout > span b {
  font-weight: 700;
}
