body {
  background-image: url('actualbg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: 'Courier New', Courier, monospace;
  background-attachment: fixed;
  font-size: 1rem; 
}

header {
  background-color: white;
  text-align: center;
  padding: 1.25em;
  font-size: 2em;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}

nav {
  background-color: white;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  padding: 0.625em;
  margin-top: 0.625em;
  font-size: 1.125em;
}

nav a {
  margin: 0 0.625em;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  color: #3C3C64;
  font-size: 1em;
}

.images-row {
  display: flex;
  justify-content: space-around;
  margin: 1.875em;
}

.image-box {
  background-color: white;
  width: 12.5em;
  height: 12.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
}

.table-box {
  margin: 0 auto;
  background-color: gray;
  color: black;
  width: 80%;
  font-size: 1em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: darkgray;
  color: white;
  padding: 0.625em;
  font-size: 1em;
}

td {
  background-color: lightgray;
  padding: 0.625em;
  border: 1px solid #333;
  text-align: center;
  font-size: 1em;
}

.bottom-image {
  margin: 1.875em auto;
  width: 12.5em;
  height: 12.5em;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  font-size: 1em;
}

.container img {
  width: 12.5em;
  height: 12.5em;
  margin-left: 1.25em;
}

.bottom-image {
  margin-top: auto;
}

.profile-image {
  width: 120%;
  max-width: 18.75em;
  height: auto;
  border-radius: 0.625em;
}

a {
  color: blue;
  text-decoration: none;
  font-size: 1em;
}

a:visited {
  color: purple;
}

a:hover {
  color: orange;
}

a {
  text-decoration: underline !important;
}

nav a {
  text-decoration: none !important;
}

.high-contrast {
  background: #000 !important;
  color: #FFF !important;
  font-size: 150%;
}
.high-contrast header {
  background-color: black !important;
  color: #FFD700 !important;
}

.high-contrast a {
  color: #FF0 !important;
  text-decoration: underline !important;
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 1.875em;
  right: 1.875em;
  z-index: 99;
  font-size: 1.125rem;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 0.75em 1em;
  border-radius: 0.3125em;
}

#backToTopBtn:hover {
  background-color: #555;
}

@media (max-width: 600px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .left, .right {
    width: 100%;
    text-align: center;
  }

  .profile-image {
    width: 80%;
    max-width: 15.625em;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .left, .right {
    width: 48%;
  }

  .profile-image {
    width: 80%;
    max-width: 18.75em;
  }
}

@media (min-width: 1025px) {
  .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .left, .right {
    width: 48%;
  }

  .profile-image {
    width: 100%;
    max-width: 25em;
  }
}

@media print {
  header, nav, .sidebar, .footer, .buttons,
  video {
    display: none;
  }

  img {
    width: 80%;
    height: auto;
  }

  body {
    margin: 0;
    padding: 10mm;
    font-size: 0.75rem;
  }

  p, h1, h2, h3, h4, h5, h6 {
    color: black;
    font-size: 0.75rem;
    line-height: 1.2;
  }

  a {
    color: black;
    text-decoration: none;
  }

  * {
    background: none !important;
    color: black !important;
  }

  @page {
    margin: 20mm;
  }
}