/* ==========================================================================
Author's custom styles
========================================================================== */

/* Color palette */

:root {
    --macaroni-and-cheese: #e9b32d;
    --faded-red: #ce3e41;
    --faded-blue: #7299cb;
    --greyish-brown: #3d3d3d;
    --slate-blue: #5e7f96;
    --white: #ffffff;
    --white-transparent-8: rgba(255, 255, 255, 0.8);
    --white-transparent-9: rgba(255, 255, 255, 0.95);
    --warm-grey: #979797;
    --ugly-purple: #b358a4;
    --light-gray: rgb(229, 229, 229);
}

body,
html {
    -webkit-font-smoothing: antialiased;
    font-family: sans-serif;
    min-height: 100%;
    overflow-y: auto;
}

h1 {
    margin-bottom: 34px;
}

.scrollContainer {
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    z-index: 1055;
}

.scrollContainer--free {
    -webkit-overflow-scrolling: auto;
    overflow: hidden;
}

.fixed-top {
    position: fixed;
    top: 0;
}

.fixed-top-placeholder {
    height: 60px;
}

#navbar {
    z-index: 1052;
}

.navbar {
    z-index: 1052;
    background-color: var(--white-transparent-8);
    background-color: rgba(255, 255, 255, 0.8);
    transition: background 0.6s;
    border: none;
    border-radius: 0;
    padding: 0px;
}

.navbar-brand {
    padding: 15px 0px;
}

.navbar-brand img {
    height: 26px;
}

.nav {
    padding-top: 8px;
}

.collapsing .navbar-nav,
.show .navbar-nav {
    text-align: center;
    margin-left: auto;
    width: 100%;
}

.navbar--solid {
    background-color: var(--white-transparent-9);
    background-color: rgba(255, 255, 255, 0.9);
    height: 100vh;
}

.navbar-toggler {
    margin-top: 15px;
    padding: 0;
    z-index: 1052;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(61,61,61)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    margin-top: 2px;
}

.navbar-light .navbar-toggler-icon:hover,
.navbar-light .navbar-toggler-icon:focus {
    background-color: var(--greyish-brown);
    background-color: #3d3d3d;
    border-radius: 0.25rem;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath  stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler {
    border: none;
    outline: none;
}

.divider {
    opacity: 0.2;
    /* HIDE DIVIDER */
    opacity: 0;
    width: 100vw;
    border-bottom: solid 2px #979797;
    border-bottom: solid 2px var(--warm-grey);
}

hr {
    border-color: var(--greyish-brown);
    margin-top: 10px;
}

.button {
    display: inline-block;
    height: 60px;
    border-radius: 3px;
    color: #3d3d3d;
    color: var(--greyish-brown);
    background-color: #ffffff;
    background-color: var(--white);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
    border: solid 1px #3d3d3d;
    border: solid 1px var(--greyish-brown);
    min-width: 200px;
    text-decoration: none !important;
}

.button:hover,
.button:focus {
    background-color: var(--greyish-brown);
    background-color: #3d3d3d;
    color: var(--white);
    color: #ffffff;
}

.button--transparent {
    background-color: transparent;
    box-shadow: none;
    border: solid 1px #ffffff;
    border: solid 1px var(--white);
    color: var(--white);
    color: #ffffff;
}

.button--transparent:hover,
.button--transparent:focus {
    background-color: var(--white);
    background-color: #ffffff;
    color: var(--greyish-brown);
    color: #3d3d3d;
}

.button--dark {
    color: var(--white);
    color: #ffffff;
    background-color: #3d3d3d;
    background-color: var(--greyish-brown);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
    border: solid 1px #3d3d3d;
    border: solid 1px var(--greyish-brown);
}

.button--dark:hover,
.button--dark:focus {
    background-color: var(--white);
    background-color: #ffffff;
    color: var(--greyish-brown);
    color: #3d3d3d;
}

.collapse__trigger {
    transition: all 0.5s;
    text-decoration: none !important;
    color: var(--black) !important;
}

.title {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.fullscreen-bg__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0.7;
}

.cl__logo {
    position: absolute;
    top: 50%;
    width: 360px;
    left: 50%;
    transform: translateX(-50%) translateY(-115%);
}

.cl__download {
    position: absolute;
    top: 50%;
    width: 360px;
    left: 50%;
    transform: translateX(-50%) translateY(30%);
}

.cl__download--logo {
    width: 165px;
    height: 50px;
    background: transparent;
    border-radius: 5px;
    border: 2px solid var(--white);
    border: 2px solid #ffffff;
    margin: 10px auto;
}

.cl__download--logo:hover,
.cl__download--logo:focus {
}

.cl__download--logo.android {
    background-image: url("../img/home/clever-lotto-android-vollversion-download-hell.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.cl__download--logo.android.inverted {
    background-image: url("../img/home/clever-lotto-android-vollversion-download-dunkel.png");
    background-size: cover;
    background-repeat: no-repeat;
    border-color: var(--greyish-brown);
    border-color: #3d3d3d;
}

.cl__download--logo.android.inverted:hover,
.cl__download--logo.android.inverted:focus {
    background-image: url("../img/home/clever-lotto-android-vollversion-download-hell.png");
    background-size: cover;
    background-repeat: no-repeat;
    border-color: transparent;
    background-color: var(--greyish-brown);
    background-color: #3d3d3d;
}

.cl__download--logo.android:hover,
.cl__download--logo.android:focus {
    background-image: url("../img/home/clever-lotto-android-vollversion-download-dunkel.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--white);
    background-color: #ffffff;
}

.cl__download--logo.ios {
    background-image: url("../img/home/app-store-clever-lotto-download-apple-hell.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.cl__download--logo.ios:hover,
.cl__download--logo.ios:focus {
    background-image: url("../img/home/app-store-clever-lotto-download-apple-dunkel.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--white);
    background-color: #ffffff;
}

.page {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
}

.page__last {
    padding-top: 0;
    padding-bottom: 0;
}

.page__primary {
    position: relative;
    height: 100vh;
    padding: 0;
    z-index: 1053;
    background-color: var(--greyish-brown);
    background-color: #3d3d3d;
    color: white;
    overflow: hidden;
}

.page__secondary {
    max-height: 750px;
}

.page__half {
    position: relative;
    min-height: 430px;
    height: calc(50vh - 30px - 40px);
}

.dark {
    color: var(--white);
    color: #ffffff;
    background-color: var(--greyish-brown);
    background-color: #3d3d3d;
}

.darker {
    color: var(--greyish-brown);
    color: #3d3d3d;
    background-color: var(--light-gray);
    background-color: rgb(229, 229, 229);
}

.lotteries {
    position: relative;
    height: 0;
    width: 100%;
    padding-bottom: 95%;
}

.lottery {
    position: absolute;
    margin-top: 50%;
    transform: translateY(-50%);
}

.lottery__container {
    position: absolute;
    height: 0;
    width: 55%;
    padding-bottom: 55%;
}

.lottery--l6 {
    transform: scale(0.73);
    background-image: url("../img/home/online-lotto-jackpot.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.lottery--ej {
    transform: scale(0.73);
    transform-origin: top left;
    left: 51%;
    background-image: url("../img/home/eurojackpot-online-app.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    top: 8%;
}

.lottery--s77 {
    transform: scale(0.73);
    transform-origin: top right;
    top: 53%;
    background-image: url("../img/home/s77-jackpot.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    left: -7%;
}

.lottery--gs {
    transform: scale(0.73);
    transform-origin: top left;
    left: 51%;
    top: 53%;
    background-image: url("../img/home/gluecksspirale-online-app.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.lottery__drawing--name {
    opacity: 0.8;
}

.lottery__icon {
    height: 42px;
}

@media all and (max-width: 768px) {
    .lottery__icon {
        height: 26px;
    }
}

@media all and (max-width: 576px) {
    .lottery__icon {
        height: 62px;
    }
}

.logo__security {
    height: 80px;
    width: auto;
}

.phone__blank {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: rotate(-15deg) translateX(-50%);
    right: 50%;
    max-width: 180px;
}

.quote__text {
    margin-bottom: 50px;
}

.quote__picture {
    width: 75%;
    max-width: 200px;
    height: auto;
}

.appstore-logo {
    height: 4em;
    margin-bottom: 0.5rem;
}
@media (max-width: 992px) {
    .appstore-logo {
        height: 3em;
    }
}

.navbar .appstore-logo {
    margin-top: 0.5em;
    height: 3em;
}

.carousel-control-prev,
.carousel-control-next {
    color: white;
    background-color: transparent;
    width: 40px;
    height: 40px;
    top: 112px;
}

.carousel-control-prev img,
.carousel-control-next img {
    height: 40px;
    width: 40px;
}

.star {
    height: 30px;
    padding-left: 5px;
}

.star:first-of-type {
    padding-left: 0px;
}

#js-phone1,
#js-phone2 {
    position: relative;
    height: 770px;
    z-index: 8;
    display: inline-block;
    padding: 0;
}

.phone {
    position: absolute;
    max-width: 270px;
    pointer-events: none;
    display: inline-block;
}

#m-phone5,
#phone5 {
    opacity: 0;
}

@-webkit-keyframes flash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes flash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.flash {
    -webkit-animation-name: flash;
    -webkit-animation-duration: 400ms;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
    animation-name: flash;
    animation-duration: 400ms;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}

#m-phone6,
#phone6 {
    transition: opacity 0.4s 0.3s ease;
    opacity: 0;
}

#m-phone6.win,
#phone6.win {
    opacity: 1;
}

.blog {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 400px;
}

.blog__entry {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.blog__link {
    position: absolute;
    height: 100%;
    width: 100%;
}

.blog__entry--1 {
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    width: 34%;
    background-image: url("/img/home/cl-homepage-sportquiz.jpg");
}

.blog__entry--2 {
    position: absolute;
    top: 0;
    left: 34%;
    height: 25%;
    width: 66%;
    background-image: url("/img/home/clever-lotto-app-team.png");
}

.blog__entry--3 {
    position: absolute;
    top: 25%;
    left: 34%;
    height: 25%;
    width: 32%;
    background-image: url("/img/home/lotto-gewinnverwendung-werbemittelfond.png");
}

.blog__entry--4 {
    position: absolute;
    top: 25%;
    left: 66%;
    height: 50%;
    width: 34%;
    background-image: url("/img/home/legal-online-lotto-spielen-sichere-auszahlung.png");
}

.blog__entry--5 {
    position: absolute;
    top: 50%;
    left: 0%;
    height: 50%;
    width: 30%;
    background-image: url("/img/home/facebook-clever-lotto-app.png");
}

.blog__entry--6 {
    position: absolute;
    top: 50%;
    left: 30%;
    height: 50%;
    width: 36%;
    background-image: url("/img/home/online-lotto-android-vollversion.jpg");
}

.blog__entry--7 {
    position: absolute;
    top: 75%;
    left: 66%;
    height: 25%;
    width: 34%;
    background-image: url("/img/home/interview-eurojackpot-hintergruende.png");
}

.blog__overlay {
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 1s;
}

.blog__overlay:hover,
.blog__overlay:focus {
    opacity: 1;
}

footer {
    z-index: 1050;
    min-height: 80px;
    background-color: #3d3d3d;
    background-color: var(--greyish-brown);
    box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 500px) {
    footer {
        padding-top: 1em;
        padding-bottom: 1em;
    }
}

.footer__socialmedia {
    height: 30px;
}

.footer__copyright {
    margin: 0;
}

.footer__links {
    padding-top: 7px;
}

.nav-item--footer {
    padding: 15px 0vw;
}

@media all and (min-width: 992px) {
    .navbar-nav {
        width: 75%;
    }
}

@media all and (max-width: 1200px) {
    .lottery__amount {
        font-size: 54px;
    }
}
@media all and (max-width: 992px) {
    .lotteries {
        position: relative;
        height: 345px;
        width: 300px;
        padding-bottom: 0;
        margin: auto;
    }
    .lottery__container {
        position: absolute;
        height: 0;
        width: 100%;
        padding-bottom: 100%;
    }
    .lottery--l6 {
        transform: scale(0.5);
        transform-origin: top left;
        top: 5%;
        left: 0%;
    }
    .lottery--l6 .lottery {
        margin-top: 45%;
    }
    .lottery--ej {
        transform: scale(0.5) translateX(-50%);
        transform-origin: initial;
        background-image: url(../img/home/eurojackpot-online-app.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        transform-origin: top left;
        top: 5%;
        left: 78%;
    }
    .lottery--ej .lottery {
        margin-top: 45%;
        margin-left: 5px;
    }
    .lottery--ke {
        transform: scale(0.5);
        transform-origin: top left;
        top: 74%;
        background-image: url(../img/home/keno-jackpot.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .lottery--s77 {
        transform: scale(0.5);
        transform-origin: top left;
        top: 51%;
        left: 0%;
    }
    .lottery--s77 .lottery {
        margin-top: 43%;
        margin-left: -15px;
    }
    .lottery--gs {
        transform: scale(0.5);
        transform-origin: top left;
        left: 53%;
        top: 51%;
        background-image: url(../img/home/gluecksspirale-online-app.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .lottery--gs .lottery {
        margin-top: 50%;
        margin-left: 20px;
    }
}

@media all and (max-width: 767px) {
    .page {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .page__last {
        padding-top: 0;
        padding-bottom: 0;
    }
    .page__secondary {
        max-height: none;
    }
    .navbar-toggleable-sm > .container {
        width: 100%;
    }
    .navbar-brand {
        margin-left: 1em;
    }
    .navbar-brand img {
        height: 22px;
    }
    .cl__logo {
        width: 260px;
    }
    .cl__download {
        width: 260px;
    }
    .blog {
        height: calc(100vh - 152px);
    }
    .blog__overlay {
        opacity: 1;
        pointer-events: none;
    }
    .blog__overlay .button {
        display: none !important;
    }
    .blog__overlay.blog__entry--1 {
        height: 14%;
        opacity: 1;
    }
    .blog__entry--1 {
        top: 12.5%;
        left: 60%;
        height: 28%;
        width: 40%;
    }
    .blog__overlay.blog__entry--2 {
        top: 6.25%;
        height: 6.25%;
    }
    .blog__entry--2 {
        top: 0;
        left: 0%;
        height: 12.5%;
        width: 100%;
    }
    .blog__overlay.blog__entry--3 {
        top: 29.5%;
        height: 11%;
    }
    .blog__entry--3 {
        top: 12.5%;
        left: 0%;
        height: 28%;
        width: 60%;
    }
    .blog__entry--4 {
        top: 40.5%;
        left: 40%;
        height: 35%;
        width: 60%;
    }
    .blog__overlay.blog__entry--4 {
        top: 59.5%;
        height: 16%;
    }
    .blog__entry--5 {
        display: none;
        width: 0;
        height: 0;
    }
    .blog__entry--6 {
        top: 40.5%;
        left: 0%;
        height: 35%;
        width: 40%;
    }
    .blog__overlay.blog__entry--6 {
        top: 40.5%;
        height: 15%;
    }
    .blog__entry--7 {
        top: 75.5%;
        left: 0%;
        height: 24.5%;
        width: 100%;
    }
    .blog__overlay.blog__entry--7 {
        width: 40%;
    }
    .footer__socialmedia {
        margin: 15px auto 3px auto;
    }
    hr {
        margin-bottom: 50px;
    }
}

@-webkit-keyframes buzz_scaled {
    50% {
        -webkit-transform: translateX(3px) rotate(2deg) scale(0.73);
        transform: translateX(3px) rotate(2deg) scale(0.73);
    }
    100% {
        -webkit-transform: translateX(-3px) rotate(-2deg) scale(0.73);
        transform: translateX(-3px) rotate(-2deg) scale(0.73);
    }
}

@keyframes buzz_scaled {
    50% {
        -webkit-transform: translateX(3px) rotate(2deg) scale(0.73);
        transform: translateX(3px) rotate(2deg) scale(0.73);
    }
    100% {
        -webkit-transform: translateX(-3px) rotate(-2deg) scale(0.73);
        transform: translateX(-3px) rotate(-2deg) scale(0.73);
    }
}

@media all and (max-width: 576px) {
    @-webkit-keyframes buzz_scaled {
        50% {
            -webkit-transform: translateX(-41%) rotate(2deg) scale(0.8);
            transform: translateX(-41%) rotate(2deg) scale(0.8);
        }
        100% {
            -webkit-transform: translateX(-39%) rotate(-2deg) scale(0.8);
            transform: translateX(-39%) rotate(-2deg) scale(0.8);
        }
    }
    @keyframes buzz_scaled {
        50% {
            -webkit-transform: translateX(-41%) rotate(2deg) scale(0.8);
            transform: translateX(-41%) rotate(2deg) scale(0.8);
        }
        100% {
            -webkit-transform: translateX(-39%) rotate(-2deg) scale(0.8);
            transform: translateX(-39%) rotate(-2deg) scale(0.8);
        }
    }
}

.lottery--ej.lottery__today {
    -webkit-animation-name: buzz_scaled;
    animation-name: buzz_scaled;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 10;
    animation-iteration-count: 10;
}

@-webkit-keyframes buzz {
    50% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    100% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
}

@keyframes buzz {
    50% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }
    100% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }
}

.lottery--l6.lottery__today {
    -webkit-animation-name: buzz;
    animation-name: buzz;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 10;
    animation-iteration-count: 10;
}

/* ########################
# ADDITIONAL INFO
######################## */
.additional-info {
    margin-bottom: 6em;
}

.additional-info h1 {
    padding: 28px 0;
    margin: 0 auto;
    max-width: 350px;
}

.additional-info .entry {
    padding: 20px 0px 20px 10px;
}

.additional-info img {
    width: 80px;
    height: 80px;
}

.additional-info h3 {
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    font-family: inherit;
    letter-spacing: 0.5px;
    color: #3d3d3d;
    color: var(--greyish-brown);
}

.cl__download__button--logo svg {
    max-height: 2em;
    width: auto;
    margin-right: 1em;
    fill: var(--greyish-brown);
}

.cl__download__button--logo:hover svg,
.cl__download__button--logo:focus svg {
    fill: white;
}
