html, body {
    background-color: rgb(234, 219, 190);
    margin: 0;
    padding: 0;
    height: auto;
    font-family: "Avenir Next", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 1.1rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
}

h1, h2, legend {
    font-family: "Avenir Next", "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 400;
}

strong {
    font-weight: 600;
}

legend {
    font-size: 1.5rem;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    min-height: 100vh;
    overflow: visible;
    position: relative;
}

.image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.image-section picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background-color: rgba(234, 219, 190);
    position: relative;
    z-index: 2;
}

.centered-form {
    justify-content: center !important;
}

@media (max-width: 768px) {
    h1 {
        text-align: center;
    }

    .container {
        flex-direction: column;
        min-height: 100vh;
    }

    .image-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 99%;
        height: 100vh;
        z-index: 1;
    }

    .image-section picture {
        width: 99%;
        height: 100%;
        object-fit: cover;
    }

    .form-section {
        position: relative;
        left: 0;
        z-index: 2;
        background: rgba(234, 219, 190, 0.95);
        padding: 1rem 1rem;
        height: auto;
        width: 100%;
    }
}
