
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(https://bmagcdn.blob.core.windows.net/static/outfit/QGYvz_MVcBeNP4NJtEtq.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#blackfriday {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}

body {
    color: #FAF9F6;
    overflow-x: hidden;
    background-color: rgb(22, 22, 22);
}

h1 {
    font-size: 1.7rem;
    line-height: 1.4em;
    font-weight: 400;
    color: #FAF9F6;
    padding-top: 0;
    padding-bottom: 48px;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

    h1 strong {
        font-weight: 700;
    }

        h1 strong.strong-big {
            display: block;
            font-size: 2.22rem;
        }

.hover-trigger:hover + .hover-info, .hover-trigger:focus + .hover-info {
    display: block;
}

.hover-info {
    display: none;
    max-width: 400px;
    background: #fff;
    border: 1px solid #b2b2b2;
    border-radius: 16px;
    color: #1d1d1f;
    font-size: 0.778rem;
    padding: 20px;
    line-height: 1.4em;
    position: absolute;
    left: auto;
    right: 0;
    text-align: center;
    bottom: -10px;
}


h2 {
    font-size: 1.333rem;
    line-height: 1.4em;
    font-weight: 900;
    color: #FAF9F6;
    padding-bottom: 30px;
    margin-bottom: 0;
}

h3 {
    font-size: 1.333rem;
    font-weight: 700;
    color: #383838;
}

p {
    margin-bottom: 30px;
    line-height: 1.4em;
    font-weight: 400;
}

    p.text-white {
        color: #FAF9F6;
    }

    p strong {
        font-weight: 700;
    }

a.button-primary, button.button-primary {
    width: 250px;
    display: flex;
    align-items: center;
    background-color: #0979BE !important;
    border: 1px solid #0979BE;
    border-radius: 27px !important;
    color: #FDFCFB !important;
    font-size: 0.889rem !important;
    font-weight: 500 !important;
    padding: 0px 50px;
    transition: all 0.2s ease !important;
    text-transform: none;
    height: 48px;
    margin: 0 auto;
}

a.button-primary:hover, a.button-primary:focus, a.button-primary:active,
button.button-primary:hover, button.button-primary:focus, button.button-primary:active {
    background-color: #07639C !important;
    border-color:#07639C!important; 
}

a.button-secondary, button.button-secondary {
    width: 180px;
    display: flex;
    align-items: center;
    background-color: #fff !important;
    border: 2px solid #0979BE;
    border-radius: 27px !important;
    color: #0979BE !important;
    font-size: 0.778rem !important;
    font-weight: 700 !important;
    padding: 0px 8px;
    transition: all 0.2s ease !important;
    text-transform: none;
    height: 30px;
    margin: 0 auto 0;
}

    a.button-secondary:hover, a.button-secondary:focus, a.button-secondary:active,
    button.button-secondary:hover, button.button-secondary:focus, button.button-secondary:active {
        background-color: #07639C !important;
    }

a.button-big, button.button-big {
    width: auto;
    height: 64px !important;
    border-radius: 32px !important;
    border: none !important;
    background: #0E9AF3;
}

    a.button-big:hover, button.button-big:hover {
        background: #07639C !important;
        transform: scale(1.05);
    }

.open-info {
    font-size: 18px;
    line-height: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 5px;
}

.open-info-button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.open-info span {
    font-size: .65rem;
    line-height: 14px;
    display: inline-block !important;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: transparent;
    font-weight: 700;
    position: relative;
    text-align: center;
    vertical-align: middle;
    margin-right: 3px;
}

.open-info .info-container {
    display: none;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
}

    .open-info .info-container .info-container-content {
        width: 90%;
        max-width: 400px;
        background: #fff;
        border: 1px solid #b2b2b2;
        border-radius: 16px;
        color: #1d1d1f;
        font-size: 0.778rem;
        padding: 40px 20px;
        text-align: left;
        line-height: 1.4em;
        white-space: normal;
        cursor: default;
        position: relative;
        max-height: 90%;
        overflow: auto;
    }

        .open-info .info-container .info-container-content .open-info-close {
            width: 40px;
            height: 40px;
            justify-self: flex-end;
            border: none;
            background-color: transparent;
            position: absolute;
            right: 0;
            top: 0;
            cursor: pointer
        }

            .open-info .info-container .info-container-content .open-info-close .icon-close {
                width: 10px;
                height: 10px;
                justify-self: flex-end;
                border: none;
                background-color: transparent;
                background-image: url('https://images.boersenmedien.com/images/2484c4c1-8dc3-4dcc-9a38-5160498ab3a3.svg');
                background-position: center;
                background-repeat: no-repeat;
                background-size: contain;
            }

.open-info.active .info-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.open-info:hover .info-container ul {
    list-style: initial;
    padding-left: 20px;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 1520px;
    padding: 50px 20px;
    margin: 0 auto;
}

.container-short {
    max-width: 890px;
}

section {
    margin: 0;
}


.will-fadeIn {
    opacity: 0;
}

.fadeInLeft {
    animation: fadeInLeft 0.75s ease;
    opacity: 1;
}

.fadeInRight {
    animation: fadeInRight 0.75s ease;
    opacity: 1;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInBehind {
    animation: fadeInBehind 0.75s ease;
    opacity: 1;
}

@keyframes fadeInBehind {
    from {
        opacity: 0;
        transform: scale(0.9);
        transform-origin: center;
    }

    to {
        opacity: 1;
        transform: scale(1);
        transform-origin: center;
    }
}

#blackfriday-hero {
    position: relative;
    color: #FAF9F6;
    padding-top: 0;
    min-height: 100vh;
}

.ticker {
    overflow: hidden;
    background-color: rgba(250, 249, 246, .06);
    height: 42px;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 2;
}

    .ticker ul {
        position: absolute;
        left: 0;
        top: 0px;
        height: 42px;
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: space-around;
        width: 2400px;
        animation-name: ticker-animation;
        animation-duration: 20s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        will-change: left;
    }

        .ticker ul li {
            margin-bottom: 0;
            height: 100%;
            display: flex;
            align-items: center;
        }

            .ticker ul li img {
                transform: scale(.65);
            }

@keyframes ticker-animation {
    from {
        left: 0%;
    }

    to {
        left: -1200px;
    }
}

#hero-logo-container {
    position: relative;
    height: 380px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    margin-bottom: -90px;
}

    #hero-logo-container img {
        height: 100%;
        width: auto;
        aspect-ratio: 2.487/1;
        max-width: none;
        position: relative;
        z-index: 2;
    }

    #hero-logo-container video {
        width: 259px;
        height: auto;
        top: 18%;
        position: absolute;
        z-index: 1;
        margin-left: -5px;
    }

        #hero-logo-container video:focus {
            outline: none;
        }

h1 img {
    display: block;
    position: relative;
    width: 80%;
    max-width: 550px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.12));
}

#blackfriday-hero .container {
    padding-top: 0;
}

#blackfriday-hero-content {
    z-index: 1;
    position: relative;
}

#blackfriday-hero p {
    font-size: 1.333rem;
}

#hero-copy-code {
    font-size: 2.22rem;
    margin-bottom: 48px;
}

    #hero-copy-code strong {
        font-weight: 900;
    }

#copy-container {
    cursor: pointer;
    display: inline-block;
    width: auto;
    max-width: 380px;
    border: 2px solid #FAF9F6;
    background-color: transparent;
    padding: 6px 16px;
    color: #FAF9F6;
    margin-left: 8px;
    text-align: center;
    position: relative;
    border-radius: 18px;
    top: -2px;
    margin-top: 8px;
}

    #copy-container:hover {
        background-color: rgba(255,255,255,.2);
    }

    #copy-container .code-copy {
        font-size: 16px;
        font-weight: 400;
    }


    #copy-container:focus strong {
        animation: animateCopy;
        animation-duration: 3s;
    }

    #copy-container:active strong {
        animation: none;
    }

@keyframes animateCopy {
    0% {
        opacity: 1;
        transform: scale(1)
    }

    20% {
        opacity: 0;
        transform: scale(.6)
    }

    80% {
        opacity: 0;
        transform: scale(.6)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

.code-copied {
    position: absolute;
    left: 0;
    right: 0;
    top: 5.5px;
    opacity: 0;
    color: #00bb1d;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .code-copied img {
        width: 20px;
        filter: invert(48%) sepia(33%) saturate(3424%) hue-rotate(96deg) brightness(98%) contrast(101%);
        display: inline-block;
        margin-right: 10px;
    }

#copy-container:focus {
    animation: animateCopiedButton;
    animation-duration: 3s;
}

#copy-container:active {
    animation: none;
}

#copy-container:focus .code-copied {
    animation: animateCopied;
    animation-duration: 3s;
}

#copy-container:active .code-copied {
    animation: none;
}

@keyframes animateCopiedButton {
    0% {
        border-color: #fff;
    }

    10% {
        border-color: #fff;
    }

    30% {
        border-color: #00bb1d;
    }

    80% {
        border-color: #00bb1d;
    }

    90% {
        border-color: #fff;
    }

    100% {
        border-color: #fff;
    }
}

@keyframes animateCopied {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    10% {
        opacity: 0;
        transform: scale(0.6);
    }

    30% {
        opacity: 1;
        transform: scale(1);
    }

    60% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 0;
        transform: scale(0.6);
    }
}

#countdown-container {
    margin: 30px 0;
}

    #countdown-container p:first-child {
        font-size: 1rem;
        text-transform: uppercase;
    }

#hero-countdown {
    display: flex;
    justify-content: center;
    padding: 30px 0 40px;
    background: linear-gradient(90deg, rgba(115, 115, 115, 0) 0%, rgba(217, 217, 217, 0.09) 50%, rgba(115, 115, 115, 0) 100%);
    border-top-width: 1px;
    border-style: solid;
    border-image: linear-gradient(to right, rgba(115, 115, 115, 0), rgba(217, 217, 217, 1), rgba(115, 115, 115, 0)) 1;
    border-bottom-width: 1px;
    max-width: 475px;
    margin: 0 auto 40px;
}

.countdown {
    display: flex;
    gap: 6px;
    color: #fff;
}

    .countdown > div {
        display: flex;
        flex-direction: column;
        gap: 0px;
        align-items: center;
    }

    .countdown .num {
        font-size: 1.8rem;
    }

    .countdown .word {
        font-size: 1em;
        font-weight: 400;
    }

    .countdown span {
        font-weight: 700;
    }

.day, .hour, .min {
    position: relative;
    padding-right: 20px;
    margin-right: 5px;
    font-variant-numeric: tabular-nums;
    -webkit-font-feature-settings: "tnum" 1;
    -moz-font-feature-settings: "tnum" 1;
    -ms-font-feature-settings: "tnum" 1;
    -o-font-feature-settings: "tnum" 1;
    font-feature-settings: "tnum" 1;
}

    .day:after, .hour:after, .min:after {
        content: ':';
        font-size: 2rem;
        font-weight: 900;
        position: absolute;
        right: 0;
        top: -3px;
    }


.inline-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

    .inline-button-container .button {
        width: 100%;
        max-width: 390px;
    }

#blackfriday-magazines, #blackfriday-services, #blackfriday-additional {
    position: relative;
}

#blackfriday-services h2 {
    position:relative;
    width:max-content;
    margin:0 auto;
}

.blackfriday-items-container {
    display: grid;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px 40px;
    max-width: 360px;
    margin: 44px auto 0;
}

.blackfriday-item {
    width: 100%;
    padding: 16px 16px 32px;
    background-color: rgba(31, 31, 31, 1);
    border-radius: 16px;
    color: rgba(250, 249, 246, 1);
    text-align: center;
    border: 1px solid rgba(31, 31, 31, 1);
    transition: border .3s ease-out;
}

    .blackfriday-item:hover {
        border: 1px solid #0E9AF3;
        transition: border .3s ease-out;
    }

    .blackfriday-item h3 {
        color: rgba(250, 249, 246, 1);
    }

    .blackfriday-item .image-container {
        background-color: #F8F8FB;
        margin-bottom: 30px;
        width: 100%;
        aspect-ratio: 1/0.416;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-radius: 16px;
        box-shadow: 0 12px 16px 0 rgba(0,0,0,.12);
        overflow: hidden;
    }

        .blackfriday-item .image-container + .flex-container {
            margin-bottom: 24px;
        }

#messeangebot-services .image-container {
    aspect-ratio: 1/0.435;
}

.blackfriday-item .image-container img {
    width: 100%;
    object-fit: cover;
}

.image-container.aktionaer {
    background-color: #ea1b2c;
}

.image-container.boerseonline, .image-container.euroamsonntag, .image-container.euro {
    background-color: #f5f4f9;
}

.image-container .badge {
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: #317B09;
    color: #C0FF9E;
    font-size: 14px;
    padding: 0px 16px;
    height: 26px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    border-radius: 0 0 0 12px
}

.blackfriday-item a {
    color: #008AE4;
    font-weight: 700;
    font-size: 0.889rem;
}

.icon-info {
    background-image: url("https://images.boersenmedien.com/images/2e63b9eb-d4e8-471f-97b7-64fa0598a019.svg");
    width: 26px;
    height: 26px;
    margin-right: 8px;
    margin-top: 0px;
    background-size: 16px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.icon-blue {
    filter: invert(34%) sepia(90%) saturate(1098%) hue-rotate(177deg) brightness(100%) contrast(106%);
}

@media screen and (min-width: 380px) {
    #hero-logo-container {
        height: 420px;
    }

        #hero-logo-container video {
            width: 280px;
            margin-left: -8px;
        }
}

@media screen and (min-width: 768px) {
    h2 {
        font-size: 1.8rem;
        padding-bottom: 40px;
    }

    .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .ticker {
        overflow: hidden;
        background-color: rgba(250, 249, 246, .06);
        height: 68px;
        top: 32px;
    }

    .ticker ul {
        height: 68px;
        width: 300vw;
        animation-duration: 25s;
    }

    .ticker ul li img {
        transform: scale(1);
    }

    @keyframes ticker-animation {
        from {
            left: 0%;
        }

        to {
            left: -150vw
        }
    }

    #hero-logo-container {
        height: 760px;
        margin-bottom: -160px;
    }

        #hero-logo-container video {
            width: 510px;
            left: 50%;
            margin-left: -262px;
            top: 19%;
        }

    .inline-button-container {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

        .inline-button-container .button {
            width: auto;
            margin: 0;
            max-width: none;
        }

    #hero-countdown {
        left: 49%;
        right: auto;
        bottom: auto;
        top: 66%
    }

    .countdown {
        gap: 10px;
    }

    .blackfriday-items-container {
        grid-template-columns: 1fr 1fr;
        max-width: 768px;
        margin-top: 64px;
    }
}

@media screen and (min-width: 1024px) {
    html {
        font-size: 18px;
    }

    h2 {
        font-size: 2.33rem;
    }

    .container {
        padding: 75px 40px;
    }

    .ticker ul {
        height: 68px;
        width: 300vw;
        animation-duration: 25s;
    }        

    @keyframes ticker-animation {
        from {
            left: 0%;
        }

        to {
            left: -150vw
        }
    }

    #hero-countdown {
        left: 66.5%;
        bottom: 23%;
        top: auto;
    }

    .countdown {
        gap: 10px;
    }

        .countdown .num {
            font-size: 2.22rem;
        }

    .day:after, .hour:after, .min:after {
        top: 0px;
    }

    .blackfriday-items-container {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: none;
    }

    #blackfriday-magazines .blackfriday-items-container {
        grid-template-columns: 1fr 1fr;
        max-width: 768px;
    }

    #blackfriday-additional .blackfriday-items-container {
        grid-template-columns: 1fr 1fr;
        max-width: 768px;
    }
}

@media screen and (min-width: 1280px) {
    .flex-col-xl-1-2 {
        flex-basis: 50%;
    }

    .flex-col-xl-1-4 {
        flex-basis: 25%;
    }    

    #blackfriday-magazine-list .flex-container {
        padding: 0 20px;
    }

    .blackfriday-items-container {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: none;
    }

    #blackfriday-magazines .blackfriday-items-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        max-width: none;
    }

    #blackfriday-additional .blackfriday-items-container {
        max-width: 946px;
    }
}


@media screen and (min-width: 1600px) {
    .ticker ul {
        width: 200vw;
        animation-duration: 25s;
    }

    @keyframes ticker-animation {
        from {
            left: 0%;
        }

        to {
            left: -100vw
        }
    }
}


@media (prefers-reduced-motion: reduce) {
    .animation {
        animation: dissolve 4s linear infinite both;
        background-color: green;
        text-decoration: overline;
    }
}
