:root {
  --base-foreground: #111111;
  --base-background: #ffffff;
  --base-text: #222222;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base-foreground: #ffffff;
    --base-background: #080808;
    --base-text: #ffffff;
  }
}

html {
  background-color: var(--base-background)
  color: var(--base-text);
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  color: #222222;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  color: #222222;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #888;
  margin: 1em 0;
  padding: 0;
}

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ========================================================================== */

*:focus {
    outline: none;
}

body {
  background-color: var(--base-background);
  color: var(--base-text);
  /* text-align: center; */
  margin: auto;
  font-family: 'Poppins', sans-serif;
}

body > .wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 1rem;
}
/* @media (max-width: 425px) {
  body > .wrapper {
    padding: 4rem 1rem;
  }
} */

h1, h2, h3, h4 {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

ul, ol {
  margin-bottom: 1rem;
}
ul > li,
ol > li {
  margin-bottom: 0.5rem;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--base-text);
  font-family: 'Poppins', sans-serif;
  /* font-size: 20px;
  font-weight: 300;
  line-height: 32px; */
  margin: 0 0 0.5em;
}

.signature__wrapper {
  position: relative;
  margin: calc(4rem + 32px) 0 4rem;
  /* background-color: #fff; */
  /* border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0px 1px 0.75rem rgba(0,0,0,0.2); */
}

.signature__wrapper .signature {
  padding: 2rem 0.75rem;
  border: 1px solid #ddd;
  border-top: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  background-color: #fff;
  box-shadow: 0px 1px 0.75rem rgba(0,0,0,0.2);
}

.header {
  position: relative;
  width: 100%;
  font-family: 'SF Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: default;
}

.title-bar {
  height: 32px;
  box-sizing: border-box;
  background: linear-gradient(0deg, #0c609f, #1d75b6);
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #085085;
  border-top: 1px solid rgba(103, 162, 207, 0.8);
  border-left: 1px solid #297ab8;
  border-right: 1px solid #297ab8;
  /* box-shadow: inset 0px 1px 0px rgba(103, 162, 207, 0.8); */
  /* display: grid;
  grid-template-columns: 78px 1fr 78px;
  align-items: center;
  justify-content: center; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-bar__title {
  font-weight: 600;
  font-size: 13.25px;
  line-height: 1;
  text-shadow: 0px -1px 0px rgba(11,71,116,0.5);
  opacity: 0.8;
  margin: 0 78px;
  padding-right: 0.75rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.title-bar__title div {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.title-bar .title-bar__navigation {
  position: absolute;
  left: 0;
  display: flex;
  gap: 6px;
  padding: 0.5rem 0.75rem;
  align-items: center;
}

.title-bar .title-bar__navigation .circle {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 1px solid #0b548c;
}

.title-bar .title-bar__navigation .circle:nth-child(1) { background-color: #fc605b; }
.title-bar .title-bar__navigation .circle:nth-child(2) { background-color: #fcbb40; }
.title-bar .title-bar__navigation .circle:nth-child(3) { background-color: #33c648; }

.header-label {
  box-sizing: border-box;
  background: linear-gradient(0deg, #ededed, #f7f7f7);
  border: 1px solid #d2d0ce;
  font-size: 13px;
  font-weight: 600;
  line-height: 2.5;
  color: #222222;
  padding: 0 0.75rem;
  border-top: 0;
}

.top-logo {
  display: block;
  margin: 0 auto 4rem auto;
  max-width: 400px;
  color: var(--base-foreground);
}

.top-logo svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.top-logo h1 {
  font-size: min(4vw, 1.5rem);
  margin-top: 0.5em;
  letter-spacing: 0.1em;
  text-align: center;
}


/* forms */
.form-fields {
  margin-bottom: 2rem;
}

.input-group {
  display: block;
  margin-bottom: 20px;
}

.input-group input + span {
  display: block;
  margin-top: 0.25em;
  font-size: 0.8em;
  padding: 5px;
}

label {
  display: block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75em;
  padding: 10px 5px 5px 5px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  font-weight: 600;
  color: var(--base-text);
}

input[type="text"], input[type="tel"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  background: none;
  border: 2px solid var(--base-foreground);
  padding: 15px 15px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  color: var(--base-text);
}

#info {
  margin: 0 auto;
  /* width: auto; */
  max-width: 400px;
  display: block;
}

.btn_group {
  position: relative;
  margin: 0 auto 4rem auto;
  max-width: 400px;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 399px) {
  .btn_group {
    justify-content: left;
  }
}

.btn_group .msg {
  opacity: 1;
  transition: all 0.2s ease;
}
.btn_group .msg.msg--empty {
  opacity: 0;
}
.checkmark__wrapper {
  display:flex;
  justify-content:center;
  align-items:center;
  opacity: 0;
  transition: .2s opacity ease;

  position: absolute;
  top: 50%;
  right: 0;
  transform: translate3d(150%, -50%, 0);
}
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 4;
  stroke-miterlimit: 10;
  stroke: #7ac142;
  fill: none;
}
.checkmark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #7ac142;
}
.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}
.checkmark--checked.checkmark__wrapper {
  opacity: 1;
}
.checkmark--fade.checkmark__wrapper {
  opacity: 0;
}
.checkmark--checked .checkmark__circle {
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark--checked .checkmark {
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark--checked .checkmark__check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke{
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale{
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #7ac142;
  }
}
@keyframes fadeout {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

button {
  position: relative;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  border: 2px solid var(--base-foreground);
  color: var(--base-background);
  background: var(--base-foreground);
  padding: 15px 30px;
  /* transition: 0.2s all ease; */
}

/* button:hover,
button:focus-visible {
  background: var(--base-background);
  color: var(--base-foreground);
} */

button:hover:after,
button:focus-visible:after {
  content: '';
  position: absolute;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  top: 2px;
  left: 2px;
  border: 2px solid var(--base-background);
  box-sizing: border-box;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;
}

::-ms-input-placeholder { /* Microsoft Edge */
  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    /* 1 */
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

@media print {
  *, *:before, *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a, a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after, a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    page-break-after: avoid;
  }

  button, input {
    background-color: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
  }
}
