/***********
Header Override
**********/

#header {
    position: absolute !important;
}

#headerLink {
    margin: auto;
}

#headerNav {
    display: none;
}

@media(max-width: 800px) {
    #headerInner {
        padding: 10px 20px;
    }
}

/***********
Contact
**********/
#contactGradient {
    position: fixed;
    width: 100%;
    height: 80vh;
    top: 12%;
    left: 14%;
    z-index: -1;
}

#contact {
    padding: 100px 20px 0;
}

#contactTitle {
    font-weight: 700;
    font-size: 50px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 25px;
}

#contactLink {
    color: #6E37EF;
    text-decoration: underline;
    text-align: center;
    display: block;
    margin-bottom: 30px;

}

#contactForm {
    max-width: 680px;
    margin: auto;
}

#contactForm.success {
    text-align: center;
    font-size: 16px;
    margin: 200px auto;
    padding: 20px;
    background-color: #f7edfe;
    border-radius: 4px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.contactItem {
    display: flex;
    background-color: #F8F9FB;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 18px;
    border: 1px solid #F1F1F1;
}

.contactImage {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 12px;
}

.contactLabel {
    white-space: nowrap;
    margin-right: 8px;
    font-size: 16px;
}

.contactInput,
.contactSelect {
    background-color: transparent;
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    font-size: 16px;
    color: black;
    appearance: none;
    -webkit-appearance: none;
}

.contactInput::placeholder {
    color: black;
}

#contactButton {
    position: relative;
    overflow: hidden;
}

#contactButton::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0, #fff 50%, rgba(255, 255, 255, 0) 100%);
    animation: sheen 2s ease 0s infinite;
    opacity: 0.2;
}

@keyframes sheen {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(200%, 0, 0);
    }
}

#contactButton.loading {
    color: rgba(0, 0, 0, 0);
}

#contactButton.loading::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}


@media(max-width: 800px) {
    #contactGradient {
        height: 100vh;
        top: 12%;
        left: 7%;
    }

    #contact {
        padding: 60px 20px 0;
    }

    #contactForm.success {
        margin: 125px 20px;
    }

    .contactLabel,
    .contactInput,
    .contactSelect {
        font-size: 13px;
    }
}