body {
    margin: 0 auto;
    font-family: Futura, Trebuchet MS, Arial, sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    color: #442727;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: overline;
    padding-top: 25px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 550;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

p {
    line-height: 1.5;
}

hr {
    border: 0;
    height: 1px;
    background: #937d14;
    background-image: linear-gradient(to right, #eae7d9, #937d14, #eae7d9);
    width: 70%;
}

code {
    font-size: 1.25rem;
    line-height: 1.4;
}

footer {
    background: #442727;
    color: #937d14;
    text-align: right;
    padding: 2px 0;
    margin: 15px auto 0 auto;
    width: 100%;
}

footer p {
    line-height: 0.2;
    padding-right: 5px;
    font-size: 0.75rem;
}

@media (max-width: 780px) {
    #navbar {
      display: none;
    }
}

a:link {
    text-decoration: underline;
    color: #937d14;
}

a:hover {
    text-transform: capitalize;
    text-decoration: none;
    color: #442727;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eae7d9;
}
  
::-webkit-scrollbar-thumb {
    background: #937d14;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #442727;
}

/*****NAVBAR********/

#navbar {
    position: fixed;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #d2c6b2;
}

#navbar header {
    text-align: center;
    font-size: 1.95rem;
    padding: 33px 12px;
    margin: 0;
    color: #937d14;
    background-color: #442727;
    overflow: none;
}

#navbar ul {
    list-style-type: none;
    text-align: left;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#navbar ul:hover {
    height: 83%;
    overflow-y: auto;
    overflow-x: hidden;
}

#navbar li {
    color: #442727;
    line-height: 2rem;
    font-size: 1.7rem;
    font-weight: 525;
    padding: 14px 21px;
    letter-spacing: 1px;
}

#navbar a:link {
    text-decoration: none;
    color: #442727;
}

#navbar a:visited {
    text-decoration: none;
    color: #442727;
}

#navbar a:hover {
    text-decoration: underline;
    color: #937d14;
}

/***************MAIN DOC************/

#main-doc {
    position: absolute;
    width: 65%;
    padding-left: 20%;
    padding-right: 35%;
    background: #eae7d9;
    z-index: -1;
}

#main-doc h2,h3,p,table {
    font-weight: 200;
}

#main-doc li {
    line-height: 1.5;
    font-size: 1rem;
}

.burgandy {
    color: #b03135;
    font-weight: 600;
}

.burgandy li {
    list-style: none;
}

.burgandy li::before {
    content: "\2022";
    color: black;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/*******DOCUMENT EXAMPLE BOXES**********/

.example {
    background: #d2c6b2;
    padding-bottom: 15px;
    border-radius: 20px;
    width: 90%;
    margin: auto;
}

.example H3 {
    font-size: 1.35rem;
    padding: 10px 0 10px 18px;
}

.example p {
    padding: 2px 25px;
    margin: 5px auto;
}

.theExample {
    background: white;
    padding: 1px 0 1px 40px;
    font-size: 1.25rem;
    line-height: 0.8;
    width: 90%;
    margin: 0 2%;
    border-radius: 20px;
}

.theExample p {
    width: 85%;
    margin-right: 20%;
    font-size: 1.1rem;
}

.selector {
    color: #b03135;
}

.property {
    color: red;
}

.value {
    color: blue;
}

.comment {
    color: green;
}

/*****************DOCUMENT TABLES**************/

table {
    background: #d2c6b2;
    width: 90%;
    margin: 10px auto 0;
    text-align: left;
    vertical-align: middle;
}

table, tr {
    border: 1px solid #442727;    
    border-collapse: collapse;
}

th, td {
    padding: 7px 10px;
    font-size: 1.1rem;
}

th {
    font-weight: 800;
    padding: 5px auto;
}

td {
    font-weight: 300;
}

tr:nth-child(even) {
    background-color: #eae7d9;
}

/***** COLOR NAME TABLE ***********/

#colorNameTable table {
    border-color: transparent;
    background: #eae7d9;
    border: 0px solid #eae7d9;
    border-collapse: separate;
}

#colorNameTable tr {
    background: #eae7d9;
    border: 0;
    text-align: center;
    display: flex;
    justify-self: space-around;
}

#colorNameTable td:not(#lightGray) {
    color: white;
}

#colorNameTable td {
    width: 25%;
    padding: 30px 0;
    margin: 10px;
}

/***** OPACITY TABLE ***********/

.opacity tr {
    background-color: #eae7d9;
    border-style: hidden;
}

.opacity td {
    padding: 50px 25px;
    background-color: green;
    text-align: center;
    color: white;
}


/************** WEBPAGE CONTENT EXAMPLES*****************/

#helloWorld {
    background-color:DodgerBlue;
    text-align:center;
    color: white;
    font-weight: 400;
}

#loremParagraph {
    background-color:Tomato;
    color: white;
    padding: 10px;
}

.tomatoOpaque div {
    color: white;
    text-align: center;
    font-size: 1.6rem;
    margin: 10px 0;
    padding: 5px 0;
    background-color: rgb(255, 99, 71);
}

.tomato50 div {
    color: white;
    text-align: center;
    font-size: 1.6rem;
    margin: 10px 0;    
    padding: 5px 0;
    background-color: rgba(255, 99, 71, 0.5);
}

.borders {
    font-size: 1.3rem;
    padding: 10px;
    margin: 12px auto;
}

#marginShorthand {
    font-weight: 900;
    padding-left: 25px;
    font-size: 1.1rem;
    text-decoration: underline;
}

ul #marginShorthand {
    list-style-type: none;
}