/* Elements */

body {
  color: hsla(0, 0%, 12%, 1);
  background-color: #9a7c9e;
  font-family: 'Montserrat', sans-serif, monospace;
  line-height: normal;
  font-weight: 500;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  text-align: justify;
  height: 100vh;
  overflow: hidden
}

h1 {
  color: aquamarine;
  line-height: normal;
  font-family: 'Montserrat', sans-serif;
}

main {
  max-width: 8;
}

code {
  display: block;
  text-align: left;
  white-space: pre-line;
  position: relative;
  word-break: normal;
  word-wrap: normal;
  line-height: 2;
  background-color: grey;
  padding: 15px;
  border: 2px solid purple;
  margin: 10px;
  border-radius: 15px
}

a.nav-link.button-primary {
  color: antiquewhite;
  font-weight: 400;
  font-size: 1.2em;
  background-color:transparent;
  text-decoration: solid;
}


a.nav-link.button-primary:hover{
  color:rgb(82, 11, 149);
  font-weight: 700;
  transition: all 1s ease-in-out 200ms;
}

/* Id's */

#main-doc {
  overflow-y: auto;
  overflow-x: auto;
  padding-left: 10%;
}

#navbar {
  flex: 1 0 10%;
  background-color: hsla(271, 88%, 26%, 1);
  border-right: 1px solid rgba(161, 227, 18, 0.4);
  padding: 1rem
}


#navbar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 0;
  align-items: center;
}

#navbar li {
  text-align: center;
  text-transform: capitalize;
  width: 100%;
  flex: auto;
  max-width: 100%;
  line-height: normal;
  flex: 1 0 10%;
  position: relative;
  cursor: pointer;
  background-color: hsla(229, 27%, 60%, 0.5);
  border-radius: 30px;
  padding: 0.3em;
  margin: 30px auto;
}

#navbar li:hover {
  background-color: hsla(229, 27%, 60%, 0.9);
  transition: background-color 1s ease-in-out 200ms;
}

/* Classes */

.wrapper {
  display: flex;
  height: 100%;
  justify-items: center;
  align-content: center;
  text-align: justify;
  width: auto;
  justify-content: space-between;
}

.wrapper_inner {
  max-width: 80%;
}