* {
  --primary: #cbff01;
  --primary-dark: #93b800;
  --primary-light: #d4f64e;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans';
  src: url('/assets/fonts/OpenSans.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'SpaceGrotesk';
  src: url('/assets/fonts/SpaceGrotesk.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

body {
  font-family: 'OpenSans', 'Roboto', Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 0;
  background-color: #f9f9f9;
  color: black;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding: 1em;
  margin: 0;
  background-color: #f9f9f9;
}

h1.low-contrast {
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.286);
}

/* 
main {
  padding: 1em;
  margin: 0;
  background-color: #f9f9f9;
} */

h1 {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 500;
  font-family: 'SpaceGrotesk', 'Roboto', Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

p {
  max-width: 14rem;
  margin: 2rem auto;
  line-height: 1.35;
}

@media (min-width: 480px) {
  h1 {
    max-width: none;
  }

  p {
    max-width: none;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 2rem;
  }
  p {
    max-width: 100%;
    margin: 1rem;
  }
  .article {
    margin: 1rem;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 3rem;
  }
  p {
    max-width: 80%;
    margin: 1.5rem auto;
  }
  .article {
    margin: 1.5rem 5%;
  }
}

.menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 0 10%;
    box-sizing: border-box;
    background-color: #0f0f17;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Added shadow to the bottom */
    margin-bottom: 10px;
}

button {
    padding: 0.75em;
    margin-top: 1em;
    background-color: var(--primary);
    border: none;
    border-radius: 4px;
    cursor: pointer;

    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--primary-dark);
}

button:disabled {
    background-color: var(--primary-light);
    cursor: not-allowed;
}

.article{
  margin: 1rem 10%;
  border-radius: 3;
}

.article h2 {
  color: var(--primary-dark);
  margin-bottom: 0;
}

.article p {
  margin-top: 1rem;
}


.buttonbar button {
  margin: 0;
}

footer {
  background-color: #0f0f17;
  width: 100%;
  padding: 3rem;
  box-sizing: border-box;
  color: white;
  text-align: center;
  text-decoration: none;
  margin-top: 1rem;
}

footer a {
  color: white;
  text-decoration: none;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer li {
  display: inline;
  margin: 0 1rem;
}