@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Open+Sans:wght@500&display=swap');
@font-face {
    font-family: 'Noir Jolie';
    src: url('./font/noirjolie.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.project-popup-container {
    position: fixed;
    height: 100vh;
    width: 100vw;
    width: 100vsw;
    height: 100vsh;
    display: none;
    flex-direction: column;
    opacity: 0;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    z-index: 200;
    transition: all .3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.698);
}

.project-popup {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    object-fit: fill;
    flex-direction: column;
    justify-content: space-between;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
    transition: all .3s ease-in-out;
}

.project-popup-top {
    color: white;
    padding: 25px 25px 0 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.project-popup-top * {
    padding: 0;
    margin: 0;
}

.project-popup-top h3 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .13rem;
}

.popup-toggle {
    color: black;
    margin-left: auto;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 100%;
    transition: all .2s ease-in-out;
    background-color: rgba(255, 255, 255, 0.532);
}

.popup-toggle:hover {
    background-color: rgba(255, 255, 255, 0.999);
}

.slideshow-controls {
    top: 48%;
    width: 80%;
    display: flex;
    margin: 0 auto;
    position: absolute;
    justify-content: space-between;
    align-items: center;
}

.slideshow-arrow {
    cursor: pointer;
    padding: 10px;
    margin: 0 20px;
    color: white;
    font-size: 24px;
    user-select: none;
    z-index: 10;
    font-size: 2em;
    font-weight: 100;
    transform: scale(1, 1.5);
    transition: all .2s ease-in-out;
}

.slideshow-arrow:hover {
    font-weight: 500;
}


.project-popup-desc {
    width: 80%;
    position: absolute;
    color: white;
    display: flex;
    padding: 0;
    bottom: 0;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-end;
}

.project-popup-desc p {
    margin: 0;
    z-index: 201;
    padding: 25px;
    font-family: Lato;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7em;
    letter-spacing: .63px;
    filter: brightness(.9);
    transition: all .2s ease-in-out;
    background: #000000;
    /* background: linear-gradient(
        to top, 
        #660404e3,             
        #8c0606d1 45%,
        #b30808b0 55%,
        #d90a0a8f 65%,
        #ff0c0c6e 75%,
        #fff0
    ); */
}

@media (max-width: 400px) {

}

@media (max-width: 768px) {
    .project-popup {
        width: 100%;
    }

    .project-popup-desc {
        width: 100%;
    }

    .slideshow-controls {
        width: 100%;
    }
}

@media (max-width: 1260px) {
    .project-popup-desc p {
        background: black;
    }
}