@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,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: "PT Sans", 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: 4.0rem; line-height: 1.2; letter-spacing: -.1rem; } h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; } h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; } h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; } h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.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(/landings/89410/1504612770/images/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: #5d7dbe; font-size: 6.5rem; line-height: 0.8em; padding-top: 1.5rem; padding-bottom: 1.5rem; font-family: "PT Sans", sans-serif; font-weight: bold; background-color: #f792e7; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } .logo { float: left; } .question { font-size: 3rem; color: #FF5B00; } .exitpoint { background: #f893e8; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF5B00', endColorstr='#0096f4', GradientType=0); 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: #e468d0; } .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 0px 13px 1px rgba(0, 0, 0, 0.3); border-radius: 0.3rem; } .you-won h2 { margin-top: 2rem; color: #f893e8; font-family: "PT Sans", sans-serif; font-weight: bold; } .guess { font-weight: bold; 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-family: "PT Sans", sans-serif; font-weight: normal; } .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: 457px; margin: 20px 10px; position: relative; -webkit-perspective: 600px; -moz-perspective: 600px; perspective: 600px; } .card .front { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/brunette-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front1 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/blonde-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front2 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/redhead-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front3 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/brunette-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front4 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/blonde-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front5 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/redhead-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front6 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/brunette-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front7 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/blonde-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card .front8 { float: none; position: absolute; top: 0; left: 0; z-index: 900; width: inherit; height: inherit; background-image: url(/landings/89410/1504612770/images/redhead-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 .4s ease-in-out; transition: all .4s ease-in-out; } .card.flip .front { z-index: 900; border-color: #eee; background-image: url(/landings/89410/1504612770/images/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 { 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 .4s ease-in-out; transition: all .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 0px 27px 3px #c55fb5; } a.card.clicked { box-shadow: 0 0px 27px 3px #c55fb5; border-radius: 5px; } .card.queen .back, .card.queen.flip .back { background-image: url(/landings/89410/1504612770/images/card-2.jpg); } .card.king .back, .card.king.flip .back { background-image: url(/landings/89410/1504612770/images/card-1.jpg); } .card.ace .back, .card.ace.flip .back { background-image: url(/landings/89410/1504612770/images/card-3.jpg); } .you-guessed-it { text-transform: uppercase; display: none; font-family: "PT Sans", sans-serif; position: absolute; top: 50%; width: 100%; font-size: 4.4rem; font-weight: bold; font-transform: uppercase; text-align: center; z-index: 1000; line-height: 1.2; padding: 15px 0; color: #fa94ea; background: rgba(39,9,34,0.6); 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: bold; 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 #ffffff; display: inline-block; box-shadow: 0 0 4px #000000; } .g1 .c2, .g1 .c3, .g2 .c3 { background-color: transparent; border: 1px solid #ffffff; box-shadow: 0 0 4px #000000, inset 0 0 4px #000000; } @media (min-width: 400px) { .container { /* width: 85%; */ padding: 0; } } @media (min-width: 550px) { .container { /* width: 80%; */ } .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.0%; } .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: 5.0rem; } h2 { font-size: 4.4rem; } h3 { font-size: 3.6rem; } h4 { font-size: 3.0rem; } 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; /* line-height: 1; */ 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; } .exitpoint { font-size: 1.7rem; } .guess { padding: 0; } .logo { float: none} header { text-align: center } }