* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 20px;
    display: flex;
    justify-content: center;
}

button {
    font-weight: 600;
    padding: 7px 12px;
    background: #5C6B41;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 5px #3f4119;
}

button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 5px #3f4119;
}

section {
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#welcome {
    display: flex;
}

#thank-you-message {
    display: none;
}

.title{
    font-family: "Freckle Face";
    font-size: 63px;
    color: #5C6B41;
    text-align: center;
}

.subtitle {
    font-weight: 700;
    font-size: 40px;
    color: #999;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 2rem;
}

.thank-you-subtitle {
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 700;
    font-size: 30px;
    color: #999;
    text-align: center;
    margin-top: 1rem;
}

.description {
    font-size: 0.8rem;
    text-align: center;
    position: relative;
    margin-top: 1rem;
}

#form-container {
    display: none;
    padding: 2rem;
    max-width: 500px;
    position: relative;
    justify-content: center;
    text-align: center;
}
#contactForm {
    margin-top: .5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: none;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #3d2815;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FEFCF8;
}

.form-input:focus {
    outline: none;
    border-color: #3d2815;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
    transform: translateY(-1px);
}

.form-input:valid {
    border-color: #556B2F;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 28px;
    }

    .thank-you-subtitle {
        font-size: 22px;
        margin-top: 0.3rem;

    }

    .description {
        margin-top: 1rem;
        margin-bottom: 2rem;
        font-size: .8rem;
    }

    #form-container {
        padding: 0rem;
    }

    button {
        transform: translateY(-2px);
        box-shadow: 0 7px 5px #3f4119;
        font-size: 1rem;
    }

    .submit-btn {
        width: 80%;
    }
}

/* Input validation styles */
.form-input.error {
    border-color: #b80b0b;
}

.form-input.error + .error-message {
    display: block;
}

.error-message {
    display: none;
    color: #B8860B;
    font-size: 0.8rem;
    margin: 5px 0px;
}