/*phone-icon*/
.social-icons {
    z-index: 999;
    opacity: 80%;
    position: fixed;
    right: 15px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
.social-icons a {
    display: block;
    width: 50px;
    height: 50px;
    background-size: cover;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.social-icons :hover {
    transform: scale(1.5);
}

.social-icons a:hover {
    animation: hoverEffect 0.3s ease-in-out forwards;
}

.social-icons a:active {
    animation: hoverEffect 0.3s ease-in-out forwards;
}

.social-icons a:focus {
    outline: none; 
}

@keyframes hoverEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.5); }
}

/* 定義回復動畫 */
@keyframes resetEffect {
    0% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* 離開 hover 時回復 */
.social-icons a:not(:hover) {
    animation: resetEffect 0.2s ease-in-out forwards;
}

.ig { 
    background-image: url('../pic/IG.png'); 
    border: 2px solid #3a506b;
    border-radius: 50%;
}

.phone_call {
    background-image: url('../pic/call-icon.png');
    border: 2px solid #3a506b;
    border-radius: 50%;
    background-color: #eaeaea;
}
.line { 
    background-image: url('../pic/LINE.png'); 
    border: 2px solid #3a506b;
    border-radius: 50%;
}