/* Project */

.projects-list-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.project-filters {
    margin-top: 2rem;
}

.project-filters select {
    margin: 0;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    align-self: left;
    width: auto;
    background-image: linear-gradient(45deg, transparent 50%, #222 50%), linear-gradient(135deg, #222 50%, transparent 50%), linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
}

.project-filters select option {
    background: rgba(0, 0, 0, 0.9);
}

.project-wrap {
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    line-height: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    min-width: 300px;
}

.project-wrap .project-logo-wrap {
    width: 200px;
    height: 200px;
    object-fit: contain;
    background-position: center;
    background-color: #fff;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.2);
    transition: all ease 0.3s;
    border: 2px solid transparent;
    border-radius: 1rem;
}

.project-wrap .project-logo-wrap:hover {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0);
    border: 2px solid #ED2929;
}

.project-wrap .project-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-position: center;
    background-color: #fff;
    /*padding: 2rem;*/
    box-sizing: border-box;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 600px) {
    .project-wrap {
    }
}

.project-meta {
    position: relative;
    z-index: 1;
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.project-meta .project-title {
    height: 60px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.project-wrap .button {
    margin: 0 auto;
    align-self: start;
}

/* Project Detials Modal */
.heading-tag {
    display: inline-flex;
    align-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all ease 0.3s;
    border: 0;
    margin: 1rem 0;
}

/* Portfolio Detials Page */
.project-details-section-content {
    background: #333;
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: auto;
    max-height: 300px;
    border-radius: 1rem;
    box-sizing: border-box;
}

/* Portfolio Detials Page */
body.page92932 .project-details-section-content {
    background: none;
    max-height: 100%;
    padding: 0;
}

body.page92932 .project-share {
    display: none;
}

.project-description {
}

.project-description h2 {
    font-size: 3rem;
    margin: 0;
}

.project-description .project-details-section-content {
    overflow: auto;
    max-height: 300px;
}

.project-location {
    margin-top: .5rem;
    opacity: 0.5;
}

.project-gallery {
    width: 100%;
    max-width: 800px;
}
/* Portfolio Detials Page */

body.page92932 .project-gallery {
    padding-bottom: 3rem;
}

.project-gallery .gallery-wrap, .project-gallery .gallery-wrap span {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-gallery .gallery-wrap .gal-image-wrap {
    width: auto;
}

.project-gallery .galTitle {
    display: none;
}

.project-gallery img {
    width: 100px;
    height: 100px;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 1rem;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: ease opacity 0.3s;
}

.project-gallery .gallery-wrap .gal-image-wrap img:hover {
    opacity: 0.5;
}

.project-testimonial {
}

.project-testimonial img {
    margin-bottom: 2rem;
}

/* Detials Modal */
body.show-modal .header-wrap {
    opacity: 0;
    z-index: -1;
}

.project-detail-modal {
    display: none;
    opacity: 0;
    transition: all opacity 0.3s;
}

body.show-modal .project-detail-modal {
    opacity: 1;
    position: fixed;
    top: 0;
    lefT: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2300;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

body.show-modal .project-detail-modal-bg {
    position: fixed;
    top: 0;
    lefT: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.project-detail-modal-inner {
    position: relative;
    box-sizing: border-box;
    background: #222;
    margin: 0 4rem;
    width: 90%;
    max-width: 800px;
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.8);
    border-radius: 1rem;
}

.project-detail-modal-content {
    position: relative;
    box-sizing: border-box;
    padding: 2rem;
    padding-bottom: 1rem;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    text-align: left;
    color: #fff;
}

.close-modal {
    position: absolute;
    top: -1rem;
    right: -1rem;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    background: #ED2929;
    font-size: 2rem;
    width: 30px;
    height: 30px;
    line-height: 1;
    text-align: center;
    color: #fff;
    cursor: pointer;
    transition: ease color 0.3s;
    border-radius: 100rem;
    font-weight: 600;
    z-index: 300;
}

.close-modal:hover {
    color: #fff;
}

.loading-icon {
    min-height: 200px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.copy-text-button {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    align-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;

}

.copy-text {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-family: monospace;
    font-size: 1.6rem;
    flex-grow: 1;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 1rem 0 0 1rem;
            max-width: max-content;
}

.copy-indicator {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    height: 40px;
    background: #222;
    color: #fff;
    box-sizing: border-box;
    border-radius: 0rem 1rem 1rem 0rem;
}
