@import url("settings.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');
/* --- general --- */
* {
    box-sizing: border-box;
    position: relative;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}
body {
    font-family: sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
p {
    margin-block: 0;
}
.background1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 900px;
    overflow: hidden;
}
.background1::before {
    content: "";
    position: absolute;
    width: 268vw;
    height: 268vw;
    border-radius: 50%;
    background: var(--color-background1);
    top: -220vw;
    left: 0;
}
.background2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
}
.background2::before {
    content: "";
    position: absolute;
    width: 136vw;
    height: 136vw;
    border-radius: 50%;
    background: var(--color-background2);
    bottom: -10vw;
    left: 60vw;
}
.background3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
}
.background3::before {
    content: "";
    position: absolute;
    width: 324vw;
    height: 324vw;
    border-radius: 50%;
    background: var(--color-background3);
    bottom: -280vw;
    left: -30vw;
}
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--padding-page);
    gap: var(--padding-page);
}
.content-title-container {
    display: flex;
    flex-direction: column;
    gap: var(--padding-item-large);
    color: var(--color-text-main);
    max-width: 590px;
}
.content-title-container img {
    width: fit-content;
}
.content-title-container p:not(.subtitle) {
    font-size: 2rem;
    font-weight: 500;
}
h1 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-block: 0;
}
.subtitle {
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-highlight);
}
.content-form-container {
    padding: var(--padding-item-large);
    background: var(--color-background-main);
    color: var(--color-text-main-light);
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    max-width: 520px;
}
#signup-form {
    display: flex;
    flex-direction: column;
}
.form-desp-text {
    font-size: 1.5rem;
    margin-bottom: 1.875rem;
}
.form-desp-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3.125rem;
}
.form-label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.625rem;
}
.form-input {
    height: 3rem;
    padding: 0 1rem;
    border-radius: var(--border-radius-input);
    border: 1px solid var(--color-border);
    width: 100%;
}
.form-input-wrapper {
    margin-bottom: 1.25rem;
}
.form-input-wrapper.error .form-input {
    border: 2px solid var(--color-highlight);
}
.form-input-wrapper.error::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("../images/icon-error.svg");
    background-repeat: no-repeat;
    background-size: contain;
}
.form-submit {
    background: var(--color-background-button-main);
    border-radius: var(--border-radius-button);
    height: 3.5rem;
    text-align: center;
    color: var(--color-text-main);
    margin-top: 1.5rem;
    border: 1px solid var(--color-background-button-main);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
}
.form-button {
    background: var(--color-background-light);
    border-radius: var(--border-radius-button);
    height: 3.5rem;
    text-align: center;
    color: var(--color-text-main);
    margin-top: 2.5rem;
    border: 0;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
}
.form-result-message {
    font-size: 1.5rem;
}
.form-result-title {
    font-size: 2rem;
    margin: 2.5rem 0 1.25rem;
}
.hidden {
    display: none !important;
}
@media (min-width: 1183px) {
    .content-form-container {
        min-width: 520px;
    }
}
@media (max-width: 967px) {
    body {
        background-image: url("../images/background-mobile.jpg");
    }
    .container {
        flex-direction: column;
    }
    .content-form-container {
        max-width: 580px;
    }
    .content-form-container {
        max-width: 580px;
    }
}
@media (max-width: 700px) {
    :root {
        --padding-page: 3rem;
        --padding-item-large: 1.75rem;
        --padding-item: 1rem;
    }
    h1 {
        font-size: 3.25rem;
    }
    .subtitle {
        font-size: 3.25rem;
    }
    .content-title-container p:not(.subtitle) {
        font-size: 1.75rem;
    }
    .content-title-container,
    .content-form-container {
        max-width: 520px;
    }
}
@media (max-width: 537px) {
    :root {
        --padding-page: 1.5rem;
        --padding-item-large: 1.25rem;
        --padding-item: 1rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 2.5rem;
    }
    .content-title-container p:not(.subtitle) {
        font-size: 1.5rem;
    }
    .form-desp-text img {
        width: 80px;
        height: 80px;
    }
    .form-desp-text {
        font-size: 1.25rem;
    }
    .form-label {
        font-size: 0.875rem;
    }
    .form-submit, .form-button {
        font-size: 1rem;
    }
    .form-result-message {
        font-size: 1.25rem;
    }
    .form-result-title {
        font-size: 1.5rem;
    }
}