@import url("https://use.typekit.net/mwm5qhe.css");
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  background-color: #ffffff;
  background-size: cover;
  font-family:Soleil, sans-serif;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bold;
  font-family: "Soleil", "Open Sans", sans-serif;
  letter-spacing: -1px;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: none;
  touch-action: manipulation;
}
#wrapper {
  height: 100svh;
}
.main-content {
  height:100svh;
}
#logo {
  background:#0675CD;
  position: absolute;
  top: 0;
  right: .5rem;
  z-index: 999;
  width: 180px;
  padding: .75rem;
  text-align: center;
}
#logo img {
  max-width: 100px;
}
.game .sidebar {
  display: none;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  align-content: flex-start;
  padding-bottom: 2rem;
}
.game .header {
  display:none;
  width: 100%;
  position: relative;
  max-width: 100%;
  color: #fff;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 343px;
}
#js-game {
  background-color: #fff;
  padding: 8px;
  /*width: 936px;*/
  margin: 0 auto;
  transform-origin: 0 0;
  gap:1rem;
  height:100%;
  transform:none !important;
  position:relative;
}
#wrapper {
  overflow: hidden;
}
#main {
  height: 100vh;
  overflow: hidden;
}
#game-message {
  color:#4C4C4C;
  padding:1rem 2rem;
}
#footnotes {
  color:#B1B1B1;
  font-size: .75rem;
  padding: 1rem 2rem;
  display:none;
}
.content {
  width: 100%;
}
.game-grid {
  width: 100%;
}
@media (min-width: 1024px) {
  #js-game {
    display: flex;
    /*width: 1273px;*/
  }
  .game .sidebar {
    flex: 0 0 360px;
    margin-right: 12px;
    max-width: 360px;
    padding: 0;
/*    display: block;*/
    width: 100%;
    position: relative;
    color: #fff;
    overflow: hidden;
    background:#F2F2F2;
  }
  .game .header {
    display: none;
  }
}
.sidebar-title {
  padding:5rem 2rem 1rem 2rem;
  flex:100%;
  align-self: flex-start;
}
.sidebar-title h4 {
  text-align:center;
  color:#0675CD;
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom:.5rem;
}
.sidebar-title h1 {
  text-align:center;
  color:#4C4C4C;
  font-size: 2rem;
  font-weight:900;
}
#bottom-blocks {
  display:flex;
  height:2rem;
  align-self: end;
  width: 100%;
  position: absolute;
  bottom: 0;
}
.sidebar-inner {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  padding-left: 155px;
  background: #479dd4;
  /* Old browsers */
  background: -moz-linear-gradient(left, #479dd4 0%, #58a4d8 21%, #61a8d9 43%, #5da6d9 70%, #479dd4 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #479dd4 0%, #58a4d8 21%, #61a8d9 43%, #5da6d9 70%, #479dd4 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #479dd4 0%, #58a4d8 21%, #61a8d9 43%, #5da6d9 70%, #479dd4 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#479dd4', endColorstr='#479dd4', GradientType=1);
  /* IE6-9 */
}
.sidebar-inner {
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 1024px) {
  .sidebar-inner {
    display: block;
    padding: 20px;
  }
}
.game h1 {
  width: 150px;
  /*font-size: 14px;*/
  margin: auto auto -15px;
  text-align: center;
}
.main-block {
  max-width: 215px;
}
@media (min-width: 1024px) {
  .game h1 {
    width: auto;
    /*font-size: 20px;*/
    margin: 0 0 20px;
  }
  .main-block {
    max-width: none;
    margin-bottom: 100px;
  }
}
.main-block .img-text {
  text-align: center;
}
.main-block .img-text p {
  margin-top: 0;
  text-align: center;
}
.img-text p br {
  display: none;
}
@media (min-width: 1024px) {
  .img-text p br {
    display: block;
  }
}
.top-bg-mobile {
  width: 153px;
  height: 51px;
  margin: auto auto 12px;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 1024px) {
  .top-bg-mobile {
    display: none;
  }
}
.top-bg {
  display: none;
  width: 286px;
  height: 95px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: auto auto -20px;
}
@media (min-width: 1024px) {
  .top-bg {
    display: block;
  }
}
.bottom-bg {
  display: none;
  width: 264px;
  height: 88px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: auto;
}
@media (min-width: 1024px) {
  .bottom-bg {
    display: block;
  }
}
.main-img {
  position: absolute;
  top: -51px;
  left: -57px;
  border: 1px solid #fff;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: auto auto 30px;
}
@media (min-width: 1024px) {
  .main-img {
    position: static;
    width: 250px;
    height: 250px;
  }
}
.main-img img {
  width: 100%;
  height: auto;
}
.logo-block {
  width: 35%;
  text-align: center;
}
@media (min-width: 1024px) {
  .logo-block {
    width: 100%;
  }
}
.logo-block .text {
  font-size: 11px;
  margin: 0 0 13px;
}
.logo-block .text p {
  margin: 0;
}
.logo {
  margin-bottom: 10px;
}
@media (min-width: 1024px) {
  .logo {
    margin-bottom: 30px;
  }
}
.logo a {
  display: inline-block;
}
/*------------------- content --------------------------*/
.content {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.game .content {
  position: relative;
}
@media (min-width: 1024px) {
  .game .sidebar {
    width: 360px;
    /*flex: 0 0 325px;*/
    margin-right: 12px;
  }
  .sidebar-inner {
    /*height: 100%;*/
  }
  .game .content {
    /*max-width: 920px;*/
    flex: 1 0 1%;
  }
}
.game-grid {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  
  height:100%;
}
.game-card {
/*  
width: 230px;
height: 306px;
*/
  padding: 0;
  opacity: 0;
  -webkit-perspective: 1200px;
  perspective: 1200px;
  -moz-transform: perspective(1200px);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;

  transition: 0.3s linear;
  overflow: hidden;
  
      flex: 0 1 20%;
}
.not-ie .game-card {
  -webkit-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.load .game-card {
  opacity: 1;
  animation: mymove 0.3s;
}
.load .game-card:nth-child(1) {
  animation-delay: 0.1s;
}
.load .game-card:nth-child(2) {
  animation-delay: 0.2s;
}
.load .game-card:nth-child(3) {
  animation-delay: 0.3s;
}
.load .game-card:nth-child(4) {
  animation-delay: 0.4s;
}
.load .game-card:nth-child(5) {
  animation-delay: 0.5s;
}
.load .game-card:nth-child(6) {
  animation-delay: 0.6s;
}
.load .game-card:nth-child(7) {
  animation-delay: 0.7s;
}
.load .game-card:nth-child(8) {
  animation-delay: 0.8s;
}
.load .game-card:nth-child(9) {
  animation-delay: 0.9s;
}
.load .game-card:nth-child(10) {
  animation-delay: 1s;
}
.load .game-card:nth-child(11) {
  animation-delay: 1.1s;
}
.load .game-card:nth-child(12) {
  animation-delay: 1.2s;
}
.load .game-card:nth-child(13) {
  animation-delay: 1.3s;
}
.load .game-card:nth-child(14) {
  animation-delay: 1.4s;
}
.load .game-card:nth-child(15) {
  animation-delay: 1.5s;
}
.load .game-card:nth-child(16) {
  animation-delay: 1.6s;
}
.load .game-card:nth-child(17) {
  animation-delay: 1.7s;
}
.load .game-card:nth-child(18) {
  animation-delay: 1.8s;
}
.load .game-card:nth-child(19) {
  animation-delay: 1.9s;
}
.load .game-card:nth-child(20) {
  animation-delay: 2.0s;
}
@keyframes mymove {
  0% {
    transform: matrix(0.5, 0, 0, 0.5, 0, 0);
    opacity: 0;
  }
  100% {
    transform: matrix(1, 0, 0, 1, 0, 0);
    opacity: 1;
  }
}
.game-card.active {
  pointer-events: none;
}
.not-touch-device .game-card:hover {
  /*padding: 10px;*/
  transform: scale(0.9);
}
.game-card .inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 12px;
  background-color: #045EAD;
  border: 1px solid #fff;
  cursor: pointer;
  opacity: 1;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transform: rotateY(0);
  transition: transform 0.3s, opacity 0s linear 0.3s;
}
.game-card.active .inner {
  padding: 0;
}
.not-ie .game-card .inner {
  -moz-transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.game-card.active .inner {
  transform: rotateY(-180deg);
}
.game-card.active .for-img {
  padding: 10px;
  opacity: 1;
  visibility: visible;
  /*border: 10px solid #0675CD;*/
}
.game-card.hide .inner {
  opacity: 0;
  transform: scale(0.1);
  /*transition-delay: .5s;*/
}
.game-card.hide .for-img {
  opacity: 0;
  visibility: hidden;
}
.for-img {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  /*
    border: 1px solid #fff;
    border-radius: 14px;
    background-color: #fff;
    */
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(180deg);
  transition: opacity 0.3s linear, transform 0.3s linear;
}
.for-img .img {
  position: relative;
  width: 100px;
  height: 100px;
}
.for-img img {
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.game-grid .for-bg {
  position: absolute;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  /*background: #4098d7 url(https://210798.fs1.hubspotusercontent-na1.net/hubfs/210798/raw_assets/public/ZOLL%20Quizzes/static/PS%20Memory%20Match/images/rhombus.png);*/
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  overflow: hidden;
  background-position: center;
  background:#0675CD;
}
.game-grid .text {
  width: 100%;
  max-height: 100px;
  overflow-y: hidden;
  margin: 27px 0 0;
  padding: 0 10px;
}
.game-grid p {
  font-size: 17px;
  color: #0091cf;
  margin: 0;
}
.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  visibility: visible;
  opacity: 1;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  transition: 0.5s linear;
  transform: scale(1);
}
/*.content */.btn-wrap.hidden {
  visibility: hidden;
  opacity: 0;
  transform: scale(0);
}
.content .btn {
  display: inline-block;
  padding: 44px 55px;
  padding-top: 37px;
  font-size: 18px;
  font-size: 50px;
  background-color: #eee;
  text-decoration: none;
  color: #15669c;
  line-height: 1;
  min-width: 250px;
  text-align: center;
  border: 2px solid #15669c;
  border-radius: 6px;
  border-radius: 70px;
  transition: 0.3s;
}
.content .btn:hover {
  border: 2px solid #8bba48;
  background-color: #8bba48;
  color: #fff;
}
.btn-wrap {
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
}
.share-links {
  padding: 0 2.5em;
  font-size: 1.375em;
}
.share-links img {
  filter: brightness(0.1);
  height: 30px;
  width: 30px;
}
.done-container {
  max-width: 500px;
  font-family: "Soleil", "Open Sans", sans-serif;
  background: #ffffff;
  color: #333333;
  text-align:center;
  padding: 2rem 3rem;
}
.done-container a {
  color: #333333;
}
.done-container a.sans {
  font-family: "Soleil", "Open Sans", sans-serif;
  font-weight: normal;
}
.you-did-it {
  margin: auto;
  width: 65%;
  display: block;
  background: #78B64F;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
  padding: .5rem;
  font-weight: 700;
}
.done-container h2 {
  font-size: 1.25rem;
  line-height: 1.5em;
  font-weight: 400;
  /*padding: 0 2.5em;*/
}
.done-container h3 {
  font-size: 1rem;
  line-height: 1.25em;
  font-weight: 400;
  color:#0675CD;
  /*padding: 0 2.5em;*/
  /*font-weight: bold;*/
  /*text-transform: uppercase;*/
}
.done-container h4 {
  font-size: 1.3em;
  line-height: 1.25em;
  text-align: left;
  /*padding: 2em 2.5em 2em 2.5em;*/
}
.banner-done {
  width: 100%;
}
.cover-guide-book {
  margin-left: 6.5rem;
  margin-top: -1rem;
  position: fixed;
}
.content .btn {
  font-size: 1rem;
  padding: 1rem 0.5rem;
  padding-top: 1rem;
}
#js-game {
  background-color: #fff;
  padding: 0.5rem;
}
@media (min-width: 1024px) {
  .cover-guide-book {
    margin-left: 3.5rem;
  }
}
.btn-finish h4 {
  margin: 0;
  display: block;
  /*float: left;*/
  position: relative;
  /*text-align:center;*/
      padding: 1rem 0;
}
.btn-finish p {
  /*width: 60%;
  margin: 0;*/
}
.btn-finish .download {
  text-decoration: none;
  font-weight:400;
  font-size:1rem;
  color:#4C4C4C;
}
.btn-finish img {
  /*position: absolute;*/
  /*right: 1em;*/
  /*margin-top: -90px;*/
  max-width: 190px;
  width: 100%;
  margin: 2rem auto;
  display: block;
}
.a_button {
  width: 100%;
  outline: 0;
  border: 0;
  background: #78B64F;
  color: #ffffff;
  padding: .5rem 1rem;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: bold;
}
#loadScriptButton.a_button:hover {
  opacity:.8;
}
.game-card.active .inner {
    background: white;
}
.game-card.active .for-bg {
    background: white;
}
.btn-wrap.side {
    background: #F2F2F2;
    padding-bottom: 2rem;
  margin-top: 210px;
    align-items: flex-start;
    margin-bottom: 2rem;
    height: auto;
}
.done-container-side {
  background: #F2F2F2;
   padding: 2rem;
}


@media screen and (max-width:960px){
  #wrapper {
    overflow-y: initial;
  }
  #main {
    height: auto;
    overflow-y: initial;
  }
  .main-content {
    height: auto;
    overflow-y: initial;
  }
  #js-game {
    display: flex;
    flex-wrap: wrap-reverse;
  }
  .game .content {
    min-height:520px;
    margin-bottom: 2rem;
  }
  .game-card {
        flex: 0 1 25%;
  }
}