@charset "UTF-8";

.mdr-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    
    padding-top: var(--mdr--header--height);
}
.mdr-hero__background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    object-fit: cover;
}
.mdr-hero__background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    object-fit: cover;
}
.mdr-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}
.mdr-hero__title {
    display: flex;
    flex-direction: column;
    font-size: 38px;
    color: var(--mdr--pure-white);
    max-width: calc(1680px - 5%);
    padding: 0 5%;
    margin: 0 auto;
}

.mdr-hero__title span:last-child {
    align-self: flex-end;
}

.mdr-hero__chatbot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* RIBBON SECTION */

.breakingnews {
    display: block;
    width: 100%;
    
    background: var(--mdr--dark-grey);
    color: var(--mdr--pure-white);
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1em;
    font-weight: 500;
    
    overflow: hidden;
}
.marquee {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: none;
    box-sizing: border-box;
    padding-right: 100vw;
    white-space: nowrap;
    margin: 12px 0px;
    animation: marquee 7s linear 0s both infinite running; 
}

.mdr-hero__picto {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
}

@keyframes marquee {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(calc(100vw - 100%)); }
}

@media screen and (min-width: 991px) {
    .mdr-hero__title {
        font-size: 116px;
    }
    
    .mdr-hero {
        justify-content: flex-end;
        padding-bottom: 15vw;
    }
    
    .mdr-hero__chatbot {
        display: flex;
        justify-content: flex-end;
        align-items: inherit;
        margin-top: 0;
    }
    .marquee {
        animation: marquee 13s linear 0s both infinite running;     
    }    
}