@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Pacifico&display=swap');

html, body {
    height: 100%;
}

body {
    font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    margin: 0;
    padding: 0;
    color: #4e2c0f;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Pacifico', cursive;
    font-size: 1.5em;
    line-height: 2rem;
    color: #4e2c0f;
    text-decoration: none;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
    

header {
    width: 100%;
    margin: 3px auto;
    padding: 1rem 0;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

header img {
    height: 3rem;
}

main {
    background-color: #FCFCEC;
    padding: 5rem 0;
    flex: 1;
}

article {
    margin: 0 auto;
    padding: 32px;
    max-width: 28rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;
}

article .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    background-color: #fcbc05;
    width: 4rem;
    height: 4rem;
}

article .form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

article .form-header.thank-you {
    gap: 1rem;
}

article .form-header h1 {
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin: 0;
}

article .form-header p {
    color: rgb(78 44 15 / 70%);
    margin: 0;
}

article .form-header p.thank-you-message {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

form .consent-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(78 44 15 / 70%);
}

form .form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

form .form-field label {
    font-weight: 600;
}

form .form-field input {
    padding: 0.75rem 1rem;
    border: 2px solid #d9d9d9;
    border-radius: 0.75rem;
}

form .form-field input::placeholder {
    color: #aeaebf;
}

form .form-field input:focus {
    outline: none;
    border-color: #FBBC05;
}

.submit-button {
    background-color: #FBBC05;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    width: 100%;
    color: #4e2c0f;
    font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-button:hover:not(:disabled) {
    color: white;
    background-color: #4E2C0F;
    cursor: pointer;
}

.note-container {
    padding-top: 1.5rem;
    border-top: 1px solid rgb(217 217 217 / 50%);
    text-align: center;
}

.note-container p {
    padding: 0;
    margin: 0;
    color: rgb(78 44 15 / 70%);
    font-size: 0.875rem;
}

footer {
    margin-top: auto;
    align-self: flex-end;
    background-color: #D9D9D9;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

footer p {
    color: rgb(78 44 15 / 70%);
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

footer img {
    height: 3rem;
}

.error-message {
    color: red;
    font-size: 0.75rem;
    display: none;
}