body, html, div, p, span, h1, h2, h3, h4, h5, ul, li {
    margin: 0;
    padding: 0;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


#container {
    width: 1075px;
    margin: 0 auto;
}

.logo {
    width: 250px;
    margin: 0 auto;
    display: block;
    padding: 50px 0 0 0;
}

span, p, body {
    /* font-family: 'Source Sans Pro', sans-serif; */
    font-family: "usual", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #444;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5 {
    /* font-family: 'Source Code Pro', serif; */
    font-family: "usual", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

img.constrain {
    width: 300px !important;
}

li {
    list-style: none;
    line-height: 1.3;
    margin: 20px 0;
}

a {
    display: block;
    font-family: "usual", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.article-description {
    padding: 20px 0;
}

.article-link {
    display: inline;
    color: #333;
    font-weight: bold;
}

.article-link:hover {
    display: inline;
    color: #777;
    text-decoration: none;
}

.image-description {
    font-style: oblique;
    font-size: 0.9rem;
}

.item-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px 0px;
}

.item-wrapper img {
    width: 525px;
    border: 1px solid #eee;
    display: block;
}

.object-fit-fill {
    object-fit: fill;
    opacity: 1;
    transition: opacity .5s ease-in-out; 
    -webkit-transition: opacity .5s ease-in-out; 
    -moz-transition: opacity .5s ease-in-out;  
}

.object-fit-fill:hover {
    opacity: 0.5; 
}

.item {
    padding-bottom: 50px;
}

.item h2 {
    padding: 10px 0 5px 0;
    letter-spacing: -1px;
    font-size: 1.5rem;
}

.type {
    font-size:1rem;
    padding-bottom: 10px;
}

.btn {
    display: block;
    width: 25%;
    padding: 10px 0;
    margin: 20px 0;
    background-color: #333;
    color: #fff;
    text-align:  center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
}

.btn:hover {
    background-color: #777;
}

.item a {
    /* font-family: 'Source Sans Pro', sans-serif; */
    padding-top: 10px; 
    color: #333;
    font-weight: 900;
    font-size: 1.1rem;
}

.item a:hover {
    color: #777;
    text-decoration:none;
}

.article-wrapper .description {
    margin-bottom: 20px;
}

#two-col {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
}

#three-col {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col {
    width: 48%;
}

#about {
    padding: 50px 0;
    border-top: 2px solid #aaa;
}

#about h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

#about h1 {
    /*font-family: 'Source Sans Pro', sans-serif;*/
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
}

#about h4 {
    font-size: 1.5rem;
    font-weight: 900;
    padding: 20px 0;
}

#about ul {
    display: flex;
    flex-wrap: wrap;
    align-content:flex-start;
}

#about ul li {
    list-style: none;
    display: block;
    width: 135px;
    /* background-color: #444;*/
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    margin: 0 25px 15px 0;
    font-size: 0.9rem;
}

.carousel-cell {
    width: 100%;
    height: 717px;
}

/* Proficiency Colors */

.ps { background-color: #016caa; }
.ai { background-color: #db7d34; }
.id { background-color: #a94a9c; }
.lr { background-color: #2b3f66; }
.pr { background-color: #60479d; }
.html { background-color: #3aa16c; }
.css { background-color: #e76ca0; }
.php { background-color: #329ab0; }
.wp { background-color: #2b348f; }
.ph { background-color: #cd3939; }
.vd { background-color: #2c6784; }
.em { background-color: #e37228; }
.ad { background-color: #627180; }

#footer {
    padding: 50px 0;
    border-top: 2px solid #aaa;
}

#footer h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

#footer ul li {
    list-style: none;
    display: block;
    line-height: 1.75;
    font-size: 1.2rem;
}

#footer ul li a {
    color: #444;
}

#footer ul li a:hover {
    color: #aaa;
}

#sub-footer {
    padding: 50px 0;
}

#sub-footer h5 {
    /* font-family: 'Source Sans Pro', sans-serif; */
    font-weight: 400;
    font-size: .8rem;
    color: #aaa;
    text-align: center;
}

/* ARTICLE CSS */

.back-to-top {
    display: block;
    text-align: center;
    /* font-family: 'Source Sans Pro', sans-serif; */
    padding-top:25px;
    font-size:1.5rem;
    font-weight:700;
    text-decoration: underline;
    color: #333;
    letter-spacing: -1.2px;
}

.back-to-top:hover {
    color: #777;
    text-decoration: none;
}

.back-to-bottom {
    display: block;
    text-align: center;
    /* font-family: 'Source Sans Pro', sans-serif; */
    padding-bottom: 50px;
    font-size:1.5rem;
    font-weight:700;
    text-decoration: underline;
    color: #333;
    letter-spacing: -1.2px;
}

.back-to-bottom:hover {
    color: #777;
    text-decoration: none;
}


.article-wrapper {
    padding: 50px 0px;
}

.article-content img {
    width: 100%;
    height: auto;
}

.article-item {
    padding-bottom: 50px;
}

.article-item img {
    border: 1px solid #eee;
}

.article-item p {
    padding: 10px 0;
}

@media screen and (max-width: 1075px) {
  
    #container {
        width: 90%;
        margin: 0 auto;
    }
    
    .logo {
        width: 30%;
    }
    
    .item-wrapper img {
        width: 100%;
    }
    
    .article-content img {
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 20px 0;
        margin: 5rem 0;
    }

    .carousel-cell {
        height: auto;
    }

    #about ul li {
        width: 100%;
        margin: 0 0 15px 0;
    }

    #two-col {
        display: block;
        width: 100%;
    }

    .col {
        width: 100%;
        margin: 3rem auto;
    }

    
}