/* contact */
#contact-header {
    width: 100vw;
    height: 400px;
    background-image: url("../images/contact-header.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contact-header-section {
    padding-left: 8%;
    padding-top: 4%;
    padding-bottom: 4%;
    width: 60%;
    height: 100%;
    background-image: linear-gradient(to left, rgba(255,0,0,0), rgb(0, 0, 0));
}

#contact-header-h1 {
    color: white;
    font-size: 2.8em;
    padding-bottom: 6%
}

#contact-header-p {
    font-size: 20px;
    color: rgb(214, 214, 214);
    padding-bottom: 2%;
    width: 60%;
}

#contact-form-google {
    padding-left: 8%;
    padding-top: 4%;
    padding-bottom: 4%;
    padding-right: 8%;
}

#contact-form-title {
    font-size: 2em;
    color: #3f3f3f;
}


/* Form */
.contact-form {
    width: 40%;
    margin-top: 4%;
}

.contact-form label {
    display: block;
    padding: 0px 0px 5px 0px;
    font-size: 18px;
    color: #3f3f3f;
}

.contact-form input, .contact-form textarea {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #bfc3c5;
    border-left: 2px solid #bfc3c5;
    color: #bfc3c5;
    padding: 2px;
    padding-bottom: 5px;
    font-size: 16px;
    margin-bottom: 20px;
}

#contact-btn {
    border: 0;
    background-color: red;
    padding: 10px;
    color: white;
    margin-top: 20px;
    width: 150px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
}
#contact-btn:hover {
    background-color: darkred;
}

/* map Google embedded*/
.mapouter {
    margin-top: 8%;
    margin-bottom: 4%;
}

.mapouter {
    position: relative;
    text-align: right;
    height: 500px;
    width: 600px;
}

.gmap_canvas {
    overflow: hidden;
    background: none!important;
    height: 500px;
    width: 600px;
}




/* Tablet */
@media only screen and (max-width: 1024px) {
    #contact-header {
        width: 100vw;
        height: 350px;
    }
    
    #contact-header-section {
        padding-left: 10%;
        padding-top: 5%;
        padding-bottom: 5%;
        width: 75%;
        height: 100%;
    }
    
    #contact-header-h1 {
        font-size: 2em;
        padding-bottom: 6%
    }
    
    #contact-header-p {
        font-size: 18px;
        padding-bottom: 2%;
        width: 60%;
    }

    .contact-form {
        width: 50%;
    }

    #contact-form-title {
        font-size: 1.5em;
        padding-bottom: 2%;
    }

    .contact-form label {
        font-size: 16px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 16px;
    }

    .mapouter {
        height: 400px;
        width: 500px;
    }
    
    .gmap_canvas {
        height: 400px;
        width: 500px;
    }
}

@media only screen and (max-width: 640px) {
    #contact-header {
        height: 370px;
    }

    #contact-header-p {
        width: 80%;
    }

    .contact-form {
        width: 60%;
    }

    .mapouter {
        height: 300px;
        width: 400px;
    }
    
    .gmap_canvas {
        height: 300px;
        width: 400px;
    }
}








/* Mobile */
@media only screen and (max-width: 480px) {
    #contact-header {
        width: 100vw;
        height: 350px;
    }
    
    #contact-header-section {
        padding-left: 10%;
        padding-top: 5%;
        padding-bottom: 5%;
        width: 100%;
    }
    
    #contact-header-h1 {
        font-size: 2em;
        padding-bottom: 6%
    }
    
    #contact-header-p {
        font-size: 18px;
        padding-bottom: 2%;
        width: 70%;
    }

    .contact-form {
        width: 70%;
    }

    .contact-form label {
        font-size: 14px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 14px;
    }

    .mapouter {
        height: 200px;
        width: 300px;
    }
    
    .gmap_canvas {
        height: 200px;
        width: 300px;
    }
}

@media only screen and (max-width: 380px) {
    #contact-header {
        height: 400px;
    }

    #contact-header-section {
        width: 90%;
    }

    #contact-header-p {
        width: 90%;
    }

    .contact-form {
        width: 80%;
    }

    .mapouter {
        height: 180px;
        width: 280px;
    }
    
    .gmap_canvas {
        height: 180px;
        width: 280px;
    }
}