:root {
  --bg-color: #171926;
  --text-color: #cfcccc;
  --container-bg-color: #07070e;
  --border: #6e7283 double 7px;
}

/* ===== 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/index_bg.webp") no-repeat center center fixed;
  background-size: cover;
  width: 100%;
  background-color: var(--bg-color);
}

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

.content-wrapper {
  width: 80%;
  margin: 15px auto;
}

.container {
  display: -webkit-flex;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.sidebar {
  width: 20%;
  padding: 10px;
  border: var(--border);
  background-color: var(--container-bg-color);
  box-shadow: #1c071c 8px 8px;
}

.main-container {
  width: 60%;
  padding: 15px;
  border: var(--border);
  background-color: var(--container-bg-color);
  box-shadow: #1c071c 8px 8px;
}

h1, h2 {
  font-family: homespun;
  text-align: center;
  color: #7776ac;
}

h1:before {
  color: #946973;
  content: "⬝🞕▣ ";
}

h1:after {
  color: #946973;
  content: " ▣🞕⬝";
}

#buttons {
  padding-left: 0;
}

#buttons li {
  display: block;
  width: 95%;
  height: 50px;
  margin: 10px auto;
  line-height: 50px;
  text-transform: lowercase;
  text-align: center;
  background-color: #283168;
  background-image: url("/img/bgs/carbon-fibre.png");
  border: #302145 inset 3px;
}

#buttons li:hover {
  background-color: #1a1b4b;
  border: #1c071c outset 3px;
}

#buttons li a {
  font-size: larger;
  text-decoration: none;
  color: #dcd5d5;
}

#buttons li a:hover {
  color: #946973;
}

.inside_img {
  width: 100%;
}

a:after {
  content: " ↗";
}

span {
  color: #7776ac;
}

hr {
  border-top: 5px dotted #7776ac;
  border-right: none;
  border-bottom: none;
  border-left: none;
  width : 100%
}

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

/* Device orientation */
@media screen and (orientation: portrait) {
  html {
  background: url("/img/bgs/index_bg.webp") no-repeat center center fixed;
  background-size: cover;
  height: 100%;
  background-color: var(--bg-color);
  }
  .content-wrapper {
    margin: 0 auto;
  }

  .container {
    display: flex;
    flex-direction: column;
  }

  .sidebar, .main-container {
    width: 100%;
    margin-bottom: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  h1, h2 {
    font-size: larger;
  }
}