body{
    margin: 0 auto;
    height: auto;
    width: 100%;
    background-color: beige;
    font-family:  'Darker Grotesque', sans-serif;
}

nav{
    display: grid;
    justify-items: center;
    height: 50px;
    width: 100%;
    background:rgb(76, 82, 88);
    position: fixed;
    align-items: center;
   margin-top: -1.4rem;
}

nav ul{
    position: fixed;
    display: flex;
    align-items: center ;
    width: 85%;
    max-width: 1100px;
    list-style-type: none;
    margin-right: 2rem;
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 1.2rem;
}
nav ul li {
   margin-right: .3rem;
    color: snow;
    transition: .3s;
    font-size: .9rem;
    padding: 2px;
    transition: .2s;
}

nav ul li a:hover{
    padding: 8px;
   background-color: rgb(148, 29, 29);
    box-sizing: border-box;
    transition: .2s;
}

nav ul li a{
    transition: .2s;
    text-decoration: none;
    color: beige;
}

.active{
    padding: 8px;
    
   background-color: rgb(148, 29, 29);
}

.logo{
    flex: 1;
    margin-right: .5rem;
    font-size: 1.5rem;
    font-family: 'Monoton', cursive;
}

.container {
    width: 85%;
    max-width: 1100px;
    height:auto;
    background: beige;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 2rem;
}

.container h1{
    text-align: left;
}

h1{
   padding-top: 3rem;
}

span{
    color: rgb(172, 25, 25);
}

.main{
    width: 100%;

    height: 16rem;
    background-image: url(mechanic.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container p{
font-size: 1.1rem;
margin-bottom: 2rem;
}


.prompt{
    justify-items: center;
    align-items: center;
    width: 100%;
    display: grid;
    grid-template-columns: .6fr auto .4fr;
    height:3rem;
    margin-bottom: 1.5rem;
}


.spacer{
    height: 100%;
    width:2%;
    background-color: rgb(76, 82, 88);
}


.foot{
    height: 6.5rem;
    width:100%;
    background-color:rgb(36, 40, 44) ;
   
    text-align: center;
    width: 100%;
    padding-top: 20px;
    color:beige ;

}

@media (min-width:800px) {

    .container{
      margin-bottom: 5rem;
    }
    nav {
        margin-top: -2rem;
    }

    .block{
        display: grid;
       grid-template-columns: 1fr 1fr;
      
       height: 25rem;
    }

    .block p {
        margin-left: 1rem;
        font-size: 1.4rem;
    }

    .head{
        font-size: 1.5rem;
    }
    .main{
        height: 95%;
        
    }
     
    .container{
        text-align: left;
       
      
    }

    .prompt{
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 1.6rem
    }

    .spacer{
        width: 4px;
        border-radius: 4rem;
    }
    .cnt{
        width:100% ;
        text-align: center;
    }

    .foot{
        
        font-size: 1.5rem;
    }
}