/*LAYOUT*/

.content-item {
    width: 33.33%;
    height: auto;
    padding-left: 3%;
    padding-right: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 6%;
}

.content-item.vertical-image {
    padding-left: 6%;
    padding-right: 6%;
}

.content-item img {
    width: 100%;
}

.item-label {
    font-family: "title-font";
    text-align: center;
    font-size: 10.5pt;
    margin-top: 2%;
}

.item-wrapper {
    position: relative;
}

.item-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
    transition: opacity 0.1s ease-out;
    font-family: 'title-font';
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;


}

.item-overlay-label {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 10pt;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;

}

.content-item .item-label {
    display: none;
}

.nav span.nav-projects {
/*    font-family: 'title-bold-font';*/
    color: #3c3c3c;
}


/*for mobile*/


/*2 columns*/

@media screen and (max-width: 1000px) {
    .content-item {
        width: 50%;
        margin-bottom: 13%;
    }
}


/*1 column*/

@media screen and (max-width: 500px) {
    #site-wrapper {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    #main-content {
        flex-direction: column;
        padding-left: 0%;
        padding-right: 0%;
    }
    .content-item {
        width: 100%;
    }
    .content-item,
    .content-item.vertical-image {
        padding-left: 5%;
        padding-right: 5%;
    }
    .content-item .item-label {
        display: block;
    }
    .item-overlay {
        display: none;
    }
}
