/* ---------------------------------------------------- */
/*       THE ABYSS // BORDERLESS CULT / ONION CSS       */
/* ---------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: #000;
  color: #fff;
  font-family: "Times New Roman", Times, serif;

  background-image: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.75) 50%
  );
  background-size: 100% 3px;

  overflow-x: hidden;
}

/* Links */
a {
  color: #fff;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

a:visited {
  color: #aaa;
}

a:hover,
a:focus-visible {
  background: #fff;
  color: #000;
  text-decoration: none;
}

/* Images */
img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(200%) invert(5%);
}

/* Main layout */
.wrap {
  width: min(88%, 1050px);
  margin: 0 auto;
  padding: 16px 10px 40px;
  background: #000;
}

.center {
  text-align: center;
}

/* Typography */
h1,
h2 {
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(34px, 6vw, 44px);
  line-height: 1.05;
  margin: 10px 0 2px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(24px, 4vw, 29px);
  line-height: 1.15;
  margin: 8px 0 12px;
}

p,
li,
td,
th {
  font-size: 18px;
  line-height: 1.35;
}

small {
  font-size: 13px;
  color: #777;
}

hr {
  border: 0;
  border-top: 1px dashed transparent;
  margin: 22px 0;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;

  text-align: center;
  font-size: 20px;
  margin: 14px 0;
}

.nav a {
  margin: 0;
  text-decoration: underline;
}

.nav a:hover,
.nav a:focus-visible {
  background: #fff;
  color: #000;
}

/* Flag / banner */
.flag {
  display: block;
  width: min(760px, 95%);
  height: auto;
  margin: 14px auto;
  filter: grayscale(100%) contrast(300%);
}

/* Floated image/content */
.float-right {
  float: right;
  width: 330px;
  max-width: 42%;
  margin: 0 0 12px 24px;
}

.clear {
  clear: both;
}

/* Content box */
.box {
  padding: 12px 14px;
  margin: 16px 0;
}

/* Tables */
.oldtable {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.oldtable td,
.oldtable th {
  padding: 8px 10px;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
}

.marquee span {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  animation: scroll 15s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Footer */
.footer {
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
}

/* Blink */
.blink {
  animation: blink 0.8s steps(1, start) infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Section navigation */
.section-jump {
  text-align: right;
  font-size: 14px;
}

/* ---------------------------------------------------- */
/* MOBILE                                               */
/* ---------------------------------------------------- */

@media (max-width: 700px) {
  .wrap {
    width: 100%;
    padding: 12px 16px 32px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  p,
  li,
  td,
  th {
    font-size: 17px;
  }

  .nav {
    font-size: 18px;
    gap: 10px 14px;
  }

  .float-right {
    float: none;
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 16px auto;
  }

  .oldtable {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .marquee {
    font-size: 16px;
  }

  .section-jump {
    text-align: center;
  }
}

/* Extra-small phones */
@media (max-width: 420px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .nav {
    font-size: 17px;
  }

  .box {
    padding: 10px 0;
  }
}

/* Accessibility: stop animations when user requests it */
@media (prefers-reduced-motion: reduce) {
  .marquee span,
  .blink {
    animation: none;
  }
}