html:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  #border: 1vh double #d2fbfb;
  #border-radius: 10px;
  z-index: -1;
}



body {
  background-color: black;
  background-image: url("Fantasy2.png");
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-repeat: no-repeat;
}


/* Shared box styling */
.center,
.top {
  margin: 20px auto;
  text-align: center;
  border: 3px double #d2fbfb;
  border-radius: 10px;
  padding: 5px;
  max-width: 90%;
  width: 500px;
  background-color: #000;
}

.center {
  margin-top: 10vh;
  opacity: 0.5;
}

h1 {
  color: #F5EFEB;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px #F752B3;
}
h2 {
  color: #F5EFEB;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px #F752B3;
}
h3 {
  color: #F5EFEB;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px #F752B3;
}
h4 {
  color: #F5EFEB;
  font-family: "Lucida Console", monospace;
  #text-shadow: 0 0 10px #F752B3;
}
p, a, ul, figcaption {
  font-family: "Lucida Console", monospace;
  color: #d2fbfb;
  text-shadow: 0 0 1px #ffffff;
}

p, a {
  font-size: 1.125rem; /* ~18px */
}

a {
  padding: 15px;
}

ul {
  font-size: 0.875rem; /* ~14px */
  padding-left: 2rem;
}

figcaption {
  color: #ffffff;
  font-style: italic;
  font-size: 0.75rem; /* ~12px */
  padding: 15px;
}

details {
  color: #e5ded5;
  font-family: "Lucida Console", monospace;
  #text-shadow: 0 0 10px #00FF00;
}
  summary {
    #display: inline-flex; /* Aligns the summary content (arrow and h3) in a row */
  }

.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 {
  color: black;
  font-family: "Lucida Console", monospace;
  width: 10vh;
  height: 4.5vh;
  text-shadow: 0 0 10px #00FF00;
  background-color: #214BFF;
  border-color: black;
}
/* Media Query for Small Screens */
@media (max-width: 600px) {
  .center, .top {
    width: 95%;
    padding: 10px;
  }

  ul {
    padding-left: 1rem;
  }
}

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

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

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

  ul {
    padding-left: 3rem;
  }

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