/*
** CSS Reset
** https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

body {
  position: relative;
  color: #fff;
  background-color: #fff;
  font-family: "Merriweather Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  line-height: 1.6;
  padding: 7.5em 1em 1em 1em;
}

main {
  max-width: 60em;
}

h1, h2, h3 {
  font-weight: 900;
  text-wrap: balance;
}

#kwmail {
  margin-top: 1.5em;
}
#kwmail button {
  display: block;
  margin-top: 0.5em;
}
#kwmail label {
  display: block;
  margin-top: 0.5em;
}

input[type=text], input[type=email], input[type=tel] {
  display: block;
  margin: 0.5em 0;
  padding: 0.5em;
}

input[type=checkbox] {
  margin-right: 0.5em;
}

header h1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  font-size: 2.5em;
  line-height: 1.1;
  padding: 16px 0 0 16px;
  margin-right: 55px;
  color: #303778;
  background: #fff;
}

section {
  position: relative;
  background-color: #fff;
  padding-bottom: 3em;
  transition: opacity 0.08s linear;
}
section h2 {
  position: relative;
  font-size: 2em;
  color: #D9252F;
  background-color: #fff;
  line-height: 1;
  margin: 0 0 0.3em 0;
}
section > div {
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 1.5em;
  border-radius: 1.5em;
  background-color: #303778;
}
section > div img {
  order: 1;
  width: 100%;
  border-radius: 1em;
  border: 2px solid #fff;
}
section > div > div {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
section > div > div p {
  margin: 0;
}
section:before {
  content: "";
  position: absolute;
  inset: auto 0 100%;
  height: 1em;
  background: linear-gradient(to bottom, transparent, #fff);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul li {
  margin: 0;
  padding: 0 0 0 1.5em;
}
ul li + li {
  margin-top: 0.5em;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0;
  width: 2.5em;
  height: 1.5em;
  background-position: 1.5em 0.25em;
  background-repeat: no-repeat;
  background-size: 1em;
  background-image: url("../img/bullet-red.svg");
}

footer {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: #303778;
  max-width: 60em;
}

section:last-of-type > div {
  background-color: #D9252F;
}
section:last-of-type h2 {
  color: #303778;
}
section:last-of-type li:before {
  background-image: url("../img/bullet-blue.svg");
}

.support {
  position: fixed;
  right: max(0px, 100vw - 60rem);
  top: 0;
  max-width: 7em;
  font-size: 0.85em;
  background-color: #fc8;
  color: #000;
  line-height: 1.1;
  border-radius: 0 0 0 0.5em;
  cursor: pointer;
  transition: background-color 100ms linear;
  z-index: 1;
}
.support h1 {
  text-align: center;
  font-size: 1em;
  padding: 0.5em;
}
.support p {
  margin-top: 0.5em;
  font-size: 0.9em;
  font-weight: normal;
  line-height: 1.2;
}
.support .support-close {
  display: none;
}
.support:hover {
  background-color: #f82;
}
.support .support-content {
  height: 0;
  overflow-y: hidden;
}
.support #desc-label {
  display: none;
}
.support #paypal-form-fields-container-MNZQ473RX22NL .input-label {
  font-size: 1.25em;
  font-weight: bold;
}
.support .paypal-buttons-layout {
  margin-top: 0;
}
.support.show-support {
  max-width: none;
  overflow-x: hidden;
  padding: 1em 1.5em 1em 1.5em;
}
.support.show-support:hover {
  background-color: #fc8;
}
.support.show-support h1 {
  font-size: 2em;
  color: #303778;
  padding: 0 0.5em;
}
.support.show-support h2 {
  font-size: 1.125em;
  padding: 1em 0 0.5em 0;
}
.support.show-support .support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6em;
  height: auto;
  overflow-y: auto;
}
.support.show-support .support-close {
  display: block;
  width: fit-content;
  font-size: 1em;
  margin: 0.5em 0 0 0;
  background-color: #f82;
  padding: 0.5em 0.75em;
  border-radius: 0.5em;
}
.support.show-support .support-close:hover {
  background-color: #f94;
}

.privacy-terms {
  color: #303778;
  padding: 2em;
}
.privacy-terms p {
  margin-bottom: 1em;
}
.privacy-terms footer {
  margin-top: 1em;
}

#checkout-button {
  padding: 0 !important;
}

.paypal-button-container {
  min-width: unset !important;
}

/* Small screen styling */
@media screen and (min-width: 25em) {
  body {
    padding: 9em 1em 1em 1em;
  }
  header h1 {
    font-size: 3em;
  }
  section h2 {
    font-size: 2.5em;
  }
}
/* Medium screen styling */
@media screen and (min-width: 35em) {
  body {
    padding: 5.5em 2em 2em 2em;
  }
  header h1 {
    font-size: clamp(2em, 7.25vw, 4em);
    line-height: 1.4;
    padding: 16px 0 0 32px;
  }
  section {
    top: 1em;
  }
}
@media screen and (min-width: 35em) and (min-height: 57.5em) {
  section {
    position: sticky;
    top: 6.5em;
  }
}
/* Large screen styling */
@media screen and (min-width: 52em) {
  header h1 {
    font-size: 4em;
    padding: 0 0 0 32px;
    margin-right: 0;
    line-height: 1.5;
  }
  section > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  section > div img {
    order: 2;
  }
  section > div > div {
    order: 1;
  }
  .support {
    font-size: 1em;
  }
}
@media screen and (min-width: 60em) {
  .support {
    border-radius: 0 0 0.5em 0.5em;
  }
}
@media screen and (min-width: 395px) {
  .support.show-support .support-content {
    grid-template-columns: 11em 14em;
    gap: 1em;
  }
}
