.header {
  background-color: #ffffff;
  background-image: linear-gradient(to right, #ffffff 50%, rgba(0, 0, 0, 0.1) 100%);
  border-bottom: #0f282e 3px solid;
}

@media (max-width: 1024px) {
  .nav {
    width: 90%;
    max-width: 280px;
    height: auto;
    padding: 20px;
    margin-top: 3px;
    margin-left: 0;
    background-color: #ffffff;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15), #ffffff);
    box-sizing: border-box;
    overflow-y: auto;
    flex-grow: 0;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1040;
    transform: translateX(100%);
    transition: 0.3s transform;
  }
}
.nav__text {
  color: #003979;
}
@media (max-width: 1024px) {
  .nav__text {
    font-size: 1.5rem;
  }
}
@media (max-width: 1024px) {
  .nav__item:not(:nth-last-child(1)) {
    border-bottom: 1px solid rgba(0, 57, 121, 0.5);
  }
  .nav__item:not(:nth-last-child(1)):hover > .nav__text {
    color: #003979;
  }
}
.nav__item:hover {
  background-color: #ead7c1;
}

.nav__share__icon__fb {
  width: 70px;
  height: 70px;
  margin-right: 5px;
  transition: 0.3s background-color;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../assets/images/share_icon.png);
  background-position: left top;
  background-repeat: no-repeat;
  cursor: pointer;
  position: relative;
}

.nav__share:hover .nav__share__icon__fb {
  background-image: url(../assets/images/share_icon.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  top: -1px;
}

.nav__share__icon__line {
  width: 70px;
  height: 70px;
  margin-right: 5px;
  transition: 0.3s background-color;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../assets/images/share_icon.png);
  background-position: right top;
  background-repeat: no-repeat;
  cursor: pointer;
  position: relative;
}

.nav__share:hover .nav__share__icon__line {
  background-image: url(../assets/images/share_icon.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  top: -1px;
}

.ham > span {
  width: 85%;
  height: 3px;
  background-color: #003979;
  position: absolute;
  right: 50%;
  transform: translate(50%, -50%);
  transition: 0.3s all;
}

.content {
  width: 100%;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  background-image: linear-gradient(180deg, #f3954a, #3870a0);
  box-sizing: border-box;
  align-items: center;
  position: relative;
  cursor: default;
}

.main__scene {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;

  background-image: url(../images/bg.png);
  background-position: center bottom;
  background-repeat: repeat-x;
}
.main__scene__effect {
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.main__scene__effect::before {
  content: "";
  width: 100%;
  padding-bottom: 50%;
  background-image: url(../images/effect.png);
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -webkit-animation: breathEffect 2s linear infinite;
          animation: breathEffect 2s linear infinite;
}
@-webkit-keyframes breathEffect {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}
@keyframes breathEffect {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}

.footer {
  width: 100%;
  padding: 5px;
  background-color: #ffffff;
  background-image: linear-gradient(to right, #ffffff 50%, rgba(0, 0, 0, 0.1) 100%);
  border-top: #0f282e 3px solid;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: 0.875rem;
  letter-spacing: 0.04375rem;
  line-height: 1.3125rem;
}
.footer__copyRight {
  color: #0f282e;
}
.footer__link > a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
}
.footer__link > a:hover {
  color: #3870a0;
}

.btn::before {
  content: "";
  width: 98%;
  height: 40%;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #ffffff 5%, rgba(0, 0, 0, 0));
  border-radius: 15px 15px 0 0;
  position: absolute;
  top: 0;
  left: 1%;
  pointer-events: none;
}

.btn--primary {

  color: #ffffff;
  background-color: #34bae1;
  border: 3px solid #46bfe2;
}
.btn--primary:hover {
  color: #ffffff;
  background-color: #bb0036;
  border: 3px solid #bb4365;
}

.scene {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;

  background-image: url(../images/bg.png);
  background-position: center bottom;
  background-repeat: repeat-x;
}
.scene__effect {
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.scene__effect::before {
  content: "";
  width: 100%;
  padding-bottom: 50%;
  background-image: url(../assets/images/effect.png);
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -webkit-animation: effect 2s linear infinite;
          animation: effect 2s linear infinite;
}
@-webkit-keyframes effect {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}
@keyframes effect {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}

.scene__ball {
  display: none;
}

.game__stage {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.game__main {
  width: 100%;
  max-width: 800px;
  margin-top: -20%;
}
@media (max-width: 1600px) {
  .game__main {
    width: 80%;
  }
}
@media (max-width: 812px) {
  .game__main {
    margin-top: -28%;
  }
}

.game__main__body::before {
  content: "";
  width: 100%;
  padding-bottom: 85%;
  margin-bottom: 80px;
  background-image: url(../images/main_game.png);
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
@media (max-width: 1600px) {
  .game__main__body::before {
    padding-bottom: 95%;
    margin-bottom: 10px;
  }
}
@media (max-width: 1366px) {
  .game__main__body::before {
    padding-bottom: 88%;
  }
}
@media (max-width: 812px) {
  .game__main__body::before {
    padding-bottom: 80%;
  }
}
.game__main__body::after {
  content: "";
  width: 100%;
  padding-bottom: 85%;
  background-image: url(../images/main_game_effect.png);
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 0;
  z-index: -1;
  -webkit-animation: breathLight 1.5s ease-in-out infinite;
          animation: breathLight 1.5s ease-in-out infinite;
}
@-webkit-keyframes breathLight {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}
@keyframes breathLight {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}

.game__deco--d1 {
  width: 100%;
}
.game__deco--d1::before {
  padding-bottom: 105%;
  background-image: url(../images/deco_011.png);
}
@media (max-width: 768px) {
  .game__deco--d1::before {
    padding-bottom: 80%;
  }
}
.game__deco--d1::after {
  content: "";
  width: 100%;
  max-width: 1400px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding-bottom: 105%;
  position: absolute;
  top: 1%;
  left: 0;
  background-image: url(../images/deco_02.png);
  -webkit-animation: popUpBoxing 1s linear infinite;
          animation: popUpBoxing 1s linear infinite;
}
@-webkit-keyframes popUpBoxing {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}
@keyframes popUpBoxing {
  0% {
    opacity: 100;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 100;
  }
}
@media (max-width: 768px) {
  .game__deco--d1::after {
    top: -15%;
  }
}

.game__deco--d2::after {
  display: none;
}
.game__deco--d2::before {
  display: none;
}