*{
    box-sizing: border-box;
}

body{
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: darkslateblue;
    background-color: lightcyan;
}

.preload * {
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

/*
        -----------------------------------------------------General Main--------------------------------------------------
*/

main hr{
    /*display: block;*/
    clear: both;
    width: 90%;
    margin: 50px auto;
    color: cyan;
    box-shadow: 0 0 10px darkcyan;
}

.half_width_hr{
    width: 45%;
}

/*
        -----------------------------------------------------Header-----------------------------------------------------
*/

header{
    overflow: auto;
    max-height: 20vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

header img{
    margin-left: 10px;
    /*float: left;*/
    max-width: 90%;
    border-radius: 10px 3px 10px 3px;
    transition: all 0.5s;
}

header > a{
    max-width: 50%;
}

header img:hover{
    box-shadow: 3px 3px 20px darkcyan;
}

header img:active{
    box-shadow: 3px 3px 5px darkcyan;
}

header div{
    /*float: right;*/
    text-align: right;
    margin-right: 2%;
    overflow: hidden;
}

header div a, header div h3, header div h4{
    margin: 5px;
    color: slateblue;
}

header div a{
    text-decoration: none;
    text-shadow: 3px 3px 10px darkslateblue;
    transition: all 0.5s;
}

header a:hover{
    text-shadow: 3px 3px 20px darkslateblue;
}

header a:active{
    text-shadow: 3px 3px 5px darkslateblue;
}

#mobile_menu_icon{
    display: none;
}

/*
        -----------------------------------------------------Nav-----------------------------------------------------
*/

nav{
    margin: 0;
    padding: 0;
    clear: both;
    width: 100%;
    position: relative;
}

nav ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
}

nav ul li{
    background-color: cadetblue;
    float: left;
    width: 20%;
}

nav ul li:not(:last-child){
    border-right: 1px solid lightcyan;
}

nav ul li:first-child{
    border-left: 1px solid lightcyan;
}

nav ul li a{
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    display: block;
    text-align: center;
    padding: 14px 16px;
    transition: all 0.5s;
    box-shadow: 0 5px 5px darkcyan;
}

nav ul li a:hover{
    color: lightcyan;
    background-color: darkcyan;
    text-shadow: 0 0 10px darkslateblue;
    box-shadow: 0 7px 7px darkcyan;
}

nav ul li a:active{
    text-shadow: 0 0 5px darkslateblue;
    box-shadow: 0 2px 2px darkcyan;
}

nav ul li.active{
    color: lightcyan;
    background-image: radial-gradient(darkcyan, cadetblue);
    text-shadow: 0 0 10px darkslateblue;
}

/*
        -----------------------------------------------------Footer-----------------------------------------------------
*/

footer{
    width: 100%;
    position: absolute;
    bottom: 0;
    overflow: auto;
    transform: translateY(100%);
    background-image: linear-gradient(to bottom, lightcyan, darkcyan);
}

#footer_logo_div{
    position: absolute;
    bottom: 0;
    width: 70%;
    float: left;
}

#footer_logo_div img{
    max-width: 30%;
    margin-bottom: 0;
    position: absolute;
    bottom: 20px;
}

#footer_logo_div h5{
    margin-top: 0;
    margin-left: 2%;
    text-shadow: 1px 1px 20px cyan;
}

#footer_contact_info_div{
    float: right;
    margin-right: 1%;
    text-align: right;
}

#footer_contact_info_div a{
    display: block;
    color: inherit;
    text-decoration: none; 
    text-shadow: 0 1px 10px cyan;
    transition: all 0.5s;
}

#footer_contact_info_div a:hover{
    text-shadow: 1px 1px 10px darkcyan;
    /*box-shadow: 0 0 10px darkcyan;*/
    /*background-image: linear-gradient(to top, darkcyan, lightcyan);*/
}

/*
        -----------------------------------------------------Home-----------------------------------------------------
*/

/*
        -----------------------------------------------------Main-----------------------------------------------------
*/

/*
        -----------------------------------------------------Img Banner-----------------------------------------------------
*/

#img_banner_div{
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    /*background-color: darkcyan;*/
    box-shadow: 0 0 20px darkcyan;
}

#img_banner_div img{
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#img_banner_div div{
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
    animation: fade_in 0.9s;
}

#img_banner_div div a{
    display: inline-block;
    border-radius: 5px;
    background-color: rgb(0, 190, 190);
    margin: 0 0 10px 0;
    padding: 10px 50px;
    text-shadow: 1px 1px 10px cyan;
    box-shadow: 8px 8px 20px darkcyan;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    transition: all 0.5s;
}

#img_banner_div div a:hover{
    color: cyan;
    background-color: #009090;
    text-shadow: 1px 1px 20px darkcyan;
    box-shadow: 12px 12px 30px darkslateblue;
}

#img_banner_div div h1, #img_banner_div div h3{
    display: inline-block;
    border-radius: 10px 3px;
    background-color: rgba(0, 190, 190, 0.6);
    margin: 0 0 15px 0;
    padding: 5px 10px;
    text-shadow: 1px 1px 10px cyan;
    box-shadow: 8px 8px 20px darkcyan;
}

@keyframes fade_in{
    from{
        transform: translateX(100%);
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.h_and_p{
    width: 70%;
    margin: 15vh 15%;
    text-shadow: 1px 1px 1px darkcyan;
}

.faq_q{
    width: 70%;
    margin: 15vh 15% 0px;
    color: slateblue;
    text-shadow: 1px 1px 1px slateblue;
}

.faq_a{
    width: 70%;
    margin: 15px 15%;
    text-shadow: 1px 1px 1px darkcyan;
}

#home_h_img_p_container{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-around;
}

.h_img_p_div{
    width: 25%;
    text-shadow: 1px 1px 1px darkcyan;
}

/*.h_img_p_div div{
    display: inline-table;
    width: 100%;
    /align-self: center;/
    flex-shrink: 0;
}*/

.h_img_p_div span{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.h_img_p_div img{
    width: 100%;
    /*max-height: 30vh;*/
    flex-shrink: 0;
    box-shadow: 10px 10px 10px darkcyan;
    margin-bottom: 20px;
    transition: all 0.7s;
}

.h_img_p_div img:hover{
    box-shadow: 20px 20px 20px darkcyan;
}

.h_img_p_div h2{
    text-align: center;
}

.h_img_p_div p{
    margin: auto;
}

/*
        -----------------------------------------------------Contact-----------------------------------------------------
*/

/*
        -----------------------------------------------------Main-----------------------------------------------------
*/

#contact_main_div{
    width: 80%;
    margin: 30px auto;
    overflow: auto;
}

#contact_main_div::before{
    content: "\A";
    white-space: pre;
    clear: both;
    display: table;
}

#contact_main_div::after{
    content: "\A";
    white-space: pre;
    clear: both;
    display: table;
}

#contact_main_div h1{
    margin-left: 10%;
}

#contact_info_div{
    overflow: auto;
}

#contact_phone_email{
    float: left;
    margin-bottom: 40px;
    margin-left: 10%;
}

#contact_address{
    float: right;
    margin-bottom: 40px;
    margin-right: 10%;
}

.map{
    width: 100%;
    height: 80vh;
}

/*
        -----------------------------------------------------Services-----------------------------------------------------
*/

/*
        -----------------------------------------------------Main-----------------------------------------------------
*/

.h_p_img{
    overflow: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 5%;
}

.h_p_img div{
    width: 50%;
    text-shadow: 1px 1px 1px cyan;
}

.h_p_img span{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.7s;
}

.h_p_img span:hover{
    width: 32%;
}

.h_p_img span img{
    max-width: 70%;
    transition: all 0.7s;
    flex-shrink: 0;
}

.h_p_img img:hover{
    box-shadow: 0 5px 20px darkslateblue;
}

.img_left span{
    order: 0;
}

.img_right span{
    order: 1;
}

#services_much_more_h2{
    text-align: center;
}

/*
        -----------------------------------------------------Img Galleries-----------------------------------------------
*/

/*
        -----------------------------------------------------Modal-----------------------------------------------------
*/

.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    flex-direction: column;
    justify-content: space-around;
}

.modal_img{
    display: block;
    margin: auto;
    max-width: 70%;
    max-height: 70%;
    flex-shrink: 0;
    padding: 2%;
    animation: zoom 0.7s;
}

.modal_caption{
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
    animation: zoom 0.7s;
    font-size: 1.3em;
}

@keyframes zoom{
    from{
        transform: scale(0);
    }
    to{
        transform: scale(1);
    }
}

.modal_close{
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 4em;
    cursor: pointer;
    transition: all 0.5s;
}

.modal_close:hover{
    transform: scale(1.1);
    color: blue;
}

/*
        -----------------------------------------------------900px-----------------------------------------------------
*/

@media only screen and (max-width: 900px){

    h3{
        font-size: 1em;
    }

    h4{
        font-size: 0.8em;
    }

    nav{
        display: block;
    }

    header img{
        /*max-width: 35%;*/
    }

    #footer_logo_div img{
        bottom: 50px;
    }

    .h_p_img span img{
        max-width: 100%;
    }

    #contact_main_div{
        width: 95%;
    }

    #img_banner_div{
        height: 70vh;
    }
}

/*
        -----------------------------------------------------650px-----------------------------------------------------
*/

@media only screen and (max-width: 650px){

    .hide_on_mobile{
        display: none;
    }

    h1{
        font-size: 1.4em;
    }

    h2{
        font-size: 1.1em;
    }

    h3{
        font-size: 0.75em;
    }

    h1, h2, h3{
        /*text-align: center;*/
    }

    header div a{
        display: none;
    }

    header{
        flex-wrap: wrap;
        max-height: 30vh;
    }

    header div{
        clear: both;
        margin-left: 3%;
        margin-bottom: 3vh;
        float: none;
        text-align: left;
    }

    nav{
        /*display: none;*/
        position: fixed;
        width: 80%;
        top: 20vh;
        left: 21%;
        transform: translateX(100%);
        z-index: 3;
        box-shadow: none;
        transition: all 0.6s;
    }

    nav ul li{
        float: none;
        width: 100%;
    }

    #mobile_menu_icon{
        display: block;
        float: right;
        font-size: 3em;
        margin: 1vh 3%;
        cursor: pointer;
    }
    
    #footer_logo_div{
        max-width: 50%;
    }

    #footer_logo_div img{
        /*bottom: 80px;*/
        position: relative;
        margin-bottom: -40px;
        max-width: 80%;
    }

    #img_banner_div{
        box-shadow: 0 20px 20px darkcyan;
    }

    #home_h_img_p_container{
        flex-direction: column;
    }

    .h_img_p_div{
        width: 100%;
    }

    #img_banner_div div{
        width: 96%;
        text-align: center;
        right: 2%;
    }

    .h_p_img{
        flex-direction: column;
    }

    .h_p_img div{
        width: 100%;
    }
    
    .h_p_img span{
        width: 80%;
        order: 1;
    }

    .h_p_img span:hover{
        width: 82%;
        order: 1;
    }

    #contact_address{
        clear: both;
        float: none;
        margin-left: 10%;
    }
    
    .map{
        height: 50vh;
    }
}

/*
        -----------------------------------------------------Hide non mobile elements-------------------------------------------
*/

@media only screen and (min-width: 651px){
    .only_display_mobile{
        display: none;
    }
}