:root {
  --brand-color: #00a3ff;
  --background-color: #001826;
  --heading-color: var(--brand-color);
  --box-bg-color: #ffffff;
  --box-text-color: #000000;

  --body-font: "Source Sans Pro", sans-serif;
  --code-font: "Ubuntu Mono", monospace;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  row-gap: 5rem;
  column-gap: 5rem;
  padding: 4rem 10rem;
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  transition: 0.5s color;
}

#navbar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
}

.nav-header {
  color: var(--brand-color);
  font-family: var(--body-font);
  font-weight: 900;
  font-style: italic;
  font-size: 2rem;
  text-transform: uppercase;
}

.nav-menu {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
  background-color: var(--box-bg-color);
  padding: 4rem;
  border-radius: 5px;
  position: sticky;
  top: 30px;
}

.nav-link {
  font-size: 1.8rem;
  font-family: var(--body-font);
  font-weight: 600;
  color: var(--box-text-color);
  border-bottom: 2px solid #000000;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-color);
}

#main-doc {
  background-color: var(--box-bg-color);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
  border-radius: 5px;
  margin-top: 7rem;
}

.main-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
  color: var(--box-text-color);
}

.doc-header h2 {
  font-size: 2.5rem;
  font-family: var(--body-font);
  font-weight: 700;
}

.doc-h3 {
  font-size: 2.2rem;
  font-family: var(--body-font);
  font-weight: 700;
}

.doc-p,
.doc-li li {
  font-size: 1.8rem;
  font-family: var(--body-font);
  font-weight: 400;
}

.doc-li {
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
}

.doc-sub-li {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 3rem;
}

.doc-a {
  color: var(--box-text-color);
  font-weight: 600;
  border-bottom: 2px solid #000000;
  word-break: break-all;
}

.doc-a:hover,
.doc-a:focus {
  color: var(--brand-color);
}

.doc-pre {
  white-space: pre-wrap;
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 5px;
}

.doc-code {
  color: #ffffff;
  font-family: var(--code-font);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 35px;
}

.doc-code::before {
  content: "$";
  margin-right: 1rem;
  color: #ff79e2;
}

.program {
  color: #00ff38;
}

.action {
  color: #00e0ff;
}

.destination {
  color: #ffd600;
}

.doc-samp,
.doc-samp-inline {
  font-family: var(--code-font);
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 35px;
}

.doc-samp-inline {
  background-color: var(--background-color);
  padding: 1rem;
  border-radius: 5px;
  display: inline-block;
}

.doc-blqt {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 5px;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  grid-column: 1 / 3;
}

footer p {
  font-size: 1.6rem;
  font-family: var(--body-font);
  font-weight: 600;
  color: #ffffff;
}

footer p a {
  color: var(--brand-color);
  border-bottom: 2px solid var(--brand-color);
}

footer p a:hover,
footer p a:focus {
  color: #ffffff;
}


@media screen and (max-width: 800px) {
  body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem 3rem;
    background-color: var(--background-color);
  }

  #navbar {
    align-items: center;
  }

  .nav-header {
    text-align: center;
  }

  .nav-menu {
    width: 100%;
    height: 200px;
    overflow-y: scroll;
    position: static;
    align-items: center;
  }

  .nav-link {
    text-align: center;
  }

  #main-doc {
    margin-top: 0;
    padding: 4rem 3rem;
  }
}