﻿
.glow-button {
    text-align: center;
    width: 220px;
    height: 105px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

    .glow-button .button-shadow {
        position: absolute;
        background-color: #1c222d;
        border-radius: 129px/54px;
        filter: blur(64.8px);
        opacity: 1;
        width: 120%;
        height: 120%;
        all: unset;  
    }

    .glow-button .button-body {
        all: unset;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 13.62px;
        padding: 32.34px 64.68px;
        background-color: #ffffff14;
        border-radius: 170.2px;
        overflow: hidden;
        border: 3px solid;
        border-color: #ffffff24;
        cursor: pointer;
        transition: all .5s ease-in-out;
        width: 100%;
        height: 100%; 
    }

    .glow-button .button-frame {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 15.63px;
        position: relative;
        flex: 0 0 auto;
    }
    .glow-button .button-icon-twinkle-stars {
        border-radius: 5px;
        display: inline-block;
        width: 90px;
        height: 75px;
        margin: 0px;
        padding: 0px;
        text-align: center;
    }
    .glow-button .button-icon-twinkle-stars .frame {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 75px;
        margin: 0px;
        background-image: url('/images/Ai Icon.png');
        background-repeat: no-repeat;
        background-size: 84px;
        animation-duration: 1s;
        animation-iteration-count: infinite;
    }
    .glow-button .frame-0 { 
        background-position-y: -1px;
        opacity: 1;
    }
    .glow-button .frame-1 { 
        background-position-y: calc(-1px - var(--twinkle_stars-height) * 1);
        opacity: 0;
    }
    .glow-button .frame-2 { 
        background-position-y: calc(-1px - var(--twinkle_stars-height) * 2);
        opacity: 0;
    }
    .glow-button .frame-3 { 
        background-position-y: calc(-1px - var(--twinkle_stars-height) * 3);
        opacity: 0;
    }


        .glow-button .button-text {
            position: relative;
            width: fit-content;
            margin-top: -1.7px;
            background: linear-gradient(180deg, rgb(175.31, 175.31, 175.31) 0%, rgba(175.31, 175.31, 175.31, 0) 100%);
            -webkit-background-clip: text !important;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-fill-color: transparent;
            font-family: "Arimo", sans-serif;
            font-weight: normal;
            color: transparent;
            font-size: 36px;
            letter-spacing: 0;
            line-height: normal;
        }
    .glow-button :hover {
        transform : scale(1.05);
    }
        .glow-button:hover .button-body {
            /*background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);*/
            border-left: solid 3px rgb(255, 255, 255, 0.20);
            border-top: solid 3px rgb(255, 255, 255, 0.20);
            border-right: solid 3px rgb(255, 255, 255, 0.20);
            border-bottom: solid 3px rgb(255, 255, 255, 0.20);
            animation: shining_border;
            animation-duration: 3s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
            padding: 20px;
            box-shadow: 0 .25rem .75rem #000000;
            /*            -webkit-animation: shining_border;
            -webkit-animation-duration: 2s;
            -webkit-animation-timing-function: linear;
            -webkit-animation-iteration-count: infinite;*/
        }
        .glow-button:hover .button-text {
            -webkit-background-clip: unset;
            background-clip: unset;
            -webkit-text-fill-color: rgb(255, 255, 255, 0.30);
            text-fill-color: rgb(255, 255, 255, 0.30);
            color: rgb(255, 255, 255, 0.30) !important;
        }


        .glow-button:hover .frame {
            animation: twinkle_stars;
            animation-duration: 1.5s; 
            animation-iteration-count: infinite;
        }
        .glow-button:hover .frame-0 {
            animation-delay: 0s;
        }
        .glow-button:hover .frame-1 {
            animation-delay: 1s;
        }
        .glow-button:hover .frame-2 {
            animation-delay: 2s;
        }
        .glow-button:hover .frame-3 {
            animation-delay: 3s;
        }
.glow-button-pressed .button-body {
    background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
    border-left: solid 3px rgb(255, 255, 255, 1.00);
    border-top: solid 3px rgb(255, 255, 255, 0.90);
    border-right: solid 3px rgb(255, 255, 255, 0.50);
    border-bottom: solid 3px rgb(255, 255, 255, 0.50);
    animation: glowbutton_filter_clicked_blue;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

.glow-button-pressed .button-text {
    color: white !important;
    text-fill-color: white !important;
    -webkit-text-fill-color: white;
    background-clip: unset;
    -webkit-background-clip: unset;
}
.glow-button-pressed:hover .button-body {
    background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
    border-left: solid 3px rgb(255, 255, 255, 1.00);
    border-top: solid 3px rgb(255, 255, 255, 1.0);
    border-right: solid 3px rgb(255, 255, 255, 1.00);
    border-bottom: solid 3px rgb(255, 255, 255, 1.00);

    animation: glowbutton_filter_clicked_blue;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

.glow-button-pressed:hover .button-text {
    color: white !important;
    text-fill-color: white !important;
    -webkit-text-fill-color: white;
    background-clip: unset;
    -webkit-background-clip: unset;
}
.glow-button-pressed:hover .frame { 
    animation: twinkle_stars;
} 


@keyframes shining_border {
    0% {
        background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 0.2);
        border-top-color: rgba(255, 255, 255, 0.2);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }

    20% {
        background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 0.5);
        border-top-color: rgba(255, 255, 255, 0.2);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.5);
    }

    40% {
        background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 0.5);
        border-top-color: rgba(255, 255, 255, 0.7);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }

    60% {
        background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 0.7);
        border-top-color: rgba(255, 255, 255, 0.8);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }

    80% {
        background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 0.8);
        border-top-color: rgba(255, 255, 255, 1.0);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }

    90% {
        background: linear-gradient(360deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 1.0);
        border-top-color: rgba(255, 255, 255, 1.0);
        border-right-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }


    100% {
        background: linear-gradient(010deg, rgb(0, 212, 255, 0.62) 20%, rgb(0, 122, 147, 0.62) 60%);
        border-left-color: rgba(255, 255, 255, 0.2);
        border-top-color: rgba(255, 255, 255, 0.2);
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }
}
:root {
    --twinkle_stars-height : 49px;
    --twinkle_stars-delay : 200ms;
}
@keyframes twinkle_stars {
    0% {
        opacity: 0;
        --transform:scale(1.0);
    }
    10% {
        opacity: 0.2;
        --transform: scale(1.1);
    }
    20% {
        opacity: 0.4;
        --transform: scale(1.2);
    }
    30% {
        opacity: 0.7;
        --transform: scale(1.3);
    }
    40% {
        opacity: 1.0;
       --transform: scale(1.4);
    }
    50% {
        opacity: 1.0;
        --transform: scale(1.5);
    }
    60% {
        opacity: 1.0;
        --transform: scale(1.4);
    }
    70% {
        opacity: 0.7;
        --transform: scale(1.3);
    }
    80% {
        opacity: 0.4;
        --transform: scale(1.2);
    }
    90% {
        opacity: 0.2;
        --transform: scale(1.1);
    }
    100% {
        opacity: 0.0;
        --transform: scale(1.0);
    }

}


@keyframes glowbutton_filter_clicked_blue {

    0% {
        -webkit-filter: drop-shadow(0 0 10px rgb(255, 255, 255, 0.62));
    }

    50% {
        -webkit-filter: drop-shadow(0 0 30px rgb(255, 255, 255, 0.9));
    }

    70% {
        -webkit-filter: drop-shadow(0 0 30px rgb(255, 255, 255, 1));
    }

    100% {
        -webkit-filter: drop-shadow(0 0 0px #000000);
    }
}