.project-hero{
    position: relative;
    width: min(1400px, 96%);
    aspect-ratio: 16 / 9;
    margin: 40px auto 70px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 25px 60px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.03);
}
.project-video{
    width:100%;
    height:100%;
}

.project-video video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.project-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.55) 45%,
        rgba(0,0,0,.2) 100%
        );
        z-index:1;
        transition:opacity .4s ease;
    }

    .project-hero:hover::before{
    opacity:0;
}
    
.project-overlay{
    position:absolute;
    top:0;
    left:6%;
    width:500px;
    height:100%;
    display:flex;
    flex-direction:column;
    padding:60px 0;
    z-index:2;
}

.project-hero:hover .project-overlay{
    opacity:0;
}

.project-overlay a{
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: .3s;
}

.project-overlay a:hover{
    color: #83D483;
}

.project-overlay a::after{
    content:"";
    display:block;
    width:0;
    height:2px;
    background:#83D483;
    margin-top:2px;
    margin-bottom: 0px;
    border-radius:5px;
    transition:.25s;
}

.project-overlay a:hover::after{
    color: #83D483;
    width: 100px;
    text-decoration: none;
    font-size: 1.55rem;
}

.project-overlay h1{
    font-size:clamp(2.2rem,7vw,5rem);
    line-height:1;
    margin-bottom:15px;
    text-wrap-mode: nowrap;
    color: #83D483;
}

.project-overlay h3{
    margin-top:auto;
    font-size:1rem;
    font-weight:500;
    color:rgba(255,255,255,.7);
    letter-spacing:2px;
    text-transform:uppercase;
    animation:pulse 2s ease-in-out infinite;
}

@keyframes pulse{

    0%,100%{
        opacity:.5;
        transform:translateY(0);
    }

    50%{
        opacity:3;
        transform:translateY(-4px);
    }

}

.project-overlay p{
    font-size:1.35rem;
    line-height:1.8;
    max-width:700px;
}

.project-section:first-of-type{
    margin-top:0;
    position:relative;
    z-index:3;
}

.project-section{
    width:min(90%,1200px);
    margin:80px auto;
    padding-bottom:80px;
    border-bottom:1px solid #2A2A2A;
}

.project-section h2{
    color:#83D483;
    font-size:2.8rem;
    margin-bottom:40px;
}

.project-section a{
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: .3s;
}

.project-section a:hover{
    color: #83D483;
}

.project-section a::after{
    content:"";
    display:block;
    width:0;
    height:2px;
    background:#83D483;
    margin-top:2px;
    margin-bottom: 0px;
    border-radius:5px;
    transition:.25s;
}

.project-section a:hover::after{
    color: #83D483;
    width: 100px;
    text-decoration: none;
    font-size: 1.55rem;
}

.project-text p{
    color:#D4D4D4;
    font-size:1.1rem;
    line-height:1.9;
}

.project-content{
    display:grid;
    grid-template-columns:450px 1fr;
    gap:60px;
    align-items:start;
}

.project-image{
    width:100%;
    aspect-ratio:16/9;
    background:#1E1E1E;
    border:1px solid #2A2A2A;
    border-radius:20px;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.3s ease;
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.project-image:hover{
    transform:translateY(-6px);
    box-shadow:0 28px 60px rgba(0,0,0,.45);
}

.project-image span{
    color:#666;
    font-size:1rem;
    font-weight:600;
    letter-spacing:.5px;
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

