@import url(https://fonts.googleapis.com/css?family=Roboto:300, 400, 500, 700);
* {
    margin: 0;
    padding: 0;
}
.container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.columns {
    width: 100%;
    float: left;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #313a4b;
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 300;
}
h1 {
    font-size: 4rem;
    line-height: 1.2;
    letter-spacing: -0.1rem;
}
h2 {
    font-size: 3.6rem;
    line-height: 1.25;
    letter-spacing: -0.1rem;
}
h3 {
    font-size: 3rem;
    line-height: 1.3;
    letter-spacing: -0.1rem;
}
h4 {
    font-size: 2.4rem;
    line-height: 1.35;
    letter-spacing: -0.08rem;
}
h5 {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -0.05rem;
}
h6 {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0;
}
p {
    margin-top: 0;
}
a {
    color: #1eaedb;
}
a:hover {
    color: #0fa0ce;
}
ul {
    list-style: circle inside;
}
ol {
    list-style: decimal inside;
}
ol,
ul {
    padding-left: 0;
    margin-top: 0;
}
li {
    margin-bottom: 1rem;
}
.u-full-width {
    width: 100%;
    box-sizing: border-box;
}
.u-max-full-width {
    max-width: 100%;
    box-sizing: border-box;
}
.u-pull-right {
    float: right;
}
.u-pull-left {
    float: left;
}
.container:after,
.row:after,
.u-cf {
    content: "";
    display: table;
    clear: both;
}
html {
    background: url(../img/main_bg.jpg) no-repeat center 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    height: 100%;
    margin: 0;
    padding: 0;
}
header {
    color: #fff;
    font-size: 6.5rem;
    line-height: 0.8em;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-weight: 700;
    background-color: #8554a7;
    background-image: url(../img/snow.png);
    background-repeat: repeat-x;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .background {
    background-image: url(../img/snow.png);
    background-repeat: repeat-x;
}
.logo {
    float: left;
}
.question {
    font-size: 3rem;
    color: #ff5b00;
}
.exitpoint {
    background: #8554a7;
    padding: 1.2rem 2rem;
    font-size: 3rem;
    display: block;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.4s;
    margin-top: 25px;
}
.exitpoint:hover {
    color: white;
    background: #734394;
}
.tagline {
    font-size: 3rem;
    margin-bottom: 0;
    color: #313a4b;
}
.you-won {
    background-color: white;
    text-align: center;
    margin-top: 20rem;
    color: #313a4b;
    padding: 4rem;
    box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.3);
    border-radius: 0.3rem;
}
.you-won h2 {
    margin-top: 2rem;
    color: #8554a7;
    font-weight: 700;
}
.guess {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 3rem;
    color: white;
    margin-top: 2rem;
    padding: 1rem 4rem;
}
.guess .question {
    font-weight: 400;
}
.title {
    line-height: 0.9;
    margin-top: 0;
    text-transform: uppercase;
    font-size: 4.4rem;
}
.game {
    text-align: center;
}
.card {
    display: inline-block;
    width: 294px;
    height: 294px;
    margin: 20px 10px;
    position: relative;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
}
.card .front {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/1.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front1 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/2.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front2 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/3.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front3 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/4.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front4 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/5.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front5 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/6.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front6 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/7.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front7 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/8.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card .front8 {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    background-image: url(../img/9.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.card.flip .front {
    z-index: 900;
    border-color: #eee;
    background-image: url(../img/card-1.jpg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.card .back {
    border-radius: 300px;
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 800;
    width: inherit;
    height: inherit;
    background-image: url();
    border: 1px solid #ccc;
    background: #333;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-179deg);
    transform: rotateY(-179deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    background-size: contain;
}
.card.flip .back {
    z-index: 1000;
    background-image: url(brunette.jpg);
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    transform: rotateX(0deg) rotateY(0deg);
    box-shadow: 0 0 27px 3px #8554a7;
}
a.card.clicked {
    box-shadow: 0 0 27px 3px #8554a7;
    border-radius: 300px;
}
.card.queen .back,
.card.queen.flip .back {
    background-image: url(../img/card-2.jpg);
}
.card.king .back,
.card.king.flip .back {
    background-image: url(../img/card-1.jpg);
}
.card.ace .back,
.card.ace.flip .back {
    background-image: url(../img/card-3.jpg);
}
.you-guessed-it {
    text-transform: uppercase;
    display: none;
    position: absolute;
    top: 50%;
    width: 100%;
    font-size: 4.4rem;
    font-weight: 700;
    font-transform: uppercase;
    text-align: center;
    z-index: 1000;
    line-height: 1.2;
    padding: 15px 0;
    color: #000;
    background: rgba(255, 255, 255, 0.65);
    transition: all 2s;
}
.you-guessed-it.up {
    top: 20%;
    opacity: 0;
}
.guess {
    text-align: center;
}
.guess .question {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: none;
    color: #fff;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}
.guess .question div {
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.question .text {
    margin-bottom: 0.5rem;
    margin-right: 0.8rem;
}
.question .circle {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 2rem;
    margin: 0 1rem;
    background-color: white;
    border: 1px solid #fff;
    display: inline-block;
    box-shadow: 0 0 4px #000;
}
.g1 .c2,
.g1 .c3,
.g2 .c3 {
    background-color: transparent;
    border: 1px solid #fff;
    box-shadow: 0 0 4px #000000, inset 0 0 4px #000;
}
@media (min-width: 400px) {
    .container {
        padding: 0;
    }
}
@media (min-width: 550px) {
    .container {
    }
    .columns {
        margin-left: 4%;
    }
    .columns:first-child {
        margin-left: 0;
    }
    .one.columns {
        width: 4.66666666667%;
    }
    .two.columns {
        width: 13.3333333333%;
    }
    .three.columns {
        width: 22%;
    }
    .four.columns {
        width: 30.6666666667%;
    }
    .five.columns {
        width: 39.3333333333%;
    }
    .six.columns {
        width: 48%;
    }
    .seven.columns {
        width: 56.6666666667%;
    }
    .eight.columns {
        width: 65.3333333333%;
    }
    .nine.columns {
        width: 74%;
    }
    .ten.columns {
        width: 82.6666666667%;
    }
    .eleven.columns {
        width: 91.3333333333%;
    }
    .twelve.columns {
        width: 100%;
        margin-left: 0;
    }
    .question .text {
        margin: 0;
    }
    .guess {
        margin: 0;
    }
}
@media (min-width: 550px) {
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 4.4rem;
    }
    h3 {
        font-size: 3.6rem;
    }
    h4 {
        font-size: 3rem;
    }
    h5 {
        font-size: 2.4rem;
    }
    h6 {
        font-size: 1.5rem;
    }
}
@media (max-width: 960px) {
    .card {
        width: 200px;
        height: 311px;
    }
}
@media (max-width: 690px) {
    .card {
        width: 150px;
        height: 233px;
    }
    .logo {
        float: none;
    }
    .guess {
        margin-top: 0;
    }
    .you-guessed-it {
        font-size: 2rem;
    }
    .you-won {
        margin: 10px;
    }
}
@media (max-width: 630px) {
    .card {
        width: 92px;
        height: 143px;
        margin: 20px 2px;
    }
    .guess .question div {
        display: block;
        font-size: 2rem;
        margin: 0 5px;
    }
    .guess .question .steps div {
        display: inline-block;
    }
    .guess .question {
        margin-bottom: 0;
    }
    .title {
        font-size: 2rem;
    }
    .container {
        padding: 0;
    }
}
@media (max-width: 700px) {
    .you-won {
        margin-top: 10rem;
    }
}
@media (max-width: 500px) {
    h2 {
        font-size: 2rem;
    }
    .you-won {
        margin-top: 3rem;
        padding: 2rem;
    }
    .tagline {
        font-size: 2rem;
    }
    .exitpoint {
        font-size: 1.7rem;
    }
    .guess {
        padding: 0;
    }
    .logo {
        float: none;
    }
    header {
        text-align: center;
    }
}


.topclose {
  display: inline-block;
  -moz-user-select: none;
  -ms-touch-action: manipulation;
  -ms-user-select: none;
  -webkit-user-select: none;
  background: #fff;
  border-radius: 4px;
  border: 3px solid red;
  color: red !important;
  cursor: pointer;
  padding: 0 8px;
  font-size: 1rem;
  font-weight: bolder;
  margin-bottom: 0;
  position: fixed !important;
  right: 0 !important;
  text-align: center;
  text-shadow: 1px 1px #000;
  top: 0 !important;
  touch-action: manipulation;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  z-index: 999 !important;
  text-decoration: none;
}
.topclose:hover {
  text-decoration: none;
}
.topclose span {
  font-size: 1.5em;
  padding: 0 2px;
  font-weight: bolder;
  margin: 0 !important;
}