@import url('./reset.css');
@import url('./var.css');
html {
  overflow-y: scroll;
}

body {
  font-family: 'Roboto';
  background-color: var(--site-black);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1, h2, h3, h4 {
  font-family: 'Raleway';
}

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: white;
}

.nav-item a {
  text-decoration: none;
  color: var(--site-white);
  padding: 2vh min(3vw, 200px);
}

.nav-bar .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: all 0.1s ease;
  padding: 0;
}

button {
  padding: 1em;
  background-color: var(--site-black);
  border-width: 0;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

button.white {
  background-color: var(--site-white);
  color: var(--site-black);
}

button:hover {
  background-color: white;
  color: black;
}

.note {
  color: var(--site-white);
  font-size: 0.75em;
}

.note.black {
  color: var(--site-black);
}

.bold {
  font-weight: bold;
}

h2.section-header {
  align-self: flex-start;
  padding-bottom: 2vh;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2vw;
}

.row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 10vw;
  flex-direction: column;
  gap: 0.75vh 0;
}

.row:nth-child(even) {
  background-color: var(--site-white);
  color: var(--site-black);
}

.flex-start {
  justify-content: flex-start;
  align-items: flex-start;
}


code {
  background-color: var(--site-white);
  color: var(--site-black);
  padding: 0.5vh 0.5vw;
}
.row:nth-child(even) code {
  background-color: var(--site-black);
  color: var(--site-white);
}


a.link {
  background-color: var(--site-white);
  color: var(--site-black);
  padding: 0.5vh 0.5vw;
  text-decoration: underline;
}
a.link:hover {
  background-color: white;
  color: var(--site-black);
  padding: 0.5vh 0.5vw;
  text-decoration: underline;
}
a.link.btn {
  padding: 0;
}

.row:nth-child(even) a.link {
  background-color: var(--site-black);
  color: var(--site-white);
}

.row:nth-child(even) .note {
  color: var(--site-black);
}

.nav-item a.here {
  background-color: var(--site-white);
  color: var(--site-black);
  pointer-events: none;
  cursor: default;
}


/* Add padding for desktop */
@media only screen and (min-width: 768px) {
  body div.row {
    padding-left: 25vw;
    padding-right: 25vw;
  }
}

img {
  pointer-events: none;
}