@font-face {
  font-family: "pcsenior";
  src: url(files/pcsenior.ttf);
}

@font-face {
  font-family: "dpcomic";
  src: url(files/dpcomic.ttf);
}

body {
  display: flex;
  flex-direction: column;
  background-image: url("bg.png");
  max-height: 100vh;
  color: white;
  font-family: Arial;
  font-size:15px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  max-width: 88vh;
}

@media only screen and (max-width: 1366px) {
body {
  max-width: 100vh;
}
}

header {
  background-color: rgba(83, 93, 83, 0.80);
  text-align: center;
  padding: 10px;
  max-height: 100px;
}


a:link {
  color: aquamarine;
}
a:visited {
  color: darkseagreen;
}
a:hover {
  color: darkcyan;
}


ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  /*overflow: hidden;*/
  background-color: rgba(43, 53, 43, 0.80);
}
li.topnav {
  float: left;
  border-right: 1px solid rgba(83, 93, 83, 0.80);
}
ul li:last-child {
  border-right: none;
}
li.topnav a, .dropbtn {
  display: block;
  color: white;
  text-align: left;
  padding: 10px 12px;
  text-decoration: none;
}
li.topnav a:link {
  color: white;
}
li.topnav a:visited {
  color: white;
}
li.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #dddddd;
  color: black;
}
li.dropdown {
  display: block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(83, 93, 83, 0.80);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  color: white;
  padding: 10px 12px;
  text-decoration: none;
  display: block;
  text-align: left;
  background-color: rgba(29, 36, 29, 0.80)
}
.dropdown-content a:hover {background-color: #f1f1f1;}
.dropdown:hover .dropdown-content {
  display: block;
}


.content {
  background-color: rgba(83, 93, 83, 0.80);
  /*max-height: 640px;*/
  overflow-y: scroll;
  padding: 10px;
}

.content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

p {
  margin: 8px;
}

h3 {
  text-align: center;
  font-family: "dpcomic";
  font-size: 22px;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 5px;
}

h2 {
  text-align: center;
  font-family: "pcsenior";
  margin-top: 15px;
  margin-bottom: 15px;
}

#left  {
float: left;    
 margin: 0 15px 0 0;
}

#right  {
float: right;    
 margin: 0 0 0 15px;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-contain {
  max-width: 100%;
  height: auto; 
  display: inline-block;
}

table {
  border-collapse: collapse;
  width: 50%;
  margin-left: auto; 
  margin-right: auto;
}

td, th {
  border: 1px solid rgba(83, 93, 83, 0.80);
  text-align: left;
  padding: 6px;
  background-color: rgba(43, 53, 43, 0.70);
}

footer {
  background-color: rgba(83, 93, 83, 0.80);
  text-align: center;
  padding: 5px;
}

ul li .active {
  background-color: #000000;
  color: black;
}