@charset "utf-8";
@font-face {
    font-family: "Balthazar";
    src: url('balthazar-regular-webfont.woff2') format('woff2'),
         url('balthazar-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/* 
    Element Heating and Cooling

    Author: Jackson Viertel
    Date:   11/23/2020

    File: homeStyle.css

    Color Scheme:
        Black:       hsl(0, 0%, 0%)
        White:       hsl(0, 0%, 100%)
        Light grey:  hsl(0, 0%, 71%)
        Off-white:   hsl(0, 0%, 93%)
        Darker grey: hsl(0, 0%, 41%)

*/

/*------Page Styles-----*/
html {
    font-size: 16px;
    font-family: "Balthazar", serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

#pageContainer {
    position: relative;
    min-height: 100vh;
}

.error {
    color: #FF0000;
}


/*------Header Styles-------*/
header {
    background: lightgray url("images/headerBackground.png") no-repeat;
    background-size: cover;
    padding-bottom: 30px;
}

.para {
    background-attachment: fixed;
}

div#topLogo {
    padding-top: 30px;
   
}

header img#logo {
    display: block;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-top: 100px;
    text-shadow: -2px 2px 2px hsl(0, 0%, 41%);
    margin-bottom: 70px;
}

header a {
    text-decoration: none;
    
}

header h2 {
    font-size: 2rem;
    border: 3px solid white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: white;
}

header h2#phone {
    font-size: 2.5rem;
    border-width: 0;
    padding: 0;
    margin: 0;
}

header h2#phone a {
    color: white;
}

header h2#phone:hover {
    background-color: transparent;
    border-width: 0;
    box-shadow: none;
    transition: 0;
}

header h2:hover {
    background-color: hsl(0, 0%, 93%);
    border: 3px solid black;
    color: black;
    font-weight: bold;  
    box-shadow: 0px 3px 6px black,
                0px -3px 6px black;
    transition: .5s;
}

header #buttonFlex {
    display: block;
    width: 100%;
    justify-content: space-between;
}


/*------Services Section Styles------*/
section#services {
    background-color: black;
    color: white;
    padding-bottom: 50px;
}

section#services h2 {
    font-size: 2.5rem;
    text-align: center;
    padding-top: 50px;
    margin-bottom: 30px;
}

section#services #servicesGrid {
    display: flex;
    margin: auto;
    justify-content: space-around;
    width: 1000px;
}

section#services .gridItem {
    background-color: grey;
    width: 33.3333%;
    height: 300px;
    color: white;
    border-left: 2px solid white;
    border-right: 2px solid white;
    padding: 20px;
    background-position: center;
    background-size: contain;
}

.gridItem h3 {
    font-size: 1.8rem;
}

.gridItem p {
    font-size: 1.1rem;
}

#gridInstallation {
    background-image: url("images/installationNew.jpg");
}

#gridMaintenance {
    background-image: url("images/maintenance.jpg");
}

#gridRepair {
    background-image: url("images/repair.jpg");
}


/*------About Section Styles------*/
section#about #aboutGrid {
    display: flex;
    width: 80%;
    margin: auto;
    padding: 70px 0;
    align-items: center;
}

#aboutGrid .aboutItem {
    width: 50%;
}

#aboutGrid #aboutContent {
    padding: 20px;
}

#aboutGrid h2 {
    font-size: 2.5rem;
}

#aboutGrid p {
    font-size: 1.5rem;
}

#aboutGrid h3 {
    font-size: 1.5rem;
}

#aboutGrid ul {
    list-style-type: square;
    font-size: 1.3rem;
    padding-left: 20px;
}

#aboutGrid #collage img {
    display: block;
    width: 800px;
}

/*------Brand Section Styles-----*/
section#brand {
    background-color: black;
}
section#brand #carrierLifestyle {
    height: 600px;
    background-image: url(images/carrierLifestyle.jpg);
    background-position: center;
    padding-top: 30px;
}

section#brand h2 {
    font-size: 2.5rem;
    text-align: center;
    color: white;
    text-shadow: 1px 1px black;
}

section#brand h3 {
    font-size: 1.8rem;
}

section#brand #brandDesc img {
    min-width: 200px;
}

section#brand #brandDesc {
    display: flex;
    background-color: black;
    color: white;
    width: 70%;
    margin: auto;
    justify-content: space-around;
    align-items: end;
    padding-top: 30px;
    padding-bottom: 30px;
}

#brandDesc #brandContent {
    width: 80%;
    padding-right: 20%;
}

#brandDesc #brandLogo {
    width: 20%;
}

#brandContent p {
    margin-top: 10px;
    font-size: 1.3rem;
}

#brandContent a {
    color: #1891F6;
}
/*------Bio Section Styles------*/
section#bio {
    color: white;
    text-shadow: 2px 1px hsl(0, 0%, 41%);
    background: url(images/bioBackground.png) no-repeat;
    background-size: cover;
    padding-bottom: 50px;
    padding-top: 50px;
}

section#bio img#bioPic{
    height: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

section#bio h3 {
    font-size: 2rem;
    margin-top: 20px;
    text-align: center;
}

section#bio h3 span {
    font-size: 1.5rem;
    text-align: center;
    color: black;
    font-weight: bold;
}

section#bio p {
    font-size: 1.5rem;
    margin-top: 10px;
    width: 90%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#bioSocialMedia {
    display: flex;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: space-evenly;
    height: 50px;
    margin-top: 10px;
}

#bioSocialMedia img {
    width: 30px;
}

#bioSocialMedia h4 {
    font-size: 1.3rem;
}

/*------Request a Quote Section Styles------*/
section#request {
    background: url(images/image22B&W.jpg) center/cover no-repeat;
    padding-top: 30px;
    padding-bottom: 30px;
}

section#request h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

section#request form {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: hsl(0, 0%, 93%);  
    border-radius: 10px;
    padding-bottom: 40px;

}

section#request form label {
    font-size: 1.5rem;
    margin-left: 10px;
}

section#request form input {
    font-size: 1.2rem;
    font-family: inherit;
    width: 85%;
    margin-left: 10px;
}

section#request form textarea {
    font-size: 1.5rem;
    resize: none;
    margin-left: 10px;
    width: 90%;
}

section#request form input#submitRequest {
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 8px;
    padding: 10px;
    border: 3px solid black;
}

section#request form input#submitRequest:hover {
    background-color: hsl(0, 0%, 41%);
    color: white;
    transition: .4s;
}

#gridWrap {
    padding-top: 30px;
    padding-bottom: 30px;
    
    
}


/*------Reviews Section Styles------*/
section#reviews {
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
}

section#reviews h2 {
    font-size: 2.5rem;
    text-align: center;
}

section#reviews #reviewsContentWrap {
    position: relative;
}

#dotsContainer {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: hsl(0, 0%, 71%);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: black;
}


section#reviews .quote {
    width: 100%;
    padding: 20px 3rem;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    background-color: hsl(0, 0%, 71%);
    color: white;
    text-shadow: 1px 1px black;
}

section#reviews blockquote {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

section#reviews p {
    font-size: 1.2rem;
    text-align: right;
}

.slides {
    display: none;
}

section#reviews #writeReview {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background-color: hsl(0, 0%, 93%);
    padding: 10px;
    border-radius: 10px;
}

section#reviews #writeReview h5 {
    font-size: 1.1rem;
    font-weight: bold;
}

section#reviews #writeReview img {
    height: 20px;
}

section#reviews #writeReview img:first-child {
    margin-left: 1.1rem;
}

section#reviews #writeReview #writeReviewSM {
    display: flex;
}

/*------Questions Section Styles------*/
section#question {
    background: url(images/ductwork.jpg) center/cover no-repeat;
}

section#question h2 {
    font-size: 2.5rem;
    padding-top: 200px;
    text-align: center;
}

section#question form {
    width: 100%;
    height: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    background-color: hsl(0, 0%, 93%);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    position: relative;
    border-radius: 10px;
    box-shadow: 2px 2px 8px hsl(0, 0%, 71%),
                -2px 2px 8px hsl(0, 0%, 71%),
                2px -2px 8px hsl(0, 0%, 71%);
}

section#question form label {
    font-size: 1.5rem;
}

section#question form input {
    font-size: 1.5rem;
    font-family: inherit;
    width: 85%;
}

section#question form textarea {
    font-size: 1.5rem;
    resize: none;
}

section#question form input#sendMessage {
    width: 5rem;
    cursor: pointer;
}

#messageContainer {
    grid-row: 1 / 4;
    position: static;
    top: 20px;
    right: 2rem;
}

#sendMessage {
    position: absolute;
    bottom: 10px;
    left: 45px;
}

/*------Footer Styles------*/
footer {
    background-color: black;
    color: white;
}

#footFlex {
    margin-left: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

footer p {
    width: 70%;
}

footer #footSec2 h3 {
    margin-top: 20px;
}

footer #footSec2 p {
    font-size: 1.2rem;
}

#footerSocialMedia {
    margin-top: 30px;
    display: flex;
    width: 10rem;
    float: right;
    background-color: white;
}

footer #footSec3 img {
    display: block;
    padding: 5px;
    background-color: white;
    height: 30px;
    width: 30px;
    border-color: white;
}

/*------Media Queries------*/
@media only screen and (max-width: 400px) {
    .displayNone {
        display: none;
    }
}

@media only screen and (max-width: 550px) {
    section#services #servicesGrid {
        width: 90% !important;
    }
}

@media only screen and (min-width: 700px) {
    header #buttonFlex {
        display: flex;
        width: 500px;
        margin-left: auto;
        margin-right: auto;
        justify-content: space-between;

    }

    header #buttonFlex h2 {
        width: 230px;
    }

    section#request form {
        max-width: 800px;
    }

    #gridWrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    section#request form textarea {
        width: 95%;
    }

    section#reviews .quote {
        max-width: 650px;
    }
}

@media only screen and (min-width: 800px) {
    #footFlex {
        flex-direction: row;
    }

    footer #footSec3 h3 {
        display: inline-block;
    }
    
    footer p {
        width: 15rem;
    }

    footer #footSec2 h3 {
        margin-top: 0;
    }

    #footerSocialMedia {
        float: none;
    }
}

@media only screen and (max-width: 850px) {
    section#about #aboutContent > div {
        display: block !important;
    }

    section#about #aboutContent > div > div {
        width: 100% !important;
        padding: 0 !important;
    }

    section#about #aboutContent h2 {
        padding-left: 0 !important;
    }

    section#brand #brandDesc {
        display: block;
        width: 90%;
    }

    #brandDesc #brandContent, #brandDesc #brandLogo {
        width: 100%;
        padding-right: 0;
    }

    section#brand #brandDesc img {
        width: 200px;
        margin: auto;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 1000px) {
    header img#logo {
       height: 200px;
    }

    header h1 {
        font-size: 2rem;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    section#services #servicesGrid {
        display: block;
        width: 50%;
    }

    section#services .gridItem {
        border: 2px solid white;
        margin: auto;
        width: 100%;
    }

    section#about #aboutGrid {
        display: block;
        outline: 1px solid magenta;
    }

    section#about .aboutItem {
        width: 100%;
    }

    section#about #aboutContent > div {
        display: flex;
    }

    section#about #aboutContent > div > div {
        width: 50%;
        padding: 20px;
    }

    section#about #aboutContent h2 {
        padding-left: 20px;
    }

    section#about .aboutItem img {
        margin: auto;
    }
}

@media only screen and (max-width: 1300px) {
    section#about #aboutGrid {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (min-width: 2000px) {
    html {
        font-size: 24px;
    }
    header #buttonFlex {
        width: 700px;
    }

    header #buttonFlex h2 {
        width: 330px;
    }

    section#reviews .quote {
        max-width: 850px;
    }
}
