.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.form-section {
    flex: 1;
    max-width: 40%;
}

.form-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 0.9rem;
}


form .checkbox {
    margin-top: 5px;
    display: flex;
    align-items: center;
    /* Align checkbox and label vertically */
    justify-content: flex-start;
    /* Align the entire row to the left */
    gap: 5px;
    /* Small gap between the checkbox and label */
    width: auto;
    /* Prevent the checkbox row from taking extra space */
    margin-bottom: 10px;
    /* Add some spacing below */
}

form .checkbox input[type="checkbox"] {
    margin: 0;
    /* Remove default margin of checkbox */
    padding: 0;
    /* Ensure no extra padding */
    width: auto;
    /* Prevent it from expanding */
    height: auto;
    /* Adjust to natural height */
}

form .checkbox label {
    flex-shrink: 1;
    /* Allow the label to wrap or shrink */
    white-space: nowrap;
    /* Prevent text wrapping if desired */
    margin: 0;
    /* Remove default margin from label */
    font-size: 0.9rem;
    /* Adjust label size for better alignment */
    line-height: 1;
    /* Align text properly with the checkbox */
}

form button {
    display: inline-block;
    /* Ensure proper placement */
    padding: 10px 20px;
    font-size: 1rem;
    background-color: white;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    /* Add spacing above the button */
}

form button:hover {
    background-color: #ccc;
}



.image-section {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section img {
    max-width: 100%;
    border-radius: 10px;
}


@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        /* Remove fixed height for better responsiveness */
    }

    .image-section {
        display: none;
        /* Hide image section on mobile */
    }

    .form-section {
        max-width: 100%;
    }
}