* {
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

@font-face {
    font-family: 'LHFConvectaBase';
    src: url('LHFConvectaBase.ttf');
}

@font-face {
    font-family: 'SpaceGrotesk-VariableFont_wght';
    src: url('SpaceGrotesk-VariableFont_wght.ttf');
}

#CalChrome{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

body{
    background-color: black;
    background-image: linear-gradient(#eeeeee, #ffffff);
    background-attachment: fixed;
    color: white;
    font-family: Arial;
    background-attachment: fixed;
    margin: 0px;
}


nav {
    grid-row: 1 / 2;
    grid-column: 2 / -2;
    top: 0;
    padding-top: 0.5rem;
    padding-right: 1rem;
    padding-left: 2rem;
    position: sticky;
    font-weight: bold;
    background-color: black;
    background-image: linear-gradient(to left, #fe7d00 17.5%, rgba(0,0,0,0) 17%);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
}

nav a {
    color: #FFFFFF;
    padding: 1rem 0rem;
    display:block;
    text-align: center;
    text-decoration: none;
}

nav a:hover {
    color: #fe7d00;
}

nav ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
    font-family: SpaceGrotesk-VariableFont_wght;
}

img.icon{
    max-height: 45px;
    max-width: 90px;
}

main{
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row: 4 / 5;
    grid-column: 2 / -2;
    background-color: #222222;

}

#theTitle{
    background-color: rgb(95, 95, 95);
    margin: auto;
    width: 100%;
    padding: 10px;
}

#ourServices{
    column-gap: 5px;
    padding-bottom: 1rem;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    text-align: right;
    padding-left: 2rem;
    padding-right: 2rem;
    background-image: url("pexels-ian-panelo-6800723.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 3mm 4mm black);
    background-color: black;
    text-align: center;
}

img.car{
    float: left;
    border-radius: 8px;
    max-width: 500px;
    max-height: 450px;
    margin-top: 30px;

}

table, th, td{
    grid-row: 4 / 5;
    grid-column: 2 / -2;
    background-color: black;
    border-collapse: collapse;
    border: 15px solid white;
    padding: 5px;
    height: 15px;
    text-align: left;
    font-size: 15px;
    margin-left: 72.5%;
    font-family: SpaceGrotesk-VariableFont_wght;
}

td.services{
    font-size: 30px;
    border-width: 0;
    background-color: white;
    color: black;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
}

th, td{
    background-color: black;
}

#whoAreWe{
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    background-image: url("Calchrome\ BMW\ x3\ Chrome\ wheels.JPG");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#ourHistory{
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    background-color: gray;
}

#whatWeDo{
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background-image: url("IMG_8437.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

p.We{
    background-color: black;
    padding: 35px;
}

h1{
    text-shadow: 2px 2px 35px black;
    padding-bottom: 1rem;
    text-align: center;
    font-family: LHFConvectaBase;

}

h2{
    text-shadow: 2px 2px 35px black;
    padding-bottom: 1rem;
    text-align: center;
    font-family: LHFConvectaBase;
}

p{
    font-family: SpaceGrotesk-VariableFont_wght;
}

a{
    color: white;
}

a:hover{
    color: #fe7d00;
}

p.who{
    background-color: black;
    padding: 35px;
}

#letsGetStarted{
    padding-top: 4rem;
    padding-bottom: 7rem;
    text-align: center;
    background-image: url("pexels-nickcollins-1293120.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: orange;
}

#flex-container{
    display: flex;
    flex-direction: row;
    text-align: center;
    padding-right: 1rem;
    font-weight: bold;
}

img.img1{
    border-radius: 8px;
    max-width: 200px;
}

img.img2{
    border-radius: 8px;
    max-width: 200px;
}

img.img3{
    border-radius: 8px;
    width: 200px;
}

img.img4{
    border-radius: 8px;
    width: 200px;
}

#gallery{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery2{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery3{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery4{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery5{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery6{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery7{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery8{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery9{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery10{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery11{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery12{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}

#gallery13{
    grid-row: 2 / 3;
    grid-column: 2 / -2;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
}


#aboutHero{
    background-image: url("IMG_3267.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#serviceHero {
    background-image: url("rainbow-powder-coat-wheels-rims.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#galleryHero{
    background-image: url("DSC07484.JPG");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#reviewHero{
    background-image: url("IMG_1205.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#quoteHero{
    background-image: url("DSC07367.JPG");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#thanks1Hero{
    background-image: url("DSC07348.JPG");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#thanks2Hero{
    background-image: url("DSC_1904.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#service.p{
    color: black;
    padding-top: 2rem;
    padding-top: 2rem;

}

#mainService{
    padding-top: 3rem;
    background-color: gray;
}

#mainService p{
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    background-color: black;
}

#mainService img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    border-radius: 8px;
}

ul{
    list-style: none;
    padding: 0px;
    font-weight: bold;
}
  
li{
    display: inline;
    margin-right: 10px;
}

form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    gap: 0.75rem;
    width: 100%;
    background-color: grey;
    padding: 20px;
}

#Submit{
    width: 10rem;
    grid-column: 2 / 3;
}


footer{
    grid-row: 5 / 6;
    grid-column: 2 / -2;
    font-size: .70rem;
    text-align: center;
    background-color: black;
}

#wrapper{
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

@media only screen and (max-width: 992px){
    #homehero{
        grid-row: 2 / 3;
        grid-column: 5 / 8;
        column-width: 992px;
    }

    nav {
        grid-row: 2 / 3;
        grid-column: 1 / -1;
        position: static;
    }

    nav{
        background-image: none;
    } 

    nav ul {
        flex-flow: column nowrap;
    }

    #ourServices{
        column-gap: 5px;
        padding-bottom: 1rem;
        grid-row: 2 / 3;
        grid-column: 2 / -2;
        align-items: center;
        justify-content: center;
        padding-right: 10rem;
    }

    img.car{
        float: left;
        border-radius: 8px;
        max-width: 350px;
        max-height: 300px;
        margin-top: 30px;
    
    }

    table, th, td{
        grid-row: 4 / 5;
        grid-column: 2 / -2;
        height: 15px;
        text-align: center;
    }

    img.icon{
        display: none;
    }

    #flex-container{
        display: flex;
        flex-direction: column;
        margin: 0 2rem;
    }

}

@media only screen and (max-width: 768px){
    #homehero{
        column-width: 768px;
        
    }

    header h1{
        background-image: none;
        text-align: center;
    }

    nav{
        grid-row: 2 / 3;
        grid-column: 1 / -1;
    }
    
    img.icon{
        display: none;
    }
    
    #ourServices{
        column-gap: 5px;
        padding-bottom: 1rem;
        grid-row: 2 / 3;
        grid-column: 2 / -2;
        padding-right: 20rem;
    }

    img.car{
        float: left;
        border-radius: 8px;
        max-width: 350px;
        max-height: 300px;
        margin-top: 30px;
        padding-bottom: 1rem;
    
    }

    #flex-container{
        display: flex;
        flex-direction: column;
        padding: 1px;
    }

}