@font-face {
  font-family: 'TitleFont';
  src: url('../Assets/TitleFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'TopFont';
  src: url('../Assets/TopFont.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
#ctr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
#bg::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
#bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.53)),
    url(../Assets/ArchaicEra.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Shared box styling */
.center,
.top {
  margin: 20px auto;
  text-align: center;
  border: 6px solid rgba(96, 44, 120, 0.3);
  border-radius: 10px;
  padding: 5px;
  max-width: 90%;
  width: 500px;
  background-color: rgba(97, 17, 115, 0.3);
}

h1 {
  color: #FFFFFF;
  font-family: "TitleFont", monospace;
  text-shadow: 0 0 10px #140101;
  font-size: 4rem;
}
h2 {
  color: #FFFFFF;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px #140101;
}
h3 {
  color: #FFFFFF;
  font-family: "TitleFont", monospace;
  text-shadow: 0 0 10px #140101;
  font-size: 2rem;
}
h4 {
  color: #FFFFFF;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px #140101;
}
p {
  font-family: "Lucida Console", monospace;
  color: #d2fbfb;
  text-shadow: 0 0 1px #ffffff;
    font-size: 1.125rem; /* ~18px */
}
a
{
    font-family: "TopFont",serif;
    color: #d2fbfb;
    text-decoration: none;
    text-shadow: 0 0 1px #ffffff;
    font-size: 1.5rem; /* ~18px */
}
summary {
    font-size: 1.5rem;
}

details {
  color: #e5ded5;
  font-family: "Lucida Console", monospace;
}
.container {
  justify-content: space-between;
  flex-direction: row;
  height: 5vh;
  display: flex;
}
.container .btn-holder {
  justify-content: flex-end;
  display: flex;
}
.container .btn-holder2 {
  justify-content: flex-start;
  display: flex;
}
.button-class {
  font-family: "TopFont", monospace;
  text-shadow: 1 1 20px #ffffff;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
}
.rightButton
{
  background-image: url('../Assets/Right.png');
  background-size: 100% 100%;  /* stretch to fill exactly */
  background-repeat: no-repeat;
}
.leftButton
{
  background-image: url('../Assets/Left.png');
  background-size: 100% 100%;  /* stretch to fill exactly */
  background-repeat: no-repeat;
}
  button {
  color: black;
  font-family: "Lucida Console", monospace;
  width: 10vh;
  height: 4.5vh;
  background-color: rgba(131, 61, 153,0.9);
  border-color: black;
  opacity:0.75;
}
hr {
  display: block;
  border: 0px;
  height: 90px;
  background-image: url('../Assets/BasicDivider.png');
  background-size: 100% 100%;  /* stretch to fill exactly */
  background-repeat: no-repeat;
}
nav {
    #width: 100%;
    background-color: rgba(103, 48, 120,0.9);
    border: 2px solid rgba(44, 22, 54,1);
}
.nav li {
    font-family: "TitleFont", monospace;
    display: inline-block;
}
.nav img {
    max-width: 2.5%;
    height: auto;
}
.banner {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
}
.banner-side {
  flex: 1 1 auto;          
  background-image: url('../Assets/White.png');
  background-size: auto 100%;
  min-width: 0;
}

/* magic i don't understand */
/* Media Query for Small Screens */
@media (max-width: 600px) {
  .center, .top {
    width: 95%;
  }

  ul {
    padding-left: 1rem;
  }
}
@media (min-width: 900px) {
  .center,
  .top {
    width: 60%;  /* Adjust to make elements more spacious */
    #margin-top: 5vh; /* Keep it vertically centered */
  }

  h1 {
    font-size: 2.5rem; /* Larger font for desktop */
  }

  p, a {
    font-size: 1.5rem; /* Slightly larger font for desktop */
  }

  ul {
    padding-left: 3rem;
  }

  figcaption {
    font-size: 1rem; /* Larger font for desktop */
  }
}
