body,
html {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.logo {
    width: 25%;
    max-width: 250px;
    height: auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.logo:hover {
    transform: translateX(200px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    /* 增加陰影 */
    opacity: 0;
}

.button-box {
    width: 20vh;
    height: 18vh;
    background-color: #b7dcf0;
    border-radius: 110px 110px 16px 16px;
    box-shadow: inset 0 0 5px #83add5, 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    flex: 1 1 140px;
    max-width: 200px;
}

.button-box:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.6), 0 12px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
}

.icon {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.button-box:hover .icon {
    transform: scale(1.2) rotate(5deg);
    opacity: 0;
}

.text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2379bb;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease;
}

.button-box:hover .text {
    opacity: 1;
}

.bg-primary {
    background: linear-gradient(to right, #2c78b7, #397cb3);
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .button-box {
        width: 35vw;
        height: 35vw;
        max-width: none;
        border-radius: 50% 50% 16px 16px;
    }

    .icon {
        opacity: 0;
    }

    .text {
        font-size: 1.2rem;
        opacity: 1;
    }

    .bg-primary {
        padding-left: 20px;
        padding-right: 20px;
    }

}