* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: black;
  color: white;
}

::-moz-selection {
  background: black;
  color: white;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 2px;
  background-color: white;
  font-family: "helvetica", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}


.container {
  display: grid;
  position: relative;

  grid-template-columns: 100px auto;
}

p {
  margin: 0;
  padding: 0;
}

.title {
  display: inline-block;
  width: max-content;
}

/*n년도 메뉴*/
.menu {
  cursor: pointer;
  grid-column: 1/2;
  display: inline-block;
  width: max-content;
  height: max-content;
}

.menu1 :hover, .menu2 :hover, .menu3 :hover, .menu4 :hover {
  text-decoration: underline;
}

.menu1 {
  grid-row: 2/3;
}
.menu2 {
  grid-row: 3/4;
}
.menu3 {
  grid-row: 4/5;
}
.menu4 {
  grid-row: 5/6;
}

/*세부작업 내용*/
.list2025 {
  grid-row: 2/3;
}
.list2024 {
  grid-row: 3/4;
}
.list2023 {
  grid-row: 4/5;
}
.list2002 {
  grid-row: 5/6;
}


.list2024, .list2025, .list2023, .list2002{
  margin: 0;
  padding: 0;
  display: none;
  grid-column: 2/3;
}
/* div에 list 높이 맞추기 */
.list2025 > div,
.list2024 > div,
.list2023 > div,
.list2002 > div {
  display: flex;
  align-items: center;
}


a {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: underline;
}

/*세부작업 이미지,텍스트 호버 관련*/
#introducetext {
  display: none;
  position: absolute;
  top: 23px;
  left: 229px;
}

#namecardtext {
  display: none;
  position: absolute;
  top: 46px;
  left: 670px;
}

#milkteaimage {
  display: none;
  position: absolute;
  top: 260px;
  left: 350px;
  width: 270px;
}

#kikyoahkitext {
  display: none;
  position: absolute;
  top: 90px;
  left: 177px;
}

#sauspawseoulimage {
  display: none;
  position: absolute;
  top: 80px;
  left: 470px;
  width: 250px;
}

#newyearimage {
  display: none;
  position: absolute;
  top: 150px;
  left: 600px;
  width: 460px;
}
#thelastbiteimage {
  display: none;
  position: absolute;
  top: 350px;
  left: 850px;
  width: 270px;
}
#musicistext {
  font-family: "Noto sans Kr", sans-serif !important;
  word-spacing: 0;
  letter-spacing: -0.3px;
  display: none;
  position: absolute;
  top: 330px;
  left: 350px;
  width: 400px;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  word-break: break-all;
  line-height: 1.4;
}
#whatilikeimage {
  display: none;
  position: absolute;
  top: 190px;
  left: 570px;
  width: 190px;
}
#hideoutimage {
  display: none;
  position: absolute;
  top: 100px;
  left: 370px;
  width: 600px;
}
#typo1image {
  display: none;
  position: absolute;
  top: 210px;
  left: 350px;
  width: 300px;
  border: 0;
}
#birthtext {
  display: none;
  position: relative;
  top: 0px;
  left: 450px;
}

#musicis:hover + #musicistext,
#birth:hover + #birthtext,
#typo1:hover + #typo1image,
#hideout:hover + #hideoutimage,
#whatilike:hover + #whatilikeimage,
#thelastbite:hover + #thelastbiteimage, 
#newyearcard:hover + #newyearimage,
#sauspawseoul:hover + #sauspawseoulimage,
#kikyoahki:hover + #kikyoahkitext,
#milktea:hover + #milkteaimage,
#namecard:hover + #namecardtext,
#introduce:hover + #introducetext {
  display: block;
}

/*사라지는 꿈 팝업*/
.hidden {
  display: none !important;
}

#hideoutpopup, #typo1popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#hideoutpopupimage, #typo1popupimage {
  height: 70%;
}


button {
  all: unset;
  cursor: pointer;
  position: absolute;
  color: white;
  font-size: 25px;
}
#hideoutclose, #typo1close {
  top: 10px;
  left: 10px;
}

#hideoutprev {
  left: 10px;
}

#hideoutnext {
  right: 10px;
}


@media (max-width: 767px) {
  html,
  body {
    word-spacing: -0.07rem;
    font-size: 16px;
  }

  .container {
    grid-template-columns: 85px auto;
  }

  #musicis:hover + #musicistext,
  #birth:hover + #birthtext,
  #typo1:hover + #typo1image,
  #hideout:hover + #hideoutimage,
  #whatilike:hover + #whatilikeimage,
  #thelastbite:hover + #thelastbiteimage, 
  #newyearcard:hover + #newyearimage,
  #sauspawseoul:hover + #sauspawseoulimage,
  #milktea:hover + #milkteaimage,
  #namecard:hover + #namecardtext,
  #introduce:hover + #introducetext  {
    display: none;
  }

  #musicistext,
  #birthtext,
  #typo1image,
  #hideoutimage,
  #whatilikeimage,
  #thelastbiteimage, 
  #newyearimage,
  #sauspawseoulimage,
  #milkteaimage,
  #namecardtext,
  #introducetext {
    position: static;
  }

  /* 이미지, 텍스트 모바일상 너비, 위치조정 */
  #thelastbiteimage, 
  #newyearimage {
    padding: 30px 0;
    width: 80%;
  }
  #sauspawseoulimage {
    width: 70%;
  }
  #whatilikeimage {
    width: 45%;
    padding: 30px 0;
  }
  #milkteaimage {
    padding: 15px 0;
    width: 70%;
  }
  #musicistext {
    padding: 3px 0;
    width: 96%;
  }
  #kikyoahkitext {
    left: 155px;
    top: 89.5px;
  }

  #typo1image,
  #hideoutimage {
    display: none !important;
  }


  #hideoutpopupimage,
  #typo1popupimage {
    width: 80%;
    height: auto;
  }

  .list2025 > div,
  .list2024 > div,
  .list2023 > div,
  .list2002 > div {
    display: block; /* flex → block으로 변경 */
  }

  a:hover {
    text-decoration: none;
  }
}





.link-text {
  display: none;
  width: max-content;
}

footer {
  position: absolute;
  bottom: 3px;
  right: 2px;
  font-size: 16px;
}