
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


* { box-sizing: border-box; }

html{scroll-behavior:smooth}

body {
	margin: 0;
	padding: 0;
	background-color: #f5f7fa;
	font-size: 18px;
    font-family: "Source Sans 3", sans-serif;
	font-weight: 300;
	color: #3a3a3a;
	line-height: 1.25;
    /* background: url(../images/bodybg.jpg); */
    background-repeat: no-repeat;
    background-position: center top;
    
}

a {text-decoration: none; color: #800000;}

h1, h2, h3 {
    font-family: "Oswald", sans-serif;
    padding: 0;
    margin: 0;
}

p {
    letter-spacing: 0.4px;
    margin: 0 0 16px;
    line-height: 1.6;
    color: #4e4e4e;
    font-weight: normal;
}



.page { 
    position: relative; 
    margin: 0 auto; 
    max-width: 100%;
    /* background-color: red; */

    display: grid;
    grid-template-areas: 
    "header"
    "hero"
    "servicestext"
    "services"
    "estimate"
    "footer"
    ;
}

.page img {
    max-width: 100%;
    height: auto;
}

header {
    border-bottom: 1px #48494a solid;
}

/* NAVIGATION DUDE */
.navigation {
    height: 50px;
    background-color: #666666;
    width: 100%;
}

.navigation > .content { 
    max-width: 100%;
    position: relative; 
    padding: 0; 
}


.search-container {
    position: relative;
    display: inline-block;
    margin-left: 40px;
  }
  
  .search-icon {
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    transition: transform 0.2s ease-in-out;
  }
  
  .search-input {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: display 0.2s ease-in-out;
  }

  .close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    cursor: pointer;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }

  .search-container.active .close-icon {
    opacity: 1;
  }

  i.search-icon.fas.fa-search {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
  
  .search-container:hover .search-icon {
    transform: scale(1.1);
  }
  
  .search-container.active .search-icon {
    display: none;
  }
  
  .search-container.active .search-input {
    display: block;
    width: 241px;
    height: 48px;
    border: 1px solid lightgray;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
  




/* UNIVERSAL CONTENT BOX DUDE */
.content {
	margin: 0 auto;
	max-width: 1392px;
	box-sizing: border-box;
    padding: 0;
    /* background-color: yellow; */
}

.logo_area {
    padding: 15px 0;
}

.logo_area .content {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: pink; */
    max-width: 100%;
}

.logo_area > div > a > img {
    width: 184px;
    height: 80px;
}

.logo_mobile {display: none;}

section.main {
    margin: 40px 0;
}

section.main .content {
    max-width: 1150px;
    display: flex;
    gap: 30px;
    flex-direction: row;
    padding-bottom: 40px;
    border-bottom: 1px solid darkgrey;
}

.image_container {
    flex: 1 1 33%;
}

.content_main {
    flex: 1 1 66%;
    border-right: 1px solid lightgrey;
    padding-right: 20px;
}

.content_main p:first-of-type {padding-top: 3px;}

.form {
    flex: 1 1 33%;
}


footer {
    background-color: #666666;
    min-height: 100px;
    font-size: 0.8em;
    color: white;
    text-transform: uppercase;
    padding: 20px 0 50px 0

}


footer .content {display: flex;}

footer .content > p {
    flex-grow: 1;
    flex-shrink: 1;
}

footer .content > p:nth-of-type(2) {text-align: right;}

footer a {margin-right: 12px; color: white;}

/* 
                     _ _                                     
                    | (_)                                    
  _ __ ___   ___  __| |_  __ _    __ _ _   _  ___ _ __ _   _ 
 | '_ ` _ \ / _ \/ _` | |/ _` |  / _` | | | |/ _ \ '__| | | |
 | | | | | |  __/ (_| | | (_| | | (_| | |_| |  __/ |  | |_| |
 |_| |_| |_|\___|\__,_|_|\__,_|  \__, |\__,_|\___|_|   \__, |
                                    | |                 __/ |
                                    |_|                |___/ 
*/

@media screen and (max-width: 875px) {

    a.logo {display: none;}

    a.logo_mobile {
        display: block;
        z-index: 9999;
    }

    .logo_area > div > a > img {
        width: 138px;
        height: 30px;
    }


/* UNIVERSAL CONTENT BOX DUDE */
.content {
    padding: 0;
    /* background-color: yellow; */
}


   
}


/* 
                     _ _                                     
                    | (_)                                    
  _ __ ___   ___  __| |_  __ _    __ _ _   _  ___ _ __ _   _ 
 | '_ ` _ \ / _ \/ _` | |/ _` |  / _` | | | |/ _ \ '__| | | |
 | | | | | |  __/ (_| | | (_| | | (_| | |_| |  __/ |  | |_| |
 |_| |_| |_|\___|\__,_|_|\__,_|  \__, |\__,_|\___|_|   \__, |
                                    | |                 __/ |
                                    |_|                |___/ 
*/

@media screen and (max-width: 991px) {
    a.logo {display: none;}

    a.logo_mobile {
        display: block;
        z-index: 9999;
    }

    .logo_area > div > a > img {
        width: 138px;
        height: 30px;
    }

    .search-container {
        display: none;
      }

    .hero .content {
        padding: 0;
    }


}




/* 
 ___
|---|    
|[_]|    
|:::|    
|:::|    
`\   \   
  \_=_\ 
                     _ _                                     
                    | (_)                                    
  _ __ ___   ___  __| |_  __ _    __ _ _   _  ___ _ __ _   _ 
 | '_ ` _ \ / _ \/ _` | |/ _` |  / _` | | | |/ _ \ '__| | | |
 | | | | | |  __/ (_| | | (_| | | (_| | |_| |  __/ |  | |_| |
 |_| |_| |_|\___|\__,_|_|\__,_|  \__, |\__,_|\___|_|   \__, |
                                    | |                 __/ |
                                    |_|                |___/ 
*/
@media screen and (max-width: 710px){
    a.logo {display: none;}

    a.logo_mobile {
        display: block;
    }

    .logo_area > div > a > img {
        width: 138px;
        height: 30px;
    }


    .search-container {
        display: none;
      }

    /* UNIVERSAL CONTENT BOX DUDE */
.content {
    padding: 0;
}

h1 {
    font-size: 1.25em;
    padding-bottom: 5px;
}

p {
    font-size: 0.9em;
    letter-spacing: 0.4px;
    margin: 0 0 16px;
    line-height: 1.6;
    word-wrap: break-word;
}

section.main {
    margin: 10px 0;
}



section.main .content {
    padding: 20px;
    flex-direction: column;
}

section.main .content .content_main {
    padding: 0;
}

.image_container {
    width: 100%;
    height: 50%;
}

.content_main {
    flex: 1 1 100%;
    border: none;
}

.content_main p:first-of-type {padding-top: 3px;}

.form {
    flex: 1 1 100%;
}

    footer {
        background-color: #666666;
        min-height: 100px;
        font-size: 0.8em;
        color: white;
        text-transform: uppercase;
        padding: 20px 0 50px 0
    
    }
    
    
    footer .content {display: flex; flex-direction: column;}
    
    footer .content > p {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 100%;
        text-align: center;
        color: white;
    }
    
    footer .content > p:nth-of-type(2) {text-align: center; flex-basis: 100%;}



}

