.container {
    width: 900px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-around;
}

button {
    font-family: Impact;
    position: relative;
    width: 250px;
    height: 80px;
    border-radius: 10px;
    background: none;
    border: none;
    outline: none;
    font-size: 40px;
    color: white;
}
/* 실제 버튼의 텍스트를 왜곡하지 않고 svg 필터 배경만 왜곡하기 위해서 before을 사용.
실제 버튼 뒤에 배경을 만든다 */
button:before {
    /* content는 before와 after의 필수 속성이다. */
    content: '';
    background: black;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}
/* 버튼 위에 마우스오버하면 애니메이션이 동작되도록 한다 */
button:hover {
    /* animation name, duration time */
    animation: squish 0.5s;
}
button:hover:before {
    background: linear-gradient(to right, red, green, blue);
    filter: url('#wave');
}
@keyframes squish {
    0% {
        transform: scaleY(1);
    }
    60% {
        transform: scaleY(1.2);
    }
    80% {
        transform: scaleY(0.9);
    }
    100% {
        transform: scaleY(1);
    }
}
