@media(min-width: 0) and (max-width:991px) {
    #projects {
        position: relative;
        display: block;
        top: 0;
    }
    .project {
        width: 33.33%;
        height: 200px;
        display: block;
        float: left;
    }
    #mobile {
        display: none;
    }
    #navbar-contact {
        height: 68px;
    }
    #email, #facebook {
        width: 35px;
        height: 35px;
        display: inline-block;
    }
    .navbar-default {
        position: fixed;
        right: 0;
        left: 0;
        top: 0;
        z-index: 1030;
    }
    #wrapper {
        margin-top: 66px;
    }
    #text-content {
        padding-right: 70px;
    }
}

@media(min-width: 0) and (max-width:768px) {
    .navbar-nav {
        margin: auto;
    }
    .project {
        width: 50%;
        height: 200px;
    }
    #text {
        width: 70%;
    }
}

@media(min-width: 425px) and (max-width:768px) {
    .navbar a {
        font-size: 1.2em;
    }
    #navbar-contact a div {
        background-size: 200%;
    }
    #email, #facebook {
        width: 28px;
        height: 30px;
        display: inline-block;
    }
    #navbar-contact a div {
        margin-top: 20px;
    }
    #facebook:hover {
        background-position: -28px 0;
    }
    #email:hover {
        background-position: -30px 0;
    }
}

@media(min-width: 0) and (max-width:424px) {
    .navbar a {
        font-size: 0.8em;
    }
    #navbar-contact img {
        width: 40%;
    }
    .project {
        width: 100%;
        height: 200px;
    }
    #wrapper.toggled #sidebar-wrapper {
        width: 100%;
    }
    #text, #text-full {
        width: 100%;
    }
    #navbar-contact a div {
        background-size: 200%;
        margin-top: 25px;
    }
    #email, #facebook {
        width: 19px;
        height: 20px;
    }
    #facebook:hover {
        background-position: -18px 0;
    }
    #email:hover {
        background-position: -20px 0;
    }
    #text-content {
        height: 90%;
    }
    #text-nav {
        height: 10%;
    }

}