@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f0e1;
    width: 100vw;
    overflow-x: hidden;
}

header {
    padding: 10px;
    text-align: center;
    color: #ff6e40;
    font-size: 2rem;
} 

.nav-link {
    padding: 15px 0 15px 0;
    display: flex;
    width: 100%;
    justify-content: center;
    text-decoration: none;
    background-color: #b36e5e;
    color: white;
}

.nav-link:hover {
    background-color: #ff6e40;
}

#navbar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 285px;
    min-width: 285px;
    height: 100%;
    color: #ff6e40;
    background-color: #1e3d59;
}

#main-doc header {
    text-align: left;
    margin: 0px;
  }

#main-doc {
    position: absolute;
    margin-left: 300px;
    padding: 15px;
}

section article {
    color: #4d4e53;
    margin: 15px;
    font-size: 1em;
}

hr {
    border-top: 1px dashed #ffc13b;
    width: 50%;
    float: left;
}

ul {
    background-color: #ffc13b;
    color: white;
    border-radius: 10px;
}

li {
    padding: 10px;
}

code {
    display: block;
    text-align: left;
    white-space: pre-line;
    position: relative;
    line-height: 2;
    background-color: #1e3d59;
    color: #f5f0e1;
    padding: 20px;
    border-radius: 10px;
}

h4 a {
  text-decoration: none;
  opacity: 0.5;
}

h4 a:hover {
  opacity: 1;
}

@media screen and (max-width: 815px) {

#navbar {
    top: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    max-height: 275px;
    z-index: 1;
}
      
#main-doc {
    margin-left: 0px;
    margin-top: 310px;
}
}
    
    