/* 스크롤 유도 버튼 */
.scroll-Btn-wrapper {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, -50%);
    z-index: 1000;
    animation: btnFadeIn 3s forwards;
}

.scroll-Btn-wrapper.fade-out {
    animation: fadeout 0.8s forwards;
}

.scroll-btn{
    height: 30px;
    -webkit-animation: sdb 1.4s infinite;
    animation: sdb 1.4s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb {
    0% {
      -webkit-transform:  translate(0, 0);
    }
    50% {
      -webkit-transform:  translate(0, 10px);
    }
    100% {
      -webkit-transform:  translate(0, 0);
    }
  }
  @keyframes sdb {
    0% {
      transform:  translate(0, 0);
    }
    50% {
      transform:  translate(0, 10px);
    }
    100% {
      transform:  translate(0, 0);
    }
  }

.contactBtn {
    visibility: hidden;
    position: fixed;
    right: 40px;
    bottom: 1px;
    transform: translateY(-50%);
    z-index: 1000;
    animation: btnFadeIn 3s forwards;   
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

}

.kakaoImg {
    width: 106px;
    height: 103px;
}

.contactContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 28px 36px;
    border-radius: 50%;
    background-color: rgba(155, 225, 93);;
}

/*  */
.floating-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 10px;
    border-right: 1px solid #333;
    border-image: linear-gradient(to bottom, transparent, #444, transparent) 1 100%;
    margin-right: 10px;
    animation: fadeIn 0.8s forwards;   
    mix-blend-mode: difference;
    z-index: 1000;
    visibility: hidden;
}

.floating-nav.displayNone {
    display: none;
}

.floating-nav.fade-out {
    animation: fadeout 0.8s forwards;
}

@keyframes fadeout {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes btnFadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    60% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-nav li {
    margin: 10px 0;
    text-align: right;
}

.floating-nav ul li a {
    text-decoration: none;
    padding: 5px 10px;
    font-size: 19px;
    transition: color 1s;
    font-weight: 500;
    opacity: 0.7;
    color: white;
}

.floating-nav a:hover {
    opacity: 1;
}

.floating-nav .active {
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .floating-nav {
        display: none;
        right: 10px;
        padding: 10px;
    }
    
    .floating-nav a {
        font-size: 12px;
    }

    .contactBtn {
        display: none;
        visibility: hidden;
    }
}

@media screen and (max-width: 650px) {
    .floating-nav {
        display: none;
    }

    .contactBtn {
        display: none;
        visibility: hidden;
    }
}