/* Welcome to Compass.
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*:focus {
  outline: none;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  text-decoration: none;
}

html {
  width: 100%;
  height: 100%;
}

body {
  background: url(../img/layout_bg.jpg);
  background-size: 100% 100vh;
  background-repeat: no-repeat;
  background-position: top;
  height: 100vh;
  padding: 0;
  overflow-y: hidden;
}

main {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
}

img {
  width: 100%;
}

/* ==|====================
layout/_footer
======================= */
#footer .logo {
  position: absolute;
  top: 93%;
}
#footer .logo.mombaby {
  left: 20%;
  width: 21%;
}
#footer .logo.fisherprice {
  left: 57%;
  width: 30%;
}
#footer span {
  position: absolute;
  top: 93.5%;
  left: 48%;
  width: 4%;
  display: inline-block;
}

/* ==|====================
   pages/index
   ======================= */
.home {
  height: 100vh;
  overflow-y: scroll;
}
.home .inner {
  position: relative;
  padding-top: 243%;
  width: 100%;
  background: url(../img/01-1.png) no-repeat center center;
  background-size: 100% auto;
}
.home .logo {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 76%;
  -webkit-animation: fadeIn 1.5s ease-in-out;
          animation: fadeIn 1.5s ease-in-out;
}
.home .share {
  position: absolute;
  top: 5%;
  right: 0;
  width: 20%;
}
.home .start {
  cursor: pointer;
  position: absolute;
  top: 25%;
  left: 50%;
  width: 33%;
  -webkit-animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: start 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.home .blog-block {
  position: absolute;
  top: 74%;
  left: 14%;
  gap: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.home .home-link {
  position: absolute;
  top: 76%;
  width: 26%;
  height: 15%;
}
.home .home-link.link-1 {
  left: 6%;
}
.home .home-link.link-2 {
  left: 37%;
}
.home .home-link.link-3 {
  left: 67%;
}
@-webkit-keyframes start {
  0% {
    -webkit-transform: translateX(-50%) scale(0.95);
            transform: translateX(-50%) scale(0.95);
  }
  25% {
    -webkit-transform: translateX(-50%) scale(1.05);
            transform: translateX(-50%) scale(1.05);
  }
  50% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
  to {
    -webkit-transform: translateX(-50%) scale(1.1);
            transform: translateX(-50%) scale(1.1);
  }
}
@keyframes start {
  0% {
    -webkit-transform: translateX(-50%) scale(0.95);
            transform: translateX(-50%) scale(0.95);
  }
  25% {
    -webkit-transform: translateX(-50%) scale(1.05);
            transform: translateX(-50%) scale(1.05);
  }
  50% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
  to {
    -webkit-transform: translateX(-50%) scale(1.1);
            transform: translateX(-50%) scale(1.1);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes showIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes showIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.info-modal {
  position: relative;
  padding: 0;
  width: 326px;
  height: 757px;
  background-image: url(../img/02-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.info-modal .info-modal-btn {
  position: absolute;
  top: 91%;
  left: 23%;
  width: 45%;
}

.photo-logo {
  position: absolute;
  width: 83%;
  top: 0;
  left: 7%;
  z-index: 1;
}

.upload .inner {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  background-image: url(../img/upload.jpg);
  overflow-y: scroll;
  overflow-x: hidden;
}
.upload .image-field {
  position: relative;
  top: 54px;
  left: 0;
  margin: auto 40px;
  padding-top: 310px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.upload .btn {
  position: absolute;
  top: 45.5%;
  width: 34%;
  height: 4%;
}
.upload .upload-btn {
  left: 16%;
}
.upload .reset-btn {
  left: 53%;
}
.upload .next {
  position: absolute;
  top: 74.5%;
  left: 43%;
  width: 17%;
  height: 10%;
}
@media screen and (min-width: 768px) {
  .upload .image-field {
    top: 60px;
    left: 0px;
    margin: auto 40px;
    padding-top: 342px;
  }
}

.selection .inner {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  background-image: url(../img/04-1.png);
  overflow-y: scroll;
  overflow-x: hidden;
}
.selection .rabbit {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 36%;
  -webkit-animation: MoveUpDown 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
          animation: MoveUpDown 1.8s infinite cubic-bezier(0.4, 0, 1, 1) alternate;
}
.selection .go-game {
  position: absolute;
  left: 10%;
  width: 87%;
  height: 13%;
}
.selection .go-game.go-game-1 {
  top: 47%;
}
.selection .go-game.go-game-2 {
  top: 64%;
}
.selection .go-game.go-game-3 {
  top: 79%;
}
@-webkit-keyframes MoveUpDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  50%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes MoveUpDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
  50%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.notice .inner {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  background-image: url(../img/notice.jpg);
  overflow-y: scroll;
  overflow-x: hidden;
}
.notice .notice-item-btn {
  position: absolute;
  width: 15%;
  height: 2%;
}
.notice .notice-item-btn.notice-item-1-more {
  top: 34%;
  left: 36%;
}
.notice .notice-item-btn.notice-item-1-shop {
  top: 34%;
  left: 53%;
}
.notice .notice-item-btn.notice-item-2-more {
  top: 69%;
  left: 13%;
}
.notice .notice-item-btn.notice-item-2-shop {
  top: 69%;
  left: 30%;
}
.notice .notice-item-btn.notice-item-3-more {
  top: 69%;
  left: 61%;
}
.notice .notice-item-btn.notice-item-3-shop {
  top: 69%;
  left: 78%;
}
.notice .notice-btn {
  position: absolute;
  top: 83%;
  width: 30%;
  height: 4%;
}
.notice .notice-btn.btn-again {
  left: 20%;
}
.notice .notice-btn.btn-home {
  left: 54%;
}

.info .inner {
  height: 100vh;
  padding-top: 48%;
  overflow-y: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  background-image: url(../img/layout05_game1.jpg);
}
.info .inner.grass {
  background-image: url(../img/layout08_game2.jpg);
}
.info .baby-image {
  position: absolute;
  top: 47.25%;
  left: 43%;
  width: 14%;
  height: 6%;
  border-radius: 6px;
  background-size: cover;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
}
.info .go-game {
  position: absolute;
  top: 78.5%;
  left: 30%;
  width: 39%;
  height: 7%;
  cursor: pointer;
}
.info .go-game.grass {
  top: 82.5%;
  height: 8%;
}
@media screen and (min-width: 768px) {
  .info .baby-image {
    bottom: 452px;
    left: 181px;
    width: 58px;
    height: 58px;
  }
}

/* ==|====================
   pages/game
   ======================= */
.game-main {
  width: 100%;
  max-width: 420px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.game-main .game-background {
  position: absolute;
  width: 100%;
  height: 2739px;
  bottom: 0;
  background-size: cover;
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

.game-main .game-background .game-baby {
  position: absolute;
  width: 27%;
  height: auto;
  bottom: 10%;
  left: 50%;
  -webkit-transform: translate(-50%, 0px);
  transform: translate(-50%, 0px);
}

.game-main .game-background .game-baby .baby-image {
  width: 100%;
  height: auto;
}

.game-main .baby-photo {
  position: absolute;
  top: 45px;
  left: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: contain;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.game-main-3 .baby-photo {
  top: 58px;
  left: 17px;
  width: 70px;
  height: 70px;
}

@media screen and (min-width: 768px) {
  .game-main-3 .baby-photo {
    top: 56px;
    left: 14px;
    width: 78px;
    height: 78px;
  }
}
.game-main .game-background .game-stones {
  width: 100%;
  height: 4931px;
}

.game-main .game-control {
  width: 50%;
  height: auto;
  position: absolute;
  bottom: 15%;
  left: 50%;
  -webkit-transform: translate(-50%, 0px);
  transform: translate(-50%, 0px);
  height: 80px;
}

.game-main .game-control .left-control {
  width: 30%;
  height: auto;
  float: left;
  cursor: pointer;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.game-main .game-control .right-control {
  width: 30%;
  height: auto;
  float: right;
  cursor: pointer;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.reward-modal {
  position: relative;
  padding: 0;
  width: 308px;
  height: 773px;
  background-image: url(../img/08-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  display: none;
}
.reward-modal .modal-close {
  position: absolute;
  top: 70px;
  right: 10px;
  width: 50px;
}
.reward-modal .modal-body {
  margin-top: 96px;
}
.reward-modal .modal-body #top-score {
  position: relative;
  left: 60%;
  color: red;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 1px;
}
.reward-modal .baby-popup-image {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 22% auto 0;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.reward-modal .baby-popup-image img {
  width: 100%;
}
.reward-modal .sanpshot {
  margin: 3% auto;
  width: 212px;
  display: block;
}
.reward-modal .btn-again {
  position: absolute;
  top: 465px;
  left: 130px;
  width: 105px;
}
.reward-modal .btn-notice {
  position: absolute;
  top: 500px;
  left: 70px;
  width: 105px;
}

.modal-head {
  width: 100%;
  height: 11.5%;
  position: relative;
}