body {
     margin: 0;
  height: 100vh;
  background: rgb(226, 226, 226);
    /* background-image: url("../images/winnie_illust.png");.. 더블닷이 나간다는 거임 폴더 얘기 ㅇㅇ */
    display: flex; /* flex를 넣으면 flex direction 넣어줘야함 */
  flex-direction: column; /* row와 column, 컬럼의 친구는 align-item */
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  padding-top: 2px;
  padding-left: 8vw;
  padding-right: 20vw;
  padding-bottom: 30vw;
}


.text_title {
    font-size: 15pt;
    font-weight: 400;

}

.text{
    font-size:12pt;
    line-height: 1.6; 
    text-indent: 1.5em;

}

.title{
 font-size: 12.5Pt;
 font-weight:300;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15pt;
    transform :rotate(-6deg);
    text-decoration-line: overline;
    text-decoration-style: dotted;
  cursor: pointer;   
}
.title a {
  color: inherit;          /* 파란색 제거 */
  text-decoration: none;   /* 밑줄 제거 */
  cursor: pointer;         /* 마우스 올리면 클릭감만 */
}

.back a{
    color: inherit;          /* 파란색 제거 */
  text-decoration: none;   /* 밑줄 제거 */
  cursor: pointer;      }
  
  
.layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: 100vh;
}

.list {
   font-size: 12.5pt;
    line-height: 1.7;
    transform: rotate(-5deg);
        text-decoration-line: overline;
    text-decoration-style: dotted;
    padding: 20px;
  border-right: 1px dotted #ddd;
}

.list a {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
  color: black;
}



.item {
    display: none;
  width: 560px;        /* 영상 기준 폭 */
  max-width: 90vw;     /* 모바일 대응 */
       /* 항상 가운데 */
}

.item:target {
  display: block;
}

.viewer {
  padding: 20px;
}

/* 유튜브 비율 유지 */
.video-wrap {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.viewer {
  position: relative;
}
/* 기본 상태: article 전부 숨김 */
.viewer .item {
  display: none;
}

/* placeholder는 기본으로 보이게 */
.viewer .placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  text-align: center;
}
.placeholder {
  margin-top: -40px;
}

/* article이 타겟되면 보여주기 */
.viewer .item:target {
  display: block;
}

/* article이 하나라도 선택되면 placeholder 숨김 */
.viewer:has(.item:target) .placeholder {
  display: none;
}
@media (max-width: 768px) {
  .layout {
    display: flex;
    flex-direction: column;
  }

  .list {
    width: 100%;
    margin-bottom: 20px;
  }

  .viewer {
    width: 100%;
  }
}

.placeholder:target ~ .item {
  display: none;
}