
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 133px; /* Ține cont de înălțimea header-ului */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* overlay semi-transparent */
}

.home-text-wrapper {
    position: relative;
    color: white;
    text-align: center;
    z-index: 2;
    width: 80%; /* limitează lățimea textului pentru a îmbunătăți citirea pe dispozitive mici */
    margin: 0 auto; /* centrați textul orizontal */
}

.btn-wrapper {
    margin-top: 20px;
}

.btn {
    margin: 5px;
}

@media only screen and (max-width: 600px) {
    .home-text-wrapper {
        font-size: 14px; /* micșorează dimensiunea fontului pentru ecrane mai mici */
        width: 90%; /* permite textului să ocupe un procent mai mare din ecran pe dispozitivele mobile */
    }

    .video-container {
        padding-top: 160px; /* Ajustează în funcție de înălțimea header-ului tău pe mobile */
    }
} 

header {
    position: relative;
    z-index: 2; 
}

