:root {
  --color-bg: white;
  --color-text: black;
  --color-hover: gray;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: Pretendard, sans-serif;
  font-weight: 500;
}

body {
  width: 100vw;
  height: 100vh;
  color: var(--color-text);
  background-color: var(--color-bg);
}
body.dark {
  --color-bg: black;
  --color-text: white;
  --color-hover: silver;
}
body.EN .한 {
  display: none;
}
body.EN .EN {
  display: block;
}
body.한 .한 {
  display: block;
}
body.한 .EN {
  display: none;
}

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

a:hover {
  color: var(--color-hover);
}

.container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  padding: 0 1em;
}

.header {
  display: flex;
  width: 100%;
  height: 5%;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--color-text);
}

.main {
  position: relative;
  width: 100%;
  height: 90%;
}
.content-container {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.works-list-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  display: none;
  overflow: scroll;
}
.works-list li {
  padding: 0.7em 0;
  border-bottom: 1.5px solid var(--color-text);
}

.footer {
  display: flex;
  width: 100%;
  height: 5%;
  justify-content: space-between;
  align-items: center;
  border-top: 1.5px solid var(--color-text);
}

.nav {
  display: flex;
  gap: 0.35em;
}
.nav a {
  padding: 0.25em;
  border: 1.5px solid var(--color-text);
  border-radius: 0.7em;
}
