:root {
  --spxGreen: #55bb4b;
  --formBlue-org: #1473e6;
  --formBlue: #089218;
  --widthMin: 300px;
  --widthOpt: 75%;
  --widthMax: 900px;
  --promoBgColor: #2e373f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: 0px solid green;
}

body {
  display: flex;
  font-size: 16px;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'REGU', sans-serif;
}

#nav a {
  padding: 0.3em 0.7em;
  border-radius: 0.3em;
  font-size: 0.9em;
}

.underlined {
  /* text-decoration: underline !important; */
  background-color: rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  #hero {
    flex-direction: column-reverse;
    padding: 0 2% !important;
  }

  #heroimage {
    margin-top: 20px !important;
    min-height: 20vw !important;
    background-position: center !important;
  }

  #hero #texts {
    width: 90% !important;
  }

  #comparision {
    flex-direction: column !important;
  }

  #addName {
    flex-direction: column !important;
  }

  #addName input {
    width: 90% !important;
    text-align: center !important;
  }

  #spin {
    width: 100% !important;
  }
}

a:visited {
  color: var(--spxGreen);
  text-decoration: none;
}

a:link {
  color: var(--spxGreen);
  text-decoration: none;
}

a:hover {
  color: var(--formBlue);
  text-decoration: none;
}

@font-face {
  font-family: 'Bold';
  src: url('../fonts/EncodeSans-Bold.ttf');
}

@font-face {
  font-family: 'Lite';
  src: url('../fonts/EncodeSans-Light.ttf');
}

@font-face {
  font-family: 'Blac';
  src: url('../fonts/EncodeSans-Black.ttf');
}

@font-face {
  font-family: 'Regu';
  src: url('../fonts/EncodeSans-Regular.ttf');
}

@font-face {
  font-family: 'Semi';
  src: url('../fonts/EncodeSans-SemiBold.ttf');
}

@font-face {
  font-family: 'UI-Light';
  src: url('./fonts/EncodeSansSemiExpanded-Light.ttf');
}
@font-face {
  font-family: 'UI-Regular';
  src: url('./fonts/EncodeSansSemiExpanded-Regular.ttf');
}
@font-face {
  font-family: 'UI-Bold';
  src: url('./fonts/EncodeSansSemiExpanded-Bold.ttf');
}
@font-face {
  font-family: 'UI-Black';
  src: url('./fonts/EncodeSansSemiExpanded-Black.ttf');
}

.centerIt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

h2 {
  font-family: 'Bold';
  font-size: 1.9em;
  word-wrap: normal;
  text-align: center;
}

#logo {
  width: clamp(80px, 15vw, 150px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

#header {
  display: flex;
  /* min-height: 300px;
    max-height: 400px; */
  flex-grow: 0;
  padding: 10px 0;
  text-align: center;
  align-items: center;
  background-size: cover;
  justify-content: center;
  background-color: #353d4c;
  background-image: url('../img/grey-bg.png');
}

#nav {
  right: 0;
  color: white;
  position: absolute;
  padding: 0.5em 2em;
  white-space: nowrap;
  font-family: 'REGU';
}

#nav a {
  color: white;
  text-decoration: none;
}

#nav a:hover {
  color: var(--spxGreen);
  text-decoration: none;
}

#nav .divider {
  padding: 0 0.4em;
  color: var(--spxGreen);
}

#hero {
  width: clamp(var(--widthMin), var(--widthOpt), var(--widthMax));
  /* padding: 0 12%; */
  height: 100%;
  display: flex;
  margin-top: 25px;
  position: relative;
  font-family: 'REGU';
  align-items: center;
  justify-content: center;
  border: 0px solid yellow;
}

#hero #texts {
  width: 60%;
  height: 100%;
  display: flex;
  margin-top: 25px;
  font-family: 'REGU';
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 0px solid blue;
}

#hero #title {
  color: white;
  font-size: 1.9em;
  text-align: left;
  margin-bottom: 0.5em;
  font-family: 'BOLD';
}

#hero #ingress {
  color: rgba(255, 255, 255, 0.685);
  font-size: 0.9em;
  text-align: left;
  margin-bottom: 1em;
  font-family: 'REGU';
}

#heroimage {
  width: 80%;
  border: 0px solid red;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: clamp(150px, 18vw, 300px);
  background-image: url('../img/spx-cloud-wire.png');
}

.green {
  color: var(--spxGreen);
}

.regu {
  font-family: 'REGU';
}

.black {
  font-family: 'BLAC';
}

#content {
  margin: 0 40px;
  display: flex;
  min-height: 300px;
  position: relative;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  border: 0px dotted blue;
}

.step {
  /* top: 2em; */
  opacity: 0.5;
  margin-bottom: 0.6em;
  /* position: absolute; */
}

#spin {
  margin: 40px 0;
  padding: 30px;
  display: flex;
  color: black;
  border-radius: 1em;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* width: clamp(200px, 80vw, 1000px); */
  background-color: rgb(236, 236, 236);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: hsla(115, 29%, 42%, 0.2) 0 0 20px;
  width: clamp(var(--widthMin), 80vw, var(--widthMax));
}

#page1,
#page2,
#page3,
#page4 {
  gap: 0.6em;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  border: 0px solid red;
  justify-content: flex-start;
}

#addEmail,
#addName {
  width: 100%;
  display: flex;
  margin: 0.5em 0;
  font-size: 1.7em;
  font-family: 'Semi';
  align-items: center;
  justify-content: center;
}

#addEmail input,
#addName input {
  width: 40%;
  font-size: 1em;
  text-align: right;
  font-family: inherit;
  border-radius: 0.3em;
  padding: 0.05em 0.4em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: hsla(115, 34%, 46%, 0.3) 0 0 20px;
}

#addEmail input {
  width: 80%;
  text-align: center;
}

#addEmail input::placeholder,
#addName input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

#addEmail input:focus,
#addName input:focus {
  outline: var(--formBlue) solid 1px;
}

.info {
  opacity: 0.9;
  max-width: 80%;
  font-size: 0.9em;
  white-space: wrap;
  text-align: center;
  border: 0px solid red;
}

#page2Navi {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  border: 0px solid red;
  width: 100%;
}

.back,
.next {
  margin: 0em;
  cursor: pointer;
  min-width: 150px;
  font-size: 1em;
  background: none;
  padding: 0.6em 2em;
  font-family: 'Bold';
  border-radius: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 100ms ease-in-out;
}

.back:hover {
  color: white;
}

.next {
  border: 1px solid transparent;
  margin: 1em;
  color: white;
  min-width: 150px;
  font-size: 1em;
  padding: 0.6em 2em;
  font-family: 'Bold';
  border-radius: 0.2em;
  text-transform: uppercase;
  background-color: var(--formBlue);
  box-shadow: 0 5px 10px hsla(204, 69%, 37%, 0.4);
  cursor: pointer;
  transition: all 100ms ease-in-out;
}

.next::after {
  font-family: 'Lite';
  content: '›';
  line-height: 1;
  font-size: 1.2em;
  margin-left: 0.9em;
}

.back::before {
  font-family: 'Lite';
  content: '‹';
  line-height: 1;
  font-size: 1.2em;
  margin-right: 0.9em;
}

.noArrow:after,
#btn5::after,
.back::after {
  content: '';
}

.next:hover {
  /* border: 1px solid blue; */
  background-color: orange;
  box-shadow: 0 5px 10px hsla(115, 34%, 46%, 0.4);
}

.next:active {
  color: black;
}

#typelist {
  gap: 0em;
  width: 100%;
  display: flex;
  margin-top: 1em;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 0px solid red;
}

#regionZone {
  width: 100%;
  display: flex;
  margin-top: 1em;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid red;
}

#type1,
#type2,
#type3 {
  gap: 0em;
  z-index: 10;
  width: 100%;
  margin: 0em 0;
  display: flex;
  cursor: pointer;
  overflow: hidden;
  font-size: 1.1rem;
  position: relative;
  flex-direction: row;
  justify-content: center;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.422);
  box-shadow: 0 5px 10px hsla(115, 34%, 46%, 0.7);
  transition: opacity 200ms ease-in-out;
}

#type1 {
  border-radius: 1em 1em 0 0;
}

#type3 {
  border-radius: 0 0 1em 1em;
}

h3 {
  font-family: 'Bold';
  font-size: 1.2rem;
  word-wrap: normal;
  text-align: left;
  margin-bottom: 0.5em;
}

.selectTab {
  padding: 8px;
  flex: 0 0 10%;
  position: relative;
  background-color: var(--spxGreen);
  box-shadow: none !important;
  justify-content: center;
  align-items: center;
}

.selectTab > input {
  position: absolute;
  top: 50%;
  width: 80%;
  transform: translateY(-50%) scale(1.4);
  box-shadow: none !important;
  /* height: 100%; */
}

.selectText {
  padding: 10px;
  font-size: 0.8em;
  flex-grow: 1;
}

.pricing {
  display: flex;
  flex: 0 0 20%;
  flex-direction: column;
  gap: 0.6em;
  justify-content: center;
  align-items: center;
  border: 0px solid red;
}

.price {
  font-family: 'Bold';
  font-size: 1.6rem;
  white-space: nowrap;
  padding: 0 0.5em;
}

.faded {
  opacity: 0.3;
  box-shadow: none !important;
  z-index: -1;
  border: 1px solid transparent !important;
}

.locked {
  opacity: 0.2;
  pointer-events: none;
}

#sub1,
#sub2,
#sub3 {
  border: 0;
  outline: 0;
}

#askus {
  visibility: hidden;
}

.checking {
  color: rgb(140, 140, 140) !important;
}

.checktrue {
  color: rgb(12, 147, 2) !important;
}

.checkfalse {
  color: rgb(147, 2, 2) !important;
}

#footer {
  bottom: 0;
  width: 100%;
  flex-grow: 1;
  display: flex;
  padding: 30px;
  min-height: 200px;
  position: relative;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #bbbcbe;
  border: 0px solid greenyellow;
}

#footerZone {
  border: 0px solid blue;
  width: clamp(var(--widthMin), var(--widthOpt), var(--widthMax));
  display: flex;
  flex-direction: column;
}

#footerlogo {
  border: 0px solid blue;
  display: block;
}

#footerTexts {
  border: 0px solid blue;
  width: 100%;
  display: flex;
  flex-direction: row;
  font-size: 0.8em;
}

.footer1 {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border: 0px solid red;
  padding-right: 10%;
}

.footer2,
.footer3 {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border: 0px solid red;
}

.copyright {
  margin-top: 3em;
  font-size: 0.8em;
  opacity: 0.8;
}

#footerTexts > div {
  line-height: 1.6;
}

#regionZone {
  width: 100%;
  padding: 0.2em 2em;
  display: flex;
  margin-top: 1em;
  min-height: 40px;
  font-size: 0.9em;
  border-radius: 1em;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  border: 0px solid red;
  background-color: rgb(249, 249, 249);
  box-shadow: 0 0 7px hsla(115, 34%, 46%, 0.3);
}

.regionLeft {
  flex: 1 0 50%;
  display: flex;
  align-items: center;
  border: 0px solid red;
  justify-content: flex-start;
}

.regionRight {
  flex: 1 0 50%;
  display: flex;
  align-items: center;
  border: 0px solid red;
  justify-content: flex-start;
}

.regionRight > select {
  width: 100%;
  font-size: 1.2em;
  font-family: 'Regu';
  padding: 0.2em;
  border-radius: 0.4em;
  background-color: rgb(255, 255, 255);
  border-color: var(--spxGreen);
}

.red {
  color: red;
}

#pricingTable {
  padding: 10px;
  display: flex;
  flex-direction: column;
  color: black;
  width: clamp(200px, 80%, 800px);
}

#pricingTable H1 {
  font-family: 'Bold';
  font-size: 1.8em;
  word-wrap: normal;
  text-align: center;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  padding: 0;
}

#pricingTable .textblock {
  margin-top: 0em;
  font-family: 'REGU';
  padding-left: 0em;
  font-size: 1em;
  word-wrap: normal;
  text-align: center;
}

#FAQ {
  padding: 10px;
  display: flex;
  flex-direction: column;
  color: black;
  width: clamp(200px, 80%, 800px);
}

#FAQ H1 {
  font-family: 'Bold';
  font-size: 1.5em;
  word-wrap: normal;
  text-align: left;
  margin-top: 1.5em;
  margin-bottom: 0em;
  padding: 0;
}

#FAQ .textblock {
  margin-top: 0em;
  font-family: 'REGU';
  padding-left: 0em;
  font-size: 1em;
  word-wrap: normal;
  text-align: left;
}

#FAQ ul {
  margin-top: 0.5em;
  padding-left: 1.5em;
}

#FAQ li {
  list-style: square;
}

li::marker {
  color: var(--spxGreen);
}

#FAQ p {
  margin-top: 0.7em;
  word-wrap: normal;
  text-align: left;
}

#footerTexts a:link,
#footerTexts a:visited {
  color: black;
  text-decoration: none;
}

#footerTexts a:hover {
  color: var(--formBlue);
}

#footerTexts a:active {
  color: white;
}


/* --- toggles --- */

.wrapper {
  display: flex;
  margin-top: 2em;
  min-width: 250px;
  justify-content: center;
  border: 0px solid red;
}

nav {
  display: flex;
  overflow: hidden;
  flex-wrap: no-wrap;
  position: relative;
  border-radius: 100px;
  flex-direction: row;
  border: 1px solid #0000002d;
  background-color: #ffffff;
  width: clamp(400px, 80%, 1200px);
  box-shadow: inset 0 -5px 5px rgba(149, 185, 156, 0.324);
}

.cta {
  display: block;
  margin-top: 1em;
  font-family: 'Regu';
  color: var(--spxGreen);
  font-size: 1.8em;
}

nav input {
  display: none;
}
nav label {
  width: 100%;
  cursor: pointer;
  padding: 4px 10px;
  text-align: center;
  font-family: 'Bold';
  color: rgb(134, 134, 134);
  border-right: 1px solid #ccc;
  transition: background-color 0.3s;
}
nav label:last-of-type {
  border-right: 0;
}
nav label:hover {
  background: var(--spxGreen);
  color: white;
}
nav input:checked + label {
  background: var(--spxGreen);
  color: white;
  font-family: 'Bold';
  text-shadow: 0 0 8px rgba(14, 73, 32, 0.749);
}

#comparision {
  gap: 0.5em;
  width: 100%;
  display: flex;
  padding: 0 10%;
  margin-top: 3em;
  position: relative;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

#comparision > div {
  padding: 0px;
  display: flex;
  flex: 1 1 50%;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(128, 128, 128, 0.329);
  border-radius: 0.8em 0.8em 0.4em 0.4em;
  box-shadow: 0 0 8px hsla(115, 34%, 46%, 0.3);
  padding-bottom: 1em;
}

#comparision .title {
  width: 100%;
  display: flex;
  padding: 0.7em;
  color: white;
  flex: 1 1 100%;
  font-size: 1.2em;
  word-wrap: normal;
  text-align: center;
  font-family: 'Bold';
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: #3a8134;
}

#comparision .title > div {
  width: 100%;
  display: flex;
  font-size: 0.7em;
  font-family: 'Regu';
  align-items: center;
  justify-content: center;
}

#comparision .title .titlespx {
  font-family: 'Bold';
  margin-right: 0.2em;
}

#per > .title {
  background-color: #86b314;
}

#ent > .title {
  background-color: #365bab;
}

#comparision .price {
  width: 100%;
  height: 60px;
  display: flex;
  padding: 0;
  margin-top: 0.5em;
  align-items: center;
  flex-direction: column;
  border: 0px solid red;
  justify-content: flex-start;
}

#comparision .price__number {
  font-size: 1.5em;
  line-height: 1.2;
}

#comparision .price__period {
  font-family: 'Lite';
  font-size: 0.6em;
  opacity: 0.7;
}

#comparision .features .ingr {
  display: block;
  font-family: 'Bold';
  width: 100%;
  padding: 0.1em 1em;
  border: 0px solid red;
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 0.6em;
  color: var(--spxGreen);
}

#comparision .features p {
  width: 100%;
  padding: 0.1em 1.2em;
  border: 0px solid red;
  text-align: center;
  font-size: 0.8em;
  margin-bottom: 0.8em;
}

.plus {
  padding: 0;
  display: block;
  line-height: 0.6;
  font-family: 'Lite';
  margin: 0 !important;
  color: var(--spxGreen);
  font-size: 2em !important;
  border: 0px solid red !important;
}

.contactUsBtn:visited,
.contactUsBtn {
  border: 0;
  /* width: 80%; */
  color: white;
  cursor: pointer;
  font-size: 1.1em;
  margin-top: 0.1em;
  font-family: 'Bold';
  padding: 0.5em 3em;
  border-radius: 100px;
  display: inline-block;
  background-color: #365bab;
}

.contactUsBtn:hover {
  color: white;
  background-color: var(--spxGreen);
}

#page3Navi {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border: 0px solid red;
  width: 60%;
  gap: 0.3em;
}

#page3Navi > div {
  padding: 0 1em;
  /* white-space: nowrap; */
}

.loadText {
  height: 1em;
  min-width: 60px;
  border-radius: 0.2em;
  display: inline-block;
  border: 0px solid red;
  background-size: 300% 100%;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.1)
  );
  animation: moveGradient 2.5s infinite linear;
}

@keyframes moveGradient {
  0% {
    background-position: 200% 0%;
  }
  100% {
    background-position: -100% 0%;
  }
}



#promo {
  z-index: -1;
  width: 100%;
  padding: 0;
  height: 200px;
  display: flex;
  color: white;
  text-align: center;
  align-items: flex-start;
  justify-content: center;
  background-color: var(--promoBgColor);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 100% 100%;
  /* background-image:
    linear-gradient(
      rgba(0, 255, 0, 0.3),
      rgba(0, 0, 0, 0.3)); */
}

#promoContent {
  display: flex;
  padding-left: 2em;
  position: absolute;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border: 0px solid red !important;
  width: 100%;
}

#toolHeadline {
  width: 100%;
  padding: 1em 0;
  text-align: center;
  opacity: 0.6;
}



/* logo carousel from https://codepen.io/Navneet-Dwivedi/pen/LYXbvVL */

@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  left: 0;
  top: 40px;
  overflow: hidden;
  padding: 20px 0px;
  white-space: nowrap;
  position: absolute;
  max-width: 100%;
  border: 0px solid red;
  mask-image: linear-gradient(to right,
    transparent, black 200px,
    black calc(100% - 200px), transparent);
}

.logo_items {
  display: inline-block;
  animation: 80s slides infinite linear;
}

.logos:hover .logo_items {
  animation-play-state: paused;
}

.logo_items img{
  height: 100px;
  opacity: 0.4;
  transition: opacity 0.3s;
  cursor: pointer;
}

.logo_items img:hover {
  opacity: 1;
}