﻿.overlay{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-end;
    width: fit-content;
    margin: 0 auto;
}
.videoText {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap:16px;
    position: absolute;
    top: 10%;
    left: 8vw;
    color: var(--Primary-Cortia);
  }

  h2.subtitle-banner {
    font-family: 'Spartan';
    font-size: 16px !important;
    line-height: 14px;
    font-weight: 400;
    color:var(--Primary-Cortia);
    padding: 0;
    margin: 0;
  }

  h2.lead {
    font-family: 'Spartan';
    font-size: 32px !important;
    font-weight: 700;
    line-height:1.4;
    color:var(--Primary-Cortia);
  }

  .subtitle-lead {
    font-family: 'Roboto';
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    color:var(--Primary-Cortia);
  }

    .videoText div:nth-child(4) span{
        display:block;
    }
    .overlay video{
        width: 100%;
    }
    .bannerVideo {
        background-color: var(--Neutrals-Cravo);
    }
a.btn-white {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Spartan';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    background: var(--Primary-Cortia);
    color:  var(--Secondary-Serpentina);
    border-radius: 8px;
    text-decoration: none;
    margin: 10px 0 16px;
}

a.btn-white:hover {
    background: var(--Neutrals-Cravo);
    color: var(--Secondary-Serpentina);
}

a.btn-white-md {
    max-width: 182px;
    height: 43px;
    flex: auto;
}


@media screen and (max-width:1920px) {
    .videoText {
        left: 10vw;
        top: 15%;
    }

}


@media screen and (max-width:1600px) {
    .videoText {
        left: 12vw;
    }

}

@media screen and (max-width:1500px) {
    .videoText {
        left: 10vw;
    }

}

@media screen and (max-width:1390px) {
    .videoText {
        left: 3vw;
        top: 8%;
        gap: 20px;
        padding: 0px 16px;
        color: var(--Primary-Fado);
    }

}
    
@media screen and (max-width:1230px) {
    .videoText {
        max-width: 490px;
        
    }
    h2.lead {
        font-size: 35px;
    }
}

@media screen and (max-width:1100px) {
    /*
    .overlay video{
        width: 140vw;
        position: relative;
        left: -10vw;
    }
    */
    .videoText:nth-child(2){
        text-align: center;
    }
    
    .videoText{
        max-width: 100%;
        position: initial;
        color: var(--Primary-Fado);
        height: auto;
        margin: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        align-items: center;
        margin-top:20px;
        padding-bottom: 48px;
    }
    .overlay{
        position: initial;
        display: initial;
       
    }
    
    h2.subtitle-banner {
        color: var(--Primary-Fado);
        font-size: 19px;
        line-height: 1.5;
        font-weight: 600;
    }  
      
    h2.lead {
        font-size: 27px;
        line-height:1.2;
        color: var(--Primary-Fado);
    }

    .subtitle-lead {
        color: var(--Primary-Fado);
    }
      
}

@media (max-width:1004px){

      .overlay{
        display: flex;
        flex-direction: column-reverse;
        background: #fff;
    }


    
}