
body {
   width: 100vw;
   max-height:auto;
    margin: 0;
}
.whole {
    width: 100vw;
   
     display: flex;
    flex-direction: column;
    margin:0 0 30px 0;
}

.header {
  height: 48px;
  margin:auto;
  padding:10px;
  box-sizing: border-box;
 
}
ul {
    margin: 30px auto auto 50px;
}
ul li {
   list-style-type: square;
}
ol {
     margin:30px auto auto 50px;
}

footer {
    position: fixed;
    background-color: #363636;
    width: 100%;
    height: 40px;
    bottom: 0;
    z-index: 10000;
    text-align: center;
    color: white;
    padding-top: 8px;
    margin:auto;

}
.main {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
}
table {
    border-collapse: collapse;
    max-width: 600px;
    text-align: center;
    border: 1px solid black;
    margin: 10px;
    padding-right: 3px;
}
.sidebar {
    width: 350px;
    max-height: auto;
    max-width: 15vw;
    margin: 0;
    background-color: #333333;
    box-sizing: border-box;
    border-right: 1px solid gray;
    color: white;
    padding-top: 1.5em;
    font-size: 1em;
}
    .sidebar a {
        color: white;
        text-decoration: none;
     
    }
.sidebar a:hover {
    color:darkorange;
    text-decoration: underline;
}

    .sidebar li {
        list-style-type: none;
        margin-left: -2em;
        margin-right: 1em;
        margin-bottom: 0.3em;
    }
tr {
    padding-right: 3px;
    
}
th {
    background-color: #363636;
    max-width: 200px;
    border-right: 1px solid white;
    border-left: 1px solid white;
    color: white;
    padding: 8px;
}
td {
    max-width: 600px;
    border-right: 1px solid black;
    border-left: 1px solid black;
    padding: 4px 8px;
}


.content {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width:85vw;
}

.flex-content {
  flex-grow: 1;
  background-color: #f3f3f3;
  box-sizing: border-box;
  padding:30px;

}

.fixed-content {
  height: 128px;
  background-color: thistle;
  box-sizing: border-box;
 
}
img {
    max-width: 800px;
    height: auto;
    margin:1em auto;
}
@media(max-width:1100px) {
    .sidebar {
        font-size: 0.9em;
    }
}
@media(max-width:1010px) {
    .sidebar {
        font-size: 0.85em;
    }
}
    @media(max-width:1000px) {
        .main {
            flex-direction: column;
        }

        .sidebar {
            width: 100vw;
            max-width: 100vw;
            height: auto;
            margin: 0;
            display: block;
            border-bottom: 1px solid gray;
            background-color: #333333;
            padding: auto;
            font-size: 0.9em;
            text-align: center;
        }


        .content {
            margin: 0;
            display: block;
            max-width: 100vw;
        }

        img {
            max-width: 100%;
            height: auto;
        }
    }