
.brand-first {
    width: 1170px;
    height: calc(100vh - 75px);
    max-height: 750px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
.brand-background {
    /* background-image: url("https://assets.concur.com/homepage/brand-first-hero_1.jpg"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    height: 100%;
    width: 100%;
    max-width: 1170px;
    position: absolute;
    z-index: 1;
}

.headline-box {
    text-align: left;
    padding-top: 20vh;
    max-width: 50%;
}

.headline-box h1 {
    font-family: benton-sans, arial, helvetica, sans-serif;
    font-size: 4.4rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.23;
    letter-spacing: normal;
    color: #333333;
    margin: 0;
}
.headline-box p {
    font-family: benton-sans, arial, helvetica, sans-serif;
    font-size: 2rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #333333;
}

.product-info {
    height: auto;
    flex-wrap: wrap;
    width: 50%;
    position: absolute;
    z-index: 2;
    bottom: 0;
    display: flex;
}

.product-box {
    width: 31%;
    height: auto;
    padding-bottom: 12px;
    margin: 0 2px;
    background-color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* animation fade in */
    -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.5s both;
    animation: fade-in-bottom 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.5s both;
    transition:0.5s;
    flex: 1;
}

@-webkit-keyframes fade-in-bottom {
 0% {
   -webkit-transform: translateY(50px);
           transform: translateY(50px);
   opacity: 0;
 }
 100% {
   -webkit-transform: translateY(0);
           transform: translateY(0);
   opacity: 1;
 }
}
@keyframes fade-in-bottom {
 0% {
   -webkit-transform: translateY(50px);
           transform: translateY(50px);
   opacity: 0;
 }
 100% {
   -webkit-transform: translateY(0);
           transform: translateY(0);
   opacity: 1;
 }
}


.product-box h4 {
    font-family: benton-sans, arial, helvetica, sans-serif;
    font-size: 1.9rem;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #333333;
    margin: 18px 0 7px 0;
    -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
    animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
}

.product-box p {
    color: #333333;
    font-family: benton-sans, arial, helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #333333;
    padding: 0 8px;
    text-decoration: underline;
    -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
    animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
}

.fa-arrow-alt-circle-right {
    font-size: 18px;
    line-height: 2.06;
    color: #f0ab00;
    -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
    animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
}

/* hover styles */
.product-box:hover {
    background-color: rgba(51, 51, 51, 0.9);
}
.product-box:hover h4 {
    color: white;
    transition:0.5s;
}
.product-box:hover p {
    color: white;
    transition:0.5s;
}
.product-box:hover i {
    color: white;
    transition:0.5s;
}



/* Mobile Styles */
@media only screen and (max-width: 767px) {
    .left-mobile {
        float: left;
        max-width: 250px;
    }
    .right-mobile {
        float: right;
        padding-top: 41px;
    }
    .product-info {
        padding: 0 20px !important;
    }
    .brand-first {
        max-height: none;
    }
}

/* thin screen height desktop */
@media (min-width: 993px) and (max-height: 580px) {
    .headline-box {
        text-align: left;
        padding-top: 5%;
        max-width: 50%;
    }
}

/* Tablet Styles */
@media only screen and (max-width: 992px) {
    .brand-first {
        width: 100%;
        height: inherit;
        padding: 0px;
    }
    .brand-background {
        height: 50%;
        max-width: 100vw;
        background-position: top;
        position: inherit;
        z-index: inherit;
    }

    .headline-box {
        padding-left: 20px;
        padding-top: 15%;
        width: 51%;
        padding-bottom: 45px;
    }
    .headline-box h1 {
        font-size: 2.8rem;
        line-height: 1.21;
    }
    .headline-box p {
        font-size: 16px;
        line-height: normal;
    }

    .product-info {
        position: inherit;
        z-index: inherit;
        width: 100%;
        height: auto;
        padding: 0 50px 0 20px;
        display: inherit;
    }
    .product-box {
        width: 100%;
        height: 108px;
        display: inline-block;
        -webkit-animation: inherit;
        animation: inherit;
        transition: none;
        border-bottom: 1px solid #999999;
    }

    .product-box h4 {
        text-align: left;
        font-size: 17px;
        -webkit-animation: fade-in 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
        animation: fade-in 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
    }
    .product-box p {
        text-align: left;
        padding-left: 0px;
        font-size: 14px;
        -webkit-animation: fade-in 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
        animation: fade-in 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
    }
    .fa-arrow-alt-circle-right {
        -webkit-animation: fade-in 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
        animation: fade-in 0.6s cubic-bezier(0.470, 0.000, 0.745, 0.715) 0.6s both;
    }

    .align {
        display: inline-block
    }
    .left-mobile {
        float: left;
    }
    .right-mobile {
        float: right;
        padding-top: 41px;
    }
    /* mobile/tablet animation */
    @-webkit-keyframes fade-in {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
        }
        @keyframes fade-in {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    /* remove hover styles */
    .product-box:hover {
        background-color: #ffffff;
    }
    .product-box:hover h4 {
        color: #333333;
        transition:0.5s;
    }
    .product-box:hover p {
        color: #333333;
    }
    .product-box:hover i {
        color: #f0ab00;
    }
}
