@font-face {
  font-family: "Matangi";
  src: url("../font/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf") format("truetype");
  font-weight: 400;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: "Open Sans";
  font-weight: 400;

  --text: #090d0a;
  --background: #f8faf9;
  --primary: #6b9c75;
  --secondary: #b1c0b5;
  --accent: #8287c6;

  background: linear-gradient(270deg, var(--background), #bbbbbb);
  background-size: 400% 400%;
}

button {
  font-family: "Matangi";
  font-weight: 700;

  padding: 12px 24px;

  background: var(--background);
  color: var(--text);

  border: 2px solid var(--text);
  border-radius: 8px;

  font-size: 1rem;
  letter-spacing: 1.5px;

  cursor: pointer;

  transition: all 0.3s ease;
}

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

button:active {
  transform: translateY(0);
}

.top-bar {
  position: fixed;
  top: 0;
  right: 0;

  width: 100%;
  height: 96px;

  display: flex;
  justify-content: flex-end;
  align-items: stretch;

  gap: 2rem;

  box-sizing: border-box;
  z-index: 999;
}

.nav-section {
  display: flex;
  align-items: center;
  gap: 1rem;

  border-left: 1px solid var(--text);
  padding-left: 1rem;
}

.nav-section:first-child {
  border-left: none;
  padding-left: 0;
}

.logo-section img {
  height: 96px;
  width: auto;
}

#logo-img {
  transition: all 0.3s ease;
}

#logo-img:hover {
  filter: brightness(1.2)
    drop-shadow(0 0 5px var(--secondary))
    drop-shadow(0 0 15px var(--secondary))
    drop-shadow(0 0 30px var(--secondary));

  transform: scale(1.05);
}

a {
  color: var(--text);
}

#version-text {
  position: absolute;
  bottom: 8px;
  right: 8px;

  font-size: 0.75rem;
  color: var(--text);
  opacity: 0.5;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Matangi";
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .top-bar {
    height: 80px;
    gap: 0.75rem;
    padding-right: 0.5rem;

    justify-content: flex-start;

    overflow-x: auto;
    overflow-y: hidden;
  }

  .nav-section {
    gap: 0.5rem;
    white-space: nowrap;
  }

  .logo-section img {
    height: 80px;
    width: 80px;
  }

  button {
    width: 100%;
    max-width: 400px;
  }
}