.hero {
    background-repeat: no-repeat;
    /*background-size: 95.2% 100%;*/
    background-position: center;

    padding-bottom: 4rem !important;
    background-size: 115% 100%;
}


.hero-container {
    padding-top: 12.5rem;
}

.hero-title {
    line-height: 1;
    font-size: 3.4rem;
    font-family: "BRUNOACESC-REGULAR", sans-serif !important;
}

.midword {
    line-height: 1;
    font-size: 3.4rem;
}

.firstword, .lastword {
    font-size: 10vw;
}

.lastword {
    width: 100%;
    display: block;
    text-align: end;
}

.search-box {
    position: absolute;
    right: 12px;
    top: 8px;
}

/*------------- max ---------------*/
@media (max-width: 575px) {
    .hero-container.full {
        padding-top: 3rem;
    }

    .hero-container.half {
        padding-top: 4.5rem;
    }

    .full .hero-title {
        font-size: 7.5vw;
    }

    .half .hero-title {
        font-size: 7.5vw;
    }

    .header-subtitle {
        font-size: 2.1vw;
    }

    .midword {
        font-size: 1.3rem;
    }

    .firstword, .lastword {
        font-size: 3.55rem;
    }

    .firstrow {
        font-size: 7.75vw;
    }

    .secondrow {
        font-size: 5.3vw;
    }
}

/*@media (max-width: 563px) {*/
/*    .midword {*/
/*        font-size: 3.6vw;*/
/*    }*/
/*}*/

/*@media (max-width: 556px) {*/
/*    .midword {*/
/*        font-size: 3.6vw;*/
/*    }*/
/*}*/


/*@media (max-width: 543px) {*/
/*    .firstword, .lastword {*/
/*        font-size: 9.65vw;*/
/*    }*/
/*}*/
/*@media (max-width: 537px) {*/
/*    .firstword, .lastword {*/
/*        font-size: 9.6vw;*/
/*    }*/
/*}*/
@media (max-width: 527px) {
    .firstword, .lastword {
        font-size: 3.45rem;
    }
    .midword {
        font-size: 1.3rem;
    }
}
@media (max-width: 520px) {
    .firstword, .lastword {
        font-size: 3.35rem;
    }
    .midword {
        font-size: 1.3rem;
    }
}

@media (max-width: 502px) {
    .firstword, .lastword {
        font-size: 3.25rem;
    }
}

/*@media (max-width: 500px) {*/
/*    .firstword, .lastword {*/
/*        font-size: 9.5vw;*/
/*    }*/
/*}*/

@media (max-width: 490px) {
    /*.firstword, .lastword {*/
    /*    font-size: 9.9vw;*/
    /*}*/

    .full .hero-title {
        font-size: 7.3vw;
    }

    .half .hero-title {
        font-size: 7.3vw;
    }
}

@media (max-width: 485px) {
    .firstword, .lastword {
        font-size: 3.15rem;
    }

    .midword {
        font-size: 1.2rem;
    }
}

@media (max-width: 476px) {
    .firstword, .lastword {
        font-size: 3.1rem;
    }

    .firstrow {
        font-size: 7.5vw;
    }

    .secondrow {
        font-size: 5.15vw;
    }
}

@media (max-width: 465px) {
    .firstword, .lastword {
        font-size: 3rem;
    }
}

@media (max-width: 456px) {
    .firstword, .lastword {
        font-size: 2.9rem;
    }
    .midword {
        font-size: 1.15rem;
    }
}
@media (max-width: 440px) {
    .firstword, .lastword {
        font-size: 2.8rem;
    }
}
@media (max-width: 432px) {
    .midword {
        font-size: 1.1rem;
    }
    .firstword, .lastword {
        font-size: 2.75rem;
    }
}

@media (max-width: 427px) {
    .firstrow {
        font-size: 7.3vw;
    }

    .secondrow {
        font-size: 5vw;
    }
}

@media (max-width: 425px) {
    .hero-container.full {
        padding-top: 2.5rem;
    }

    .full .hero-title {
        font-size: 7vw;
    }

    .half .hero-title {
        font-size: 7vw;
    }
}

@media (max-width: 420px) {
    .firstword, .lastword {
        font-size: 2.7rem;
    }
    .midword {
        font-size: 1rem;
    }
}

@media (max-width: 410px) {
    .firstword, .lastword {
        font-size: 2.6rem;
    }
}
@media (max-width: 395px) {
    .firstrow {
        font-size: 7.2vw;
    }

    .secondrow {
        font-size: 4.9vw;
    }
}

@media (max-width: 392px) {
    .firstword, .lastword {
        font-size: 2.3rem;
    }

    .midword {
        font-size: .9rem;
    }
}

@media (max-width: 380px) {
    .firstrow {
        font-size: 7vw;
    }

    .secondrow {
        font-size: 4.8vw;
    }
}

/*------------- min ---------------*/
@media (min-width: 576px) {
    .hero {
        /*background-size: 111vh 56vh;*/
        padding-bottom: 7rem !important;
        background-size: 115% 100%;
    }

    .hero-container.full {
        padding-top: 1.5rem;
    }

    .hero-container.half {
        padding-top: 3.5rem;
    }

    .full .hero-title {
        font-size: 7.5vw;
    }

    .half .hero-title {
        font-size: 7.5vw;
    }

    .header-subtitle {
        font-size: .75rem;
    }

    .firstword, .lastword {
        font-size: 3.6rem;
    }

    .midword {
        font-size: 1.35rem;
    }

    .firstrow {
        font-size: 2.85rem;
    }

    .secondrow {
        font-size: 1.95rem;
    }
}

@media (min-width: 586px) {
    .firstword, .lastword {
        font-size: 3.65rem;
    }
}
@media (min-width: 768px) {
    .hero {
        padding-bottom: 6.8rem !important;
        /*background-size: 57rem 30.5rem;*/
        background-size: 118% 100%;
    }
    /*.hero-container{*/
    /*    min-height: 26rem;*/
    /*}*/
    .hero-container.full {
        /*padding-top: 4.5rem;*/
        padding-top: 4rem;
    }

    .hero-container.half {
        /*padding-top: 4.5rem;*/
        padding-top: 3rem;
    }

    .full .hero-title {
        font-size: 7.5vw;
    }

    .half .hero-title {
        font-size: 3.85rem;
    }

    .header-subtitle {
        font-size: 1.01rem;
    }

    .firstword, .lastword {
        font-size: 4.92rem;
    }

    .midword {
        font-size: 1.85rem;
    }

    .firstrow {
        font-size: 3.8rem;
        padding-left: 2.5rem;
    }

    .secondrow {
        font-size: 2.6rem;
        padding-left: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero {
        /*background-size: 65.8rem 45rem;*/
        background-size: 100% 100%;
        padding-bottom: 8.2rem !important;
    }
    .hero-container {
        min-height: 22rem;
    }

    .hero-container.full {
        /*padding-top: 7rem;*/
        padding-top: 4.3rem;
    }

    .hero-container.half {
        /*padding-top: 7rem;*/
        padding-top: 4rem;
    }

    .full .hero-title {
        font-size: 7vw;
    }

    .half .hero-title {
        font-size: 5.15rem;
    }

    .header-subtitle {
        font-size: 1.46rem;
    }

    .firstword, .lastword {
        font-size: 5.4rem;
    }

    .midword {
        font-size: 2rem;
    }

    .firstrow {
        font-size: 4.5rem;
        padding-left: 4rem;
    }

    .secondrow {
        font-size: 3.1rem;
        padding-left: 4rem;
    }
}

@media (min-width: 1001px) {
    .midword {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero {
        /*background-size: 80.5rem 48.5rem;*/
        background-size: 100% 100%;
        padding-bottom: 7.5rem !important;
    }
    .hero-container {
        min-height: 21rem;
    }

    .hero-container.full {
        padding-top: 2.7rem;
    }

    .hero-container.half {
        padding-top: 3rem;
    }

    .full .hero-title {
        font-size: 7vw;
    }

    .half .hero-title {
        font-size: 7vw;
    }

    .firstword, .lastword {
        font-size: 6.5rem;
    }

    .midword {
        font-size: 2.4rem;
    }

    .header-subtitle {
        font-size: 1.735rem;
    }

    .firstrow {
        font-size: 5.88rem;
        padding-left: 4.5rem;
    }

    .secondrow {
        font-size: 4.09rem;
        padding-left: 4.5rem;
    }
}

@media (min-width: 1400px) {
    .hero {
        /*background-size: 94.5rem 64.5rem;*/
        background-size: 100% 100%;
    }

    .hero-container {
        min-height: 25rem;
    }

    .hero-container.full {
        padding-top: 8rem;
    }

    .hero-container.half {
        /*padding-top: 10rem;*/
        padding-top: 5rem;
    }

    .full .hero-title {
        font-size: 6.5vw;
    }

    .half .hero-title {
        font-size: 7.35rem;
    }

    .header-subtitle {
        font-size: 1.87rem;
    }

    .firstword, .lastword {
        font-size: 7rem;
    }

    .midword {
        font-size: 3rem;
    }

    .firstrow {
        font-size: 7.15rem;
        padding-left: 4.5rem;
    }

    .secondrow {
        font-size: 4.9rem;
        padding-left: 4.5rem;
    }
}