body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}
*{
    margin: 0;
}
/*  ------nav---------- */

.brand-heading-1 {
    color: white;
    margin-right: auto;
    margin-left: 20px;
    font-weight: bold;
    font-size: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-top: auto;
    margin-bottom: auto;
}

/* -----navbar------------------ */
nav {
    height: 60px;
    background-color: #d8232a;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50;
}

.nav-items {
    display: flex;
    justify-content: end;
}

.post-btn {
    height: 40px;
    border-radius: 50px;
    border: none;
    background-color: #d8232a;
    color: white;
    margin-top: 10px;
    margin-right: 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;

}

.post-btn:hover {
    border: none;
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    color: black;
}

/* *** */

.main-div {
        position: relative; 
        padding-bottom: 200px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 80px;
}

.for-sale-house {
    height: 50%;
    /* filter: drop-shadow(0 0 .45rem rgb(134, 134, 241)); */
    /* position: fixed; */
    /* filter: drop-shadow(0 0 .45rem  #ec8487); */
}

.form-div {
    padding: 20px 30px 70px 40px;
    text-align: center;
    box-shadow: 0px 2px 2px 3px #d8232a;
    border-radius: 50px;
}

.heading {
    text-align: center;
    margin: 10px;
    top: 40px;
    font-size: 30px;
    color: #d8232a;
}

.sub-heading {
    text-align: center;
    font-size: 20px;
    margin: 20px;
    position: relative;
    top: 28px;
}

.sub-heading-span {
    color: green;

}

.personal-detail {
    text-align: left;
    margin:15px 0 0 35px;

}

.redio-btn-name {
    position: relative;
    text-align: start;
}

.rdo-btn {
    margin-right: 100px;
}



.input-box {
    font-size: 15px;
    width: 240px;
    margin-right: 120px;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #81808080;
}

.input-box:focus {
    outline: none;
}

.proprty-name {
    background-color: rgb(168, 164, 164);
    display: block;
}

.log-post-btn {
    font-size: 15px;
    padding: 10px;
    padding-left: 23px;
    padding-right: 23px;
    border: none;
    border-radius: 5px;
    background-color: #d8232a;
    color: white;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.log-post-btn{
    cursor: pointer;
   
}

.checboxes {
    margin-top: 20px;
    text-align:justify;
}


input[type="checkbox"]:checked {
    background: green;
    color: white;
}

input[type="checkbox"] {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background: lightgray;
    height: 16px;
    width: 16px;
    border: 1px solid white;
    color: white;
}

input[type="checkbox"]:after {
    content: ' ';
    position: relative;
    left: 40%;
    top: 20%;
    width: 15%;
    height: 40%;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(50deg);
    display: none;
}

input[type="checkbox"]:checked:after {
    display: block;
}

.up-img{
    text-align: start;
}
 /*footer*/
 .container-foot1{
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    padding-top: 80px;
    padding-bottom: 80px;
   }
   .container-foot{background-color: #f5f5f5;
  padding-bottom: 50px;}
   .foot-icon{
    font-size: 30px;
    margin-left: 10px;
    color: #d8232a;
   }
   .foot-anchor{
    text-decoration: none;
   }
   .color-light{
    color: #666565;
   }
   .foot-tex{
    margin-left: 35%;
    margin-right: 35%;

   }
   .tex-red{color:#d8232a ;}
   .con-foot{
    
     padding: 50px;

   }

@media screen and (min-width:375px) and (max-width:668px) {
   .main-div {
    display: block;

   }
   .for-sale-house{
    position: relative;
    top: 0px;
    height: 400px;

   }

    .form-div {
        text-align: center;
        box-shadow: 0px 0px 2px 1px #d8232a;
        border-radius: 50px;
        font-size: 15px;

    }
}
