* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}


html, body { 
  height: 100%;
  font-family: 'Space Mono', 'Apple SD Gothic Neo', 'Noto Sans KR', Arial, 'BallPill', sans-serif;
   hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

div { position: relative }
body > div {
  height: 100%;
  display: inline-block;
  vertical-align: top;
}
*,
*:before,
*:after {box-sizing: border-box;}
.line {
  float: left;
  width: 100%;
}

.wrapper {
  margin: auto;
  width: 60em;/*960px*/
  min-height: 80%;
}

.menubar {
  position: fixed;
  height: 100%;
  width: 17%;
  z-index: 1;
  top: 0;
  left: 0;
  bottom:0;
}

.menubar .intro {
  position: relative;
  padding: 4%;
  padding-top: 2.5%;
  padding-right: 3%;
  font-family: arial; 
  font-size: 0.9em;
  line-height: 17px;
  border-bottom: 1px solid black;
  hyphens: auto;
}

.menubar .intro a {
  font-style: italic;
  color: black;
}

.menubar .intro c {
  font-weight: normal;
  font-style: none;
}

.menubar .menubar-item {
  position: relative;
  padding: 0;
  margin: 2%;
}

.menubar .CV {
  position: absolute;
  bottom: 0;
  left: 4%;
  padding: 4%;
  font-family: Noto Sans KR; 
  font-style: normal;
  font-size: 0.65em;
  line-height: 14px;
  text-align: center;
  color: grey;
}

.menubar .CV p {
  font-family: Noto Sans KR;
  padding-bottom: 1px;
  font-size: 1em;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
}

.menubar .CV a {
  font-style: italic;
}


.menubar .CV .colophone{
  column-count: 1;
  padding-top: 2%;
  font-size: 1em;
}

.pill {
  position:inherit;
  border: 1px solid #000;
  color: black;
  padding: 2px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 2px;
  margin-bottom: 1px;
  border-radius: 18px;
  font-family: 'Space Mono';
  font-size: 0.75em;
  cursor: pointer;
}

.pill.selected {
  background: black;
  color: white;
  border-color: black;
}

.pill_menu {
  position: relative;
  border: 1px solid black;
  color: black;
  padding: 2px 8px;
  margin:2px;
  margin-bottom: 1px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 18px;
  font-family: 'Space Mono';
  font-size: 0.9em;
  cursor: pointer;
}

.pill_menu.selected {
  color: #fff;
  background: #000;
}

.grid-wrapper {
  padding-left: calc(17% + 1px);
}

.grid-container {
  position: relative;
  display: block;
  height: auto;
  hyphens: auto;
  display: block;
  column-count: 3;
  column-gap: 0;
  border-left: 1px solid black;
  min-height: 100vh;
  max-width: 100%;
  box-sizing: border-box;
}

.grid-item {
  position: relative;
  display: inherit;
  object-fit: fill;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-top: 0px solid transparent;
  margin-left: -1px;
  margin-bottom: -1px;
  padding: 13px;
  break-inside: avoid;
}

.grid-item .summary {
  font-family:'arial';
  margin-top:0.5em;
  margin-bottom: 1.5em;
  display: table;
  text-align: left;
  opacity: 0;
}

.grid-item .summary .title {
  font-family: inherit; 
  font-weight: bold;
  font-size: 1em;
  line-height: 1.4;
  margin-bottom: 0.2em;
}

.grid-item .summary .title a {
  font-style: italic;
  text-decoration: none;
  color: black;
}

.grid-item .summary .space {

  font-family: inherit; 
  font-weight: normal;
  font-size: 0.8em;
  margin-bottom: 0.2em;
}

.grid-item .summary .info {
  font-family: inherit; 
  font-weight: normal;
  font-style: italic;
  font-size: 0.8em;
  margin-bottom: 0.2em;
}

.grid-item .summary .info a {
  color: black;
}

.grid-item .summary .colla {
  font-family: inherit; 
  font-weight: normal;
  font-size: 0.8em;
  margin-bottom: 0.2em;
}

.grid-item .summary .colla ex {
  font-style: italic;
}

.grid-item .summary .colla a {
  font-style: italic;
  text-decoration: underline;
  color: black;
}

.grid-item:hover .summary {
  opacity: 1;
}

.grid-item .summary > div {
  padding-left: 4px;
  display: table-cell;
}

.grid-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.grid-item video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.grid-item .description {
	position: fixed;
	top: 50%; left: 50%;
	min-width: 450px;
	max-width: 90vw;
  width: 110vh;
	height: auto;
	transform: translate(-50%, -50%);
	background: white;
	border: 1px solid #000;
	display: none;
	z-index: +1;
  border-radius: 5px;
}

.grid-item .description.opened {
	display: inline-block;
}

.grid-item > .description .close-btn {
	position: absolute;
	bottom: 0; 
  right: 1.5%;
	display: inline-block;
	cursor: pointer;
	z-index: +1;
  font-family: BallPill;
  font-size: 3.5em;
  font-weight: lighter;
  color: black;
}

.grid-item > .description .close-btn:hover{
  color: grey;
}


.slider-outer {
  overflow: hidden;
  position: relative;
  float: left;
  width: 70%;
  height: auto;
  margin: 10px;
}

.slider-inner {
	width: 800%;
  height: auto;
	transition: transform 0.5s;
  display: flex;
  justify-content: flex-start;
}

.slide {
  display: inline-block;
  position: relative;
  width: 30%;
  height: auto;
}

.slide p {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0%);
  font-family:'Space Mono';
  color: white;
  font-size: 0.9em;
  padding: 8px 12px;
  top: 0;
  text-shadow:0 0 1px black
}

.slide img {
	vertical-align: middle;
}

.slide .yt { 
  width: 100%;
  aspect-ratio: 16 / 9;   /* 높이는 비율로 자동 */
}
.slide .yt iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}


#slider-text {
position: relative;
display: inline;
}

.box {
  position: absolute;
  display:inline-block;
  padding-top: 1em;
  padding-right: 1.5%;
  font-family: arial;
  font-weight: bold;
  color: black;
}

.box .title {
  font-family:'arial';
  font-weight: bold;
  font-size: 0.85em;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

.box .title a{
  text-decoration: none;
  color: black;
  font-family:'arial';
  font-weight: bold;
  font-size: 0.8em;
}

.box .info {
  font-family:'arial';
  font-size: 0.75em;
  font-weight: bold;
  font-style: italic;
}

.box .colla {
  font-family:'arial';
  font-size: 0.75em;
  font-weight: normal;
}

.box .colla a {
  color: black;
  font-family:'arial';
  font-style: italic;
}

.box .colla ex {
  font-style: italic;
}

.contents {
  margin: 1%;
  position: relative;
  display: table;
  padding-top: 5em;
  font-family:'arial';
  font-size: 0.75em;
  line-height: 1.5;
  hyphens: auto;
  word-break: keep-all;
  list-style-position: outside;
}

.contents .circleOrange {
  border: 1px solid black;
  border-radius: 1em;
  height: 1.1em;
  width: 1.1em;
  display: inline-block;
  font-family: 'arial';
  font-size: 1.1em;
  text-align: center;
  list-style-position: outside;
}

.contents q {
  text-align: center;
  font-family:'Space Mono';
  font-size: 0.8em;
  line-height: 50%;
}

.contents i {
  font-style: italic;
  hyphens: auto;
}

.contents a {
  font-style: italic;
  color: black;
  text-decoration:underline;
}

.box p a{
  font-style: italic;
  color: black;
}

.box t {
  margin-top: 1.5em;
  font-family:'arial';
  font-size: 1em;
  font-weight: normal;
  font-style: italic;
}

.box t1 {
  margin-top: 1.5em;
  font-family:'arial';
  font-size: 1em;
  font-weight: bold;
  font-style: italic;
}

.slider-prev-button{
	position: absolute;
	top: 50%;
	left: 3%;
  font-family: BallPill;
  font-weight: lighter;
  font-size: 3em;
  color: grey;
  background: none;
	cursor: pointer;
}

.slider-prev-button:hover{
  color: white;
}

.slider-next-button {
	position: absolute;
	top: 50%;
  right: 9px; 
  font-family: BallPill;
  font-weight: lighter;
  font-size: 3em;
  color: grey;
  background: none;
  cursor: pointer;
}

.slider-next-button:hover{
  color: white;
}

.img-container {
  position: relative;
  display: inline-block;
}

.img-container:after {
  cursor: pointer;
  content: attr(data-content);
}

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

  .menubar {
    position: fixed;
    background: white;
    display:block;
    font-family: Arial;
    height: 120px;
    max-height: 120px;
    width: 100%;
    border-bottom: black solid 1px;
  }

  .menubar .intro {
    position: relative;
    width: 62%;
    height: 120px;
    max-height: 120px;
    padding-top: 2.5%;
    padding-left: 2%;
    font-size: 7.5px;
    line-height: 1.45;
    color: rgb(0, 0, 0, 50);
    border-bottom: none;
  }

  .menubar .CV {
    position: absolute;
    top: 0%;
    left: 65%;
    height: 120px;
    padding: 2.5%;
    font-family: 'Space Mono';
    font-size: 6.2px;
    line-height: 1.45;
    overflow: hidden;
    text-align: left;

  }

  .menubar .CV p {
    font-size: 6.2px;
  }

  .menubar .CV p {
    font-size: 6.5px;
  }


  .menubar .menubar-item {
    visibility: hidden;
    position: fixed;
    display: block;
    top: 13%;
    margin: 1%;
    margin-left:2%;
}

  .pill {
    position: inherit;
    border: 1px solid #000;
    color: black;
    padding: 1px 4px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px -2px 2px;
    margin-top: 0.2px;
    border-radius: 18px;
    font-family: 'Space Mono';
    font-size: 0.4em;
    cursor: pointer;
    background: white; /* 배경 흰색으로 초기화 */
  }

 .pill.selected {
  background: black;
  color: white;
  border-color: black;
}

  .grid-container {
    column-count: 2;
  }

  .grid-wrapper {
    border-top-color: white;
    position: relative;
    padding: 0;
    padding-left: 0;   
    top:119px;
    height: auto;
  }

  .grid-item {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.8);
    margin-left: -1px;
    padding: 3%;
    padding-top: 2.5%;
    break-inside: avoid;
  }

  .grid-item img {
    width: 100%;
    height: auto;
  }

  .grid-item video {
    width: 100%;
    height: auto;
  }

  .grid-item .summary {
    margin-bottom: 1em;
    display: table;
    text-align: left;
    opacity: 100;
  }

  .grid-item .summary .title {
    font-family: arial;
    text-transform: uppercase;
    font-size: 8.5px;
    font-weight: semi-bold;
    line-height: 1.3;
    margin-top: 1;
    margin-left: 0;
  }

 .grid-item .summary .space {
   font-family: arial;
    font-size: 8.5px;
    margin-left: 0;
  }

  .grid-item .summary .info {
     font-family: arial;
     font-size: 8.5px;
     margin-left: 0;
  }

  .grid-item .summary .colla {
     font-family: arial;
    font-size: 8px;
    margin-left: 0;
  }

  .grid-item .description {
    font-family: arial;
    hyphens: auto;
  	position: fixed;
  	top: 50%; left: 50%;
  	min-width: 300px;
  	max-width: 300px;
    width: 100vh;
  	height: auto;
  	transform: translate(-50%, -50%);
  	background: white;
  	border: 1px solid #000;
  	display: none;
  	z-index: +1;
    border-radius: 5px;
  }

  .grid-item > .description .close-btn {
    position: relative;
    left: 46%;
    font-size: 1.5em;
    font-weight: lighter;
    color: black;
  }

  .slide p {
    font-size: 11px;
  }

  .box {
    position: relative;
    display:inline-block;
    padding-top: 0.5em;
    padding-left: 2%;
    padding-right: 0.5em;
    font-family: helvetica;
    font-weight: bold;
    color: black;
    font-size: 0.5em;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  .box .title {
    font-family:'helvetica';
    font-weight: bold;
    font-size: 0.7em;
    margin-bottom: 0.2em;

  }

  .box .in {
    font-family:'helvetica';
    font-style: italic;
    font-weight: normal;
    font-size: 0.5em;
  }

  .box .colla {
    font-family:'helvetica';
    font-weight: normal;
    font-size: 0.5em;
  }

  .box .colla ex {
    font-style: italic;
  }

  .box p {
    margin-top: 2em;
    font-family:'helvetica';
    font-size: 0.6em;
    font-weight: normal;
    font-style: normal;
    visibility: hidden;
  }

  .box p a{
    text-decoration: underline;
    color: black;
    visibility: hidden;
  }

  .box t {
    margin-top: 1.5em;
    font-family:'helvetica';
    font-size: 0.9em;
    font-weight: normal;
    font-style: italic;
    visibility: hidden;
  }

  .box t1 {
    margin-top: 1.5em;
    font-family:'helvetica';
    font-size: 1em;
    font-weight: bold;
    font-style: italic;
  }

  .contents {
    padding: 0;
    margin: 2%;
    margin-bottom: 0;
    display: block;
    padding-bottom: 2%;
    font-family:'arial';
    font-size: 0.5em;
    hyphens: auto;
    list-style-position: outside;
  }

  .contents .circleOrange {
    border: 1px solid black;
    border-radius: 1em;
    height: 1.1em;
    width: 1.1em;
    display: inline-block;
    font-family: 'arial';
    font-size: 1.1em;
    text-align: center;
    list-style-position: outside;
  }

  .contents q {
    text-align: center;
    font-family: Roboto Mono;
    font-size: 1.05em;
    line-height: 50%;
  }

  .contents i {
    font-style: italic;
    hyphens: auto;
  }

  .contents a {
    font-style: italic;
    color: black;
    text-decoration:underline;
  }

  .slider-outer {
    overflow: hidden;
    position: relative;
    float: left;
    width: auto;
    height: auto;
    margin: 2%;
  }

  .slider-inner {
    width: 800%;
    height: auto;
    transition: transform 0.5s;
    display: flex;
    justify-content: flex-start;
  }

  .slide img {
    vertical-align: middle;
  }

  #slider-text {
    position: relative;
    display: inline;
  }

  .slider-prev-button{
    font-size: 1.5em;
  }

  .slider-next-button {
    font-size: 1.5em;
  }


.menubar .intro,
.menubar .CV,
.menubar .CV p,
.grid-item .summary,
.box,
.box .title,
.box .info,
.box .colla,
.contents,
.contents .circleOrange {
   font-family: inherit !important;
}


}
