@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto',sans-serif;
}
.body{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.title {
    width: 100%;
    height: 400px;
    display: flex;
   /* background: #000033; 
    justify-content: center; */
    align-items: center;
    background-image: url('../images/contact.jpg');
    background-repeat:no-repeat;
    background-position: center;
    background-size: cover;
}
.title h1{
    text-align: left;
    font-size: 100px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    margin-left: 50px;
}

.contaxt-form{
    width: 80vw;
    display: flex;
    justify-content: center;
    background: #fff;
    margin: 50px 120px;
}

.contaxt-form >*{
    width: 50%;
}

.contaxt-form .first-container{
  background-image:linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.8)),url('../images/building.jpg');
  background-repeat:repeat-x;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.contaxt-form .first-container .info{
    margin: 24px 0;
}

.info div h3{
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    padding-bottom: 10px;
}

.info div:first-of-type p{
    max-width: 260px;
    color: #999;
}

.info div p{
    color: #00ad5f;
    line-height: 1.6;
    font-size: 16px;
}

/*********************************** Second Container **********************************/
.sec-container{
    padding: 30px;
}

.sec-container h2{
    font-size: 30px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

.sec-container .form{
    display: flex;
    flex-direction: column;
}

.sec-container .form .form-group{
    margin-bottom: 10px;
}

.sec-container .form .form-group *{
    min-height: 50px;
    border: 1px solid #e6e6e6;
    padding: 0 20px; 
}

.sec-container .form .form-group label{
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px  solid #e6e6e6;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    margin-top: -1px;
}

/* .sec-container .form .form-group:first-of-type input{
    width: 50.1%;
    margin-right: -5px;
} */

.sec-container .form .form-group input{
    width: 100%;
    font-size: 15px;
    margin-top: -2px;
}

.sec-container .form .form-group input::placeholder,
    .sec-container form .form-group textarea::placeholder{
        color: #999;
}

.sec-container .form .form-group textarea{
    width: 100%;
    min-height: 80px;
    resize: none;
    padding: 10px 20px;
    margin-top: -1px;
}

.sec-container .form button{ 
    width: 200px;
    height: 50px;
    color: #fff;
    background: #00ad5f;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    border: 0;
    position: relative;
    left: calc(50% - 100px);
    cursor: pointer;
}

.sec-container .form button:hover{ 
    background: #333;

}

.sec-container .form .form-group .error{
    color: red;
    font-size: 90%;
    display: none;
}

/* ================================================== Device Resonsive ===================================================== */

@media (max-width:700px){
    .title {
        height: 200px;
    }
    .title h1{
     font-size: 30px;
     margin-left: 20px;
    }
    .contaxt-form{
        flex-direction: column-reverse;
        width: 90vw;
        margin: 50px 0;

    }
    .contaxt-form > * {
        width: 100%;
    }
    .contaxt-form .first-container{
        padding: 40px 0;
    }
    .contaxt-form .first-container .info{
        margin: 24px 50px;
    }

}

@media (max-width:1100px) and (min-width:700px) {
    .title h1{
        font-size: 60px;
        margin-left: 30px;
    }
}


@media (max-width:800px){
    .contaxt-form{
        flex-direction: column-reverse;
        width: 90vw;
        margin: 50px 0;
    }
}
