/* contact form home */

/* :root{
    --bs-gold: #e08010;
    --bs-blue: #012a59;
} */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.form-main {
    
    width: 384px;
    color: white;
    /* margin: 0px auto; */
    padding: 40px;
    background-color: var(--bs-blue);
    -webkit-background-color: var(--bs-blue);
    -moz-background-color: var(--bs-blue);
    -o-background-color: var(--bs-blue);
    -ms-background-color: var(--bs-blue);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-size: clamp(.5rem, 2vw, 1rem);

}
.form-main:hover{
    animation: shake 0.5s ease-in infinite;
}
@keyframes shake {
    0%{
        bottom: 250px;
    }
    50%{
        bottom: 245px;
    }
    100%{
        bottom: 255px;
    }
}

/* .form-main h2 {
    text-align: center;
} */
.form-main h1 {
    text-align: center;
    color: var(--bs-gold);
    margin-bottom: 20px;

}

.form-main form label {
    display: block;
    margin-bottom: 5px;
}

.form-main form input, .form-main form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: var(--bs-blue);
    color: white;

}

.form-main form input[type="submit"] {
    background-color: var(--bs-gold);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}

.form-main form input[type="submit"]:hover {
    background-color: #e08010;
    color: white;
}
/* form input[type="submit"]:active {
    background-color: #2d2d2d;
} */


/* contact form 1 */
/* .form{
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    bottom: 250px;
} */
.baseI{
    display: flex;
    flex-direction: row;
    padding: 20px;
}
.baseI .base-left{
    width: 50%;
    background: url(/img/estate-cont-form-1.jpg) no-repeat;
    background-size: cover;
    padding: 20px;
    margin: 20px;
    border-radius: 20px;

}
.baseI .base-right{
    width: 50%;
    display: flex;
    justify-content: center;
    
}
.form1-main {
    color: white;
    /* margin: 0px auto; */
    padding: 40px;
    background-color: var(--bs-blue);
    -webkit-background-color: var(--bs-blue);
    -moz-background-color: var(--bs-blue);
    -o-background-color: var(--bs-blue);
    -ms-background-color: var(--bs-blue);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-size: clamp(.5rem, 2vw, 1rem);

}
/* .form1-main h2 {
    text-align: center;
    margin-bottom: 20px;
} */
.form1-main h2 {
    text-align: center;
    color: var(--bs-gold);
    margin: 0px 0px;
    margin-bottom: 50px;

}
.form1-main form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form1-main form label {
    display: block;
    margin-bottom: 5px;
}
.form1-main form input, .form1-main form textarea {
    width: 80%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: var(--bs-blue);
    color: white;
    justify-content: center;

}

.form1-main form input[type="submit"] {
    background-color: var(--bs-gold);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}

.form1-main form input[type="submit"]:hover {
    background-color: #e08010;
    color: white;
}

@media screen and (max-width: 961px) {
    .form-main {
        width: 50vw;
        
        /* height: 50vw; */
        color: white;
        /* margin: 0px auto; */
        padding: 40px;
        background-color: var(--bs-blue);
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .form-main:hover{
        animation: shake 0.5s ease-in infinite;
    }
    .baseI{
        flex-wrap: wrap;
        justify-content: center;

    }
    .baseI .base-left {
        width: 100%;
        height: 200px;

      }
    .baseI .base-right {
        width: 100%;
        align-items: center;

      }
    .form1-main {
        width: 50vw;
        
        /* height: 50vw; */
        color: white;
        /* margin: 0px auto; */
        padding: 40px;
        background-color: var(--bs-blue);
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        padding-bottom: 70px;
    }

    @keyframes shake {
        0%{
            bottom: 100px;
        }
        50%{
            bottom: 95px;
        }
        100%{
            bottom: 105px;
        }
    }
    .form-main form input {
        height: fit-content;
    }

       
}