




.video {
    position: relative;
    width: 100%;
    height: calc(100% - 70px);
    height: 85vh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.452);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    box-sizing: border-box;
    padding: 6rem 4rem;

    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start;  
    gap: 0.5rem;
}
.youdig-hero img{
    height: 5rem;
    width: auto;
}


.video-player{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: scaleX(-1);


    
}

.video-text{
    color: rgb(238, 235, 235);
    display: flex;
    flex-direction: column;
    width: 50%;
   
}


.video-text h1{
    font-size: 3rem;
    padding: 1.5rem 0;
    text-align: start;
    font-weight: 600;
    text-transform: uppercase;


}

.video-text p{
    align-items: start;
    justify-content: start;
    font-size: 1.2rem;
    
}

.video-actions{
    display: flex;
    padding: 2rem 0;
    gap: 2rem;

}

.video-actions button{
    padding: 0.8rem;
    border-radius: .5rem;
    font-size: 1rem;
    cursor: pointer;
}

.video-actions-projects{
    background: var(--color1-brand);
    color: white;
    border: none;
}

.video-actions-contact{
    background: transparent;
    color: white;
    border: 2px solid lightgray;
}

.video-actions-projects:hover{
    background: rgba(211, 211, 211, 0.13) ;
    color: white;
    border: 2px solid var(--color1-brand);
    

}

.video-actions-contact:hover{
    background: rgba(211, 211, 211, 0.13) ;
    border: none;
}



.youdig-hero h2{
    text-transform: uppercase;
}

@media (max-width:500px){
    
    .video-player{
        background: black;
    }

    .video-content{
        padding: 0 1rem;
        
    }

    .video-text{
        width: 70%;
        padding: 0;
        
    }
    
    .video-text h1{
        font-size: 1.8rem;
        text-align: start;
        font-weight: 600;
    }

    .video-text p{
        font-size: .9rem;
        text-align: start;
    }

    .video-actions{
        padding: 2rem 0;
        display:flex ;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1rem;
        
    }

    
.video-actions-projects,
.video-actions-contact{
    
    width: 100%;
}
    

}




