.tags {
    margin: 1rem 0;
}

.tag-label {
    font-size: 1.4rem;
    margin: 0.25rem;
}

.tag-label:hover {
    cursor: pointer;
}

.tag-checkbox {
    display: none;
}

.tag-text {
    display: block;
    color: #18BC9C;
    border: 2px solid;
    border-radius: 3px;
    transition: all 500ms ease-in-out;
    padding: 1rem;
}

.tag-text:hover,
.tag-checkbox:checked + .tag-text {
    background: #18BC9C;
    color: #FFF;
    border-radius: 3px;
}

.tag-text:hover {
    opacity :0.75;
}

.tag-checkbox:checked + .tag-text {
    opacity :1;
}

.projects > div {
    margin-bottom: 30px;
}

.project {
    max-width: 200px;
    border: 1px solid #CCC;
    border-radius: 0.25rem;
    display: block;
}

.project:hover {
    cursor: pointer;
}

.project-modal {
    padding: 0 !important;
}

.project-modal .modal-content {
    min-height: 100%;
    border: none;
    border-radius: 0;
    text-align: justify;
}

.project-modal .modal-header {
    border-bottom: none;
    height: 80px;
}

.project-modal .lr {
    width: 1px;
    background: #333;
    transform:rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform:rotate(45deg);
}

.project-modal .lr .lr {
    width: 1px;
    margin: 0;
    transform:rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform:rotate(90deg);
}

.project-title,
.project-date {
    text-align: center;
}

.project-modal .modal-footer {
    border-top: none;
}

.project-modal .modal-footer .close {
    float: none;
    display: block;
    margin: 0 auto;
    padding: 1rem;
    color: #18BC9C;
    border: 2px solid;
    opacity: 0.4;
    border-radius: 3px;
    transition: all 500ms ease-in-out;
    font-size: 2rem;
}

.project-modal .modal-footer .close:hover {
    opacity: 0.8;
    background: #18BC9C;
    color: #FFF;
    border-radius: 3px;
}

.carousel {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 1rem;
}

figure {
    margin: 5rem 0;
    text-align: center;
}

figcapture {
    display: block;
}

@media (max-width: 543px) {
    .project {
        margin: 0 auto;
    }

    .project-modal .modal-header .close {
        width: 55px;
        height: 55px;
    }

    .project-modal .lr {
        height: 55px;
        margin-left: 27px;
    }

    .project-modal .lr .lr {
        height: 55px;
    }
}

@media (min-width: 544px) {
    .project-modal .modal-header .close {
        width: 75px;
        height: 75px;
    }

    .project-modal .lr {
        height: 75px;
        margin-left: 35px;
    }

    .project-modal .lr .lr {
        height: 75px;
    }



}
