.button {
    width: 100%;
    padding: 10px;
    font-weight: bold;
    display: flex;
    position: relative;
    overflow: hidden;
    align-items: center;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.svg {
    height: 25px;
    margin-right: 10px;
}

.button .text {
    z-index: 10;
    font-size: 14px;
}

.button:hover .text {
    animation: text forwards 0.3s;
    /*color: white;*/
}

@keyframes text {
    from {
        color: black;
    }

    to {
        color: white;
    }
}

.svg {
    z-index: 6;
}

.button:hover::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 9%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    opacity: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    animation: wave1 2.5s ease-in-out forwards;
}

.button:hover::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 9%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    opacity: 0;
    border-radius: 300px;
    animation: wave2 2.5s ease-in-out forwards;
}

@keyframes wave1 {
    0% {
        z-index: 1;
        background: #EB4335;
        width: 0;
        height: 0;
        opacity: 1;
    }

    1% {
        z-index: 1;
        background: #EB4335;
        width: 0;
        height: 0;
        opacity: 1;
    }

    25% {
        z-index: 1;
        background: #EB4335;
        width: 800px;
        height: 800px;
        opacity: 1;
    }

    26% {
        z-index: 3;
        background: #34A853;
        width: 0;
        height: 0;
        opacity: 1;
    }

    50% {
        z-index: 3;
        background: #34A853;
        width: 800px;
        height: 800px;
        opacity: 1;
    }

    70% {
        z-index: 3;
        background: #34A853;
        width: 800px;
        height: 800px;
        opacity: 1;
    }

    100% {
        z-index: 3;
        background: #34A853;
        width: 800px;
        height: 800px;
        opacity: 1;
    }
}

@keyframes wave2 {
    0% {
        z-index: 2;
        background: #FBBC05;
        width: 0;
        height: 0;
        opacity: 1;
    }

    11% {
        z-index: 2;
        background: #FBBC05;
        width: 0;
        height: 0;
        opacity: 1;
    }

    35% {
        z-index: 2;
        background: #FBBC05;
        width: 800px;
        height: 800px;
        opacity: 1;
    }

    39% {
        z-index: 2;
        background: #FBBC05;
        width: 800px;
        height: 800px;
        opacity: 1;
    }

    40% {
        z-index: 4;
        background: #4285F4;
        width: 0;
        height: 0;
        opacity: 1;
    }

    64% {
        z-index: 4;
        background: #4285F4;
        width: 800px;
        height: 800px;
        opacity: 1;
    }

    100% {
        z-index: 4;
        background: #4285F4;
        width: 800px;
        height: 800px;
        opacity: 1;
    }
}

.button:hover .red {
    animation: disappear 0.1s forwards;
    animation-delay: 0.1s;
}

.button:hover .yellow {
    animation: disappear 0.1s forwards;
    animation-delay: 0.3s;
}

.button:hover .green {
    animation: disappear 0.1s forwards;
    animation-delay: 0.7s;
}

.button:hover .blue {
    animation: disappear 0.1s forwards;
    animation-delay: 1.1s;
}

@keyframes disappear {
    from {
        filter: brightness(1);
    }

    to {
        filter: brightness(100);
    }
}

.card {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    border: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-headeri {
    padding: 30px 18px 0;
    text-align: center;
    background-color: white !important;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-description {
    color: #666;
    margin-bottom: 16px;
}

.card-content {
    padding: 0 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-footeri {
    padding: 0 0px 24px;
    text-align: center;
}


main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}