:root {
    --span-anim-time: 10s;
}
@media only screen and (max-width: 1456px) {
    .inner-hero-content, .lower span {
        transform: scale(0.8);
    }
}
@media only screen and (max-width: 1189px) {
    .inner-hero-content, .lower span {
        transform: scale(0.7);
    }
}
@media only screen and (max-width: 1005px) {
    #hero-content-container {
        display: none!important;
    }
    #hero-content-container-mob {
        display: flex!important;
    }
    #hero-content-container-mob-featured {
        display: flex!important;
    }
    #hero-section {
        height: fit-content !important;
    }
    #hero-section-featured {
        height: fit-content !important;
    }
}

@media only screen and (max-width: 880px) {
    #hero-section {
        margin-top: 50px!important;
        padding-bottom: 10px;
    }
    #hero-section-featured {
        margin-top: 50px!important;
        height: fit-content !important;
        padding-bottom: 10px;
    }
}
#hero-section {
    position: relative;
    width: 100%;
    height: 422px;
    margin-top: 65px;
    border-bottom: 3px solid white;
}
#hero-section-featured {
    position: relative;
    width: 100%;
    height: 390px;
    margin-top: 65px;
    border-bottom: 3px solid white;
}
#hero-background-video, #hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.9);
    object-fit: cover;
    z-index: 0;
}
#hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(27, 35, 46, 1) 0%, rgba(27, 35, 46, 0) 100%);
    z-index: 1;
}
#hero-content-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.upper {
    display: flex;
    flex-direction: row;
    width: 100%;
    /*max-width: 2100px;*/
    height: 90%;
    z-index: 2;
}
.lower {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 10%;
    pointer-events: none;
    z-index: 2;
}
.lower span {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 625px;
    animation-duration: var(--span-anim-time);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.lower span:first-of-type {
    animation-name: first-span-fade;
}
.lower span:last-of-type {
    animation-name: second-span-fade;
}
.lower p {
    font-size: 14px;
    margin: 0;
}
@keyframes first-span-fade {
    0% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }

}
@keyframes second-span-fade {
    0% {
        opacity: 0;
    }
    45% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.inner-hero-content {
    display: flex;
    flex-direction: row;
    width: 50%;
    height: 100%;
    padding-top: 20px;
}
.inner-hero-content p {
    margin: 0;
    font-size: 20px;
}
.inner-hero-content:first-of-type {
    align-items: center;
    justify-content: flex-start;
    padding-left: 47px;
    transform-origin: left;
}
.hero-header {
    font-size: 3.125rem!important;
    font-weight: 500;
    margin-bottom: 1.875rem!important;
}
.hero-description {
    margin-bottom: 25px!important;
}
#hero-btns-container {
    display: flex;
    flex-direction: row;
}
.btn-dropdown-container {
    position: relative;
    width: 141px;
    margin-right: 15px;
}
.hero-btn {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 54px;
    color: white;
    background-color: #FF6457;
    align-items: center;
    justify-content: center;
    border-radius: 2.5rem;
    font-size: 20px;
    transition: all 0.2s ease-in-out;
    z-index: 1;
}
.hero-btn:hover, #hero-newsletter-btn:hover {
    transform: scale(1.05);
}
.hero-btn:active:hover, #hero-newsletter-btn:active:hover {
    transform: scale(0.95);
}
.dropdown {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content !important;
    padding-top: 20px;
    background-color: #1b232e;
    border-radius: 27px 27px 10px 10px;
    transition: all 0.2s ease-in-out;
}
.dropdown.active {
    opacity: 1;
    padding-top: 57px;
    height: 265px;
}
.dropdown a {
    display: flex;
    align-items: center;
    height: 41px;
    width: 100%;
    padding: 0 12px;
}
#hero-newsletter-container {
    position: relative;
    display: flex;
    flex-direction: column;
}
#hero-newsletter-input-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 386px;
}
#hero-newsletter {
    width: 100%;
    height: 54px;
    padding-left: 20px;
    background-color: white;
    border-radius: 2.5rem;
}
#hero-newsletter-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 5px;
    width: 44px;
    height: 44px;
    padding-top: 2px;
    padding-right: 5px;
    background-color: #FF6457;
    border-radius: 2.5rem;
    transition: all 0.2s ease-in-out;
}
#hero-newsletter-btn-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 4px;
    left: 5px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
#hero-newsletter-btn-loader .lds-ring {
    transform: scale(0.4);
}
#hero-newsletter-btn svg {
    transform: scale(0.65);
    opacity: 1;
    transition: all 0.2s ease-in-out;
}
#hero-newsletter-btn svg path {
    fill: white;
}
.inner-hero-content:last-of-type {
    align-items: center;
    justify-content: flex-end;
    padding-right: 47px;
    transform-origin: right;
}
.swiper-pagination-bullet {
    background: #27313e!important;
    opacity: 1!important;
}
.swiper-pagination-bullet-active {
    background: #FF6457!important;
    opacity: 1!important;
}
.swiper-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-container:last-of-type {
    padding-top: 12px;
}
.swiper {
    width: 600px;
    /*height: 337px;*/
}
.swiper-slide {
    width: 600px;
}
.swiper-slide img {
    border-radius: 10px;
}
#hero-content-container-mob {
    display: none;
    flex-direction: column;
}
#hero-content-container-mob-featured {
    display: none;
    flex-direction: column;
}
.upper-mob, .lower-mob {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.upper-mob {
    z-index: 2;
}
.hero-header-mob {
    font-size: 2.5rem!important;
    font-weight: 500;
    padding-top: 11px;
    margin-bottom: 0px;
}
#hero-btns-container-mob {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 228px;
    height: 37px;
    margin-top: 10px;
}
.btn-dropdown-container-mob {
    position: relative;
    width: 48%;
    height: 100%;
}
.hero-btn-mob {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    color: white;
    background-color: #FF6457;
    align-items: center;
    justify-content: center;
    border-radius: 2.5rem;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
    z-index: 1;
}
.hero-btn-mob:hover {
    transform: scale(1.05);
}
.hero-btn-mob:active:hover {
    transform: scale(0.95);
}
.dropdown-mob {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content !important;
    padding-top: 5px;
    background-color: #1b232e;
    border-radius: 27px 27px 10px 10px;
    transition: all 0.2s ease-in-out;
}
.dropdown-mob.active {
    opacity: 1;
    padding-top: 42px;
    height: 249px;
}
.dropdown-mob a {
    display: flex;
    align-items: center;
    height: 41px;
    width: 100%;
    padding: 0 12px;
}
.dropdown-mob a p {
    width: calc(100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.swiper-mob {
    margin-top: 17px;
    width: 90%;
    max-width: 500px;
    padding-bottom: 2.5em !important;
}

.hero-header-mob-featured {
    font-size:27px !important;
}
.hero-description-mob-featured {
    font-size: 17px!important;
    text-align: center;
    margin: 15px;
}
.swiper-mob-featured {
    width:100%;
    max-width: 360px !important;
    height: 270px !important;
}
#hero-section-featured.hero-label {
    height: 380px;
}
.inner-hero-content .label__img {
    margin-top: 20px !important;
    border-radius: 2em;
    margin-bottom: 30px;
    width: 244px;
}
.upper-mob-label .label__img {
    margin-top: 30px !important;
    border-radius: 2em;
    margin-bottom: 10px;
    width: 244px;
}
.label__page {
    display: block !important;
    overflow-y: auto;
}
.label__page p {
    font-size: 1rem;
}
.label__page::-webkit-scrollbar {
    display: none !important; 
}
.upper-mob-label {
    align-items: normal;
    width:95%;
    padding-bottom: 15px;
}

/* Added to line up hero with content - For review */
.upper-mob-label{
    padding-left: 0.9375rem;
    padding-right: 0.9375rem; 
}
@media only screen and (min-width: 90rem){
    .inner-hero-content:first-of-type {
        padding-left: 3.125rem;
    }
    .inner-hero-content:last-of-type {
        padding-right: 3.125rem;
    }
}
@media only screen and (min-width: 105rem){
    .inner-hero-content:first-of-type {
        padding-left: 4.6875rem;
    }
    .inner-hero-content:last-of-type {
        padding-right: 4.6875rem;
    }
}
@media only screen and (min-width: 48rem){
    .upper-mob-label {
        padding-left: 1.5625rem;
        padding-right: 1.5625rem;
    }
}