@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

html, body {
  background: black;
  font-family: "EB Garamond", serif;
  height: 100%;
  color: white;
  margin: 0;
  padding: 0;
}

#root {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 100%;
  width: 100%;
  gap: 10px;
}

thead {
  font-weight: bold;
}

#table-panel {
  background: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 500px;
  min-width: 500px;
  overflow-y: auto;
}

h2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

::-webkit-scrollbar {
  display: none;
}

#table-panel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#table-panel table {
  width: fit-content;
}

#table-panel a {
  display: inline;
  color: white;
}

#table-panel summary {
  display: none;
  text-align: center;
}

#table-panel summary:hover {
  cursor: pointer;
}

#table-panel > summary::before {
    content: '\25B6  ';
}

#table-panel[open] > summary::before {
    content: '\25BC  ';
}

#complete-logo {
  display: inline;
  height: 25px;
  filter: invert();
  padding-right: 5px;
}

#buttons {
  display: flex;
  flex-direction: row;
  gap: 3px;
  width: 100%;
  justify-content: center;
}

.button {
  background-color: white;
  color: black;
  border-radius: 5px;
  font-family: "EB Garamond", serif;
  font-size: 12pt;
}

.button:hover {
  cursor: pointer;
  background-color: burlywood;
}

#WWTCanvas {
  width: 100%;
  min-width: 400px;
  max-width: 850px;
  height: 100%;
}

@media screen and (max-width: 1000px) {

  #root {
    display: block;
  }
  
  #table-panel {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: fit-content;
    font-size: 20pt;
  }

  #table-panel summary {
    display: block;
    width: 100%;
  }

  #table-panel table {
    font-size: 16pt;
  }

}
