:root {
    --brand-color: #bd1a1a;
    --default-text-color: rgb(0, 63, 116);
    --secondary-text-color: #000000;
    --header-text-color: #ffffff;
    --header-background-color: #bd1a1a;
    --footer-font-size: 1rem;
    --footer-text-color: #ffffff;
    --footer-background-color: #bd1a1a;
}

* {
    scroll-margin-top: 4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    /* color: var(--default-text-color); */
    color: var(--secondary-text-color);
    font-family: "Panton Narrow", sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    background-color: #ffffff;
}

main {
    padding-bottom: 15rem;
}

footer {
    padding: 4rem 7rem 2.5rem;
    color: var(--footer-text-color);
    font-size: var(--footer-font-size);
    font-weight: 400;
    background-color: var(--footer-background-color);
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer ul li {
    display: inline-block;
}

footer a {
    color: var(--footer-text-color);
    text-decoration: none;
}

footer a:hover {
    color: var(--footer-text-color);
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    color: var(--default-text-color);
    font-family: "Panton Narrow", sans-serif;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.5rem;
}

.c5content h2 {
    text-align: center;
}

h3 {
    font-size: 2.5rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.5rem;
    text-transform: none;
}

p {
    margin-bottom: 0;
}

a,
a:hover {
    color: var(--default-text-color);
    text-decoration: underline;
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-top-width: 0px;
    border-top-style: none;
    border-top-color: currentcolor;
    border-top: 2px solid var(--default-text-color);
}

.navbar {
    position: relative;
    padding: 1.25rem 4rem;
}

.bg-light {
    background-color: var(--header-background-color) !important;
}

.navbar-brand {
    position: absolute;
    top: 0;
    left: 6rem;
    margin: 0;
    padding: 0;
    z-index: 666;
}

.navbar-brand img.logo {
    width: 200px;
}

.navbar-light .navbar-toggler {
    padding: 0;
    font-size: 2rem;
    border: none;
    border-radius: 0;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("../img/menu.png");
    background-repeat: no-repeat;
    background-size: contain
}

.nav-link {
    padding-left: 1.75rem !important;
    color: var(--header-text-color) !important;
    font-size: 1rem;
    font-weight: normal;
}

a.nav-link,
a:hover.nav-link {
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
}

.full-width {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

.to-upper {
    text-transform: uppercase;
}

.break-out {
    position: relative;
    left: calc(-1 * (100vw - 100%) / 2);
    width: 100vw;
}

.success-message div {
    position: absolute;
    top: 64%;
    left: 38%;
    width: 42rem;
    text-align: left;
}

.gewinnspiel {
    color: #ffffff;
    background-color: var(--brand-color);
    border-radius: 4rem;
}

.gewinnspiel h1,
.gewinnspiel h2,
.gewinnspiel h3,
.gewinnspiel a {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .success-message div {
        position: relative;
        left: auto;
        width: 100%;
        padding: 3rem 3rem 10rem;
        text-align: center;
    }

    .navbar {
        padding: 1.25rem 4rem;
    }

    .nav-link {
        padding-left: .75rem !important;
    }

    .navbar-brand {
        left: 4rem;
    }

    .navbar-brand img.logo {
        width: 180px;
    }
}

@media (max-width: 767.98px) {
    h2 {
        font-size: 2.125rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    .navbar {
        padding: .75rem 1rem;
    }

    .navbar-brand {
        left: 2.5rem;
    }

    .navbar-brand img.logo {
        width: 150px;
    }

    footer {
        padding: 3rem 2rem;
    }

    footer ul li {
        display: block;
        text-align: center;
    }

    footer a {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 1.2rem;
    }
    main {
        padding-bottom: 8rem;
    }
    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.25rem;
    }
}

.mat-howto {
    margin: 0;
    padding: 3rem 0 0;
    list-style: none;
}

.mat-howto li {
    margin-bottom: 1.25rem;
}

.mat-howto li img {
    width: 3rem;
    max-width: 3rem;
}

.mat-progress {
    margin: 1rem auto;
    padding: 2px;
    width: 100%;
    max-width: 500px;
    border: 3px solid var(--footer-background-color);
    height: 2rem;
}

.mat-progress div {
    height: 100%;
    width: 0%;
    background-color: var(--default-text-color);
    animation: fill-bar 5s infinite;
}

@keyframes fill-bar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}