@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --grey1: #1A1A18; /* colors */
  --grey2: #141414;
  --grey3: #212121;
  --grey4: #2B2B2B;
  --grey5: #2B2B2B;
  --grey6: #63616B;
  
  --gap: 10px; /* spacing */
}

a { color: #9EFF00; text-decoration: none; } /* links */
a:hover { color: #208F00; text-decoration: underline; }


body { /* global default look */
  font-family: "Inter", sans-serif;
  background: black;
  color: white;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top-bar { /* row of buttons */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: var(--content-width);
  margin-top: var(--gap);
  gap: var(--gap);
  box-sizing: border-box;
  z-index: 10;
}

.button { /* button */
  display: block;
  padding: 1rem 1rem;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.button:hover { background: var(--grey1); }

.home {
  position: relative;
  margin-bottom: 0;
  padding: 1rem 1rem;
  border-radius: 12px;
  text-align: center;
  transition: background 0.2s ease;
}
.home a {
  color: white; /* Force white color, override global link styles */
  text-decoration: none; /* Remove underline */
  font-weight: bold;
}
.home:hover { background: var(--grey1); }
.home a:hover { color: white }

.left-buttons, .right-buttons { 
  display: flex; 
  gap: var(--gap);
}

.layout { /* default container for stuff like content area or w/e */
  margin-top: var(--gap);
  width: var(--content-width);
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: var(--grey2);
  border-radius: 12px;
  box-sizing: border-box;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--grey2);
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
}
.dropdown-menu div {
  padding: 0.5rem 1rem;
  color: white;
}
.dropdown-menu div:nth-child(odd) { background: var(--grey1); }
.dropdown-menu div:nth-child(even) { background: var(--grey3); }
.dropdown-menu div:hover { background: var(--grey2); }
.dropdown-menu div.active {
  background: var(--grey6);
  font-weight: bold;
}

