* {
  font-family: "Open Sans", sans-serif;
  transition: ease-in-out 0.3s all;
  box-sizing: border-box;
  text-decoration: none !important;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

body {
  margin: 0px;
}

/* Header Section
  Creates header with logo as the background image
  adds the background color and sets the height
  and margin top for the social media and number
  ---------------------------------------------*/

.header {
  width: 100%;
  background-image: url("logos/Logo-Reduced-Green.png");
  background-repeat: no-repeat;
  background-position: 5% center;
  background-size: auto 85%;
  height: 100px;
  background-color: transparent;
  color: #fff;
  position: fixed;
  z-index: 9999;
  transform: translateY(-1px);
}

.header.sticky {
  background-image: url("logos/Logo-Reduced.png");
  background-color: rgba(0, 69, 30, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  height: 75px;
}

.dashboard .header {
  position: relative;
  background: #00451e;
  background-image: url(logos/Logo-Reduced.png);
  background-repeat: no-repeat;
  background-position: 5% center;
  background-size: auto 85%;
}



/* Navigation 
  Styles the navigation to be right of the logo
  Removes the list style and makes them inline,
  giving them a hover animation aswell
  --------------------------------------*/
.navigation {
  position: absolute;
  height: auto;
  margin: 0 auto !important;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
}

ul.nav {
  padding: 0;
  margin: 0;
}

.nav li {
  padding: 0 5px;
  margin: 0 10px;
  float: left;
  list-style: none;
  position: relative;
}

.nav a {
  color: #01AB51;
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.nav li.current a {
  color: #fff;
}


.nav li a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 2px solid #fff0;
  transition: ease-in-out 0.3s all;
}

.nav li.current a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #fff !important;
}

.nav li:hover a::before {
  width: 100%;
  border-bottom: 2px solid #01AB51;
}

.mobile-navigation {
  display: none;
  ;
}


/* Banner
-----------------------------------------*/
.home-banner {
  position: relative;
  overflow: hidden;
}

.home-banner img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.home-banner::before {
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  background: rgb(0 0 0 / 50%);
  z-index: 2;
}

.home-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 120px;
  z-index: 3;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,49 C150,149 350,-49 600,49 C850,149 1050,-49 1200,49 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 600px 100%;
  opacity: 1;
  animation: waveScroll 10s linear infinite;
}

@keyframes waveScroll {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: -600px;
  }
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
  text-align: center;
}

.banner-content h1 {
  font-size: 2.5em;
}

.banner-content p {
  font-size: 1.2em;
}

.banner-content a {
  font-size: 2em;
  margin: 20px 0 0 0;
  position: relative;
  color: #01AB51;
  top: 0;
  padding: 2%;
}

.banner-content a:hover {
  top: 5px;
}

.home-banner.internal-banner::before {
  width: 50%;
  background: transparent;
}

.internal-banner .banner-content {
  left: 5%;
  transform: translateY(-50%);
  text-align: left;
  max-width: 45%;
}

/* Body text
  Styles the main body text,
  gives colour to headings, adds padding,
  centre aligns the text,
  Adds font sizes
  --------------------------------------*/

.body {
  overflow: hidden;
  height: auto;
  font-size: 1em;
  line-height: 1.2em;
  text-align: center;
}

.body-text-inner,
.Call-to-Action {
  padding: 0 20%;
}

.body-text-inner h1,
.body-text-inner h2,
.body-text-inner h3,
.body-text-inner h4,
.body-text-inner h5,
.body-text-inner h6,
.body-text-inner li {
  color: #01AB51;
}

.body-text-inner h1 {
  font-size: 2em;
  line-height: 1em;
}

.body-text-inner .signup-container h1 {
  text-align: left;
}

.body-text-inner h2 {
  font-size: 2em;
  line-height: 1em;
}

.body-text-inner p {
  color: #222;
}

.home-body-content {
  background: linear-gradient(90deg, rgba(0, 69, 30, 1) 0%, rgba(0, 117, 55, 1) 50%, rgba(0, 69, 30, 1) 100%);
  padding: 10% 10%;
  color: #fff;
  overflow: hidden;
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.home-body-content::before,
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 120px;
  z-index: 3;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,49 C150,149 350,-49 600,49 C850,149 1050,-49 1200,49 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 600px 100%;
  opacity: 1;
  animation: waveScrollReverse 10s linear infinite;
  rotate: 180deg;
}

@keyframes waveScrollReverse {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: 600px;
  }
}

.home-body-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 120px;
  z-index: 3;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,49 C150,149 350,-49 600,49 C850,149 1050,-49 1200,49 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 600px 100%;
  opacity: 1;
  animation: waveScroll 10s linear infinite;
}

.home-body-content-inner:not(:first-child) {
  width: 31.333%;
  margin: 1%;
  padding: 2%;
  background: linear-gradient(45deg, rgba(0, 69, 30, 0.3) 0%, rgba(0, 117, 55, 0.3) 50%, rgba(0, 69, 30, 0.3) 100%);
  border-radius: 20px;
}

.home-body-content-inner:nth-child(2n) {
  background: linear-gradient(90deg, rgba(0, 69, 30, 0.3) 0%, rgba(0, 117, 55, 0.3) 50%, rgba(0, 69, 30, 0.3) 100%);
}

.signup-container,
.login-container {
  text-align: left;
}

/* Button styling
  --------------------------------------*/

button {
  position: relative;
  background: linear-gradient(90deg, rgba(0, 69, 30, 1) 0%, rgba(0, 117, 55, 1) 50%, rgba(0, 69, 30, 1) 100%);
  padding: 2% 3%;
  border: 3px solid rgba(0, 69, 30, 1);
  border-radius: 9999px;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  margin: 0.5% 0;
}

button .icon {
  display: inline-block;
}

button:hover {
  transform: scale(1.05);
  border-color: #01AB51;
}

button:hover .icon {
  transform: translate(4px);
}

button:hover::before {
  animation: shine 1.5s ease-out;
}

button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}


#toTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #01AB51;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  border-radius: 3px;
  font-size: 1.5em;
  line-height: 1.5em;
}


/* Form styling
---------------------------------------*/
.internal-form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.internal-form input {
  width: 48%;
  padding: 12px 24px;
  border-radius: 3px;
  outline: 0;
  margin: 5px;
  border-color: #00451e;
  color: #333;
}

.internal-form label {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
}

.internal-form label input {
  width: 5%;
}

/* Quiz Styling
----------------------------------------*/
.options button {
  margin: 1%;
  background: #00451e;
  border-radius: 10px;
}

.options button:hover {
  transform: scale(1);
  border-color: #00451e;
  background: #00451eba;
}

.options button::before {
  content: none;
}

.quiz-progress {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 999px;
  margin-bottom: 20px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #01AB51, #007537);
  transition: width 0.4s ease;
}


/* Footer
  Creates a flex boc for the footer,
  so the map, contact and fb are all inline,
  Styles the copyright and the accreditations
  so they're at bottom of the page
  -------------------------------------*/
.footer {
  background: linear-gradient(90deg, rgba(0, 69, 30, 1) 0%, rgba(0, 117, 55, 1) 50%, rgba(0, 69, 30, 1) 100%);
  overflow: hidden;
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  padding: 7% 0 0;
  color: #fff;
}

.footer::before {
  rotate: 180deg;
}


.footer-copyright {
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, rgba(0, 69, 30, 1) 0%, rgba(0, 117, 55, 1) 50%, rgba(0, 69, 30, 1) 100%);
  padding: 2% 5%;
}

.footer a {
  position: relative;
  display: inline-block;
  color: #fff;
}

.footer a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #01AB51;
  transition: width 0.3s ease;
}

.footer a:hover::before {
  width: 100%;
}



/* Media Queries
  ----------------------------------------------------*/
@media screen and (max-width: 999px) and (min-width: 600px) {}

@media screen and (max-width: 599px) {}

/* Mobile Navigation
  -------------------------------------------------------*/
@media screen and (max-width: 740px) {}