* {
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    /* background: url(./assets/Wave.svg) no-repeat fixed center; */
}

.bg-wave {
    overflow: hidden;
    height: 100vh;
}

.bg-wave::after {
    position: absolute;
    content: '';
    background-image: url(./assets/Wave.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 100vh;
    right: 0;
    bottom: 70%;
    transform-origin: bottom right;
    transform: scaleY(-1) rotate(0deg);
    z-index: -1;
}

.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-height: calc(100vh - 64px);
}

#siri-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-in-expand {
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.stt-text {
    position: relative;
    z-index: 1;
    min-height: 22px;
}

.stt-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    animation: word-pop .3s ease forwards;
    animation-delay: var(--wd, 0s);
}

@keyframes word-pop {
    to {
        opacity: 1;
        transform: none;
    }
}

.gradient-bg {
    background: white;
}

.gradient-bg:before{
    content:'';
        position: absolute;
        top:-2px;
        left:-2px;
        width:calc(100% + 4px);
        height:calc(100% + 4px);
        border-radius: 14px;
        background: linear-gradient(
        45deg, 
        #fb0094, 
        #0000ff, 
        #00ff00, 
        #ffff00, 
        #ff0000, 
        #fb0094, 
        #0000ff, 
        #00ff00, 
        #ffff00, 
        #ff0000);
        background-size: 400%;
    z-index:-1;
    animation: shadow 20s linear infinite;
}
.gradient-bg:after{
    content:'';
    position: absolute;
    top:-8px;
    left:-8px;
    width:calc(100% + 16px);
    height:calc(100% + 16px);
    border-radius: 14px;
        background: linear-gradient(
        45deg, 
        #fb0094, 
        #0000ff, 
        #00ff00, 
        #ffff00, 
        #ff0000, 
        #fb0094, 
        #0000ff, 
        #00ff00, 
        #ffff00, 
        #ff0000);
        background-size: 400%;
    z-index:-1;
    animation: shadow 20s linear infinite;    
    filter:blur(24px);
    opacity:0.9;
}

@keyframes shadow {
  0% {
    background-position: 0 0;
  }
  50.01% {
    background-position: 200% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.chat-container{
    max-height: calc(100vh - 400px);
}
