
 
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E5E7E6; 
}


h1{

    font-family: 'Cambria', serif;
    text-align: center;
}


.navbar {
    font-size: 18px;
    background-color: #E5E7E6; 
    padding-bottom: 10px;
    
}
.main-nav {
    list-style-type: none;
    display: none;
}

.logo:hover,
    .nav-links:hover {
        color: #E9692C;
    } 

.nav-links,
.logo {
    text-decoration: none;
    color: grey;
}

.main-nav li {
    text-align: center;
    margin: 15px auto;
}
.logo {
	max-width: 50%;
    display: inline-block;
    margin-top: 10px;
    margin-left: 20px;
}


.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer; 
    color: grey;
    font-size: 24px;
}


.shop-content {
    display: none;
    position: absolute;
    top: 1em;
    background-color: #E5E7E6;
    text-align: center;
    margin: 180px;
    padding: 10px;

     }

.shoplist {

    list-style-type: none;
}     


     
.shoplink:hover {
    color: #E9692C;

    }       

.shoplink {

    text-decoration: none;
    color: grey;
     padding: 12px 16px;
     }
     


.p_text{

    font-family: 'Open Sans', sans-serif;
 }

.caption{

    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

    .about{
        background: white;
        opacity:75%;
        border-color: grey;
        border:3px; 
        border-style:solid;
        color: #4c4849;
        padding: 1em;
        display: inline-block;
        
        }

 .active {
        display: block;
        }



        /* The dropdown container */
}



@media only screen and (min-device-width : 320px) and (max-device-width : 767px) {

/* Styles */
body
{background-image: url('img/theroadsml.jpg');}

.about{
position: inherit;
margin: auto;}

.sml-img {
max-width: 50%;
margin: auto;
}



}



@media only screen and (min-device-width : 768px) and (max-device-width : 1023px) {

 .wrapper{
        width:100%;
    }
    
    .sml-img{
        max-width: 45%;
        float: left;
        margin-left: 20px;
        margin-bottom: 30px;
        margin-top: 90px;
    }
    .about{
    
        width: 40%;
        float: left;
        margin-left: 15px;


    }

}


/* Styles */




 @media screen and (min-width: 1024px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        padding-top: 4em;
        padding-bottom: 60px;
        height: 70px;
        align-items: center;
    }

    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }
    .main-nav li {
        margin: 0;
    }
    .nav-links {
        margin-left: 40px;
    
    }

    .shop {
        margin-left: 40px;
        position: relative;
       } 
    .logo {
    	max-width: 40%;
        margin-top: 0;
    }
   .navbar-toggle {
       display: none;
    }

    .logo:hover,
    .nav-links:hover {
        color: #E9692C;
    }       

    .shop-content {
        position: absolute;
        top: 25px;
        background-color: #E5E7E6;
        text-align: center;
        margin: 15px auto;
        padding: 15px;

     }
     .shop-content li {

        margin-top: 1em;
     }
    

    .wrapper{
        width:100%;

        
/*        clear: both;
*/    }
    .sml-img{
        max-width: 45%;
        float: left;
        margin-left: 15px;
        margin-bottom: 30px;
    }
    .about{
    
        width: 50%;
        float: right; 
        margin-top: 100px;
        margin-right: 15px;

    }
 }



     