
/* ========== PROJECTS ========== */
.section#projects a{
    text-decoration: none;
    color: var(--text-color);
}

.project {
    position: relative;
    display: inline-block;
    justify-content: space-between;
    align-items: end;
    margin: 0;   
    
}

.project-more-overlay{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #00000000;
    overflow: hidden;
}

.project:hover .project-more-overlay{
    background-color: rgba(0, 0, 0, 0);
}


.project-more{
    position: absolute;
    width: 100px;    
    height: 100px;    
    left: 50%;
    top:100%;
    transform: translate(-50%,0%);
    transition: top 400ms ease, transform 400ms ease;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
    align-content: center;
    text-align: center;
    z-index: 5;
}

@media (hover: hover) and (pointer: fine){
    .project:hover .project-more{
        top:50%;
        transform: translate(-50%,-50%);
    }

    .project:hover .project-content{
        bottom: 50px;
    }
    .project .cta-button{
        transform: scale(0);
    }
}

@media(hover: none) and (pointer: coarse)
{
    .project .cta-button{
        transform: scale(1);
        width: 200px;
        height: 40px;
        align-content: center;
        margin-bottom: 40px;
    }
}

.project .project-content{
    position: relative;
    border-top: 1px solid #AAA;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    gap:50px;
    bottom: 0;
    transition: bottom 0.4s ease;
}

.project a{
    text-decoration: none;
    color: #000;
}

.project-images-list{
    display: flex;
    gap: 20px;
}

.project img {
    max-width: 50%;
    max-height: 60vh;
    object-fit: contain;
}

.project .project_info{
    margin:0
}


.section#projects .content .projects-introduction{
    font-weight: 900;
    margin-bottom:100px;
}


@media (orientation: portrait) or (max-width:900px){
    .section#projects .content .projects-introduction{
        width: 90%;
    }
    .project .project_text h3, .project .project_text p{
        width: 100%;
        margin: 0;
    }

    .project .project_text{
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 20px;
    }

    .project-content{
        padding: 40px 0px 40px 00px;
    }
}

@media (orientation: landscape) and (min-width:900px){
    .section#projects .content .projects-introduction{
        width: 60%;
    }
    .project .project_text h3, .project .project_text p{
        width: 50%;
        margin: 0;
    }
    .project .project_text{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    .project-content{
        padding: 40px;
    }
}

.project .project_text h3{
    font-size: 30px;
}

.section#projects .content{
    gap:0;
    border-bottom: 1px solid #AAA;
    margin-bottom: 150px; 

    /* background: #FFF; */
}


