/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-size: 18px;
  line-height: 1.8;
  position: relative;
  background-color: #fafafa;

}

h1, h2, h3, h4 {

  margin-bottom: 1em;
  opacity: 0.95;
}

h1 {
  font-size: 64px;
  padding-top: 1rem;
}
h2 {
  font-size: 48px;
}
footer {
  padding: 30px 0;
}


.brand {padding: 40px 10px 40px 20px;}

.color {
  display: inline-block;
  width: 300px;
  background: #333;
  margin: 0px 10px 10px 0;
  padding: 20px;
  font-size: 18px;}


/* NAV */
#scrollspy-nav ul {
  list-style-type: none;
  padding-left: 0;
}
.list-group-item:last-child, .list-group-item:first-child  {border-radius: 0;}
.nav-link {
  border: none;
  margin-left: 0;
  color: #6a6a6a;
  font-size: 16px;
  font-weight: 800;
}
.nav-link.active,
.nav-link:hover {
  background: none;
  transition: border  0.2s ease-in-out 0s;
  -moz-transition: border  0.2s ease-in-out 0s;
  -webkit-transition: border  0.2s ease-in-out 0s;
  -o-transition: border  0.2s ease-in-out 0s;
}

a:hover, a:active, a:focus {
 transition: color 0.2s ease-in-out 0s;
 -moz-transition: color 0.2s ease-in-out 0s;
 -webkit-transition: color 0.2s ease-in-out 0s;
 -o-transition: color 0.2s ease-in-out 0s;
}

.text-muted {font-size: 14px; opacity: 0.6;}

.details {
  max-width: 900px;
  border-left: 1px solid #ededed;
  padding-left: 60px;
  padding-right: 20px;
  position: relative;
}

.section {
  padding-top: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #ededed;
}

.sidebar {
  position: fixed;
  background: #181818;
  height: 100%;
}

.sidebar .nav-item a{
  background: transparent;
}

.sidebar {
  position: fixed;
  top: 0;
}

footer {
  opacity: 0.5;
}

.menu-bar {
  position: fixed;
  top: 0px;
  left: 0;
  background-color: #fff;
  width: 100%;
  padding: 20px ;
  z-index: 10;
  border-bottom: 2px solid #ededed;

}
/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;

  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -100%; /* 12 columns */
  }

  .row-offcanvas-right.active
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -100%; /* 12 columns */
  }

  .row-offcanvas-left.active
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}

/* RESPONSIVE TOUCHES */

@media screen and (max-width: 767px) {
  body {
      padding-top: 20px;
    }
    .section {
      padding-top: 80px;
    }
    .details {
      padding-left: 40px;
      padding-right: 40px;
    }
  footer {
    text-align: center;
    font-size: 14px;
  }
}
