/* Style rules for body */
body {
	background-color: white;
    margin: 0; 
}

/* Style rule for header */
header {
    width: 30%; 
    float: left;
}

/* Style rules for navigation area */
nav { 
    height: 45px;
    padding: 2px; 
    background-color: white;
    text-align: right;
}

nav li {
	font-size: 1em;
	font-family: 'Francois One', sans-serif;
    display: inline-block;
    font-weight: bold;
}

nav li a {
    color: #8d8741;
    padding: 0.5em 1em;
    text-decoration: none;
}

#navbar {
    position: sticky; 
    display: block; 
    top: 0; 
    overflow: hidden; 
    z-index: 100;
    border-bottom: 4px solid #8d8741; 
}

#navbar a:hover {
    background-color: #c0c061;
    color: white; 
}


/* Style rules for image and slogan after nav */

    /*For home page and about us page*/
img {
	max-width: 100%;
	display: block;
}

    /*For home page*/
.slogan {
    position: absolute;
    top: 170px;
    left: 100px;
    color: white; 
    font-size: 2rem; 
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px #8d8741;
}

.slogan a {
    text-decoration: none;
    background-color:#c0c061;
    padding: .5em .5em; 
    font-size: .5em;
    margin-top: 0; 
    color: black; 
}

/* Style rules for main area */
main {
    padding: 2em 4em;
    margin: 0;   
	font-size: 1.15em;
	font-family: 'Roboto Slab', serif; 
}

main h1 {
    text-align: center; 
    color: #8d8741;
}

    /*Style rules for what we offer section in home page main area*/
        /*display as grid for home and shop pages*/
.grid {
    display: grid; 
    grid-template-columns: auto auto auto;
    gap: 10px;
}

.frame {
    position: relative;
	margin: 2% auto;
}

.pic-text {
    position: absolute;
	bottom: 0;
	background: rgba(0, 0, 0, 0);
	color:white;
	padding: 30px;
	font-family: Verdana, Arial, sans-serif;
	font-weight: bold;
    text-shadow: 1px 1px #8d8741;
}

    /*style rules for local rides section in home page in main area */

.local-routes img {
    margin: auto; 
    display: block; 
    max-width: 100%;
}

    /*main area for shop page*/

#other-nav a {
    text-decoration: none;
    padding: 0.5em 1em;
    font-size:  1em;
    color: darkslategray;
    font-weight: bold;
}

#other-nav a:hover {
    background-color: #f1f1f1;
    color: black; 
}

.shop-text {
    color:#8d8741; 
}

.shop-pic {
    text-align: center;
    background-color: white;
    padding: 2px; 
    box-shadow: 0 2px 2px 0 rgba(242, 237, 229, 0.648);
    position: relative;
	margin: 2% auto;
}

.specs ul {
    list-style-type: none;
    padding: 0; 
    margin: 0; 
    text-align: center;
}
    /*main area for services page*/
#services {
    display: flex;
    flex-wrap:nowrap; 
}

#services >div {
    width: 60%; 
    margin: 10px; 
    background-color: #f1f1f1;
    text-align: center; 
}

    /*main area for contact page*/
#contact {
    display: flex; 
    justify-content: space-evenly;
    align-items: center;
}

#contact a {
    text-decoration: none;
    color:#c0c061;
}

.map {
    max-width: 100%;
}

    /*main area for shop page*/

/*Style rules for footer */
footer {
    display:flex; 
    justify-content: space-evenly;
    background-color: #FAFAFA;
    font-size: 15px; 
    padding-top: 2em;
    padding-bottom: 2em;
    margin-left: -5%;  
}


#footer-right {
    text-align: center;  
}

#footer-right a {
    font-size: 1.5em; 
    color:#c0c061; 
    text-decoration: none;
}

footer p {
	color: #334058;
	padding: 0 1em;
}

footer p a {
	color: #c0c061;
	text-decoration: none;
}

    /*logos in footer*/
footer img{
    width: 6%; 
    display:inline-block
}

/*Style rules for Form page*/

form {
    display: block;
    padding: 30px;
    margin-left: 10%; 
 }

 form h1, h2 {
     color:#c0c061; 
     font-weight: bold;
     text-align: left;
 }


input[type=text] {
    width: 65%;
    padding: 10px;
    height: 10px; 
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
  }

/*For the submit button in form page*/
  .submit {
    background-color: #c0c061;
    padding: 0.5em 1em;
    text-decoration: none;
  }

.submit a {
    text-decoration: none;
    color: black; 
}