
#wrapper{
    display:grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(5, minmax(0, 175px)) minmax(0px, 1fr);
    
}
body{
    margin:0;
}
@font-face {
    font-family: 'stencilstd';
    src: url("StencilStd.otf") format("opentype");;
}
 nav li a{
    background-color:white;
    color:black;
    border-radius: 10px;
    padding:5px;
    font-family: stencilstd;
    
}
a{
    
    text-decoration:none;
    color:white;

}
#phone{
     grid-row:1/2;
    grid-column:-1/-2;
    position:sticky;
    top:0px;
    background-color:rgb(41,38,31);
    float:left;
    width:fit-content;
    height:fit-content;
    text-align: center;
    margin-left: 40px;
    padding-left:10px;
    padding-right:10px;
    z-index: 2;
}
#phone h1{
    font-size: 2rem;
}
#phone a{
    color:white;
}
nav ul{
    color: black;
    display: flex; 
    flex-flow: row;
    justify-content: space-evenly;
    list-style-type:none;
    padding:0px;

}

li{

    text-decoration: none;
    display:inline;
    font-size:1.5rem;
}
nav{
    grid-row: 3/3;
    grid-column: 2/7;
    z-index: 1; 
    position:relative;
    top:-30px;
    margin-right:20px;

}
#orangebar{
    background-color:rgb(215,107,32);
    grid-column: 1/-1;
    grid-row:1/3;
    height: 100%;
    z-index: -1;
    box-shadow: 0px 10px 20px black;
}
#logo{
    background-image: url("images/Cartracks.png");
    background-repeat: no-repeat;
    background-position:left;
    background-size:contain;
    height: 250px;
    width:auto;
    grid-row:1/3;
    grid-column:1/3;
    position: absolute;
    top: 0px;
    left: 0px;
    right:0px;
}
#text{
    background-image: url("images/TextLogo.png");
    background-repeat: no-repeat;
    background-position:left;
    background-size:contain;
    height: 100px;
    width: auto;
    grid-row:2/2;
    grid-column:1/3;
    z-index: 1;
    position: absolute;
    top: 40px;
    left: 8px;
    right:0px;
}
#car{
    background-image: url("images/MattsCar.png");
    background-repeat: no-repeat;
    background-position:right;
    background-size:contain;
    height: 120px;
    width:auto;
    float:left;
    grid-row: 2/3;
    grid-column: 4/4;
    z-index: 1;
}

#homehero{
    background-position: center;
    background-size: cover;
    background-image: url("images/mechanic.jpg");
    background-repeat: no-repeat;
    height:400px;
    grid-row: 3/4;
    grid-column: 1 / -1;
    z-index: -2;
    box-shadow: 0px 4px 10px black;
}
#galleryhero{
    background-position: center;
    background-size: cover;
    background-image: url("images/galleryhero.jpg");
    background-repeat: no-repeat;
    height:400px;
    grid-row: 3/4;
    grid-column: 1 / -1;
    z-index: -2;
    box-shadow: 0px 4px 10px black;
}
#abouthero{
    background-position: center;
    background-size: cover;
    background-image: url("images/abouthero.jpg");
    background-repeat: no-repeat;
    height:400px;
    grid-row: 3/4;
    grid-column: 1 / -1;
    z-index: -2;
    box-shadow: 0px 4px 10px black;
}
#matthero{
    background-image: url("images/matthero.png");
    background-repeat:no-repeat;
    background-size:contain;
    grid-row: 3/4;
    grid-column: 2/5;
    width: 80%;
    height: 80%;
    background-position:bottom;
    margin-bottom:0px;
    margin-top:auto;
}
#herotext{
    grid-row: 3/4;
    grid-column: 5/6;
    width:200%;
    margin:auto;
    color:white;
    text-shadow: 0px 5px black;
}
#herotext{
    grid-row: 3/4;
    grid-column: 5/6;
    width:200%;
    margin:auto;
    color:white;
    text-shadow: 0px 5px black;
}
#abouttext{
    text-shadow: 0px 5px black;
    grid-row: 3/4;
    grid-column: 2/-2;
    z-index:1;
    text-align:center;
    margin-bottom:20px;
    margin-top:auto;
    font-size:2.5rem;
    color:white;
    text-decoration: underline;
    font-family: stencilstd;
}
#gallerytext{
    text-shadow: 0px 5px black;
    grid-row: 3/4;
    grid-column: 2/-2;
    z-index:1;
    text-align:center;
    margin-bottom:0px;
    margin-top:auto;
    font-size:2.5rem;
    color:white;
    text-decoration: underline;
    font-family: stencilstd;
}
#herotext h2{
    text-align:center;
    font-size:2.5rem;

}
#napa{
    background-image: url("images/Napa.png");
    background-repeat: no-repeat;
    background-size:cover;
    grid-row: 3/4;
    grid-column: 2/3;
    width:100px;
    height:100px;
    z-index: 1;
    margin-bottom:0px;
    margin-top:auto;
}
#mainphone a{
    background-color:rgb(41,38,31);
    font-size: 2rem;
    padding: 5px;
    kerning:2px;
}
main h2{
    font-size: 2rem;
    color: #29261f;
}
main{
    grid-column: 2/-2;
    display:flex;
    flex-flow:row;
    text-align: center;
}
#maincar{
    margin-top: 20px;
    margin-bottom:20px;
}


#wrench{
    background-image: url("images/wrench.png");
    background-repeat: no-repeat;
    background-size:cover;
    width: 95px;
    height:93px;
    grid-column: 1/-1;
    grid-row:5/6;
    z-index:1;
    display:block;
    margin: auto;
    margin-top: 20px;
}
#bar{
    background-image: url("images/bar.png");
    background-repeat: no-repeat;
    background-size:cover;
    width: 1200px;
    height:93px;
    grid-column: 1/-1;
    grid-row:5/6;
    z-index:1;
    display:block;
    margin: auto;
    margin-top: 20px;
    flex-wrap:nowrap
}
#reviews{
    grid-column:2/-2;
    grid-row:7/9;
    text-align: center;;
    display:block;
}
#reviews h1{
    color: #29261f;
    grid-column: 1/-1;
    grid-row: 1/1;
    font-family: stencilstd;
}
#reviews{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: .25fr 1fr;
    grid-gap:15px;
}
.review{
    background-image: url("images/reviebackground2.svg");
    background-size: cover;
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-color: white;
    box-shadow: 10px 10px 20px black;
    height: 400px;
    border-radius:5px;
    display:flex;
    flex-direction:column;
}
.review p{
    text-align:center;
    font-size:1.2rem;
}
.review h4{
    color:rgb(247,183,4);
    font-size:2rem;
    margin:0px;
}
.review hr{
    width:100%;
    height:2px;
}

#grey{
    background-color:rgb(212,212,210);
    grid-column:1/-1;
    grid-row: 5/11;
    height:100%;
}
#footerbar{
    background-color:#29261f;
    grid-column:1/-1;
    grid-row: 12/15;
    height:150%;
    width: 100%;
}
footer{
    grid-column: 2/-2;
    grid-row:12/15;
    z-index: 2;
    display:flex;
    flex-direction:row;
    float:left;
    color:lightgrey;
    text-align:center;
}
footer ul{
    float:left;
    width:33%;
    margin-top:0px;
    padding-top:0px;
}
footer ul li p{
    font-size:.7rem;
    margin-top: 8px;

    
}
footer ul li h2{
    font-family: stencilstd;
    font-size:1rem;
}
footer h3{
    text-decoration:underline;
    font-size:1.25rem;
    margin-bottom: 0px;
    margin-top: 5px;
}
footer a{
    color:lightgrey;
}
footer h4{
    font-size: 1rem;
    margin-top:12px;
    margin-bottom:8px;
}
.fa {
    margin-top:15px;
    padding: 7px;
    font-size: 30px;
    width: 25px;
    text-align: center;
    text-decoration: none;
  }
  .fa:hover {
    opacity: 0.7;
  }
  .fa-facebook {
    background: #3B5998;
    color: white;
    border-radius:30%;
  }
  .fa-google{
    background: #dd4b39;
    color: white;
    border-radius:30%;
  }
  .fa-yelp{
    background:white;
    color: rgb(255,26,26);
    border-radius:30%;
  }
  
  

#Mreview{     
    background-color:rgb(41,38,31);
    grid-column: 2/-2;
    grid-row: 10/11;
    text-align:center;
    margin-top:5px;
}
#info{
    grid-column: 2/-2;
    display:block;
    margin-top:10px;
    margin-bottom:30px;
}
#maps{
    display:flex;
    float:right;
    width:fit-content;
    margin-right:60px;
}
#infotext{
    float:left;
    width: 40%;
    margin-left:40px;
    border: 5px solid     rgb(215,107,32);
    border-radius:7px;
    height:300px;
}
iframe{
    border-radius:7px;
    box-sizing:content-box;
}
#directions{     
    background-color:rgb(41,38,31);
    text-align:center;
    width:fit-content;
    height:fit-content;
    margin-left:auto;
    margin-right:auto;
}
#infotext p,#infotext h4{
    text-align:center;
    margin:  15px;
}
#infotext h4{
    font-size:2rem;
    color:rgb(215,107,32);

}
#infotext p{
    font-size:1rem;
    color: #29261f;
    font-weight:bold;
}
#info h2{
    text-align:center;
    font-size:3rem;
    color:rgb(215,107,32);
    font-family: stencilstd;
    text-decoration: underline;
}
#gallery{
    grid-column: 2/-2;
    width:100%;
    text-align: center;
    margin-top:15px;
}
#gallery a{
    margin:auto;
}
#gallery img{
    margin: 10px;
    border-radius:8px;
    box-shadow: 10px 10px 20px black;
}
#Mimages{
    height: fit-content;
    width:80%;
    grid-column: 2/-2;
    background-color:rgb(41,38,31);
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    color:white;
    margin-top:0px;
    margin-bottom: 20px;
}
#about{
    grid-column: 1/-1;
    text-align:center;
    background-image: url("images/reviewbackground.svg");
    color:white;
    background-attachment: fixed;
    background-color: darkgrey;
    background-repeat:no-repeat;
    background-size:auto;
    border-top: 5px solid rgb(215,107,32);


}
#value{
    grid-column:2/-2;
    margin-bottom: 30px;
}
#about h2{
    text-align:center;
    font-size: 3rem;
    font-family: stencilstd;
    color: #29261f;
    text-decoration: underline;
}
#value h2{
    text-align:center;
    font-size: 2rem;
    color:rgb(215,107,32);
    font-family: stencilstd;
    text-decoration: underline;
}
#value p{
    text-align:center;
    font-size:1.5rem;
    font-weight:bold;
    color:#29261f;
    width:30%;
    margin-left:20%;
    margin-right:auto;
    float:left;
}
#valueimage{
    width:40%;
    float:left;
    height:auto;
    margin-left: 30px;
}

#about h3{
    margin-top: 00px;
    text-shadow: black 2px 2px 5px, black 0px 0px 2px,black 5px 5px 5px;;
    font-size:2rem;
}
#ironcounty{
    background-image: url("images/ironcounty.png");
    background-size:contain;
    background-repeat:no-repeat;
    width:200px;
    height:200px;
    margin-left:auto;
    margin-right:auto;
    display:block;
}
#about p{
    font-weight:bold;
    font-size:1.5rem;
    text-shadow: black 2px 2px 5px, black 0px 0px 2px,black 5px 5px 5px;
    width:75%;
    margin-left:auto;
    margin-right:auto;
}

@media only screen and (max-width: 1400px){
    #phone{
        grid-column:-3/-1;
        position:static;
        width: fit-content;
        margin-right: 15px;

    }
    #phone h1{
        font-size:1.5rem;
    }
    #bar{
        display:none;
    }
}
@media only screen and (max-width: 1100px){
    #wrapper{
        grid-template-columns: minmax(0px, 1fr) repeat(5, minmax(0, 150px)) minmax(0px, 1fr);
    }
    #maincar{
        margin-top: 20px;
    }
    #maps{
        margin-right:0px;
    }
    #infotext{
        margin-left:0px;
    }

}

@media only screen and (max-width: 900px){
    #phone{
        display:none;
    }

    #logo{
        background-image: url("images/Cartracks2.png");
        grid-row:1/2;
        grid-column:1/-1;
        height:100px;
        width:auto;
        background-size:cover;
        width:100%;
        background-position:center;
        position:static;
        margin-top: 0px;

    }
    
    #text{
        grid-row:1/2;
        grid-column:3/6;
        height:100px;
        width:auto;
        background-size:contain;
        width:auto;
        background-position:center;
        position:static;

    }
    nav{
        grid-row:3/3;
    }
    main{
        flex-flow:column;
    }
    main h2{
        max-width: 23ch;
        margin-left: auto;
        margin-right: auto;
    }
    #reviews{
        display:grid;
        grid-template-columns: 1fr;
        grid-template-rows: .35fr 1fr 1fr 1fr;
    }
    #reviews h1{
        margin-bottom:-30px;
    }
    .review{
        display:flex;
        flex-direction:column;
        height:150px;
        width:100%;
        flex-wrap: wrap;
        align-items: center;

       
    }
    .review h3{
        display:flex;
        margin-top:50px;
        align-items: center;
        width:10ch;
        height:10%;
        text-align:center;
    }
    .review p{
        height:100%;
        width: 400px;
        
    }
    .review h2{
        height:5%;
    }
    .review h4{
        height:5%

    }
    .review{
        background-size:100%;
        background-repeat:no-repeat;
        background-attachment:fixed;

    }

    .review{
        background-image:none;
    }
    #maps{
        display:none;
    }
    #infotext{
        width:95%;
        margin-left:2%
    }
    #maincar{
        width:100%;
        height:auto;
    }
}

@media only screen and (max-width: 600px){
    img{
        width: 100%;
        height: auto;
    }
    .review p{
       font-size:.8rem;
       width:50%;
    }

    #herotext h2{
        font-size:1.8rem;
    }
    #gallery img{
        width:90%
    }
    #value img{
        display:none;
    }
    #value p{
        margin-left:auto;
        width:100%;
    }

}