body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e4f;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: calc(100% - 40px);
    max-width: 400px;
    padding: 0 40px 30px;
    background-color: #2c3e4f;
    border-radius: 12px;
    margin: auto;
    display: flex;
    flex-direction: column;
    border: 6px solid #fafafa;
}

#auto-typed-title {
    margin-bottom: 10px;
    min-height: 100px;
    color: #fafafa;
}

input[type="email"],
textarea {
    width: calc(100% - 24px);
    padding: 14px;
    border: 2px solid #fafafa;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    outline: none;
    color: #fafafa;
    background-color: #2c3e4f;
    transition: border-color 0.3s ease;
    resize: none;
    overflow: hidden;
}

input[type="email"]:focus,
textarea:focus {
    border-color: #7ca8d8;
}

button.pageclip-form__submit {
    width: 102%;
    margin: 0 auto;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background-color: #3e5b73;
    color: #fafafa;
    cursor: pointer;
    font-size: 22px;
    transition: background-color 0.3s ease;
    outline: none;
    display: block;
}

button.pageclip-form__submit:hover {
    background-color: #354a5f;
}

.pageclip-form {
    position: relative
}

.pageclip-form__success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.pageclip-form__success__message {
    font-size: 2rem;
    text-align: center;
    transform-origin: center;
    animation: .3s linear none a;
    color: white;
}

.pageclip-form__submit {
    position: relative
}

.pageclip-form__submit:after {
    display: inline-block;
    position: absolute;
    text-indent: -9999em;
    border: 3px solid hsla(0, 0%, 100%, .3);
    border-left: 3px solid #fafafa;
    transform: scale(.01) translateZ(0);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    content: "";
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
    z-index: 2
}

.pageclip-form__submit.pageclip-form__submit--dark-loader:after {
    border-color: rgba(0, 0, 0, .3);
    border-left-color: #000
}

.pageclip-form__submit.pageclip-form__submit--start-loading:after {
    animation: .1s linear none a
}

.pageclip-form__submit.pageclip-form__submit--start-loading > span {
    animation: .1s linear none c
}

.pageclip-form__submit.pageclip-form__submit--loading:after {
    transform: translateZ(0);
    animation: 1.2s linear infinite d
}

.pageclip-form__submit.pageclip-form__submit--loading > span {
    opacity: 0
}

.pageclip-form__submit.pageclip-form__submit--end-loading:after {
    animation: .1s linear none b
}

.pageclip-form__submit.pageclip-form__submit--end-loading > span {
    animation: .1s linear reverse c
}

@keyframes a {
    0% {
        transform: scale(.01) translateZ(0)
    }
    50% {
        transform: scale(1.2) translateZ(0)
    }
    to {
        transform: scale(1) translateZ(0)
    }
}

@keyframes b {
    0% {
        transform: scale(1) translateZ(0)
    }
    to {
        transform: scale(.01) translateZ(0)
    }
}

@keyframes c {
    0% {
        opacity: 1
    }
    to {
        opacity: 0
    }
}

@keyframes d {
    0% {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(1turn)
    }
}