/* =Scss Variables
-------------------------------------------------------------- */


/* =Template
-------------------------------------------------------------- */

#wrapper {
    width: 100%;
    margin: 0 auto;
}

#main {
    background-color: #fff;
    padding-top: 150px;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 60px 0;
}

section h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

section p {
    margin-bottom: 30px;
}

section p:last-child {
    margin-bottom: 0;
}

section.color {
    background-color: #3cb5f9;
    color: white;
}


/* =Info Bar
-------------------------------------------------------------- */

#info-bar {
    background-color: #3cb5f9;
}

#info-bar a {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    margin: 0;
    padding: 10px;
}

#info-bar a:hover {
    background-color: #0793e2;
}

#info-bar span.all-tutorials,
#info-bar span.back-to-tutorial {
    display: block;
    width: 50%;
}

#info-bar span.all-tutorials {
    float: left;
    text-align: left;
}

#info-bar span.back-to-tutorial {
    float: right;
    text-align: right;
}


/* =Header
-------------------------------------------------------------- */

header {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #0683c9;
    -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 h1#logo {
    display: inline-block;
    height: 150px;
    line-height: 150px;
    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.smaller {
    height: 75px;
}

header.smaller h1#logo {
    width: 150px;
    height: 75px;
    line-height: 75px;
    font-size: 30px;
}


/* =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.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;
    }
}