@charset 'utf-8';
@import url("https://use.typekit.net/pzw8kie.css");

html, body {
    margin: 0;
    padding: 0;
}

html {
    background-color: #F3F2EF;
}

body {
    font-family:'neuzeit-grotesk',sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    color: #353839;
    margin: 0;
    padding: 0;
}

* {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: underline;
}

.header, .footer {
    height: 46px;
    background-color: white;
    display: flex;
    align-items: center;
}

.header {
    padding: 0 21px;
    justify-content: space-between;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.title {
    font-weight: bold;
}

.logo {
    width: 95px;
    height: auto;
}

.main {
    padding: 32px 21px 130px 21px;
    max-width: 900px;
    margin: 0 auto;
}

.headline {
    font-size: 50px;
    line-height: 1.05;
    margin-bottom: 0.7em;
    height: 100px;
}

.main p {
    margin-top: 1em;
}

.marquee {
    width: 100%;
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.marquee .inner {
    position: absolute;
    top: 8px;
    left: 0;
    padding-left: 10px;
    white-space: nowrap;
    line-height: 1.6;
    font-weight: bold;
    text-align: center;
    width: 100%;
    /* Starting position */


}

.marquee .inner.animated {
    /* Apply animation to this element */
    -moz-animation: marquee-ani 60s linear infinite;
     -webkit-animation: marquee-ani 60s linear infinite;
     animation: marquee-ani 60s linear infinite;
}

/* Move it (define the animation) */
@-moz-keyframes marquee-ani {
 0%   { -moz-transform: translateX(0%); }
 100% { -moz-transform: translateX(-900%); }
}
@-webkit-keyframes marquee-ani {
 0%   { -webkit-transform: translateX(0%); }
 100% { -webkit-transform: translateX(-900%); }
}
@keyframes marquee-ani {
 0%   {
 -moz-transform: translateX(0%); /* Firefox bug fix */
 -webkit-transform: translateX(0%); /* Firefox bug fix */
 transform: translateX(0%);
 }
 100% {
 -moz-transform: translateX(-900%); /* Firefox bug fix */
 -webkit-transform: translateX(-900%); /* Firefox bug fix */
 transform: translateX(-900%);
 }
}

.smiley {
    top: 4px;
    margin-right: 4px;
    margin-left: 4px;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 20px;
    }

    .logo {
        width: 105px;
    }

    .title {
        width: calc(50% + 50px);
    }

    .header {
        padding: 0 30px;
    }

    .main {
        padding: 55px 45px 130px 45px;
    }

    .headline {
        font-size: 60px;

    }

    .marquee .inner.animated {
        /* Apply animation to this element */
        -moz-animation: marquee-ani 120s linear infinite;
         -webkit-animation: marquee-ani 120s linear infinite;
         animation: marquee-ani 120s linear infinite;
    }

}

@media screen and (min-width: 1024px) {
    .marquee .inner.animated {
        /* Apply animation to this element */
        -moz-animation: marquee-ani 160s linear infinite;
         -webkit-animation: marquee-ani 160s linear infinite;
         animation: marquee-ani 160s linear infinite;
    }

}

@media screen and (min-width: 1440px) {
    .marquee .inner.animated {
        /* Apply animation to this element */
        -moz-animation: marquee-ani 200s linear infinite;
         -webkit-animation: marquee-ani 200s linear infinite;
         animation: marquee-ani 200s linear infinite;
    }

}
