header {
      /* box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.19)!important; */
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: fixed;
    top: 41px;
    left: 0;
    z-index: 999;
    background-color: rgba(21, 22, 24, 0.63);
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}
  header .navbar-brand #logo {
    width:300px;
    display: inline-block;
    /*height: 150px;*/
    line-height: 150px !important;
    /*float: left;*/
    font-family: "Oswald", sans-serif;
    font-size: 60px;
    color: white;
    font-weight: 400;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s; }
  header nav {
    display: inline-block;
    float: right; }
    header nav a {
      line-height: 150px;
      margin-left: 20px;
      color: #9fdbfc;
      font-weight: 700;
      font-size: 18px;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -o-transition: all 0.3s;
      transition: all 0.3s; }
      header nav a:hover {
        color: white; }
  header.smaller {
    height: 75px; 
    background-color:#fff;
    color:#000;
    top: 0px !important;
    box-shadow: 0px 1px 15px 0 rgba(0, 0, 0, 0.07);

  }

    header.smaller .navbar-brand #logo {
    width: 206px !important;
    /* height: 75px; */
    line-height: 75px !important;
    font-size: 30px;
    display:none;
    }

    header.smaller .navbar-default .navbar-nav > li > a {
        line-height:23px !important; 
        color:#1D1D1D;
        padding-top: 26px !important;
        padding-bottom: 26px !important;
    }
    header.smaller .navbar-default .navbar-nav > li > a:hover{
        color:#8DC638;
    }
    header.smaller .navbar-default .navbar-nav > li:before {
    background: rgba(0, 0, 0, 0.4);
}
/* =Footer
-------------------------------------------------------------- */
/* =Extras
-------------------------------------------------------------- */
.clearfix:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0; }

/* =Media Queries
-------------------------------------------------------------- */
@media all and (max-width: 660px) {
  /* =Header
  -------------------------------------------------------------- */
  header h1#logo {
    display: block;
    float: none;
    margin: 0 auto;
    height: 100px;
    line-height: 100px;
    text-align: center; }
  header nav {
    display: block;
    float: none;
    height: 50px;
    text-align: center;
    margin: 0 auto; }
    header nav a {
      line-height: 50px;
      margin: 0 10px; }
  header.smaller {
    height: 75px; }
    header.smaller h1#logo {
      height: 40px;
      line-height: 40px;
      font-size: 30px; }
    header.smaller nav {
      height: 35px; }
      header.smaller nav a {
        line-height: 35px; } }
@media all and (max-width: 600px) {
  .container {
    width: 100%; }

  #info-bar a {
    display: block; }
  #info-bar span.all-tutorials,
  #info-bar span.back-to-tutorial {
    width: 100%; }
  #info-bar span.all-tutorials,
  #info-bar span.back-to-tutorial {
    float: none;
    text-align: center; }
  #info-bar span.all-tutorials {
    border-bottom: solid 1px #0793e2; } }

@media (max-width:520px) {
header.smaller .navbar-brand #logo {
           width: 270px !important;
    }
header.smaller .navbar-default .navbar-nav > li > a {
    line-height: 43px !important;
}
}
@media (max-width:320px) {
header.smaller .navbar-brand #logo {
           width: 270px !important;
    }
header.smaller .navbar-default .navbar-nav > li > a {
    line-height: 43px !important;
}
}