@media only screen and (min-width: 1000px){
    body{
        font-size: 1vw;
    }
}

.top-navbar{
    border-bottom: 1px solid #000000;
    background: #848c8c;
}

.projects-page{
    height: 100vh;
}

.projects-page-inner{
    border-right: 1px solid #000000;
    background-image: url('../images/triangle-left-image-background.png');
    background-size: auto 100%;
    background-position: -5em 0;
    background-repeat: no-repeat;
    margin-top: 4.063em;
    background-position: -5em 0;
}

@media only screen and (max-width: 900px){
    .top-navbar{
        border: none !important;
        padding: 12px 15px 12px 35px;
    }

    .projects-page{
        height: auto;
    }

    .projects-page-inner{
        margin-top: 65px;
    }
}

/* projects filter container */

.projects-filter-container{
    padding: 0.375em;
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
}

.projects-filter-link{
    color: #8c8c8c;
    font-size: 1.125em;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}

.projects-filter-link:hover{
    color: #8c8c8c;
}

.projects-filter-link.active{
    color: #4c4c4c;
}

.projects-filter-link.disabled{
    pointer-events: none;
    opacity: 0.4;
}

@media only screen and (max-width: 900px){
    .projects-filter-container{
        padding: 8px;
        border-top: 1px solid #000000;
    }

    .projects-filter-link{
        font-size: 15px;
    }
}

/* projects details */

.project-description{
    color: #000000;
    font-size: 0.9375em;
    text-align: right;
    display: block;
    margin-left: auto;
    padding-right: 3.125em;
    margin-top: 3.75em;
    margin-bottom: 3.75em;
}

.project-pre-text{
    color: #000000;
    font-family: 'RecklessNeue';
    font-weight: 500;
    margin-right: 10%;
    font-size: 2.1875em;
    border-bottom: 1px solid #da291c;
    text-align: right;
}

.project-status{
    text-transform: uppercase;
    color: #000;
    margin: 0;
    border-top: 1px solid #da291c;
    border-bottom: 1px solid #da291c;
    font-weight: 500;
    font-size: 1.375em;
    padding: 0.625em 0px;
    text-align: center;
    margin-top: 2.5em;
}

@media only screen and (max-width: 900px){
    .project-description{
        font-size: 15px;
        padding-right: 50px;
        margin-top: 60px;
        margin-bottom: 60px;
    }
    
    .project-pre-text{
        font-size: 42px;
    }
    
    .project-status{
        font-size: 22px;
        padding: 10px 0px;
        margin-top: 40px;
    }
}

/* projects features */

.project-features-container{
    width: max-content;
    margin-left: auto;
    margin-right: 10%;
}

.project-feature-title{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9375em;
    white-space: nowrap;
    color: #a0a0a0;
    margin-bottom: 0.25em;
}

.project-feature-value{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9375em;
    white-space: nowrap;
    color: #000;
    margin: 0;
}

.project-features-container .row{
    margin-top: 2.5em;
}

@media only screen and (max-width: 900px){
    .project-features-container{
        width: 100%;
        margin: 0;
        background-image: url('../images/triangle-right-image-background.png');
        background-size: auto 100%;
        background-position: right;
        background-repeat: no-repeat;
        padding: 50px 20px 12px 20px;
    }

    .project-feature-title{
        font-size: 15px;
        margin-bottom: 4px;
    }

    .project-feature-value{
        font-size: 15px;
    }

    .project-features-container .row{
        margin-bottom: 40px;
        margin-top: 0px;
    }
}

/* projects name swiper */

#project-name-swiper{
    width: 100%;
}

#project-name-swiper .swiper-slide{
    height: auto;
}

.project-name{
    color: #999999;
    font-family: 'RecklessNeue';
    font-weight: 500;
    font-size: 2.1875em;
    margin-bottom: 0.5em;
    transform: scale(0.8);
    transform-origin: left center;
    transition-duration: 0.4s;
    cursor: pointer;
}

#project-name-swiper .swiper-slide-active .project-name{
    color: #000000;
    transform: scale(1);
}

.project-number-pagination{
    font-weight: 400;
    font-size: 1.125em;
    color: #a0a0a0;
    text-align: right;
    border-bottom: 1px solid #da291c;
    padding-left: 1.25em;
    padding-bottom: 0.5625em;
    margin-top: 0.1875em;
    width: 5em;
    padding-right: 0.5em;
}

.project-name-transparent-layer{
    width: 100%;
    height: 12.5em;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%); 
    pointer-events: none;
}

/* projects image swiper */

#project-image-swiper{
    width: 100%;
    height: 100vh;
    margin-right: 3.438em;
}

#project-image-swiper .swiper-slide{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#project-image-swiper .swiper-slide p{
    margin: 0;
    color: #fff;
    font-size: 15px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* projects mobile swiper */

#project-mobile-swiper{
    width: 100%;
}

#project-image-mobile .swiper-slide{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.project-mobile-image{
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-mobile-image div{
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 20px;
}

.project-mobile-image h1{
    color: #fff;
    text-transform: uppercase;
    font-size: 45px;
    font-weight: 500;
    margin: 0px;
}

.project-mobile-image h2{
    color: #fff;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 500;
    margin: 0px;
    text-align: right;
}

.project-mobile-image p{
    text-align: right;
    margin: 0;
    color: #fff;
    font-size: 12px;
    margin-top: 10px;
}

.project-mobile-swiper-pagination{
    font-weight: 400;
    position: absolute;
    bottom: 40px;
    right: 14px;
    color: #777;
}

.project-mobile-swiper-pagination span{
    color: #ef0000;
}

.project-mobile-swiper-link{
    border-top: 1px solid #000000;
    padding: 8px 20px;
}

.project-mobile-swiper-link i{
    right: 20px;
}

.project-mobile-swiper-link:hover i{
    right: 5px;
}

#project-mobile-swiper .swiper-button-prev{
    scale: 0.7;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.7);
}

#project-mobile-swiper .swiper-button-next{
    scale: 0.7;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.7);
}