html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
  width: 100%;
}

#navbar {
  width: 400px;
  position: fixed;
  top: 0px;
  left: 0px;
  border-right: 3px solid grey;
}
.acontainer {
  display: grid;
  gap: 20px;
  margin-top: 50px;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
.nav-link {
  text-decoration: none;
  color: black;
  font-size: 1.3em;
  border-top: 1px solid black;
  padding-top: 20px;
  padding-left: 30px;
}
#main-doc {
  position: absolute;
  width: 60%;

  margin-left: 400px;
  padding: 30px;
  font-size: 1.2em;
  line-height: 1.8em;
}
.header {
  height: 5%;
  font-size: 1.5em;
  background-color: white;
  padding: 20px;
}
header {
  font-size: 1.4em;
  font-weight: 700;
}
blockquote {
  background-color: rgb(240, 243, 246);
  width: 65%;
  padding: 15px;
  border-radius: 4px;
}
#code {
  width: 60%;
}
@media (max-width: 1000px) {
  #main-doc {
    position: relative;
    margin-left: 0px;
    margin-top: 350px;
    width: 100%;
    padding: 5%;
  }
  #navbar {
    width: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
    max-height: 300px;
    border: none;
    z-index: 3;
    border-bottom: 2px solid;
    font-size: 1em;
  }
  .acontainer {
    height: 200px;
    border: 1px solid;
  }
  .header {
    display: flex;
    justify-content: center;
    height: 40px;
    font-size: 2em;
  }
}
