:root {
  --main-bg-color: black;
  --sec-color: #57FF59;
  
/*Font*/
  --main-text-color: white;
  font-family: "Tektur", Sans-Serif;
}


body {
  margin: 0;
  padding: 0;
}

.herobackground {
  position: relative;
  min-height: 100vh;

  background-image: url("Homepagebackground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-color: var(--main-bg-color);
  color: var(--main-text-color);
}

@keyframes bg-scroll {
  from { background-position: 0 0; }
  to   { background-position: 50px 50px; }
}

.herobackground::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(white 1px, transparent 1px),
    linear-gradient(90deg, white 1px, transparent 1px);
  background-size: 50px 50px;

  animation: bg-scroll 1s linear infinite;
  opacity: 0.15;

  pointer-events: none;
}

.herobackground > * {
  position: relative;
  z-index: 1;
}



h1 {
font-size: 40px;
}

h2 {
font-size: 32px;
margin-top: 0;
}

h3 {
font-size: 20px;
}
      
h4 {
font-size: 18px;
}
/* Site name styling */
.sitename a {
  text-align: center;
  padding: 40px 20px;
  font-size: 20px;
  font-weight: bold;
  color: green;
}

/* Navigation bar styling */
.header {
  /*Placement of the header */
  display: flex;
  max-width: 80%;
  margin: 0 auto;
  justify-content: center;
  
  /*Colours and styling! */
background: #88ff7d;
background: radial-gradient(circle, rgba(136, 255, 125, 1) 0%, rgba(66, 255, 73, 1) 50%, rgba(0, 0, 0, 0) 100%);
} 

/* Navigation links */
.header a {
  color: black;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.header a:hover {
  background-color: #000;
  color: #fff;
}

/* Active link */
.header .active {
  background-color: #04AA6D;
  color: white;
}

.primarybutton {
  width: 100%;
  list-style: none;
}

.primarybutton {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: var(--sec-color);
  color: black;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.primarybutton:hover {
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
}