@charset "UTF-8";


.diva-project-info{
    position: fixed;
    right:clamp(1.5rem,6vw,8rem);
    bottom:clamp(1.5rem,6vw,5rem);
    z-index:10020;

    display: flex;
    justify-content: center;
    align-items: start;
    flex-flow: column wrap;
}


.diva-project-info__modal{
    position: relative;
    width:clamp(5.5rem,7vw,7rem);
    aspect-ratio: 1;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;

    background-color: #000;
    color:#fff;

    display: flex;
    justify-content: center;
    align-items: center;

}


.diva-project-info__data{ 
    width:14rem;
    aspect-ratio: 1;
    border-radius: 30px;
    background-color: #000;
    color:#fff;


    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(1.5rem);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;


    position: absolute;
    bottom:calc(100% + 1rem);
    left:50%;
    transform:translateX(-50%);

    padding: 2rem 2rem;
    box-sizing: border-box;
 }


.diva-project-info.is-open .diva-project-info__data {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


.diva-project-info__modal {
  animation: projectFloat 2s ease-in-out infinite;
  transition: transform .3s ease;
}

.diva-project-info__modal:hover {
  transform: scale(1.08);
}

@keyframes projectFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.8rem;
  }
}



/*  닫기 버튼  */
.diva-project-info__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}




.diva-project-info__data > h3{
    margin-top:0.6rem;
    line-height: 1.4;
}


.diva-project-info__text{ 
    display: flex;
    align-items: start;
    flex-flow: column wrap;
    gap:1.6rem;

    margin-top:1rem;

 }

.diva-project-info__text > li{ 
  line-height: 1.4;

}


/* //////////////  모바일에서는 콘텐츠 몰입을 위해 프로젝트 소개 플로팅 버튼 비노출 //////////////// */
@media screen and ( max-width:768px ) {      
    .diva-project-info{
        display: none;
    }


}




















