@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;
}
@font-face {
  font-family: 'Camille';
  src: url('Camille.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


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-image: linear-gradient(rgba(41, 32, 135, 0.68), rgba(0, 0, 0, 0.53)),
    url(../Assets/Portal.jpg);
  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: 6px solid rgba(54, 147, 208, 0.2);
  border-radius: 10px;
  max-width: 90%;
  width: 500px;
  background-color: rgba(39, 112, 161, 0.2);
  color: #ffffff;
  font-family: "Lucida Console", monospace;
}

h1 {
  color: #e5ded5;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px #009BF0;
}
h2 {
  color: #ffffff;
  font-family: "Lucida Console", monospace;
  text-shadow: 0 0 10px rgba(23, 54, 141, 0.5);
}
h3 {
  color: #ffffff;
  font-family: "TitleFont", monospace;
  text-shadow: 0 0 10px rgba(13, 3, 103, 0.5);
  font-size: 4rem;
}
h4 {
  color: #e5ded5;
  font-family: "Lucida Console", monospace;
  #text-shadow: 0 0 10px #009BF0;
}
h5 {
  color: #ffffff;
  font-family: "Camille", monospace;
   text-shadow: 0 0 10px rgba(13, 3, 103, 0.5);
  font-size: 1.9rem; /* ~18px */
}

p {
  color: #ffffff;
  font-family: "Lucida Console", monospace;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(13, 3, 103, 0.5);
  font-size: 1.125rem;
}
a
{
    font-family: "TopFont",serif;
    color: #d2fbfb;
    text-decoration: none;
    text-shadow: 0 0 1px #ffffff;
    font-size: 1.5rem; /* ~18px */
}

ul {
  font-size: 0.875rem; /* ~14px */
  padding-left: 2rem;
}
summary {
    #font-size: 1.525rem;
  text-shadow: 0 0 10px rgba(13, 3, 103, 0.5);
  }

#ctr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
}
details {
  color: #e5ded5;
  font-family: "Lucida Console", monospace;
  #text-shadow: 0 0 10px #009BF0;
}
.container1 {
  display: none;
  justify-content: space-between;
  flex-direction: row;
  height: 5vh;
}
.container2 {
  display: none;
  justify-content: space-between;
  flex-direction: row;
  height: 5vh;
}
  button {
  color: black;
  font-family: "TitleFont", monospace;
  width: 20vh;
  height: 7vh;
  text-shadow: 0 0 10px #009BF0;
  background-color: rgba(28, 97, 235, 0.75);
  border-color: black;
}
/* Media Query for Small Screens */
@media (max-width: 600px) {
  .center, .top {
    width: 95%;
    padding: 10px;
  }

  ul {
    padding-left: 1rem;
  }
}
nav {
    #width: 100%;
    background-color: rgba(54, 152, 217, 0.9);
    border: 2px solid rgb(48, 111, 152);
}
.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 */
  }
}
