:root {
  --bg-color: #000000;
  --text-color: #cfcccc;
  --container-bg-color: #232886;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #946973 #171926;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: #171926;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #946973;
  }

@font-face {
  font-family: homespun;
  src: url("/fonts/Homespun.ttf");
}

html {
  background:url("/img/bgs/BKG201.JPG");
  background-color: var(--bg-color);
}

body {
  color: var(--text-color);
  font-size: 1.25em;
}

.content-wrapper {
  display: flex;
  justify-content: center;
}

.main-container {
  width: 50%;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
  background-color: var(--container-bg-color);
  background-image: url("/img/bgs/carbon-fibre-v2.png");
  border: #373856 5px inset;
  box-shadow: #00002a 10px 10px;
}

h1 {
  font-family: homespun;
  text-align: center;
  color: #feffff;
  text-shadow: #000000 5px 5px;
  border-bottom: #5054d2 7px dotted;
}

h2 {
  width: fit-content;
  font-family: homespun;
  text-align: left;
  color: #b4b2e1;
  border-bottom: #5054d2 5px double;
}

a {
  color: inherit;
}

a:hover {
  color: #946973;
}

a:hover::after {
  content: " ↗";
}

h1:before {
  content: "⬝🞕▣ ";
}

h1:after {
  content: " ▣🞕⬝";
}

h2:after {
  content: "↳";
}

ul {
  text-align: left;
}

span {
  color: #cea2d6;
}

#buttons {
  display: block;
  width: 100px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  background-color: #7776ac;
  background-image: url("/img/bgs/carbon-fibre.png");
  border: #5c5c9a inset 3px;
}

#buttons:hover {
  color: #fefefe;
  background-color: #5c5c9a;
  border: #5c5c9a outset 3px;
}

#buttons a {
  color: #dcd5d5;
}

@media screen and (max-device-height: 600px) {
.content-wrapper {
  max-width: 799px;
  justify-content: center;
}
}

/* Device orientation */
@media screen and (orientation: portrait) {
html {
  background: url("/img/bgs/BKG201.JPG");
  background-color: var(--bg-color);
  }
.content-wrapper {
  display: block;
  justify-content: center;
}
.main-container {
  width: 90%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
h1, h2 {
  font-size: larger;
}
}