#video-modal {
    position: fixed;
    z-index: 8;
    left: 20px;
    bottom: 20px;
}

#video-modal iframe {
    width: 30vw;
    height: 35vh;
}

#cross-icon {
    font-size: 3rem !important;
    /* color: var(--main-site-color); */
}

#video-modal-button {
    position: fixed;
    left: 20px;
    bottom:40px;
    width: 60px;
    height: 60px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    display: inherit;
    align-items: center;
    justify-content: center;
    pointer-events: initial;
    background-size: 130% 130%;
    outline: none;
    font-size: 3rem;
    z-index: 5;
}

#video-modal-button i {
    color: white;
}

.projects-page {
    background-image: linear-gradient(183deg, rgba(192, 170, 113, 0.16), rgba(243, 224, 171, 0.0384));
}

.project-description-container {
    padding: 40px;
    background-color: #f7f7f7;
}

.project-description-container h2 {
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    font-family: "Optima LT W01 Roman", Arial, Helvetica, sans-serif;
    letter-spacing: 1.5px;
    color: var(--main-site-color);
}

.project-description-container p {
    font-weight: 500;
    font-size: 1.7rem;
    font-family: "Open Sans", sans-serif;
    color: #525252;
}

.project-description-container a {
    font-family: "Optima LT W01 Roman", Arial, Helvetica, sans-serif;
    color: var(--main-site-color);
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.project-description-container a:hover {
    color: var(--main-site-color);
}

/* 
.project-item-buttons a:not(:nth-child(1)) {
    margin-left: 20px;
}
*/

.project-item {
    border: 2px solid #3c3d41;
}

.project-item:nth-child(even) .first { order: 0; }
.project-item:nth-child(odd) .first { order: 1; }

.project-item-buttons a i {
    position: relative;
    top: 2px;
}

:lang(ur) .project-item {
    flex-direction: row !important;
    text-align: right;
}

.project-item .project-description-container {
    width: 40%;
}

.project-item .project-image {
    width: 60%;
}
/* 
.projects-section .slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0 0;
    padding: 1rem 0;
    list-style-type: none;
}

.projects-section .slick-dots li {
    margin: 0 0.25rem;
}

.projects-section .slick-dots button {
    display: block;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: none;
    border-radius: 100%;
    background-color: #999;
    text-indent: -9999px;
}

.projects-section li.slick-active button {
    background-color: var(--main-site-color);
}
*/

@media only screen and (max-width: 900px) {
    .project-description-container h2 {
        font-size: 2.5rem;
    }

    .project-description-container p {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .mobile-black-bg {
        background-color: rgba(128, 128, 128, 0.432);
        position: fixed;
        z-index: 7;
        width: 100vw;
        height: 100vh;
    }

    #video-modal-button {
        display: none;
    }

    #video-modal {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #video-modal iframe {
        width: 95vw;
        height: 35vh;
    }

    :lang(ur) .project-item {
        flex-direction: column !important;
    }

    .project-item .project-description-container {
        width: 100%;
    }

    .project-item .project-image {
        width: 100%;
    }

    .project-image {
        height: 300px;
    }

    .project-item {
        flex-direction: column;
    }

    .project-item:nth-child(even) .first { 
        order: 1; 
    }
    
    .project-description-container h2 {
        font-size: 2.5rem;
    }

    .project-description-container p {
        font-size: 1.5rem;
    }

    .project-item-buttons {
        display: flex !important;
        flex-direction: column !important;
    }

    .project-item-buttons a:not(:nth-child(1)) {
        margin-left: 0;
    }
}
