@import "./Web_Color.css";

.mainContact{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 30px auto;
    background-color: #fcb382da;
}

h2{
    text-align: center;
    margin: 20px auto 0 auto;
    width: 50%;
    background-color: var(--main-color-secondary-1);
    padding: 5px 0;
    color: white;
    font-weight: bold;
}

.ContactForm{
    width: 40%;
}

.form-group{
    margin: 20px 0;
}

.ContactForm>div form{
    text-align: center;
}


.ContactForm>div>form>div input,textarea{
    width: 500px ;
}

@media screen and (max-width:1365px) {
    .mainContact{
        flex-direction: column;

    }

    h2{
        width: 100%;
    }

    .ContactForm{
        width: 92%;
    }

    .ContactForm>div>form>div>input,textarea{
        width: 100% ;
    }
}

.form-group>button{
    background: linear-gradient(to right, var(--main-color-secondary-2) 50%, white 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all .5s ease-out;
    padding: 10px;
    border-radius: 15px;
    font-size: 15px;
    width: 100px;
    border: none;
}

.form-group>button:hover{
    background-position: left bottom;
}

.MapSection{
   width: 60%;
   margin: 20px auto 0px auto;
}


.MapSection iframe{
    display: flex;
    width: 95%;
    margin: 10px auto 20px auto;
    height: 350px;
    border: 2px solid var(--main-color-secondary-1);
}

@media screen and (max-width:1365px){
    .MapSection{
        width: 100%;
     }
}