*{
    padding: 0%;
    margin: 0%;
}

a{
    text-decoration: none;
}
body{
    background: whitesmoke;
    overflow-x: hidden;
}
/* header */
header{
    display: flex;
    justify-content: center;
    background: white;
    border-block-end: 1px solid grey;
    width: 100vw;
    height: 15vh;
}

header .header-container{
    width: 50%;
    display: flex;
    justify-content: space-between;
}

/* back button */
header .header-container .back-button{
    display: flex;
    align-items: center;
}

header .header-container .back-button button{
    cursor: pointer;
    border: none;
    padding: 2px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 2rem;
    background: white;
}

/* logo */
header .header-container .logo{
    display: flex;
    align-items: center;
    cursor: default;
}

header .header-container .logo img{
    border: none;
    width: 150px;
    height: 50px;
    background: linear-gradient(180deg, white, white, whitesmoke, grey);
}
header .header-container .logo h1{
    font-family: sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: orangered;
}

/* body container */
.body-container{
    display: flex;
    justify-content: center;
}
.body-container .property-container{
    width: 50vw;
    height: 85vh;
    background: white;
    display: block;
    padding: 5px;

}

/* property name */
.body-container .property-container .property-name{
    display: block;
    margin-block: 5px;
    cursor: default;
}

.body-container .property-container .property-name h1{
    font-family: sans-serif;
}

/* property image */

.body-container .property-container .image{
    display: flex;
    justify-content: center;
    margin-block: 5px;
}

.body-container .property-container .image img{
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, white, white, whitesmoke, grey);
}


/* property price and location */
.body-container .property-container .price-location{
    display: block;
    cursor: default;
}
.body-container .property-container .price-location p{
    margin-block: 5px;
}

/* property description */
.body-container .property-container .description{
    cursor: default;
    margin-block: 5px;
}
.body-container .property-container .description p{
    font-family: serif;
}

/* enquiry-button */
.body-container .property-container .enquiry-button {
    display: block;
    margin-block: 5px;
}
.body-container .property-container .enquiry-button button{
    padding: 2px;
    cursor: pointer;
    background: blue;
    color: white;
}



/* enquiry container */

.body-container .enquiry-form-container{
    background: white;
    height: 85vh;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.body-container .enquiry-form-container form{
    display: block;
    width: 70%;
}
.body-container .enquiry-form-container form p{
    text-align: center;
    cursor: default;
    font-family: sans-serif;
    color: navy;
}
.body-container .enquiry-form-container form label{
    display: block;
    cursor: default;
    font-family: sans-serif;
    margin-block-start: 15px;
    margin-block-end: 5px;
}
.body-container .enquiry-form-container form input{
    display: block;
    padding: 2px;
    border: 0.1px solid grey;
    border-radius: 5px;
    width: 100%;
}

.body-container .enquiry-form-container form .submit-button{
    display: block;
    margin-block-start: 10px;
}
.body-container .enquiry-form-container form .submit-button button{
    padding: 2px;
    cursor: pointer;
}


/* 768px screen resolutions */
@media(max-width: 768px){
    /* header */
    header{
        display: flex;
        justify-content: center;
        background: white;
        border-block-end: 1px solid grey;
        width: 100vw;
        height: 15vh;
    }

    header .header-container{
        width: 90%;
        display: flex;
        justify-content: space-between;
    }

    /* back button */
    header .header-container .back-button{
        display: flex;
        align-items: center;
    }

    header .header-container .back-button button{
        cursor: pointer;
        border: none;
        padding: 2px;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 2rem;
        background: white;
    }

    /* logo */
    header .header-container .logo{
        display: flex;
        align-items: center;
        cursor: default;
    }

    header .header-container .logo img{
        border: none;
        width: 150px;
        height: 50px;
        background: linear-gradient(180deg, white, white, whitesmoke, grey);
    }
    header .header-container .logo h1{
        font-family: sans-serif;
        font-size: 22px;
        font-weight: bold;
        color: orangered;
    }

    /* body container */
    .body-container{
        display: flex;
        justify-content: center;
    }
    .body-container .property-container{
        width: 90vw;
        height: 85vh;
        background: white;
        display: block;
        padding: 5px;

    }

    /* property name */
    .body-container .property-container .property-name{
        display: block;
        margin-block: 5px;
        cursor: default;
    }

    .body-container .property-container .property-name h1{
        font-family: sans-serif;
    }

    /* property image */

    .body-container .property-container .image{
        display: flex;
        justify-content: center;
        margin-block: 5px;
    }

    .body-container .property-container .image img{
        width: 100%;
        height: 300px;
        background: linear-gradient(180deg, white, white, whitesmoke, grey);
    }


    /* property price and location */
    .body-container .property-container .price-location{
        display: block;
        cursor: default;
    }
    .body-container .property-container .price-location p{
        margin-block: 5px;
    }

    /* property description */
    .body-container .property-container .description{
        cursor: default;
        margin-block: 5px;
    }
    .body-container .property-container .description p{
        font-family: serif;
    }

    /* enquiry-button */
    .body-container .property-container .enquiry-button {
        display: block;
        margin-block: 5px;
    }
    .body-container .property-container .enquiry-button button{
        padding: 2px;
        cursor: pointer;
        background: blue;
        color: white;
    }



    /* enquiry container */

    .body-container .enquiry-form-container{
        background: white;
        height: 85vh;
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .body-container .enquiry-form-container form{
        display: block;
        width: 70%;
    }
    .body-container .enquiry-form-container form p{
        text-align: center;
        cursor: default;
        font-family: sans-serif;
        color: navy;
    }
    .body-container .enquiry-form-container form label{
        display: block;
        cursor: default;
        font-family: sans-serif;
        margin-block-start: 15px;
        margin-block-end: 5px;
    }
    .body-container .enquiry-form-container form input{
        display: block;
        padding: 2px;
        border: 0.1px solid grey;
        border-radius: 5px;
        width: 100%;
    }

    .body-container .enquiry-form-container form .submit-button{
        display: block;
        margin-block-start: 10px;
    }
    .body-container .enquiry-form-container form .submit-button button{
        padding: 2px;
        cursor: pointer;
    }   
}