* {
  margin: 0;
  padding: 0;
  font-family: Helvetica, arial, sans-serif;
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  width: 100vw;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

input[type="text"],
input[type="date"],
input[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

.overflow {
  overflow: hidden;
}

/* --- HEADER --- */

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
  border-top: 6px solid #50b5c7;
  border-bottom: 1px solid black;
  padding: 18px 0;
}

header img {
  height: 46px;
  margin-bottom: 18px;
}

/* --- CONTENT --- */

.content-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.content,
.comparison-content {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  width: 100%;
  max-width: 420px;
}

.content.e9 {
  max-width: 100%;
  margin: 0;
}

.home-img {
  width: 100%;
  padding: 0 8%;
  margin: 40px 0;
}

.start-info {
  width: 100%;
  padding: 0 8%;
}

.start-info p {
  text-align: center;
}

.start-info p span {
  display: inline-block;
  color: #50b5c7;
  font-size: 28px;
  font-weight: bold;
  margin: 6px 0;
}

.brands {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #e5e5e5;
  padding: 40px 0;
  margin-top: 40px;
}

.brand-logos {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.brand-logos img {
  height: 5.8vw;
  max-height: 30px;
  margin: 0 5%;
}

.personal-info,
.steps,
.steps-info,
.comparison,
.filters {
  width: 100%;
  padding: 0 8%;
}

.steps-info.e9 {
  margin-top: 40px;
}

h2 {
  font-size: 28px;
  color: #50b5c7;
  margin: 40px 0;
}

.left .form-heading {
  margin-top: 40px;
}

.form-heading {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.form-heading p {
  width: 86%;
}

.form-heading button {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.i-icon {
  width: 22px;
  height: 22px;
}

.input-fields input,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  font-size: 16px;
  width: 100%;
  padding: 8px 4px 4px;
  outline: none;
  border: none;
  border-bottom: 1px solid black;
  background-color: white;
  border-radius: 0;
  cursor: pointer;
}

.input-fields input,
.select {
  position: relative;
  margin-top: 22px;
}

.select img {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translate(0, -50%);
  height: 12px;
  width: 12px;
  pointer-events: none;
}

.input-fields input::placeholder {
  color: #50b5c7;
}

.right-img {
  display: none;
  max-width: 320px;
}

.right {
  margin-top: 40px;
}

.right p {
  font-size: 14px;
}

.right p a {
  color: #50b5c7;
}

select option {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  background-color: white;
  color: black;
}

select:invalid {
  color: #50b5c7;
}

select option[value=""] {
  color: #999999;
}

.next-btn,
.big-btn,
.contact-btn {
  position: relative;
  background-color: transparent;
  border: none;
  outline: none;
  width: 100%;
  margin-top: 40px;
  cursor: pointer;
}

.next-btn img {
  width: 100%;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.2));
}

.next-btn p {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 16px;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
  width: 100%;
}

.steps-info .big-btn {
  color: white;
  height: 200px;
  background-image: url(/images/big-btn.svg);
  background-size: cover;
  background-position: right;
  text-align: left;
  padding: 0 24px;
  max-width: 510px;
  margin-top: 30px;
}

.big-btn p {
  color: white;
  font-size: 16px;
}

.btn-heading {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.btn-heading p {
  font-weight: bold;
  width: 72%;
}

.btn-heading img {
  height: 50px;
}

.big-btn-description {
  margin-bottom: 20px;
  padding-right: 20px;
  font-weight: lighter;
}

.disclaimer {
  margin-top: 20px;
}

.bold {
  font-weight: bold;
}

/* --- COMPARISON --- */

.comparison {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comparison-heading {
  font-size: 24px;
  width: 76%;
}

.comparison button {
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}

.comparison button img {
  width: 32px;
}

.comparison-cards {
  width: 100%;
  padding: 0 8%;
}

.card {
  text-align: center;
  color: #50b5c7;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #cae9ee;
  height: 70px;
}

.logo-container img {
  height: 30px;
}

.package-name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-top: 10px;
}

.package-name p {
  width: 80%;
}

.card .price {
  display: inline-block;
  position: relative;
  font-size: 60px;
  margin: 0;
  padding: 0;
}

.price::before {
  position: absolute;
  content: "R";
  font-size: 30px;
  top: 6px;
  left: -22px;
}

.price::after {
  position: absolute;
  content: "pm";
  font-size: 30px;
  bottom: 7px;
  right: -44px;
}

.contact-btn {
  position: relative;
  margin: 20px 0;
}

.contact-btn img {
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.2));
  width: 80%;
}

.contact-btn p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  margin: 0;
  color: #50b5c7;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: bold;
  width: 80%;
}

.start-again-btn {
  color: white;
  background-color: #50b5c7;
  width: 80%;
  height: 50px;
  max-width: 300px;
  border: transparent;
  outline: none;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.disclaimers {
  display: flex;
  justify-content: center;
  margin: 50px 8% 0;
}
.disclaimers.e1 {
  margin-top: 30px;
}
.disclaimers p {
  font-size: 14px;
  max-width: 350px;
}

/* --- FILTERS --- */

#filters {
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: white;
  top: 100vh;
  overflow: auto;
  overflow-x: hidden;
  transition: 0.4s;
  padding-bottom: 200px;
}

#filters.show {
  top: 0;
}

.cross {
  position: absolute;
  top: 40px;
  right: 8%;
  border: none;
  background-color: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.cross-icon {
  width: 24px;
}

.filters .comparison-heading h2 {
  margin: 40px 0 10px;
}

.filters .comparison-heading p {
  font-size: 16px;
}

.radio-btn-container {
  margin-top: 40px;
}

.radio-container {
  position: relative;
  border: 1px solid black;
  width: max-content;
  padding: 8px 8px 0;
  margin-top: 50px;
}

.radio-container p {
  position: absolute;
  padding: 0 10px;
  background-color: white;
  top: -10px;
  left: 10px;
}

.radio {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.radio-row {
  display: flex;
  align-items: center;
  margin: 24px 0 24px 30px;
}

.radio-row .radio-label {
  margin-right: 30px;
  cursor: pointer;
  user-select: none;
}

.custom-radio {
  position: relative;
  bottom: 1px;
  display: flex;
  width: 13px;
  height: 13px;
  border: 1px solid #707070;
  border-radius: 20px;
  background-color: white;
  cursor: pointer;
}

.custom-radio input {
  display: none;
}

.custom-radio .checkmark {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 13px;
  height: 13px;
  border: 1px solid black;
  border-radius: 20px;
  background-color: #50b5c7;
  display: none;
}

.custom-radio input:checked + .checkmark {
  display: inline-block;
}

/* --- FOOTER --- */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #707070;
  text-align: center;
  width: 100%;
  min-height: 108px;
  padding: 20px 8%;
  margin-top: 40px;
}

.home-footer {
  margin: 0;
}

footer p {
  font-size: 14px;
  max-width: 1100px;
}

footer p a {
  color: white;
  font-weight: bold;
}

/* --- COOKIES --- */

.cookies {
  position: fixed;
  bottom: 0;
  padding: 30px 8%;
  width: 100%;
  color: white;
  background-color: #50b5c7;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
}

.cookies button {
  padding: 10px;
  width: 180px;
  background-color: white;
  border: none;
  margin-top: 20px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* --- SUCCESS PAGE --- */

.success-message {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.thank-you {
  width: 80vw;
  max-height: 50vh;
  max-width: 800px;
  margin: 40px 0;
}

.irdsa {
  width: 160px;
}

/* --- BREAK POINTS --- */

@media screen and (max-width: 346px) {
  .radio-row {
    display: flex;
    margin: 24px 0 24px 24px;
  }

  .radio-row .radio-label {
    margin-right: 26px;
  }

  .radio-row label {
    margin: 0 8px 0 0;
  }
}

@media screen and (min-width: 1020px) {
  .content {
    flex-direction: row;
    max-width: 1200px;
    margin-top: 40px;
    padding-left: 40px;
    position: relative;
  }

  .content.e2 {
    padding-left: 0;
  }

  .content.e7 {
    height: 630.4px;
  }

  .content.e9 {
    max-width: 1200px;
    padding-left: 40px;
  }

  .home-img {
    padding: 0;
  }

  .start-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .start-info button {
    max-width: 320px;
  }

  h2 {
    font-size: 40px;
  }

  .steps {
    display: flex;
    justify-content: left;
    align-items: center;
    background-image: url(/images/big-logo.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    min-height: 510px;
  }

  .steps-info {
    margin: 0 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 50px;
  }

  .steps-info .big-btn {
    height: 180px;
    margin-top: 20px;
  }

  .btn-heading img {
    height: 40px;
  }

  .personal-info {
    padding: 0 4%;
  }

  .form-container form {
    display: flex;
    justify-content: space-between;
    padding: 10px 50px 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .radio-btn-container {
    margin-top: 40px;
  }

  .radio-btns.e2 {
    display: flex;
    padding: 0;
  }

  .radio .radio-label {
    margin-right: 30px;
    cursor: pointer;
    user-select: none;
  }

  .input-fields {
    display: flex;
    margin-bottom: 60px;
  }

  .input-fields input {
    margin-right: 40px;
  }

  .left {
    width: 580px;
  }

  .right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 320px;
  }

  .right-img {
    display: contents;
    max-width: 320px;
  }

  .family-form {
    max-width: 320px;
  }

  .comparison {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .comparison-content {
    max-width: 1400px;
  }

  .comparison-heading {
    font-size: 28px;
  }

  .comparison-cards {
    display: flex;
    justify-content: center;
    padding: 0 5%;
    flex-wrap: wrap;
  }

  .comparison-cards .card {
    width: 31.5%;
    max-width: 360px;
    min-width: 275px;
    margin: 0 16px 40px;
  }

  footer {
    padding: 30px 8%;
  }

  #open {
    display: none;
  }

  #filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: max-content;
    width: 100%;
    background-image: url(/images/subtraction.svg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-color: transparent;
    top: 0;
    overflow: auto;
    overflow-x: hidden;
    padding: 100px 30px 60px;
    margin-bottom: 0;
  }

  .cross {
    display: none;
  }

  .comparison-heading {
    width: 100%;
    max-width: 1020px;
  }

  .comparison-heading h2 {
    font-size: 28px;
  }

  .radio-container {
    display: flex;
    align-items: center;
  }

  .radio-container p {
    background-color: #e5e5e5;
    left: 50%;
    transform: translate(-50%, 0);
    width: max-content;
    text-align: center;
  }

  .top-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1020px;
  }

  .bottom-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1020px;
  }

  .comparison-footer {
    margin: 0;
  }

  .disclaimers p {
    text-align: center;
    max-width: 1020px;
  }

  .thank-you {
    margin-top: 0;
  }
}

@media screen and (min-width: 1400px) {
  .start-again-btn {
    margin-bottom: 0;
  }

  #filters {
    padding: 80px 30px 60px;
  }

  .radio-row {
    display: flex;
    align-items: center;
    margin: 20px 2px 20px 0;
  }

  .radio-row .radio-label {
    width: max-content;
  }

  .radio-btns {
    display: flex;
    padding-left: 30px;
  }

  .comparison-heading,
  .top-row,
  .bottom-row {
    max-width: 1360px;
  }
}

@media screen and (min-width: 2400px) {
  #filters {
    padding: 100px 30px 40px;
  }
}

/* --- HEIGHT BREAKING POINTS --- */

@media screen and (min-width: 1020px) and (min-height: 810px) {
  .e4-header,
  .e5-header {
    position: fixed;
    top: 0;
  }

  .content-container.e4,
  .content-container.e5 {
    height: 100vh;
  }

  .content.e4,
  .content.e5 {
    margin-top: 125.4px;
    margin-bottom: 220px;
  }

  .e4-footer,
  .e5-footer {
    position: absolute;
    bottom: 0;
  }
}

@media screen and (min-width: 1020px) and (min-height: 940px) {
  .e3-header {
    position: fixed;
    top: 0;
  }

  .content-container.e3 {
    height: 100vh;
  }

  .content.e3 {
    margin-top: 125.4px;
    margin-bottom: 220px;
  }

  .e3-footer {
    position: absolute;
    bottom: 0;
  }
}

@media screen and (min-width: 1020px) and (min-height: 1050px) {
  .home-header,
  .header.success,
  .e6-header,
  .e7-header {
    position: fixed;
    top: 0;
  }

  .content-container.home,
  .content-container.success,
  .content-container.e6,
  .content-container.e7 {
    height: 100vh;
  }

  .content-container.home .content {
    margin-top: 125.4px;
    margin-bottom: 408.4px;
  }

  .brands {
    position: absolute;
    bottom: 220px;
    width: 100%;
  }

  .home-footer,
  .footer.success,
  .e6-footer,
  .e7-footer {
    position: absolute;
    bottom: 0;
  }

  .content.success,
  .content.e6,
  .content.e7 {
    margin-top: 125.4px;
    margin-bottom: 220px;
  }

  .content-container.e7 {
    align-items: center;
  }
}

@media screen and (min-width: 1020px) and (min-height: 980px) {
  .e2-header {
    position: fixed;
    top: 0;
  }

  .content-container.e2 {
    height: 100vh;
  }

  .content.e2 {
    margin-top: 125.4px;
    margin-bottom: 220px;
  }

  .e2-footer {
    position: absolute;
    bottom: 0;
  }
}

@media screen and (min-width: 1020px) and (min-height: 930px) {
}

@media screen and (min-width: 1020px) and (min-height: 1110px) {
  .e4-header {
    position: fixed;
    top: 0;
  }

  .content-container.e4 {
    height: 100vh;
  }

  .content.e4 {
    margin-top: 125.4px;
    margin-bottom: 220px;
  }

  .e4-footer {
    position: absolute;
    bottom: 0;
  }
}

/* @media screen and (min-width: 1020px) and (min-height: 1220px) {
  .body-e8 {
    position: relative;
    height: max-content;
    min-height: 100vh;
  }

  #filters {
    position: absolute;
    top: auto;
    margin-bottom: 220px;
  }

  .content-container.e8 {
    margin-bottom: 650px;
  }

  .comparison-footer {
    position: absolute;
    bottom: 0;
  }
}

@media screen and (min-width: 1400px) and (min-height: 1220px) {
  .content-container.e8 {
    margin-bottom: 580px;
  }
} */

/* --- FOOTER BREAKING POINTS --- */

@media screen and (max-width: 1020px) and (min-height: 1200px) {
  .content-container.e2 {
    height: 78vh;
  }
}

@media screen and (max-width: 1020px) and (min-height: 800px) {
  .content-container.e3 {
    height: 78vh;
  }
}

@media screen and (max-width: 1020px) and (min-height: 590px) {
  .content-container.e4,
  .content-container.e5 {
    height: 78vh;
  }
}

@media screen and (max-width: 1020px) and (min-height: 1000px) {
  .content-container.e6 {
    height: 78vh;
  }
}

@media screen and (max-width: 1020px) and (min-height: 950px) {
  .content-container.e7 {
    height: 78vh;
  }
}

@media screen and (max-width: 1020px) and (min-height: 1010px) {
  .content-container.home {
    height: 64vh;
    margin-top: 4vh;
  }
}

@media screen and (max-width: 360px) {
  header p {
    max-width: 300px;
  }

  .form-heading.e2 p {
    width: 100%;
  }

  .big-btn .btn-heading img {
    height: 40px;
  }
}

.rating {
  text-align: center;
  width: 100%;
  margin-top: 16px;
}
.rating p {
  margin-bottom: 16px;
}
.elephants {
  width: 80%;
}
