@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap");

.topBar {
  display: flex;
  justify-content: space-between;
  padding: 16px 16px 8px;
  background-color: rgb(28, 69, 138);
}

#languageSelector {
  font: 1rem sans-serif;
  width: 96px;
  height: fit-content;
  background-color: rgb(126, 222, 251);
}

.bodyContainer {
  display: flex;
  width: 100vw;
}

nav {
  display: flex;
  flex-direction: column;
  width: 25%;
  padding-left: 16px;
  border-right: 1px solid black;
}

.mainContainer {
  padding: 0 16px;
  width: 75%;
}

.diagramContainer {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 32px;
}

#modal {
  display: none;
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modalContent {
  background-color: white;
  gap: 2px;
  margin: 8% auto;
  padding: 8px 16px;
  border-radius: 16px;
  width: 66%;
}

h2 {
  font:
    1.5rem "Noto Sans KR",
    sans-serif;
  font-weight: bold;
}

p {
  font:
    1rem "Noto Sans KR",
    sans-serif;
  margin: 8px 0;
  word-break: keep-all;
}

a {
  font:
    1rem "Noto Sans KR",
    sans-serif;
}

nav > a {
  color: black;
  text-decoration: none;
  border-top: 1px solid black;
  padding: 8px 0;
}

footer {
  font: 1rem sans-serif;
  color: rgb(126, 222, 251);
  margin-top: 8px;
  padding: 16px 16px 8px;
  background-color: rgb(28, 69, 138);
}

footer > a {
  color: rgb(126, 222, 251);
}

#closeButton {
  color: grey;
  float: right;
  margin: 0 0 0 8px;
  font-size: 1.2rem;
  font-weight: bold;
}

#closeButton:hover,
#closeButton:focus {
  color: darkgrey;
  cursor: pointer;
}
