* {
    margin: 0px;
    padding: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: calc(2.5vw);
}

.back-link,
.main a {
    color: black;
}

body {
    background-color: #f4f4f5;
    background-image: url(../img/bg-pattern.svg), -webkit-gradient(linear, left top, left bottom, from(#1A5878), to(#002D46));
    background-image: url(../img/bg-pattern.svg), -webkit-linear-gradient(top, #1A5878 0%, #002D46 100%);
    background-image: url(../img/bg-pattern.svg), -o-linear-gradient(top, #1A5878 0%, #002D46 100%);
    background-image: url(../img/bg-pattern.svg), linear-gradient(-180deg, #1A5878 0%, #002D46 100%);
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

.content-title {
    color: #E72660;
    font-family: 'Bangers', cursive;
    font-size: 40px;
}

a.content-link,
a.content-link-large {
    color: #E72660;
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 20px;
    margin: 20px auto 0;
    width: auto;
}

a.content-link-large {
    color: white;
    font-size: 40px;
    text-shadow: 2px 2px 0 black;
    text-decoration: none;
}

a.content-link-large:hover,
a.content-link-large:focus {
    text-decoration: underline;
}

.basic-index {
    margin-top: 50px;
}
.basic-bottom {
    height: 0;
    background: url(../img/jury.svg);
    background-position: center bottom -90px;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-top: 100%;
    position: relative;
    z-index: 200;
}

.basic-background {
    background-color: #E0F2F6;
    border: 1px solid white;
    padding: 30px 20px 36px;
}

.basic-center {
    text-align: center;
}

.main-index {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 60vh;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}



.site {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    min-height: 100vh;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

.basic .social-items {
    display: none;
}

.container {
    margin: 0 auto;
    max-width: 800px;
    background-color: transparent;
    padding: 20px 10px 0 10px;
    width: 100%;
}

.zen-logo {
    height: 49px;
    width: 50px;
    background: url(../img/zensations_logo_sanduhr_black.svg) no-repeat;
    background-size: 100%;
    display: inline-block;
    margin: 0 .5em -18px;
}

.basic-content {
    position: relative;
    z-index: 100;
}

.footer-wrapper {
    background-color: #f4f4f5;
    position: relative;
    z-index: 999;
}

.back-link,
main a,
#footer a {

}

#bingo {
    margin: 0 auto;
    max-width: 800px;
    -webkit-transform: translate(-500%, -500%);
    -ms-transform: translate(-500%, -500%);
    transform: translate(-500%, -500%);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    position: relative;
    z-index: 1000;
    height: 180px;
    margin-bottom: -180px;
}

#header-container {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -ms-flex-align: stretch;
    -webkit-box-align: stretch;
    align-items: stretch;
    padding: 0;
    margin: 20px 0;
}

#footer {
    text-align: center;
    font-size: .8em;
    font-weight: 400;
    padding: 3px;
}

#footer a {
    text-decoration: none;
    color: #000000;
    opacity: 1;
    text-transform: uppercase;
}

#footer ul {
    padding: 0;
    margin: 0;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

#footer ul li {
    list-style: none;
    margin: 10px 0;
}

#footer ul li:first-child {
    margin: 20px 0;
}

.social {
    display: inline-block;
    vertical-align: bottom;
}

.social > * {
    vertical-align: bottom;
}

.policy {
    margin: 10px 0;
}

#board {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -ms-flex-align: stretch;
    -webkit-box-align: stretch;
    align-items: stretch;
    padding: 0;
    margin: 10px 0;
    list-style: none;
    font-size: 0.85em;
}

.square, .freesquare {
    -ms-flex-order: 0;
    -webkit-box-ordinal-group: 1;
    order: 0;
    width: 20%;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    overflow: hidden;
    background-color: #E0F2F6;
    color: #313131;
    text-align: center;
    padding: 3px;
    border: 1px solid white;
    -o-transition-property: background-color;
    transition-property: background-color;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    -moz-transition-property: background-color;
    -moz-transition-duration: 1s;
    -webkit-transition-property: background-color;
    -webkit-transition-duration: 1s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.freesquare,
.freesquare > * {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.selected {
    color: #f1f1f1;
    background-color: #b21545;
    border-color: #c1e7f0;
}

.text {
    padding: 1em 0;
    vertical-align: middle;
    font-size: 1.2em;
    line-height: 1.2em;
}

.small {
    font-size: 0.8em;
}

.medium {
    font-size: 1.0em;
}

.large {
    font-size: 1.2em;
}

#bingo.win {
    -webkit-transition: -webkit-transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: -webkit-transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275), -webkit-transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: url(../img/bingo.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-animation-name: bingo;
    animation-name: bingo;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
}

#instructions {
    margin: 70px 0;
}

#instructions h2, h3 {
    margin: 20px 0 5px 0;
}

#instructions p,
.content-wrapper p {
    margin: 10px 0;
}

.timeline-wrapper {
    text-align: center;
}

.twitter-timeline-rendered {
    margin: 20px auto 80px !important;
}

.zen-logo {
    height: 34px;
    width: 130px;
    background: url(../img/zensations.svg) no-repeat;
    background-size: auto;
    display: inline-block;
    margin: 0 .5em -18px;
    overflow: hidden;
    text-indent: -200%;
}

.content-wrapper {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
}

.left,
.right {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
}

.left {
    background-image: url(../img/chair.svg), url(../img/light-left.svg);
    background-position: right 245px bottom -1px, right 270px top 80px;
    background-repeat: no-repeat;
    margin-right: -200px;
    padding-left: 200px;
}

.right {
    background-image: url(../img/light-right.svg), url(../img/clock.svg);
    background-position: left 270px top 270px, left 500px top 260px;
    background-repeat: no-repeat;
    margin-left: -200px;
    padding-right: 200px;
}

@media screen and (max-width: 799px) {

    .left {
        background-position: right 245px bottom -1px, left -100px top 180px;
        background-size: auto, 200%;
    }

    .right {
        background-position: right -110px top 190px, left 500px top 260px;
        background-size: 200%, auto;
    }

}



.back-link,
main a,
#footer a {

}

#header {
    position: relative;
    display: block;
    padding: 0;
    padding-top: 57%;
    height: 0;
    text-indent: -9999px;
    background: url(../img/title.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    margin: 0 auto;
    margin-top: -18%;
    margin-bottom: -10%;
}

#header a {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


#footer {
    color: #000;
    background-color: transparent;
    font-size: 2em;
    font-weight: 800;
    padding: 8px 20px 8px 20px;
    -o-transition-property: background-color;
    transition-property: background-color;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    -moz-transition-property: background-color;
    -moz-transition-duration: 1s;
    -webkit-transition-property: background-color;
    -webkit-transition-duration: 1s;
}

#footer {
    text-align: center;
    font-size: .8em;
    font-weight: 400;
    padding: 3px;
}

#footer a {
    text-decoration: none;
    color: #000000;
    opacity: 1;
    text-transform: uppercase;
}

#footer ul {
    padding: 0;
    margin: 0;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

#footer ul li {
    list-style: none;
    margin: 10px 0;
}
#footer ul li:first-child {
    margin: 20px 0;
}

.social {
    display: inline-block;
    vertical-align: bottom;
}

.social > * {
    vertical-align: bottom;
}

.policy {
    margin: 10px 0;
}

#board {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -ms-flex-align: stretch;
    -webkit-box-align: stretch;
    align-items: stretch;
    padding: 0;
    margin: 10px 0;
    list-style: none;
    font-size: 0.85em;
    position: relative;
    z-index: 100;
}

.freesquare > * {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.selected {
    color: #f1f1f1;
    background-color: #b21545;
    border-color: #c1e7f0;
}

.text {
    padding: 1em 0;
    vertical-align: middle;
    font-size: 1.2em;
    line-height: 1.2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.small {
    font-size: 0.8em;
}

.medium {
    font-size: 1.0em;
}

.large {
    font-size: 1.2em;
}

.win {
    text-indent: -100%;
    font-size: 2em;
    font-weight: bold;
    padding: 8px 20px 8px 20px;
    overflow: hidden;
}

@media screen and (min-width: 45em) {
    html {
        font-size: 1.1em;
    }

    #footer ul {
        -ms-flex-direction: row;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        flex-direction: row;
    }

    #footer ul li {
        margin: 20px 0;
        /*width: 33.33%;*/
        width: 50%;
    }

    #footer ul li:first-child {
        margin: 0 0 20px;
    }

    .policy {
        margin: 20px 0;
    }
}

@media screen and (min-width: 800px) {
    #bingo {
        height: 340px;
        margin-bottom: -340px;
    }
    .basic-background {
        padding: 60px 100px 66px;
    }

    .text {
        min-height: 130px;
    }

    #header {
        margin-top: -120px;
    }

    .basic-bottom {
        height: 400px;
        background-position: center bottom -420px;
        background-size: 86.625%;
        padding-top: 0;
    }
}

@media screen and (min-width: 820px) {
    .container {
        padding: 20px 0 0;
    }
}

@-webkit-keyframes bingo {
    0%   {-webkit-transform: translate(-100%, 0%) scale(0);transform: translate(-100%, 0%) scale(0);}
    33.33%  {-webkit-transform: translate(20%, 33.33%) scale(1);transform: translate(20%, 33.33%) scale(1);}
    66.66%  {-webkit-transform: translate(-20%, 130%)scale(1);transform: translate(-20%, 130%)scale(1);}
    100% {-webkit-transform: translate(100%,150%) scale(0);transform: translate(100%,150%) scale(0);}
}

@keyframes bingo {
    0%   {-webkit-transform: translate(-100%, 0%) scale(0);transform: translate(-100%, 0%) scale(0);}
    33.33%  {-webkit-transform: translate(20%, 33.33%) scale(1);transform: translate(20%, 33.33%) scale(1);}
    66.66%  {-webkit-transform: translate(-20%, 130%)scale(1);transform: translate(-20%, 130%)scale(1);}
    100% {-webkit-transform: translate(100%,150%) scale(0);transform: translate(100%,150%) scale(0);}
}