/* variables */
:root {
  --c-background-colour: #B2EB00;
  --c-foreground-gradient1: #F7FAFD;
  --c-foreground-gradient2: #CCDEF0;

  --c-primary-heading-colour: #385492;
  --c-secondary-heading-colour: #7EAB55;

  --c-text--primary-colour: #253861;
  --c-text--secondary-colour: #5E813F;

  --c-border-colour: #4FAD5B;
  --c-border-width: 6px;
}

.container {
  background-image: linear-gradient(var(--c-foreground-gradient1), 33%, var(--c-foreground-gradient2));
  border-color: var(--c-border-colour);
  border-style: solid;
  border-width: var(--c-border-width);
}

h1 {
}
@media (max-width: 767px) {
  h1 {
    font-size: 1.5rem;
  }
  .c-logo {
    width: 100%;
    padding: 1rem 1rem;
  }
}

h2 {
  font-size: 1.25rem;
  text-align: left;
}

@media (max-width: 374px) {
  .c-results h2 {
    padding-top: 16px;
  }
}
@media (min-width: 576px) {
  h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 992px) {
  h2 {
    font-size: 1.75rem;
  }
}
@media (min-width: 1024px) {
  h2 {
    font-size: 2rem;
  }
}
@media (min-width: 1200px) {
  h2 {
    font-size: 2.5rem;
  }
}

.c-chart-title {
  text-align: center;
  font-variant: normal;
  margin-bottom: 0px;
}
@media (min-width: 768px) {
  .c-chart-title {
    margin-bottom: -8px;
  }
}

.c-text--primary {
  font-size: 1.1rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .c-text--primary {
    font-size: 1.2rem;
  }
}
@media (min-width: 992px) {
  .c-text--primary {
    font-size: 1.5rem;
  }
}

.c-text--secondary {
  font-size: 1rem;
}
@media (max-width: 767px) {
  .c-text--secondary {
    font-size: 1.2rem;
  }
}
@media (min-width: 992px) {
  .c-text--secondary {
    font-size: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .c-text--secondary {
    font-size: 1.75rem;
  }
}

.c-image-products {
  margin-top: 0rem;
  max-width: 85%;
}
@media (min-width: 768px) {
  .c-image-products {
    margin-top: -1.5rem;
  }
}
@media (min-width: 992px) {
  .c-image-products {
    margin-top: 0rem;
    max-width: 90%;
  }
}

.c-text--small {
  font-size: 1rem;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .c-text--small {
    font-size: 1.25rem;
  }
}

.c-clickable {
  position: relative;
}
.c-clickable::before {
  content: '';
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -25%;
  width: 150%;
}

.c-footer {
  padding-bottom: 2rem;
}

/* iPad tuning */

@media only screen
  and (device-width: 768px)
  and (orientation: portrait) {
    .c-text--primary {
      font-size: 1.1rem;
    }
    .c-text--secondary {
      font-size: 0.8rem;
    }
    .c-text--small {
      font-size: 0.75rem;
    }
    .c-results {
      margin-top: -0.5rem !important;
    }
}
@media only screen
  and (device-width: 810px)
  and (orientation: portrait) {
    h2 {
      font-size: 1.4rem;
    }
    .c-text--small {
      font-size: 0.9rem;
    }
    .c-results {
      margin-top: -0.5rem !important;
    }
}
@media only screen
  and (device-width: 820px)
  and (orientation: portrait) {
    .c-text--small {
      font-size: 1.1rem;
    }
}
@media only screen
  and (device-width: 834px)
  and (orientation: portrait) {
    .c-text--primary {
      font-size: 1.25rem;
    }
    .c-text--secondary {
      font-size: 1.1rem;
    }
    .c-image-products {
      max-width: 90%;
    }
}
@media only screen
  and (device-width: 1024px)
  and (orientation: portrait) {
    .c-image-products {
      max-width: 85%;
    }
}
