.main {
    display: flex;
    margin-top: var(--navbar-height);
    height: calc(100dvh - var(--navbar-height));
    width: 100%;
}
.image {
    height: 100%;
    width: 50%;
    background-image: url("../images/contact/contact.png");
    background-size: cover;
    background-position: left 20% top 30%;
}
.form__container {
    display: flex;
    align-items: center;
    padding-left: 132px;
}
.email-sent {
    width: 80%;
}
.form {
    display: flex;
    flex-direction: column;
    width: 304px;
}
@media(max-width: 1024px) {
    .main {
        margin-top: var(--navbar-height-mobile);
        height: calc(100dvh - var(--navbar-height-mobile));
    }
    .image {
        display: none;
    }
    .form__container {
        width: 100%;
        justify-content: center;
        padding-left: 0;
        overflow-y: scroll;
    }
    .form {
        width: min(304px, var(--content-width));
    }
}

/* form contents */

.title {
    font: 600 24px Quicksand, sans-serif;
    margin-bottom: 31px;
}
.email {
    width: 100%;
    padding: 9px 32px;
    border: 1px var(--app-gray) solid;
    font: 400 12px Lato, sans-serif;
}
.form > div {
    position: relative;
}

.form svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}   
.envelope-icon {
    left: 10px;
}
.email-container {
    margin-bottom: 6px;
}
.password-container {
    margin-top: 17px;
}
.confirm-password-container {
    margin-top: 19px;
}
.error {
    color: #ff0000;
    font-family: Lato, sans-serif;
    font-size: 12px;
    font-weight: 400;
}
.error span {
    color: black;
    text-decoration: underline;
    cursor: pointer;
}
.create-account {
    color: #006072;
    font: 400 12px Lato, sans-serif;
}
.continue {
    width: auto;
    position: relative;
    margin-top: 20px;
    padding: 5px 15px;
    align-self: end;
    background-color: #006072;
    border: none;
    border-radius: 999em;
    cursor: pointer;
}
.continue__text {
    font: 700 18px Inter, sans-serif;
    color: white;
}
.loading .continue__text {
    visibility: hidden;
    opacity: 0;
}
.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: loading-spinner 1s ease infinite;
}
@keyframes loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}