* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  cursor: none; 
}

body {
    background-color: #000;
    height: 200vh;
    margin: 0; 

}
.br542 {
  display: none;
}
.t-br {
  display: none;
}
.s-br {
  display: none;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 120px;

}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
}

.logo img {
  height: 70px;
}
/* .logo a {
  color: #fff;
  font-size: 20px;
  font-weight: bold;

} */
.menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.menu>li {
  list-style: none;


}
.menu a {
  color: #fff;
   font-size:18px;
}

/* 마우스 커서 효과 */
.trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen; /* 배경과 자연스럽게 섞이게 */
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: blur(2px);
  animation: sparkle 1s ease-in-out infinite alternate ;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

@keyframes sparkle {
  0% { opacity: 0.8; transform: scale(3) translate(-50%, -50%); }
  100% { opacity: 0.2; transform: scale(2) translate(-50%, -50%); }
}

/* --- 배너 --- */
.banner {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.6s ease, filter 0.6s ease;
  z-index: 1;
}

.banner-inner h2 {
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1px;
  margin: 0;
}

.scroll-text {
  font-size: 1rem;
  opacity: 0.7;
  margin-top: 2rem;
  color: #b9b9b9;
}

/* --- 콘텐츠 영역 --- */
.container2 {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.content {
  position: relative;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  z-index: 2;
}

.content.active {
  transform: translateY(0);
  opacity: 1;
}
.year {
  font-size: 25px;
}

.title2 {
  font-size: 20px;
}
.year2 {
  font-size: 15px;
   color: #ccc;
}

h3 {
  font-size: 40px;
  font-weight: 300;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-family: 'Libre Baskerville', Baskerville, 'Times New Roman', serif;
  margin-bottom: 35px;
}

/* 오버레이 */

.effect {
   position: relative;
}

.effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* 기본은 투명 */
  transition: background-color 0.3s ease;
  pointer-events: none; /* 링크 클릭 방해 X */
  z-index: 1;
}

/* 마우스 올렸을 때 어둡게 */
.effect:hover::after {
  background-color: rgba(0, 0, 0, 0.8); /* 원하는 어두움 정도로 조절 */
}

.item1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #141414;
  height: 480px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
}
.item2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #141414;
  height: 480px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
}
.item3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #141414;
  height: 480px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
}

.txt1 {
  width: 40%;
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  z-index: 1000;
}

.txt2 {
  width: 40%;
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  z-index: 1000;
}

.txt3 {
  width: 40%;
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  z-index: 1000;
}

/* AR필터존 */
.ar {
  margin-top: 150px;
}

.item4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #141414;
  height: 480px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
}

.txt4 {
  width: 40%;
  height: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  z-index: 1000;
}

/* 웹사이트존 */
.sp {   /*마진 따로 지정*/
  margin-bottom: 0px; 
}
.grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.website {
  margin-top: 150px;
}
.slide video {
  width: 100%;
}

.title {
  font-size: 22px;
  color: #fff;
}

.year {
  font-size: 20px;
  color: #ccc;
  margin-top: 4px;
}
.title3 {
  font-size: 22px;
  color: #fff;
}

.year3 {
  font-size: 20px;
  color: #ccc;
  margin-top: 4px;
}

.item5 {
  background-color: #141414;
  height: 475px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  z-index: 2000;
  position: relative;
}


.item6 {
  background-color: #141414;
  height: 475px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  z-index: 2000;
  position: relative;
}

.txt5 {
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  z-index: 2;
  position: relative;
}

.txt6 {
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 28px;
  color: #fff;
  z-index: 2;
  position: relative;
}

/* 아트워크존 */
.artwork {
  margin-top: 150px;
}

/* 마우스 오버 이벤트 */
.explain {
    position: relative;
    border-radius: 20px
}

.caption {
    display: flex;
    align-items: flex-end;
    padding: 20px;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    opacity: 0;
    transition: 1s;
    border-radius: 20px;
    font-weight: 400;
    font-size: 20px;
}

.explain>div:hover {
    opacity: 1;
}

.grid2 {
  display: grid;
  grid-template-columns:1fr 2fr;
  gap: 10px;
  margin-bottom: 10px;
  height: 100%;
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
  height: 100%;
}

.grid4 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
  height: 100%;
}
.grid5 {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 10px;
  height: 100%;
  margin-bottom: 150px;
}

.mockup1 {
  background-image: url(../img/아트워크\ 목업.jpg);
  background-size: cover;
  background-position: center;
  height: 480px;
}

.cd {
  background-image: url(../img/앨범\ 디자인\ 목업.png);
  background-size: cover;
  background-position: center;
  height: 480px;
}
.xmas1 {
  background-image: url(../img/중간고사\ 찐최종.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
}
.xmas2 {
  background-image: url(../img/이지연_크리스마스_t_04.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
}
.xmas3 {
  background-image: url(../img/중간고사\ 1.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
}
.xmas4 {
  background-image: url(../img/중간고사\ 1.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
}
.ddp1 {
  background-image: url(../img/DDP\ 엽서\ 목업.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
}
.ddp2 {
  background-image: url(../img/DDP\ 엽서\ 봉투\ 목업.jpg);
  background-size: cover;
  background-position: center;

}

.pattern {
  background-image: url(../img/3D\ 매화\ 단청.jpg);
  background-size: cover;
  background-position: center;
  height: 400px;
}
.poster {
  background-image: url(../img/국립중앙박물관포스터\ 목업.jpg);
  background-size: cover;
  background-position: center;
  height: 400px;
}
.typo {
  background-image: url(../img/디지털타이포그래피\ 실습\ 1.jpg);
  background-size: cover;
  background-position: center;
  height: 400px;
}

/* 페이드 인 페이드 아웃 슬라이드 */
.fade-slider {
  position: relative;
  width: 60%;
  height: 100%;
  overflow: hidden;
}

.fade-slider img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
}

.fade-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.fade-slider .slide.active {
  opacity: 1;
}

  h2 {
    position: relative;
    margin-top:17%;
    font-family: 'Libre Baskerville', Baskerville, 'Times New Roman', serif;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 5rem;
    line-height: 1.1;
    text-align: center;
  }
  

span {
  display: inline-block;
  line-height: 70px;
  cursor: pointer;
  transition: opacity 0.4s ease, text-shadow 0.4s ease;
}

/* 기본: 어둡게 깜빡임 */
span:not(.light) {
  opacity: 0.2;
  animation: flashText 3s ease-in-out infinite;
}
  
  span.light {
    position: relative;
    display: inline-block;
    
    &:before {
      position: absolute;
      left: 0;
      top: -10%;
      width: 100%;
      height: 120%;
      background: rgba(255, 255, 255, 0.9);
      filter: blur(30px);
      content: "";
      opacity: 0;
      animation: flash 2s ease-out alternate infinite;
    }
  }

/* hover 시: 기존 애니메이션 잠시 중단하고 밝게 */
.nolight1:hover,
.nolight2:hover,
.nolight3:hover,
.nolight4:hover {
  animation: none; /* 깜빡임 중단 */
  opacity: 1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
               0 0 30px rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease; /*  자연스럽게 페이드 인/아웃 */
  color:rgba(255, 255, 255, 0.8);
}

/* hover 빠져나올 때 부드럽게 돌아가도록 */
.nolight1,
.nolight2,
.nolight3,
.nolight4 {
  transition: all 0.5s ease;
}

/* 푸터 영역 */
h4 {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  border-bottom: 1px solid #fff;
  line-height: 40px;
}
footer a,
footer a:visited,
footer a:hover,
footer a:active {
  color: #fff;
  text-decoration: none;
}
footer p {
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
    line-height: 10px;
}
.empty {
  height: 30px;
}

/* 기본 깜빡임 */
@keyframes flashText {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.25; }
}

  @keyframes flash{
    to {
      opacity: 0.8;
    }
  }
@media(max-width:1440px){
  .container{
    padding: 0 25px;
  }
  .container2{
    padding: 0 20px;
  }
}
@media(max-width:1070px){
  .item1  {
    height: 450px;
  }
  .item2  {
    height: 450px;
  }
  .item3  {
    height: 450px;
  }
  .item4  {
    height: 400px;
  }
   .item5{
    height: 370px;
  } 
  .item6{
    height: 370px;
  } 
  .mockup1 {
    height: 400px;
  }
  .cd {
    height: 400px;
  }
  .xmas1 {
    height: 370px;
  }
  .xmas2 {
    height: 370px;
  }
  .xmas3 {
    height: 370px;
  }
  .ddp1 {
    height: 400px;
  }
  .ddp2 {
    height: 400px;
  }
  .pattern {
    height: 300px;
  }
  .poster {
    height: 300px;
  }
  .typo {
    height: 300px;
  }
  }

@media(max-width:1000px){
  .item5{
    height: 350px;
  } 
  .item6{
    height: 350px;
  } 
}
@media(max-width:850px){
  .item1{
    height: 350px;
  } 
  .item2{
    height: 350px;
  } 
  .item3{
    height: 350px;
  } 
  .item4{
    height: 350px;
  } 
  .item5{
    height: 350px;
  } 
  .title {
  font-size: 1.2rem;
  line-height: 0.8rem;
}
.year {
  font-size: 1.1rem;
}
.title3 {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-top: 5px;
}
.year3 {
  font-size: 1.1rem;
  margin-top: -5px;
}
.logo img {
  height: 60px;
}
}
@media(max-width:840px){
  .item5 {
    height: 300px;
  }
  .item6 {
    height: 300px;
  }
}
@media(max-width:768px){
  .container {
    padding: 0 25px;
  }
  .menu a{
    font-size: 1rem;
  }
  .banner-inner h2 {
    font-size: 3.8rem;
  }
  .container2 {
    padding: 0 25px;
  }
h3 {
  font-size: 1.5rem;
}
.item1 {
  margin-top: -10px;
  height: 220px;
}
.item2 {
  margin-top: 10px;
  height: 220px;
}
.item3 {
  margin-top: 10px;
  height: 220px;
}
.website{
  margin-top: 50px;
}
.item5 {
  height: 250px;
  margin-top: 15px;
}
.item6 {
  height: 250px;
  margin-top: 15px;
}
.title {
  font-size: 1.1rem;
  line-height: 0.3rem;
}
.year {
  font-size: 1rem;
}
.title2 {
  font-size: 1rem;
  line-height: 1rem;
  margin-top: 5px;
}
.year2 {
  font-size: 0.9rem;
}
.ar {
  margin-top: 50px;
}
.item4 {
  margin-top: -25px;
  height: 200px;
}
.title3 {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 5px;
}
.year3 {
  font-size: 0.9rem;
  margin-top: -5px;
}
.artwork {
  margin-top: 45px;
}

.grid2 {
  margin-top: -25px;
  height: 100%;
  gap: 5px;
}
.mockup1 {
  height: 300px;
}
.cd {
  height: 300px;
}
.grid3 {
  height: 100%;
  gap: 5px;
}
.xmas1 {
  height: 240px;
}
.xmas2 {
  height: 240px;
}
.xmas3 {
  height: 240px;
}
.grid4 {
  height: 100%;
  gap: 5px;
}
.ddp1 {
  height: 250px;
}
.ddp2 {
  height: 250px;
}
.grid5 {
  height: 100%;
  gap: 5px;
  margin-bottom: 80px;
}
.pattern {
  height: 190px;
}
.caption {
  font-size: 1rem;
}
.pattern {
  height: 200px;
}
.poster {
  height: 200px;
}
.typo {
  height: 200px;
}
footer {
  margin: 0;
  padding: 0;
 
}
h4 {
  font-size: 0.8rem;
}
footer p {
  font-size: 0.7rem;
  line-height: 0.2rem;
}
.empty {
  height: 30px;
}
.t-br {
  display: inline;
}
.s-br {
  display: none;
}
}

@media(max-width:542px){
  .container {
    padding: 0 25px;
  }
  .logo img {
    height: 55px;
  }
  .menu a{
    font-size: 0.9rem;
  }
  .banner-inner h2 {
    font-size: 2.8rem;
  }
  .banner-inner h2 span {
    line-height: 24px;
  }
  .scroll-text{
    font-size: 0.9rem;
    margin-top: 40px;
  }
  .container2 {
    padding: 0 25px;
  }
h3 {
  font-size: 1.2rem;
}
.item1 {
  margin-top: -20px;
  height: 200px;
}
.item2 {
  margin-top: 10px;
  height: 200px;
}
.item3 {
  margin-top: 10px;
  height: 200px;
}
.website{
  margin-top: 50px;
}
.item5 {
  height: 180px;
  margin-top: 10px;
}
.item6 {
  height: 180px;
  margin-top: 10px;
}
.title {
  font-size: 0.9rem;
  line-height: 1px;
}
.year {
  font-size: 0.8rem;
}
.title2 {
  font-size: 0.9rem;
  line-height: 20px;
  margin-top: 5px;
}
.year2 {
  font-size: 0.8rem;
}
.ar {
  margin-top: 50px;
}
.item4 {
  margin-top: -25px;
  height: 200px;
}
.title3 {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5rem;
  margin-top: 5px;
}
.year3 {
  font-size: 0.8rem;
  margin-top: -10px;
}
.artwork {
  margin-top: 45px;
}

.grid2 {
  margin-top: -30px;
  height: 100%;
  gap: 5px;
}
.mockup1 {
  height: 200px;
}
.cd {
  height: 200px;
}
.grid3 {
  height: 100%;
  gap: 5px;
  border-radius: 0px;
}
.explain {
  border-radius: 5px;
}
.xmas1 {
  height: 150px;
}
.xmas2 {
  height: 150px;
}
.xmas3 {
  height: 150px;
}
.grid4 {
  height: 100%;
  gap: 5px;
}
.ddp1 {
  height: 200px;
}
.ddp2 {
  height: 200px;
}
.grid5 {
  height: 100%;
  gap: 5px;
  margin-bottom: 50px;
}
.pattern {
  height: 150px;
}
.poster {
  height: 150px;
}
.typo {
  height: 150px;
}
.caption {
  font-size: 0.7rem;
  border-radius: 5px;
  padding: 10px;
}
footer {
  margin: 0;
  padding: 0;
 
}
h4 {
  font-size: 0.8rem;
}
footer p {
  font-size: 0.7rem;
  line-height: 15px;
}
.copy {
  margin-top: 2px;
}
.empty {
  height: 30px;
}
.t-br {
  display:none;
}
.s-br {
  display: none;
}
.br542 {
  display: inline;
}
}
@media(max-width:480px){
  .menu {
    gap: 30px;
  }
}
@media(max-width:375px){
  .br375 {
    display: inline;
  }
  .container {
    padding: 0 20px;
  }
  .logo img{
   height: 45px;
  }
  .menu {
    gap: 30px;
  }
  .menu a{
    font-size: 0.7rem;
  }
  .banner-inner h2 {
    font-size: 2.5rem;
  }
  .banner-inner h2 span {
    line-height: 20px;
  }
  .scroll-text{
    font-size: 0.8rem;
    margin-top: 60px;
  }
  .container2 {
    padding: 0 20px;
  }
h3 {
  font-size: 1.1rem;
}
.item1 {
  margin-top: -30px;
  height: 150px;
}
.item2 {
  margin-top: 10px;
  height: 150px;
}
.item3 {
  margin-top: 10px;
  height: 150px;
}
.website{
  margin-top: 40px;
}
.item5 {
  height: 140px;
  margin-top: 10px;
}
.item6 {
  height: 140px;
  margin-top: 10px;
}
.title {
  font-size: 0.7rem;
  line-height: 0.1rem;
  margin-top: 20px;
}
.year {
  font-size: 0.6rem;
}
.title2 {
  font-size: 0.7rem;
  line-height: 15px;
  margin-top: 5px;
}
.year2 {
  font-size: 0.6rem;
}
.ar {
  margin-top: 40px;
}
.item4 {
  margin-top: -25px;
  height: 140px;
}
.title3 {
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.1rem;
  margin-top: 5px;
}
.year3 {
  font-size: 0.6rem;
  margin-top: -5px;
}
.artwork {
  margin-top: 40px;
}

.grid2 {
  margin-top: -30px;
  height: 100%;
  gap: 3px;
}
.mockup1 {
  height: 140px;
}
.cd {
  height: 140px;
}
.grid3 {
  height: 100%;
  gap: 3px;
  border-radius: 0px;
  margin-top: -5px;
}
.explain {
  border-radius: 5px;
}
.xmas1 {
  height: 110px;
}
.xmas2 {
  height: 110px;
}
.xmas3 {
  height: 110px;
}
.grid4 {
  height: 100%;
  gap: 3px;
  margin-top: -5px;
}
.ddp1 {
  height: 110px;
}
.ddp2 {
  height: 110px;
}
.grid5 {
  height: 100%;
  gap: 3px;
  margin-bottom: 40px;
}
.pattern {
  height: 90px;
}
.poster {
  height: 90px;
}
.typo {
  height: 90px;
}
.caption {
  font-size: 0.5rem;
  border-radius: 5px;
  padding: 5px;
}
footer {
  margin: 0;
  padding: 0;
 
}
h4 {
  font-size: 0.5rem;
  line-height: 18px;
}
footer p {
  font-size: 0.4rem;
  line-height: 10px;
  margin-top: 5px;
}
.copy {
  margin-top: 0px;
}
.empty {
  height: 20px;
}
.t-br {
  display:none;
}
.s-br {
  display: none;
}
.br542 {
  display: inline;
}
}

