:root {
    --color-light: #fecc83;
}

h1 {
    margin-top: 0;
}

body {
    background-image: unset;
}
body:has(#contact) {
    background-color: #FEA525;
    background-image: unset;
}
body:has(#rent) {
    background-color: #7fb7d8;
}
body:has(#organize) {
    background-color: var(--color-light);
}

#contact, #rent, #organize {
    width: 100%;
    height: calc(100vh - 85px);
    display: flex;
}

.image-and-bg {
    width: 45%;
    background-color: var(--color-light);
    height: 100%;
    clip-path: ellipse(73% 93% at 10% 50%);
}

.image-and-bg .img {
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 65%;
    width: 100%;
    height: 100%;
}

#rent .image-and-bg .img,
#organize .image-and-bg .img {
    background-position: 133% 50%;
    background-size: cover;
}

#rent input[type="text"], #rent input[type="email"], #rent textarea,
#organize input[type="text"], #organize input[type="email"], #organize textarea {
    border: 2px solid #fff;
    background-color: #fff;
}

.form-section {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding-right: 2em;
}

h1 {
    font-size: 60px;
    margin-bottom: 0;
}

.field {
    display: flex;
}

@media screen and (max-width: 900px) {

    #contact, #rent, #organize {
        flex-direction: column-reverse;
        height: 100%;
    }

    h1 {
        font-size: 40px;
    }

    .image-and-bg .img {
        background-position: bottom center;
        background-size: 30%;
    }

    .image-and-bg {
        width: 100%;
        height: 30vh;
        /*clip-path: circle(76% at 50% 159%);*/
        clip-path: circle(102% at 50% 204%);
    }

    .form-section {
        display: block;
        margin: 3em auto 1em auto;
        width: 90%;
        padding-right: 0;
    }
}

@media screen and (max-width: 600px) {


    .form-section {
        margin: 0 auto 1em auto;
    }

    .image-and-bg {
        width: 100%;
        height: 100%;
        clip-path: circle(104% at 50% 112%);
    }

    .image-and-bg .img {
        height: 350px;
        background-position: bottom center;
        background-size: 77%;
    }

    textarea {
        width: 100%;
    }

    #rent .image-and-bg .img,
    #organize .image-and-bg .img {
        background-position: 100% 50%;
        background-size: cover;
    }
}

@media screen and (max-width: 600px) and (min-height: 800px) {

    .image-and-bg .img {
        background-size: 70%;
    }
    .image-and-bg {
        clip-path: circle(104% at 50% 117%);
    }
}
