* {box-sizing: border-box}
body {
  font-family: "Open Sans", sans-serif;
}

.header {
 position: fixed;
  top: 0;
  z-index: 3;
  padding: 10px;
  text-align: left;
  color: #53504f;
  line-height: 20px;
}

.header h1 {
  font-size: 15px;
}

a:link {
  color: #53504f;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: #53504f;
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  color: #53504f;
  background-color: transparent;
  text-decoration: underline;
}
a:active {
  color: #53504f;
  background-color: transparent;
  text-decoration: underline;
}

.images {
  z-index: 1;
  display: block;
  margin: 40px auto 70px auto;
  max-width: 100%;
}

.par {
  font-size: 13px;
  margin: 20px auto;
  max-width: 800px;
  padding: 0 15px;
  color: #53504f;
}

img {
  z-index: 1;
  display: block;
  margin: 40px auto 70px auto;
  width: 100%;
  max-width: 100% !important;  /* ADD THIS */
  height: auto;
}

.sidenav {
  height: auto;
  width: 160px;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  padding-top: 80px;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 12px;
  color: #53504f;
  display: block;
}

.sidenav a:hover {
  color: #000000;
}

.main {
  margin-left: 160px; /* Same as the width of the sidenav */
  font-size: 28px; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

.footer {
  padding: 0px; /* Some padding */
  text-align: center; /* Center text*/
  font-size: 8px;
  color: #53504f;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 768px) {
  .sidenav {
    position: static;
    width: 100%;
    padding-top: 20px;
    text-align: center;
  }

  .sidenav a {
    display: inline-block;
    padding: 10px;
  }

  .header {
    position: static;
    text-align: center;
  }

  .par {
    margin: 20px 10px;
  }

  .images {
    margin: 20px 0;
  }

  img {
    width: 100% !important;   /* overrides inline style="width:800px" */
    max-width: 100% !important;
    margin: 20px 0;
  }
}