﻿
img {
    max-width: 100%;
}
/*.gallery*/
.gallery {
    width: 100%;
    display: block;
    min-height: 100vh;
    background-color: #2a2932;
    padding: 100px 0;
}

    .gallery .gallery-filter {
        padding: 0 15px;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

        .gallery .gallery-filter .filter-item {
            color: #ffffff;
            font-size: inherit;
            text-transform: uppercase;
            display: inline-block;
            margin: 0 10px;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            line-height: 1.2;
            transition: all 0.3s ease;
        }

            .gallery .gallery-filter .filter-item.active {
                color: #ff9800;
                border-color: #ff9800;
            }

    .gallery .gallery-item {
        width: calc(100% / 3);
        padding: 15px;
    }

    .gallery .gallery-item-inner img {
        width: 100%;
    }

    .gallery .gallery-item.show {
        animation: fadeIn 0.5s ease;
    }

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.gallery .gallery-item.hide {
    display: none;
}

/*responsive*/
@media(max-width: 991px) {
    .gallery .gallery-item {
        width: 50%;
    }
}

@media(max-width: 767px) {
    .gallery .gallery-item {
        width: 100%;
    }

    .gallery .gallery-filter .filter-item {
        margin-bottom: 10px;
    }
}

#gallery {
    padding-top: 40px;
}

@media screen and (min-width: 991px) {
    #gallery {
        padding: 60px 30px 0 30px;
    }
}

.img-wrapper {
    position: relative;
    margin-top: 15px;
}

    .img-wrapper img {
        width: 100%;
    }

.img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

    .img-overlay i {
        color: #fff;
        font-size: 3em;
    }

#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    #overlay img {
        margin: 0;
        width: 80%;
        height: auto;
        -o-object-fit: contain;
        object-fit: contain;
        padding: 5%;
    }

@media screen and (min-width: 768px) {
    #overlay img {
        width: 60%;
    }
}

@media screen and (min-width: 1200px) {
    #overlay img {
        width: 50%;
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}

    #nextButton:hover {
        opacity: 0.7;
    }

@media screen and (min-width: 768px) {
    #nextButton {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}

    #prevButton:hover {
        opacity: 0.7;
    }

@media screen and (min-width: 768px) {
    #prevButton {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;
}

    #exitButton:hover {
        opacity: 0.7;
    }

@media screen and (min-width: 768px) {
    #exitButton {
        font-size: 3em;
    }
}

.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@-webkit-keyframes beat {
    to {
        transform: scale(1.4);
    }
}

@keyframes beat {
    to {
        transform: scale(1.4);
    }
}

.artboard .cards {
    text-align: center;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
}

    .artboard .cards .card {
        min-width: calc(25%);
        min-height: 100%;
        text-align: center;
        background-size: content;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        transition: 500ms cubic-bezier(1, 0.02, 0, 0.98);
        vertical-align: middle;
    }

        .artboard .cards .card a {
            font-family: inherit;
            font-size: 20px;
            text-transform: uppercase;
            vertical-align: middle;
            text-align: center;
            position: relative;
            top: 30%;
            transition: 250ms cubic-bezier(1, 0.02, 0, 0.98);
        }

.artboard .p1 {
    background: url("../../Portfolio/img/portfolio/Apps/tasteincake-app.jpg");
}

.artboard .p2 {
    background: url("../../Portfolio/img/portfolio/Apps/tasteincake-app.jpg");
}

.artboard .p3 {
    background: url("../../Portfolio/img/portfolio/Apps/tasteincake-app.jpg");
}

.artboard .p4 {
    background: url("../../Portfolio/img/portfolio/Apps/tasteincake-app.jpg");
}

.open {
    min-width: 100% !important;
}

    .open a {
        top: 100% !important;
    }

.close {
    min-width: 0% !important;
}

    .close a {
        top: -50% !important;
    }

.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 30px;
    line-height: 20px;
}
