html{
    scroll-behavior: smooth; 
}

html body{
    line-height: 1.5;
    font-family: 'Open Sans', 'Arial', 'sans-serif';
}

#navbar{
    position: fixed;
    min-width: 290px;
    left: 0;
    height: 100%;
    border-right: 1px solid;
}

header{
    color: rgb(255, 255, 255);
    margin: 10px;
    text-align: center;
    font-size: 2em;
    border-radius: 15px;
    background-color: #8a1a8a;
}

#navbar ul {
    height: 88%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#navbar li{
    border-top: 1px solid;
}

#navbar a{
    display: block;
    padding: 10px 30px;
    color: gray;
    text-decoration: none;
    cursor: pointer;   
}

#navbar a:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(138, 26, 138);
    border-radius: 15px;
}

#main-doc{
    position: absolute;
    margin-left: 325px;
    padding: 20px;
    margin-bottom: 110px;
}

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


section article {
    color: #000000;
    margin: 20px;
    font-size: 1em;
    line-height: 1.8;
    border-radius: 10px;
}

section li{
    margin: 10px 0 0 0;
    line-height: 1.8;
}

section h1{
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 17pt;
    margin: 4px 0 0 0;
}

code{
    display: block;
    text-align: left;
    white-space: pre-wrap;
    position: relative;
    word-break: normal;
    padding: 15px;
    margin: 10px;
    background-color:#f7f7f7;
    border-radius: 5px;
    border-left: 6px solid #0371C6;
}

.table{
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
}

table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    padding: 8px;
    line-height: 1.4;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    border: 1px solid #ddd;
}

th{
    background-color: #eee;
}

.the-type{
    background-color: #A9A9A9;
}

.the-other{
    background-color:white;
}

.alert {
    display: block;
    position: relative;
    border-radius: 10px;
    font-size: 1rem;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid;
    background-color: #3F1A89;
    color: #ffffff;
}

.alert-title{
    margin-top:0;
    color: rgba(255, 255, 255, 0.856);
}



.fab, .far{
    font-weight: 1000;
}

@media only screen and (max-width: 815px) {
    /* For mobile phones: */
    #navbar ul {
      border: 1px solid;
      height: 207px;
    }
  
    #navbar {
      background-color: white;
      position: absolute;
      top: 0;
      padding: 0;
      margin: 0;
      width: 100%;
      max-height: 275px;
      border: none;
      z-index: 1;
      border-bottom: 2px solid;
    }
  
    #main-doc {
      position: relative;
      margin-left: 0px;
      margin-top: 270px;
    }
  }
  
  @media only screen and (max-width: 400px) {
    #main-doc {
      margin-left: -10px;
    }
  
    code {
      margin-left: -20px;
      width: 100%;
      padding: 15px;
      padding-left: 10px;
      padding-right: 45px;
      min-width: 233px;
    }
  }