body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.wrapper {
    text-align: center;
}

.button-container {
    display: flex;
    flex-direction: row; 
    gap: 15px; 
}

.button {
    background-color: white;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.button:hover {
    background-color: black;
    color: white;
    transform: scale(1.1);
}

.button__link {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.button:hover .button__link {
    color: white;
}


.mad:hover {
    animation: explode 0.5s forwards;
}

.mad:hover {
    animation: explode 0.5s forwards;
}

@keyframes explode {
    0% {
        transform: scale(1);
        opacity: 1;
        background-color: white;
        border-color: black; 
    }
    50% {
        transform: scale(8); 
        opacity: 0.7;
        background-color: red; 
        border-color: red; 
    }
    100% {
        transform: scale(12); 
        opacity: 0;
        background-color: red; 
        border-color: red; 
        visibility: hidden;
    }
}
.happy:hover {
    animation: bigBounceRotateScale 0.3s ease-in-out infinite alternate;
}

@keyframes bigBounceRotateScale {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        background-color: white;
        border-color: black;
    }
    100% {
        transform: translateY(-60px) rotate(360deg) scale(4); 
        background-color: rgb(255, 213, 0); 
        border-color: rgb(255, 213, 0); 
    }
}
/* SAD 按钮的放大 + 适中频率晃动 + 透明度降低 */
.sad:hover {
    animation: shakeFadeGrow 0.8s ease-in-out forwards;
}

/* SAD 按钮变大 + 适中频率晃动 + 渐渐透明 + 边框变蓝 */
@keyframes shakeFadeGrow {
    0% {
        transform: scale(1) translateX(0);
        background-color: lightblue;
        border-color: black;
        opacity: 1;
    }
    15% {
        transform: scale(5) translateX(-6px);
        border-color: lightblue;
    }
    30% {
        transform: scale(5) translateX(6px);
    }
    45% {
        transform: scale(5) translateX(-4px);
    }
    60% {
        transform: scale(5) translateX(4px);
    }
    75% {
        transform: scale(5) translateX(-2px);
        opacity: 0.6;
    }
    90% {
        transform: scale(5) translateX(2px);
        opacity: 0.3;
    }
    100% {
        transform: scale(5) translateX(0);
        opacity: 0;
        visibility: hidden;
    }
}

.excited:hover {
    animation: pulseFast 0.2s ease-in-out infinite alternate;
}
@keyframes pulseFast {
    0% {
        transform: scale(1);
        background-color: white;
        border-color: black;
    }
    100% {
        transform: scale(3); 
        background-color: rgb(244, 47, 129); 
        border-color: purple; 
    }
}

.calm:hover {
    animation: calmGlow 4s ease-in-out infinite alternate;
}

@keyframes calmGlow {
    0% {
        box-shadow: 0 0 5px rgba(173, 216, 230, 0.3);
        background-color: white;
        border-color: black;
		transform: scale(3);
    }
    100% {
        box-shadow: 0 0 20px rgba(173, 216, 230, 0.8); 
        background-color: rgb(120, 181, 254); 
        border-color: rgb(107, 181, 254);
		transform: scale(3);
    }
}
