﻿/*References-Projects Page Style*/
body {
    overflow-x: hidden;
}

.projects-bg {
    background-color: #e5e5e5;
}

.project-name {
    color: #070155;
    border-bottom: 2px solid #FE5001;
}

.project-selector {
    text-decoration: none;
    border-bottom: 1px solid #FE5001;
}

.project-header {
    text-decoration: none;
    border-bottom: 1px solid #FE5001;
}

    .project-header:hover {
        left: 10px;
    }

.project-detail {
    display: none;
}

.project-info {
    margin: 1rem;
}

.thead {
    font-weight: 800;
}

.gallery {
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

    .gallery::after {
        content: "";
        display: table;
        clear: both;
    }

    .gallery img {
        display: flex;
        margin: auto;
        object-fit: cover;
        height: 431px;
        width: 100%;
    }

@media screen and (max-width: 675px) {
    .gallery img {
        height: auto;
    }
}

.gallery .col-sm-4 {
    margin-bottom: 1rem;
}

.gallery .col-md-4 {
    margin-bottom: 1rem;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project {
    padding: 1rem;
}

.project-image {
    box-shadow: 1px 2px 12px 4px #aea7a747;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.pergola-image {
    height: 350px !important;
}

.project-image:hover {
    opacity: 0.75;
}

.project-image-info {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    color: #f1f1f1;
    width: 83%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 14px;
    padding: 20px;
    text-align: center;
    z-index: 10;
}

.project-image-info-no {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    color: #f1f1f1;
    width: 70%;
    transition: .5s ease;
    color: white;
    font-size: 14px;
    padding: 20px;
    text-align: center;
    z-index: 10;
}

.col-sm-4 {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .col-sm-4:hover .project-image-info {
        opacity: 1;
    }

.col-md-4:hover .project-image-info {
    opacity: 1;
}

.project-gallery-modal {
    display: flex;
    z-index: 32;
    align-items: center;
    justify-content: center;
    position: fixed;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    animation-name: modal;
    animation-duration: 0.6s;
    -webkit-animation-name: modal;
    -webkit-animation-duration: 0.6s;
}

.project-gallery-modal-img {
    display: flex;
    margin: auto;
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    height: 700px !important;
}

.product-gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 800px) {
    .project-gallery-modal-img {
        width: 450px;
        height: 400px !important;
    }

    .close-project-gallery {
        right: 20px !important;
        top: 190px !important;
    }
}

@media screen and (max-width: 450px) {
    .project-gallery-modal-img {
        width: 350px;
    }

    .project-image-info {
        padding: 0.5rem;
        width: 50%;
    }
}

@media screen and (max-width: 1000px) {
    .project-image-info {
        padding: 1rem;
    }
}

.close-project-gallery {
    position: absolute;
    top: 120px;
    right: 110px;
    transition: 0.3s ease;
    cursor: pointer;
    font-size: 50px;
    color: rgb(255, 255, 255);
    padding: 5px;
    line-height: 30px;
}

    .close-project-gallery:hover {
        color: rgb(201, 200, 200);
    }

@keyframes modal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes modal {
    from {
        -webkit-opacity: 0;
    }

    to {
        -webkit-opacity: 1;
    }
}


.project-tilt-element {
    transform-style: preserve-3d;
}

    .project-tilt-element:hover .project-inner-text {
        display: flex !important;
        opacity: 1;
    }

.project-inner-text {
    opacity: 0;
    display: none !important;
    position: absolute;
    height: 100%;
    top: 0%;
    width: 100%;
    transform: translateZ(30px);
    box-shadow: 0 0 50px 0 rgba(51, 51, 51, 0.3);
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000003d;
    border-radius: 10px;
    transition: 0.8s ease;
    text-shadow: 6px 5px 10px black;
    animation: modal 1s;
}
