:root {
  --bg: #1B1A1A;
  --darkbg: #04090C;
  --accent: #009DFF;
  --darkaccent: #1B394D;
}


/* --------------------------------------------------------------
   GENERAL PAGE SETUP
-------------------------------------------------------------- */

body {
  margin: 0;
  font-family: "Sansation", system-ui, sans-serif;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  height: 100vh;
  color: #FFFFFF;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}


/* --------------------------------------------------------------
   HEADER (DESKTOP)
-------------------------------------------------------------- */

header {
  display: none;
}

.left {
  width: 28vw;
}

.title {
  font-size: 30px;
  font-weight: bold;
  color: #FFFFFF;
}

.headerbuttons {
  display: flex;
  gap: 10px;
  width: 70vw;
  height: 70%;
}

.headerbutton {
  display: flex;
  background: #000000;
  border: 4px solid var(--bg);
  color: #FFFFFF;
  padding: 8px 12px;
  margin: 0 0.5vw;
  cursor: pointer;
  border-radius: 8px;
  font-size: 25px;
  font-weight: bold;
  width: -webkit-fill-available;
  align-items: center;
  justify-content: center;
}

.headerbutton:hover {
  border-color: var(--accent);
  text-decoration: none;
}


/* --------------------------------------------------------------
   HEADER (MOBILE)
-------------------------------------------------------------- */

.menu-toggle {
  display: none;
  background: var(--bg);
  border-radius: 5px;
  border: none;
  color: var(--accent);
  font-size: 28px;
  cursor: pointer;
}



/* --------------------------------------------------------------
   SIDEBAR (DESKTOP)
-------------------------------------------------------------- */

#sidebar {
  display: flex;
  flex-direction: column;
  position: relative;
  color: white;
  transition: transform 0.3s ease;
  z-index: 900;
  height: 100vh;
}

.logo{
  flex-shrink: 0;
  width: 33vw;
  height: 100px;
  background-color: #000000;
  position: sticky;
  z-index: 1000;
  border-radius: 0 0 30px 0;
  border-right: 5px solid var(--accent);
  border-bottom: 5px solid var(--accent);
  text-align: center;
  align-content: space-evenly;
  font-size: 50px;
  font-weight: bolder;
}

.sidebarnav{
  flex-grow: 1;
  overflow-y: auto;
  transition: transform 0.3s ease;
  padding: 10px;
  width: 28vw;
  border-right: 5px solid var(--accent);
  background-color: #000000;
}

.sidebarheader {
  text-align: center;
  margin-bottom: 10px;
  margin-right: 0.5vw;
}

h3 {
  color: #FFFFFF;
  font-size: 40px;
  font-weight: bold;
}

summary {
  font-size: 25px;
  padding-top: 20px;
  color: #FFFFFF;
  font-weight: bold;
  cursor: pointer;
}

summary:hover {
  color: var(--accent);
}

.sidebarlink {
  font-size: 20px;
  color: #FFFFFF;
  padding-bottom: 9px;
  width: 100%;
  display: inline-grid;
}

.sidebarlink:hover {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.sidebarlink.active-page {
  color: var(--accent);
  padding-left: 6px;
  font-weight: bold;
}


/* --------------------------------------------------------------
   SIDEBAR (MOBILE)
-------------------------------------------------------------- */

@media (max-width: 950px) {
  #sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 250px;
    height: calc(100% - 80px);
    background: var(--bg);
    transform: translateX(-100%);
    z-index: 1000;
  }

  #sidebar.active {
    transform: translateX(0);
  }


  h3 {
  color: #FFFFFF;
  font-size: 30px;
  font-weight: bold;
  }

  summary {
  font-size: 20px;
  padding-top: 20px;
  color: #FFFFFF;
  font-weight: bold;
  cursor: pointer;
  }

  .sidebarlink {
    font-size: 15px;
    color: #FFFFFF;
    padding-bottom: 9px;
    width: 100%;
    display: inline-grid;
  }
}

.sidebar-section {
  margin-top: 35px;
}

.sidebar-section-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin: 8px 0;
}

.sidebar-section-title::before,
.sidebar-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #444;
}

.sidebar-section-title span {
  padding: 0 10px;
  white-space: nowrap;
}

.sidebar-static-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


/* --------------------------------------------------------------
   MAIN CONTENT (DESKTOP)
-------------------------------------------------------------- */

.together{  /*sidebar+main*/
  display: flex;
  flex: 1;
  overflow: hidden;
  background-color: var(--darkbg);
}

.sticky-header {
  position: sticky;
  top: 0;
  height: 60px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75vw;
}

.stickygroup {
  border: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 10px var(--accent);
}

.back-button {
  background: #000000;
  display: flex;
  height: 60px;
  width: 60px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.button-arrow {
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  align-self: center;
  margin-inline: auto;
}

.nav-links {
  background: #000000;
  display: flex;
  height: 60px;
}

.nav-button{
  width: 200px;
  color: white;
  text-align: center;
  align-content: space-evenly;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.divide{
  background-color: var(--bg);
  width: 1.5px;
  height: 60%;
  border: none;
  margin: 0;
  align-self: center;
}

#content{   /*onlymain*/
  flex: 1;
  display: block;
  min-height: calc(100vh - 80px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0.75vw;
  background-color: var(--bg);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 0 700px var(--accent);
  border-left: 5px solid var(--accent);
  border-right: 5px solid var(--accent);
} 

.top{
  width: 100%;
}

  .toptitle{
    font-size: 65px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin: 23px 0 18px 0;
    -webkit-text-stroke-width: thin;
  }

  .topsummary{
    width: 80%;
    background-color: var(--darkaccent);
    border: 4px solid var(--accent);
    border-radius: 8px;
    margin: 0 auto;

  }

    .topsummarytitle{
      font-size: 35px;
      font-weight: bold;
      text-transform: uppercase;
      color: var(--accent);
      margin: 10px 10px 0 10px;
    }

    .topsummarycontent{
      font-size: 23px;
      margin: 10px 5px 10px 15px;
    }

    .page-notice {
      width: 90%;
      padding: 12px 14px;
      border-radius: 6px;
      margin: 18px auto 10px auto;
      font-size: 0.95rem;
      line-height: 1.4;
    }

    .notice-update {
      background: #3a1c1c;
      border-left: 4px solid #e53935;
      border-top: 4px solid #e53935;
      color: #ffdede;
    }

    .notice-event {
      background: #1e3b2a;
      border-left: 4px solid #4caf50;
      border-top: 4px solid #4caf50;
      color: #d8ffe6;
    }

    .notice-info {
      background: #1e2f3b;
      border-left: 4px solid #2196f3;
      border-top: 4px solid #2196f3;
      color: #e0f1ff;
    }



  hr.topline{
    background-color: #000000;
    height: 5px;
    border: none;
    margin: 30px 0 30px 0;
  }

.middle{
  width: 100%;
  flex: 1;
} 

  .middlebetweentitle{
    font-size: 33px;
    font-weight: bold;
    margin: 30px 0 0 10px;
    clear: both;
  }

  hr.betweentitledivider{
    background-color: var(--darkbg);
    width: 70%;
    height: 3px;
    border: none;
    margin: 20px 0 25px 0;
  }

  .middletextalone{
    font-size: 23px;
    margin: 0 15px 0 15px;
  }

  .imagegroup {
    float: right;
    width: 40%;
    margin-left: 15px;
    margin-bottom: 10px;
  }

  .imagegroup img {
    width: 100%;
    border: 4px solid var(--accent);
    border-radius: 8px;
    margin-bottom: 10px;
  }

.bottom-container {
    clear: both;
    margin-top: auto;
}

  hr.bottomline{
    background-color: var(--accent);
    height: 3px;
    border: none;
    margin: 20px 0 25px 0;
    clear: both;
  }  

  .bottom{
    width: 100%;
  }

    .bottomtext{
      text-align: center;
      font-weight: bold;
    }


/* --------------------------------------------------------------
   MAIN CONTENT (MOBILE)
-------------------------------------------------------------- */

/* --------------------------------------------------------------
   TABLE STYLING
-------------------------------------------------------------- */

.ContentTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 4px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
}

.TableHead {
  color: #FFFFFF;
  font-size: 22px;
  font-weight: bold;
  height: 35px;
}

.TableChild {
  color: #FFFFFF;
  font-size: 20px;
  height: 30px;
}

.TableFirst {
  font-weight: bold;
}

.ContentTable th,
.ContentTable td {
  border: 1px solid #000000;
  padding: 6px 10px;
}

.ContentUTable {
  width: 100%;
  font-size: 16px;
  padding: 0;
  padding-left: 10px;
  padding-top: 5px;
  margin: 0;
  color: #FFFFFF;
}

.tablewrap {
  overflow-x: auto;   /* horizontal scroll */
  overflow-y: hidden;
  width: 100%;
  margin: 15px 0;
}

@media (max-width: 800px) {
  .TableHead{
    font-size: 20px;
  }

  .TableChild{
    font-size: 16px;
  }

  .ContentUTable{
    font-size: 14px;
  }
}


/* --------------------------------------------------------------
   FAQ BUTTONS
-------------------------------------------------------------- */

.faq-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.faq-buttons button {
  background-color: var(--bg);
  color: white;
  border: 3px solid var(--accent);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

.faq-buttons button:hover {
  background-color: var(--accent);
}

@media (max-width: 650px) {

  .faq-buttons{
    margin: 0 10px 15px 10px;
  }

}

/* --------------------------------------------------------------
   SEARCH PAGE
-------------------------------------------------------------- */

#search {
  width: 80%;
  padding: 12px;
  font-size: 18px;
  margin: 0 0 12px 0;
  background: var(--bg);
  border: 3px solid black;
  border-radius: 8px;
  color: #FFFFFF;
}

#search-results a {
  display: block;
  padding: 16px;
  border-bottom: 1px solid #444;
  font-weight: bold;
}

/* --------------------------------------------------------------
   SCROLLBAR
-------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--darkbg);
  border-radius: 5px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #000000;
}


/* --------------------------------------------------------------
   404 PAGE
-------------------------------------------------------------- */

h4 {
  padding-top: 100px;
  padding-bottom: 50px;
  margin: 0;
  width: 100%;
  font-size: 200px;
  font-weight: bold;
  color: var(--accent);
  text-align: center;
}

h5 {
  width: 100%;
  font-size: 25px;
  color: #FFFFFF;
  text-align: center;
}