body {
    background: url(bg.png) center center no-repeat #09080D;
}

.layout-container {
    display: flex;
    height: 100vh;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
}

.layout-item {
    width: 100%;
    max-width: 960px;
    padding: 32px;
    margin: 0 auto;
}

h1 {
    color: #fff;
    font-family: 'General Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.21;
    text-align: center;
    margin-top: 16px;
}

.headline-effect {
    background: linear-gradient(93.2deg, #E1F17E 1.59%, #7EF19E 99.21%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: #fff;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.618;
    text-align: center;
    margin-top: 24px;
}

.form-waitlist {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.form-card {
    position: relative;
    width: 100%;
}

.email-input {
    margin-bottom: 16px;
    font-family: 'Satoshi', sans-serif;
    display: block;
    width: 100%;
    background: radial-gradient(50% 50% at 52.8% 100%, rgba(154, 149, 178, 0.32) 0%, rgba(154, 149, 178, 0.16) 100%);
    opacity: 0.8;
    backdrop-filter: blur(2px);
    border: none;
    /* border-image-source: linear-gradient(129.94deg, rgba(255, 255, 255, 0.24) 26.91%, rgba(255, 255, 255, 0) 50.05%); */
    border-radius: 32px;
    padding: 12px 18px;
    color: #fff;
    line-height: 1.5;
    font-size: 16px;
}

.email-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: linear-gradient(316.94deg, #25A74A 27.51%, #DEF452 78.98%);
    border-radius: 40px;
    border: 2px solid;
    /* border-image-source: radial-gradient(148% 157.63% at 22.39% -41.3%, rgba(200, 249, 214, 0.8) 0%, rgba(102, 255, 145, 0.32) 100%); */
    width: 100%;
    height: 48px;
    font-weight: 700;
}

.email-button:disabled {
    color: #333;
}

.email-button-image {
    display: block;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}
.lds-ellipsis div {
    position: absolute;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 4px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 4px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 16px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 28px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
0% {
    transform: scale(0);
}
100% {
    transform: scale(1);
}
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(12px, 0);
    }
}  

@media only screen and (min-width: 640px) {
    h1 {
        font-size: 48px;
    }

    p {
        font-size: 18px;
    }

    .form-card {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .email-input-group {
        width: 430px;
        perspective: 1000px;
        height: 56px;
    }

    .email-input-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s;
        transform-style: preserve-3d;
    }

    .email-input-front, .email-input-back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-perspective: 0;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translate3d(0,0,0);
        visibility:visible;
        backface-visibility: hidden;
    }

    .email-input-back {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(316.94deg, #25A74A 27.51%, #DEF452 78.98%);
        transform: rotateX(180deg);
        width: 430px;
        height: 56px;
        border-radius: 32px;
    }

    .email-input-group.success .email-input-inner {
        transform: rotateX(180deg);
    }

    .email-input {
        padding-top: 16px;
        padding-right: 88px;
        padding-bottom: 16px;
        padding-left: 20px;
    }

    .email-button {
        position: absolute;
        top: 12px;
        right: 20px;
        width: auto;
        height: 32px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .email-button::before {
        animation: glow 1s ease-in infinite;
        background: linear-gradient(316.94deg, #25A74A 27.51%, #DEF452 78.98%);
        border-radius: inherit;
        content: '';
        filter: blur(10px);
        opacity: .75;
        position: absolute;
        transition: all .3s ease-in-out;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        z-index: -1;
    }

    .email-button:hover::before {
        filter: blur(20px);
        opacity: 1;
    }

    .email-input-message {
        font-family: 'Satoshi', sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.618;
        text-align: center;
    }

    .lds-ellipsis {
        position: relative;
        top: 1px;
    }
}

@keyframes glow {
    0% {
      background: linear-gradient(316.94deg, #25A74A 27.51%, #DEF452 78.98%);
    }
    25% {
      background: linear-gradient(316.94deg, #25A74A 24.51%, #DEF452 74.98%);
    }
    100% {
      background: linear-gradient(316.94deg, #25A74A 27.51%, #DEF452 78.98%);
    }
  }


