@font-face {
  font-family: AUTHENTICSans-Condensed-90;
  src: url(./woff/AUTHENTICSans-Condensed-90.woff);
}
@font-face {
  font-family: AUTHENTICSans-90;
  /* src: url(./woff/AUTHENTICSans-Condensed-90.woff); */
  src: url(./woff/AUTHENTICSans-90.woff);
}
@font-face {
  font-family: "SpokaHanSansNeo";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Regular.woff")
    format("woff");
  font-weight: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body,
ul,
h1,
h2 {
  margin: 0;
  font-family: "AUTHENTICSans-Condensed-90", "SpokaHanSansNeo", sans-serif;
  word-break: keep-all;
  line-height: 1.3;
}
.ko {
  font-size: 14px;
}
a {
  color: black;
}
h1:hover {
  text-decoration: underline;
}
body {
  overflow: hidden;
}

.colorList {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  width: 248px;
  height: calc(100vh - 30px);
  margin-top: 30px;
  position: fixed;
  border-right: 1px solid #222;
  overflow-y: scroll;
}

.colorList li {
  font-size: 0.8rem;
  line-height: 1.5;
  list-style: none;
  padding: 5px 0 0 4px;
  border-bottom: 1px solid #222;
  box-sizing: border-box;
  margin: 0;
  cursor: pointer;
  /* border-radius: 50%; */
}
td {
  width: 70px;
}
.titleContainer {
  position: fixed;
  top: 0;
  padding: 4px 8px;
  border-bottom: 1px solid #222;
  width: 100%;
  z-index: 1;
  background-color: white;
  font-size: 1rem;
}
h1 {
  margin: 0;
  font-size: 1rem;
  display: inline-block;
}
h2 {
  font-size: 18px;
  padding: 5px 5px 0 5px;
  border-bottom: 2px dotted #222;
  position: sticky;
  top: 0;
  background-color: white;
}

.content {
  position: absolute;
  /* width: 100%; */

  overflow-x: scroll;
  margin-left: 248px;
  margin-top: 30px;
}
button {
  cursor: pointer;
  display: inline-block;
  background-color: rgb(220, 220, 220);
  border: 0px solid black;
  border-radius: 10px;
  font-size: 12pt;
  height: 20px;
  font-family: "AUTHENTICSans-Condensed-90", sans-serif;
  line-height: 1.5;
  padding: 0px 10px;
}

details {
  margin-bottom: 0px;
  cursor: pointer;
  padding: 5px 5px 0 7px;
  border-radius: 50%;
}

details:empty::before {
  content: "•";
  color: gray;
  font-size: 20px;
  margin-right: 8px;
}
summary {
  border-bottom: 1px dotted black;
  /* background: white; */
}
.category {
  overflow-y: scroll;
  width: 250px;
  border-right: 1px dotted #222;
  height: calc(100vh - 30px);
}

#categoryContainer {
  display: flex;
  align-items: stretch;
  overflow-x: scroll;
  width: calc(100% + 250px * 31.5);
  background: white;
}

figure {
  padding: 0 30px 0px 30px;
  margin: 0 40px 0px 40px;
}
figure img {
  width: 100%;
}
figcaption {
  font-size: 10pt;
  background-color: white;
  padding: 3px;
}
/* @media (min-width: 1025px) and (max-width: 1700px) {
} */
@media (max-width: 1155px) {
  .colorList {
    margin-top: 52px;
  }
  .content {
    margin-top: 52px;
    position: fixed;
  }
  .category {
    height: 100vh;
    padding-bottom: 400px;
  }
  .colorList {
    height: calc(100vh - 52px);
  }
}
/* 구조변경 */
@media (max-width: 760px) {
  .colorList {
    margin-top: 44px;
    height: 41%;
    width: 100%;
    border-right: 0px solid;
  }

  .content {
    margin-top: calc(40vh + 48px);
    margin-left: 0px;
    border-top: 1px solid;
  }
  .titleContainer {
    font-size: 0.8rem;
    padding: 2px 4px;
  }
  h1 {
    font-size: 15px;
  }

  .colorList li {
    padding: 0px 0 0 2px;
    height: calc(40vh - 58px);
  }
  summary {
    font-size: 0.8rem;
  }

  .ko {
    font-size: 0.7rem;
  }
  h2 {
    font-size: 15px;
  }
  .category {
    width: 200px;
    background-color: white;
  }
  figure {
    padding: 0;
    margin: 0 30px;
  }
  figcaption {
    font-size: 0.7rem;
  }
}

@media (max-width: 499px) {
  .colorList {
    margin-top: 58px;
  }
  .content {
    margin-top: calc(40vh + 0px);
    padding-bottom: 800px;
  }
}
