/* ===== GLOBAL ===== */

* {
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-size: 16px;
}

/* ===== HEADINGS ===== */

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== LINKS ===== */

a:link,
a:visited,
a:active {
  color: #FF0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a img {
  border: 0;
}

/* ===== LAYOUT ===== */

#page {
  margin: 17px auto 10px;
  width: 1020px;
}

#header {
  text-align: center;
}

#wrapper,
#headerimg {
  width: 1020px;
  position: relative;
}

/* ===== HEADER BAR ===== */

.hr {
  background-color: #777777;
  border: none;
  padding: 20px 0;
  width: 100%;
}

/* ===== TABLES ===== */

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #000000;
}

td, th {
  background-color: #000000;
}

th {
  border-bottom: none;
  text-align: left;
}

/* ===== PRE ===== */

pre {
  padding: 2px 0;
  border: none;
  background-color: transparent;
}

/* ===== LISTS ===== */

ul {
  list-style-type: disc;
  padding-left: 40px;
  margin: 0;
  background: none;
  border: none;
}

/* remove list styling for menus */
ul.nav,
ul.menu {
  list-style: none;
  padding: 0;
}

/* ===== IMAGE COMP ===== */

.img-comp-container {
  position: relative;
  height: 600px;
}

.img-comp-img {
  position: absolute;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  width: 40px;
  height: 40px;
  background-color: #000000;
  opacity: 0.7;
  border-radius: 50%;
}

/* ===== NAV BUTTONS ===== */

.nav-buttons-container {
  display: flex;
  position: relative;
  margin-top: 24px;
}

.nav-buttons-container .icon {
  width: 20px;
  height: 20px;
}

.nav-buttons-container .previous-button,
.nav-buttons-container .next-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  background: #000000;
  color: #FFFFFF;   /* FIXED (was black on black) */
  text-decoration: none;
  padding: 8px 24px;
  font-size: 16px;
  min-width: 100px;
  border: 1px solid #222;
}

.nav-buttons-container .next-button {
  position: absolute;
  right: 0;
}

.nav-buttons-container .previous-button:hover .icon {
  animation: nav-prev-anim 300ms alternate infinite;
}

.nav-buttons-container .next-button:hover .icon {
  animation: nav-next-anim 300ms alternate infinite;
}

@keyframes nav-prev-anim {
  to { transform: translateX(4px); }
}

@keyframes nav-next-anim {
  to { transform: translateX(-4px); }
}

/* ===== FINAL SAFETY RESET (light, NOT overkill) ===== */

table {
  border-spacing: 0;
}

img {
  display: block;
}

hr {
  border: none;
  height: 1px;
  background-color: #777777;
}