#uitlegknoppen { position:absolute }
#uitlegicon { position: absolute }
#reseticon { position: absolute }
#homeicon { position: absolute }
    

.valign-table {
    display: table !important;
    table-layout: fixed;
}
.valign-cell {
    display: table-cell !important;
    vertical-align: middle;
    text-align: center;
}
.ombre_foncee,
#memory-main-container,
.memo_button {
    -webkit-box-shadow: 4px 4px 0px -1px #1174d1;
    -moz-box-shadow: 4px 4px 0px -1px #1174d1;
    box-shadow: 4px 4px 0px -1px #1174d1;
}
#memory-main-container {
    background: #3293d6;
    width: 100%;
    height: 550px;
    max-height: 550px;
    position: relative;
    border: 8px solid #cae4f6;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
}
#memory--app-container {
    width: 96%;
    height: 78%;
    text-align: center;
    top: 18.5%;
    left: 2%;
    right: 2%;
    position: absolute;
}    

    
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    
}

@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    #memory--app-container {
        //top: 5%;
        //height: 10%;
    }
}
@media only screen and (max-width: 640px) and (orientation: landscape), only screen and (max-device-width: 640px) and (orientation: landscape) {
    #memory--app-container {
        //top: 9%;
        //height: 90%;
    }
}
#memory--cards {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    list-style-type: none;
    list-style-image: none;
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
}
#memory--app-container ul,
#memory--app-container ul li {
    list-style-type: none !important;
    background: none;
    padding: 0px;
    margin: 0px;
}
.memory--menu-bar {background: #3293d6;
    width: 100%;
    height: 8%;
    display: table;
    table-layout: fixed;
    margin: 0px;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 600;
    font-weight: bold;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    .memory--menu-bar {
        height: auto;
        margin-top: 4.5%;
    }
}
@media only screen and (max-width: 640px) and (orientation: landscape), only screen and (max-device-width: 640px) and (orientation: landscape) {
    .memory--menu-bar {
        margin-top: 1.5%;
    }
}
div#level_conteiner,
div#score_conteiner {
    display: table-cell;
    vertical-align: bottom;
    font-size: 22px;
    background: transparent;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    div#level_conteiner,
    div#score_conteiner {
        font-size: 18px;
    }
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    div#level_conteiner,
    div#score_conteiner {
        font-size: 16px;
    }
}
div#score_conteiner {
    padding-right: 20px;
    text-align: right;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    div#score_conteiner {
        padding-right: 10px;
    }
}
div#level_conteiner {
    padding-left: 20px;
    text-align: left;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    div#level_conteiner {
        padding-left: 10px;
    }
}
#timer_conteiner {
    display: block;
    text-align: center;
    position: absolute;
    top: 1%;
    left: 0px;
    right: 0px;
    height: auto;
    z-index: 500;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    #timer_conteiner {
        top: 0.8%;
    }
}
@media only screen and (max-width: 640px) and (orientation: landscape), only screen and (max-device-width: 640px) and (orientation: landscape) {
    #timer_conteiner {
        top: 0.5%;
    }
}
div#timer {
    visibility: true;
    opacity: 1;
    display: inline-block;
    text-align: center;
    font-size: 70px;
    line-height: 70px;
    font-weight: bold;
    padding: 0px;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 1);
    top: 0px;
    z-index: 500;
    position: relative;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    div#timer {
        font-size: 37px;
        line-height: 37px;
        letter-spacing: 0px;
    }
}
@media only screen and (max-width: 640px) and (orientation: landscape), only screen and (max-device-width: 640px) and (orientation: landscape) {
    div#timer {
        font-size: 32px;
        line-height: 32px;
        letter-spacing: 0px;
    }
}
div#timer.go_away {
    visibility: false;
    opacity: 0;
    top: -1000px;
    -webkit-transition: opacity 0.25s 0.05s ease-in, top 1s 0.05s ease-in;
    -moz-transition: opacity 0.25s 0.05s ease-in, top 1s 0.05s ease-in;
    -o-transition: opacity 0.25s 0.05s ease-in, top 1s 0.05s ease-in;
    transition: opacity 0.25s 0.05s ease-in, top 1s 0.05s ease-in;
}
div#timer.time_ending {
    color: #f00;
    animation: animationFrames linear 1s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames linear 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animationFrames linear 1s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: animationFrames linear 1s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: animationFrames linear 1s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}
div#timer.time_ending.noshaking {
    -webkit-animation: animationFrames linear 0s;
    -moz-animation: animationFrames linear 0s;
    -o-animation: animationFrames linear 0s;
    -ms-animation: animationFrames linear 0s;
}
#memory--end-game-modal {
    position: relative;
    margin: 0;
    display: inline-block;
    text-align: center;
    width: 95%;
    height: 100%;
    padding-top: 6%;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    -moz-transform: scale(0.01, 0.01);
    -webkit-transform: scale(0.01, 0.01);
    -o-transform: scale(0.01, 0.01);
    transform: scale(0.01, 0.01);
    -ms-transform: scale(0.01, 0.01);
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
}
#memory--end-game-modal.show {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transition: opacity 0.85s 0.85s ease-in, -webkit-transform 0.85s 0.85s ease-in;
    -moz-transition: opacity 0.85s 0.85s ease-in, -moz-transform 0.85s 0.85s ease-in;
    -o-transition: opacity 0.85s 0.85s ease-in, -o-transform 0.85s 0.85s ease-in;
    transition: opacity 0.85s 0.85s ease-in, transform 0.85s 0.85s ease-in;
}
#memory--end-game-modal.show.fast {
    -webkit-transition: opacity 0.55s 0.05s ease-in, -webkit-transform 0.55s 0.05s ease-in, top 0.55s 0.05s ease-in;
    -moz-transition: opacity 0.55s 0.05s ease-in, -moz-transform 0.55s 0.05s ease-in, top 0.55s 0.05s ease-in;
    -o-transition: opacity 0.55s 0.05s ease-in, -o-transform 0.55s 0.05s ease-in, top 0.55s 0.05s ease-in;
    transition: opacity 0.55s 0.05s ease-in, transform 0.55s 0.05s ease-in, top 0.55s 0.05s ease-in;
}
#memory--end-game-modal div.wrapper {
    text-align: center;
    color: #000;
    padding: 8px 0;
    display: block;
    width: 98%;
    height: 99%;
    margin-left: auto;
    margin-right: auto;
}
#memory--end-game-modal div.wrapper p {
    padding-top: 0px;
    margin-top: 0px;
}
#memory--end-game-message,
#memory--end-game-score {
    padding: 0px;
    text-align: center;
    cursor: pointer;
    font-size: 26px;
    line-height: 28px;
}

#memory--end-game-message {
    font-weight: bold;
    padding-bottom: 2px;
}
#memory--end-game-score {
    font-size: 20px;
    line-height: 24px;
}

.memo_button {
    background-color: #fc0;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    font-weight: bold;
    padding: 9px;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 3px solid #fff !important;
}

p.social_buttons {
    display: block;
    padding: 0px;
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    
}
@media only screen and (max-width: 640px) and (orientation: portrait), only screen and (max-device-width: 640px) and (orientation: portrait) {
   
}

#start {
    display: none;
    min-width: 10%;
    margin-top: 9px !important;
    text-transform: uppercase;
    animation: animationFrames linear 3s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames linear 3s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animationFrames linear 3s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: animationFrames linear 3s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: animationFrames linear 3s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
}

#memory--end-game-modal.show .memo_button {
    display: inline-block;
}
@keyframes animationFrames {
    0% {
        transform: translate(0px, 0px);
    }
    3% {
        transform: translate(-10px, 0px);
    }
    6% {
        transform: translate(10px, 0px);
    }
    9% {
        transform: translate(-10px, 0px);
    }
    12% {
        transform: translate(0px, 0px);
    }
    100% {
        transform: translate(0px, 0px);
    }
}
@-moz-keyframes animationFrames {
    0% {
        -moz-transform: translate(0px, 0px);
    }
    3% {
        -moz-transform: translate(-10px, 0px);
    }
    6% {
        -moz-transform: translate(10px, 0px);
    }
    9% {
        -moz-transform: translate(-10px, 0px);
    }
    12% {
        -moz-transform: translate(0px, 0px);
    }
    100% {
        -moz-transform: translate(0px, 0px);
    }
}
@-webkit-keyframes animationFrames {
    0% {
        -webkit-transform: translate(0px, 0px);
    }
    3% {
        -webkit-transform: translate(-10px, 0px);
    }
    6% {
        -webkit-transform: translate(10px, 0px);
    }
    9% {
        -webkit-transform: translate(-10px, 0px);
    }
    12% {
        -webkit-transform: translate(0px, 0px);
    }
    100% {
        -webkit-transform: translate(0px, 0px);
    }
}
@-o-keyframes animationFrames {
    0% {
        -o-transform: translate(0px, 0px);
    }
    3% {
        -o-transform: translate(-10px, 0px);
    }
    6% {
        -o-transform: translate(10px, 0px);
    }
    9% {
        -o-transform: translate(-10px, 0px);
    }
    12% {
        -o-transform: translate(0px, 0px);
    }
    100% {
        -o-transform: translate(0px, 0px);
    }
}
@-ms-keyframes animationFrames {
    0% {
        -ms-transform: translate(0px, 0px);
    }
    3% {
        -ms-transform: translate(-10px, 0px);
    }
    6% {
        -ms-transform: translate(10px, 0px);
    }
    9% {
        -ms-transform: translate(-10px, 0px);
    }
    12% {
        -ms-transform: translate(0px, 0px);
    }
    100% {
        -ms-transform: translate(0px, 0px);
    }
}
.flip-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    float: left;
    opacity: 1;
    touch-action: none;
    -ms-touch-action: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.flip-container.clicked .front {
    -webkit-transform: translateZ(0) rotateY(180deg);
    -moz-transform: translateZ(0) rotateY(180deg);
    -ms-transform: translateZ(0) rotateY(180deg);
    -o-transform: translateZ(0) rotateY(180deg);
    transform: translateZ(0) rotateY(180deg);
}
.flip-container.clicked .back {
    -webkit-transform: translateZ(0) rotateY(0deg);
    -moz-transform: translateZ(0) rotateY(0deg);
    -ms-transform: translateZ(0) rotateY(0deg);
    -o-transform: translateZ(0) rotateY(0deg);
    transform: translateZ(0) rotateY(0deg);
}
.flip-container.matched {
    visibility: hidden;
    opacity: 0;
    -moz-transform: translateZ(0) scale(0.01, 0.01);
    -webkit-transform: translateZ(0) scale(0.01, 0.01);
    -o-transform: translateZ(0) scale(0.01, 0.01);
    transform: translateZ(0) scale(0.01, 0.01);
    -ms-transform: translateZ(0) scale(0.01, 0.01);
    -webkit-transition: opacity 0.55s 0.5s ease-in, -webkit-transform 0.55s 0.5s ease-in;
    -moz-transition: opacity 0.55s 0.5s ease-in, -moz-transform 0.55s 0.5s ease-in;
    -ms-transition: opacity 0.55s 0.5s ease-in, -ms-transform 0.55s 0.5s ease-in;
    -o-transition: opacity 0.55s 0.5s ease-in, -o-transform 0.55s 0.5s ease-in;
    transition: opacity 0.55s 0.5s ease-in, transform 0.55s 0.5s ease-in;
}
.flip-container.matched .front {
    -webkit-transform: rotateY(180deg);
    -moz-transform: translateZ(0) rotateY(180deg);
    -ms-transform: translateZ(0) rotateY(180deg);
    -o-transform: translateZ(0) rotateY(180deg);
    transform: translateZ(0) rotateY(180deg);
    -webkit-transition: 0.75s;
    -moz-transition: 0.75s;
    -ms-transition: 0.75s;
    -o-transition: 0.75s;
    transition: 0.75s;
}
.flip-container.matched .back {
    -webkit-transform: translateZ(0) rotateY(0deg);
    -moz-transform: translateZ(0) rotateY(0deg);
    -ms-transform: translateZ(0) rotateY(0deg);
    -o-transform: translateZ(0) rotateY(0deg);
    transform: translateZ(0) rotateY(0deg);
    -webkit-transition: 0.75s;
    -moz-transition: 0.75s;
    -ms-transition: 0.75s;
    -o-transition: 0.75s;
    transition: 0.75s;
}
.flipper {
    width: 94%;
    height: 94%;
    position: relative;
    top: 6%;
    bottom: 6%;
    margin: 0% auto;
    -webkit-transition: 0.75s;
    -moz-transition: 0.75s;
    -ms-transition: 0.75s;
    -o-transition: 0.75s;
    transition: 0.75s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    .flipper {
        width: 95%;
        height: 95%;
        top: 5%;
        bottom: 5%;
    }
}
.front,
.back {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 0.25s;
    -moz-transition: 0.25s;
    -ms-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    image-rendering: auto;
}
.front {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 80% 80%;
    background-color: rgba(255, 0, 0, 1);
}
@media all and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
    .front {
        display: block;
    }
    .back {
        display: none;
    }
    .flip-container.clicked .front {
        display: none;
    }
    .flip-container.clicked .back {
        display: block;
    }
    .flip-container.matched,
    .flip-container.matched .back {
        display: block !important;
        visibility: visible !important;
        opacity: 0.35 !important;
    }
}
.back {
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    background-color: #fff;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: 80% 80%;
}
span.card_inner_border {
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 3px solid #cae4f6;
    z-index: 300;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5%;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    span.card_inner_border {
        border: 2px solid #000001;
    }
}
.front,
.back {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5%;
}
body.fr div.outdated-browser > div.fr {
    display: block;
}
body.fr div.outdated-browser > div.eng {
    display: none;
}
body.eng div.outdated-browser > div.eng {
    display: block;
}
body.eng div.outdated-browser > div.fr {
    display: none;
}
body.fr div.outdated-browser.modal {
    display: none;
}
body.eng div.outdated-browser.modal {
    display: none;
}
div.outdated-browser {
    background: transparent;
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    display: block;
    width: auto;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    padding-top: 15px;
    transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    z-index: auto;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
div.outdated-browser.modal,
div.outdated-browser.with-background {
    display: none;
    background: #fff;
    margin: 0;
    color: #000;
    text-align: left;
    width: 95%;
    padding: 25px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: none;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.65);
    -moz-box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.65);
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.65);
}
div.outdated-browser.with-background {
    margin-left: auto;
    margin-right: auto;
}
div.outdated-browser.modal a,
div.outdated-browser.with-background a {
    color: #f00;
}
div.outdated-browser.visible {
    display: inline-block;
}
div.outdated-browser.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    max-width: 550px;
    transform: translate(-50%, -55%);
    -ms-transform: translate(-50%, -55%);
    -webkit-transform: translate(-50%, -55%);
    z-index: 1500;
}
body.show-outdated-browser div.outdated-browser.modal {
    display: block;
}
div.outdated-browser h2 {
    text-shadow: none;
    font-family: Arial;
    font-weight: bold;
    font-size: 16px;
    color: #f00;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
}
div.outdated-browser ul {
    margin: 0px;
    padding: 0px;
    border-collapse: separate;
    display: table;
    table-layout: fixed;
    width: 100%;
    box-sizing: border-box;
    border: none;
    empty-cells: hide;
    text-align: center;
}
div.outdated-browser.modal ul {
    padding-top: 10px;
}
div.outdated-browser li {
    margin: 0px;
    padding: 0px;
    border: none;
    text-align: center;
    display: table-cell;
    background-image: none;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}
div.outdated-browser li a span {
    display: block !important;
    text-align: center;
    padding-top: 5px;
}
div.outdated-browser li a i {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 64px;
    height: 64px;
    background-repeat: no-repeat;
}
div.outdated-browser li.firefox a i {
    background-image: url("../../../images/outdated-browser/firefox.png");
}
div.outdated-browser li.chrome a i {
    background-image: url("../../../images/outdated-browser/chrome.png");
}
div.outdated-browser li.safari a i {
    background-image: url("../../../images/outdated-browser/safari.png");
}
div.outdated-browser li.opera a i {
    background-image: url("../../../images/outdated-browser/opera.png");
}
.ie8 div.outdated-browser li {
    width: auto;
}
.ie8 div.outdated-browser.with-background {
    display: inline-block;
}
.ie8 #memory-main-container,
.ie8 #memory--end-game-modal {
    display: none !important;
}
div.ie8 .social_buttons {
    display: none !important;
    opacity: 0 !important;
}
.loading_spinner {
    display: block;
    height: 60px;
    width: 60px;
    margin: 34px auto 0 auto;
    border-style: solid;
    border-width: 6px;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.8);
    -webkit-animation-name: rotation;
    -moz-animation-name: rotation;
    -o-animation-name: rotation;
    animation-name: rotation;
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    -o-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    -o-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    -o-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .loading_spinner {
        height: 45px;
        width: 45px;
        border-width: 4px;
        margin-top: 24px;
    }
}
.loading_spinner.mini {
    height: 13px;
    width: 13px;
    margin-top: 0px;
    border-width: 2px;
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    border-radius: 13px;
}
@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}
@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}
@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
@media all and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
    .loading_spinner {
        border: none !important;
        background: no-repeat top left url("../../../images/loading_spinners/white_loading_spinner.gif");
        background-size: 54px 55px;
    }
    .loading_spinner.mini {
        background-size: 18px 18px;
        height: 18px;
        width: 18px;
    }
}
#loading_conteiner {
    display: table;
    position: absolute;
    width: 100%;
    top: 35%;
    text-align: center;
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    #loading_conteiner {
        top: 15%;
    }
}
#loading_conteiner div.text {
    margin-top: 10px;
}
.ie8 #loading_conteiner {
    display: none !important;
}
    

/* Media Query for Mobile Devices */
        @media (max-width: 480px) {
            #memory-main-container {
                background: #ffa3a7;
                height:330px;
            }
        }



#titel {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #eef2f3;
  padding: 1rem;
  text-align: center;
  border-bottom: 2px solid #ccc;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
#titel h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin: 5px auto;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
    
.card {
    margin: 0 auto;
    padding: 10px;
    display: block;
    max-width: 200px;
    width: 100%;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px #909090;
    position: absolute;
    top: 70px;
    left: 660px;
    transform: translate(-50%, -50%);
}

.score-button {
  display: flex; /* i.p.v. inline-flex */
  justify-content: center;
  align-items: center;
  background: #FFF;
  color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 20px;
  font-family: "Be Vietnam Pro", sans-serif;
  padding: 0 20px;
  height: 40px;
  min-width: 30px;
  text-align: center;
  text-decoration: none;
  filter: drop-shadow(2.5px 2.5px 5px #000);
}

#countdown { font-size: 25px; }
#puntenInCard { font-size: 25px; }

.nav-box {
    zoom: 0.75;
    -moz-transform: scale(0.75);
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 650; /* Sit on top */
    padding-top: 5px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#scoreCards {
  max-width: 600px;
  margin: 10px auto;
  font-family: Arial, sans-serif;
  font-size: 0.9em;
}

.scoreCard {
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 6px 10px;
  margin-bottom: 6px;
}

.scoreRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow-x: auto;
}

.scoreRow span {
  flex: 1;
  text-align: left;
  color: #000;
}

.scoreRow .score {
  text-align: right;
  font-weight: bold;
  color: #000;
}

#scoreForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: 300px; /* optioneel, om het niet te breed te maken */
}    

.memory-uitleg {
    max-width: 650px;
    margin: 25px auto;
    padding: 24px;
    background: #fff8e5;
    border: 2px solid #f2d77a;
    border-radius: 20px;
    color: #343434;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    box-sizing: border-box;
}

.memory-uitleg * {
    box-sizing: border-box;
}

.memory-uitleg h2 {
    margin: 0 0 5px;
    color: #7145b5;
    font-size: 1.7rem;
    text-align: center;
}

.memory-uitleg .memory-uitleg-intro {
    margin: 0 0 22px;
    text-align: center;
    color: #705c42;
}

.memory-uitleg-stap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0;
    padding: 12px;
    background: #fff;
    border-radius: 13px;
}

.memory-uitleg-icoon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.7rem;
}

.memory-uitleg-stap p {
    margin: 3px 0 0;
}

.memory-uitleg-stap strong {
    color: #38304d;
}

.memory-uitleg h3 {
    margin: 24px 0 12px;
    color: #7145b5;
    text-align: center;
    font-size: 1.3rem;
}

.memory-uitleg-punten {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.memory-uitleg-punt {
    padding: 14px 5px;
    text-align: center;
    border-radius: 13px;
}

.memory-uitleg-punt .symbool {
    display: block;
    font-size: 1.7rem;
}

.memory-uitleg-punt strong {
    display: block;
    font-size: 1.5rem;
}

.memory-uitleg-punt span:last-child {
    display: block;
    font-size: 0.85rem;
}

.memory-uitleg-goed {
    background: #d9f7e5;
    color: #16834a;
}

.memory-uitleg-tijd {
    background: #dceeff;
    color: #2468b4;
}

.memory-uitleg-fout {
    background: #ffe2de;
    color: #c83c36;
}

.memory-uitleg-tip {
    margin-top: 20px;
    padding: 17px;
    background: #fff;
    border: 1px solid #f2d77a;
    border-radius: 13px;
    text-align: center;
}

.memory-uitleg-tip strong {
    display: block;
    margin-bottom: 5px;
    color: #7145b5;
    font-size: 1.1rem;
}

.memory-uitleg-tip p {
    margin: 5px 0 12px;
}

.memory-uitleg-slot {
    margin: 0;
    color: #e58a00;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 420px) {
    .memory-uitleg {
        padding: 15px;
    }

    .memory-uitleg-stap {
        gap: 10px;
        padding: 10px;
    }

    .memory-uitleg-icoon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .memory-uitleg-punten {
        gap: 6px;
    }

    .memory-uitleg-punt {
        padding: 10px 3px;
    }

    .memory-uitleg-punt strong {
        font-size: 1.25rem;
    }

    .memory-uitleg-punt span:last-child {
        font-size: 0.75rem;
    }
}