/*
Theme Name: Me and the Driver Theme
Author: The driver
Version: 1.0
Description: Me and the Driver
*/

/* Add additional styles below */
/* Horizontal menu on desktop */

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.woff') format('woff'),
         url('fonts/OpenSans-Regular.woff2') format('woff2'),
         url('fonts/OpenSans-Regular.eot') format('embedded-opentype'),
         url('fonts/OpenSans-Regular.svg#opensans') format('svg'),
         url('fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Open Sans';
}

.grey, .grey:visited, grey:link, a:link, a:visited {color: #888}

.nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    margin-right: 10px;
}

.nav li:last-child {
    margin-right: 0;
}

.nav a {
    text-decoration: none;
    color: #111;
}

/* Styling for the burger menu icon on mobile */
.burger-menu {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the horizontal menu on mobile */
    .nav ul {
        display: none;
    }

    /* Show the burger menu icon on mobile */
    .burger-menu {
        display: none !important;
        cursor: pointer;
    }
}
    html {
        scroll-behavior: smooth;
    }

    .burger-menu {
        display: none;
    }

    @media (max-width: 768px) {
        /* Hide the horizontal menu on mobile */
        .nav {
            display: none;
        }

        /* Show the burger menu icon on mobile */
        .burger-menu {
            display: none;

        }
        
        /* Optional: Add styles for the burger menu icon */
        .burger-menu::before,
        .burger-menu::after {
            content: "";
            display: block;
            width: 20px;
            height: 2px;
            background-color: #fff;
            margin: 6px 0;
        }
    }

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #efefef;
  color: #111;
  font-style: normal;
}

.nav {
  text-align: center;
  display: none;
}

.nav.show {
    display: block;
    z-index: 2;
    position: absolute;
    width: 320px;
    margin-left: -50%;
}

.nav a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #111;
}

.section {
  background-color: #efefef;
  color: #111;
  padding: 20px;
  margin-bottom: 20px;
  word-break:break-word;
  overflow: hidden;
}

.section:nth-child(even) {
  background-color: #eeeeee;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger-menu {
    display: none;
    cursor: pointer;
  }

  .burger-menu::before,
  .burger-menu::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ddd;
    margin: 6px 0;
  }

  .nav.show ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px 0;
  }

  .nav.show li {
    margin-bottom: 10px;
  }

  .nav.show a {
    padding: 5px;
  }
}

.burger-menu {
  display: block;
  cursor: pointer;
  position: relative;
  width: 25px;
  height: 20px;
  margin-top: 20px;
  text-align: right;
  margin-left: 20px;
}

.burger-menu .bar {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #111;
  transition: background-color 0.3s ease;
}

.burger-menu .bar:nth-child(1) {
  top: 0;
}

.burger-menu .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-menu .bar:nth-child(3) {
  bottom: 0;
}

.burger-menu.active .bar {
  background-color: #fff;
}



/* Add Pure.css classes to the navigation and burger menu */
.nav {
  @media screen and (min-width: 48em) {
    grid-column: span 9;
  }
}

.burger-menu {
  @media screen and (min-width: 48em) {
    grid-column: span 1;
  }
}

/* Add mobile styles for headings */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }

  .box1 {
    margin-left: 20px;
  }
}

/* General Styles */
body {
  margin: 0;
  padding: 0;
}

.container {}

/* Header */
.header {
  background-color: #f5f5f5;
  padding: 20px;
}

.site-title {
  margin: 0;
  font-size: 24px;
  color: #333;
}

/* Navigation */
.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  display: inline-block;
  margin-right: 10px;
}

.nav-menu li:last-child {
  margin-right: 0;
}

.nav-menu a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

/* Content */
.content {
  padding: 20px 0;
}

/* Sidebar */
.sidebar {
  float: right;
  width: 25%;
}

/* Footer */
.footer {
  background-color: #f5f5f5;
  padding: 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

.section a,
a:link {
  color: #111 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus,
.section a:hover,
.section a:focus {
  color: #111;
text-decoration: underline;
}

.txt {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.imgleft {
  float: left;
  margin-right: 10px;
}

.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.imgright {
  float: right;
  margin-left: 10px;
}

@media screen and (min-width: 768px) {
  .nav {
    display: none;
  }

  .burger-menu {
    display: none;
  }

  .nav ul {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }

  .nav li {
    margin: 0 10px;
  }

  .nav li:first-child {
    margin: 0;
  }

  .box1 {
    margin-left: 0px;
  }
}

@media (min-width: 768px) {
  /* Desktop layout */
  .pure-g {
    display: flex;
  }

  .pure-u-2-5 {
    flex: 2 0 40%;
  }

  .pure-u-3-5 {
    flex: 3 0 60%;
margin-top: 30px
  }
}

@media (max-width: 767px) {
  /* Mobile layout */
  .pure-g {
    display: flex;
    flex-wrap: wrap;
  }

  .pure-u-4-5 {
    flex: 0 0 80%;
  }

  .pure-u-1-5 {
    flex: 0 0 20%;
  }
}

		/* The Modal (background) */
.w3-modal {
display: block;
  position: fixed; /* Stay in place */
  z-index: 30000; /* Sit on top */
  right: 2%;
  top: 170px;
  background-color: none;

}
		
/* Modal Content/Box */
.w3-modal-content {
  background-color: none;
  z-index: 13000001; /* Sit on top */
    text-align: right;
    float: left;
	right: 2%;
    margin: 10px;
    padding: 0px;
    border: none;
    width: 240px;
}
		
.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 16px 0px;
    border-radius: 15px;
    font-size: 8px;
    text-align: center;
}

.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 25px;
    font-size: 10px;
    text-align: center;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 3px 15px 5px #444;
    box-shadow: 0px 3px 15px 5px #444;
 border: 1px solid #888;
}

.bordertop {
border-top: 1px solid #111
}
	
.widget ul {
list-style-type: none;
margin-left: -40px
}
