*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-image: url("Images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.logo{
    padding: 3px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home-logo{
    position: fixed;
    height: 30px;
    width: 30px;
    top: 15px;
    right: 10px;
}
#encompass-logo{
    width: 180px;
    height: 60px;
}

.container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    width: 100%;
}

#contact-form, #contact-div{
    width: 47%;
    height: 100%;
    /* background-color: #fff; */
    /* border: 2px solid darkblue; */
    /* box-shadow: 30px 10px 10px 2px rgba(0,0,0,0.2); */
    padding: 1px 25px 1px 25px;
}

#contact-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-heading{
    font-size: 32px;
    font-weight: 700;
    font-family: 'Montserrat', 'Open Sans', 'sans-serif';
    color: darkblue;
    /* text-align: center; */
    margin: 10px 0px 10px 0px;
}

.form-element{
    margin: 5px 0px 5px 0px;
    padding: 5px;
    width: 60%;
}

.contact-heading{
    font-size: 32px;
    font-weight: 700;
    font-family: 'Montserrat', 'Open Sans', 'sans-serif';
    color: darkblue;
    text-align: center;
    margin: 10px 0px 10px 0px;
}

.container-inner{
    padding-left: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact-1, #contact-2, #contact-3{
    display: flex;
    justify-content:left;
    align-items: center;
    width: 100%;
    margin: 10px 0px 10px 0px;
}

#contact-4{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0px 10px 0px;
}

.contact-text{
    font-size: 20px;
    font-family: 'Montserrat', 'Open Sans', 'sans-serif';
    color: darkblue;
}

a{
    text-decoration: none;
    /* color: darkblue; */
}
#website{ display:none; }
.contact-img{
    width: 60px;
    height: 60px;
    margin: 0px 10px 0px 10px;
}

.contact-items{
    height: 32px;
    width: 32px;
}

.contact-items:hover{
    background-color: rgb(162, 162, 243);
    border: 1px solid white;
    border-radius: 50%;
}

@media screen and (max-width: 890px){
    .container{
        flex-direction: column-reverse;
        overflow-y: auto;
    }

    .container-inner{
        padding-left: 0px;
    }

    .form-element{
        width: 100%;
    }

    .form-heading{
        text-align: center;
    }

    #contact-form, #contact-div{
        width: 90%;
        margin-bottom: 20px;
    }

    .contact-img{
        width: 50px;
        height: 50px;
    }

    .contact-text{
        font-size: 18px;
    }
}


@media screen and (max-width: 768px){
    #encompass-logo{
        width: 150px;
        height: 60px;
    }

    #contact-form{
        width: 90%;
    }

    .buttons{
        flex-direction: column;
        margin: auto;
    }

    #submitbutton{
        width: 60%;
    }
    .button{
        width: 60%;
    }
}

@media screen and (max-width: 450px){
    #contact-div{
        padding: 1px 10px 1px 10px;
    }
    
    .contact-img{
        width: 35px;
        height: 35px;
    }

    .contact-text{
        font-size: 14px;
        font-weight: 300;
    }
}

@media screen and (max-width: 310px){
    .contact-img{
        width: 30px;
        height: 30px;
    }

    .contact-text{
        font-size: 12px;
        font-weight: 300;
    }
}


#contact-form h6{
    /* text-align: center; */
    font-size: 15px;
    color: darkblue;
    /* margin-bottom: 20px; */
}

.phone{
    display: flex;
}

.buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
}
#submitbutton{
    margin: 0px 5px 5px 5px;
    padding: 5px 15px 5px 15px;
    background-color: darkblue;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', 'Open Sans', 'sans-serif';
    border: 1px solid white;
    border-radius: 5px;
    text-align: center;
}
.button{
    margin: 0px 5px 5px 5px;
    padding: 5px 15px 5px 15px;
    background-color: darkblue;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', 'Open Sans', 'sans-serif';
    border: 1px solid white;
    border-radius: 5px;
    text-align: center;
}

.red{
    color: red;
}