header {
    min-height: 100vh;
    left: 0;
    top: 0;
    width: 100vw;
/*    background-size: cover;*/
/*    max-width: 100vw;*/
    object-fit: cover;
    position: relative;
    overflow: hidden;
}

#videoBG {
    display: block;
    position: absolute;
    top: 0;
   width: 100%;
    z-index: -1;
}
@media (min-aspect-ratio: 16/9) {
    #videoBG {
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    #videoBG { 
        width:auto;
        height: 100%;
    }
}
.baner {
/*
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
*/
    text-align: center;
    margin-top: 12%;
}

.title h1 {
    font-family: 'Merriweather', serif;
    color: #fff;
    font-size: 50px;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 1px;
    text-shadow: 2px 3px 4px black;
}
.main-header2 {
    font-family: 'Lato', serif;
    font-weight: 200;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: -2vw;
    letter-spacing: 4px;
    padding-top: 20px;
    border-radius: 45px;
    text-shadow: 2px 3px 4px black;
}
.button {
    margin-top: 4%;
}
.btn {
    font-family: 'Lato', serif;
    border: 1px solid #fff;
/*    padding: 10px 30px;*/
padding: 30px 30px;
    color: #000;
    background: #fff;
    text-decoration: none;
    transition: 0.6s ease;
/*    border-radius: 35px;*/
    letter-spacing: 1px;
    font-size: 18px;
}
.btn:hover {
    color: #fff;
    background: black;
        border: 1px solid #fff;

}
@media(max-width: 767px) {
    .baner {
      margin-top: 4%;  
    }
    .title h1 {
        font-size: 25px;
/*        margin-top: -5vw;*/
        padding: 0 20px;
    }
        .button {
    margin-top: 0;
    }
}

@media(max-width: 500px) {
    header {
        width: 100vw;
/*        background-image: url('../img/mobile_akan.mp4');*/
    }
        .baner {
      margin-left: 8%;  
    }
    .title h1 {
        font-size: 30px;
        margin-top: 30vw;
/*        padding: 0 50px;*/
    }
    .second-header {
       font-size: 40px;
        text-align: center;
    }
    .main-header2 {
        margin-top: -7vw;
    }
    .button {
    margin-top: 6%;
    }
}