@charset "UTF-8";
@import url(/css/normalize.css);
.pointer {
  cursor: pointer;
}

table {
  font-family: "新細明體", "細明體";
}

table tbody, table tfoot, table thead, table th, table td {
  vertical-align: middle;
  margin: 0 !important;
}

html, body {
  line-height: 24px;
  font-size: 18px;
  scroll-behavior: smooth;
}

.wrapper {
  background-image: url(../../images/indexBg.jpg?20210218);
  background-color: #ffb110;
  background-position: top center;
  background-repeat: no-repeat;
  color: #363636;
}

/* ================= 版頭 ================= */
.header {
  width: 100%;
  position: relative;
}

.header .container {
  width: 1280px;
  height: 775px;
  position: relative;
}

.header .logo, .header .logo a {
  width: 200px;
  height: 146px;
}

.header .logo {
  position: absolute;
  top: 360px;
  left: 60px;
}

.header .logo a {
  background-image: url(/Games/tmd/images/logo.png?20210218);
  background-repeat: no-repeat;
  display: block;
  background-size: 100%;
}

.header .role {
  width: 993px;
  height: 894px;
  position: absolute;
  top: 119px;
  left: 185px;
  background-image: url(../../images/man.png?20210218);
  background-repeat: no-repeat;
  background-size: 100%;
  -webkit-animation: pulse 0.5s 0.3s;
          animation: pulse 0.5s 0.3s;
}

.header .slogan {
  width: 542px;
  height: 181px;
  position: absolute;
  top: 0px;
  left: 375px;
  background-image: url(../../images/main.png?20210218);
  background-repeat: no-repeat;
  background-size: 100%;
  -webkit-animation: bounceInLeft 0.5s, pulse 1s 0.5s infinite;
          animation: bounceInLeft 0.5s, pulse 1s 0.5s infinite;
}

.header .slogan01 {
  width: 1179px;
  height: 335px;
  position: absolute;
  top: 420px;
  left: 81px;
  background-image: url(../../images/slogan.png?20210218);
  background-repeat: no-repeat;
  background-size: 100%;
  -webkit-animation: bounceIn 1s;
          animation: bounceIn 1s;
}

@-webkit-keyframes delay {
  0%, 100% {
    opacity: 0;
  }
}

@keyframes delay {
  0%, 100% {
    opacity: 0;
  }
}

@-webkit-keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 70%, 0);
    transform: translate3d(0, 70%, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 70%, 0);
    transform: translate3d(0, 70%, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }
  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }
  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.nav {
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.nav .container {
  width: 906px;
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.nav .container .navBtn {
  position: relative;
  width: 100%;
}

.nav .container .navBtn ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
}

.nav .container .navBtn ul li {
  display: block;
  list-style: none;
  text-indent: -9999px;
  float: left;
  width: 302px;
  height: 119px;
  margin-bottom: 0.3em;
}

.nav .container .navBtn ul li.navBtn1 a {
  background-position-x: 0px !important;
}

.nav .container .navBtn ul li.navBtn2 a {
  background-position-x: -302px !important;
}

.nav .container .navBtn ul li.navBtn3 a {
  background-position-x: -604px !important;
}

.nav .container .navBtn ul li.navBtn4 a {
  background-position-x: -906px !important;
}

.nav .container .navBtn ul li.navBtn5 a {
  background-position-x: -1208px !important;
}

.nav .container .navBtn ul li a:hover, .nav .container .navBtn ul li.action a {
  background-image: url(../../images/navbtn_action.png);
}

.nav .container .navBtn ul li a {
  display: block;
  width: 302px;
  height: 119px;
  text-align: center;
  margin: 0 auto;
  background-image: url(../../images/navbtn.png);
  background-size: 500% 100%;
}

.nav .container .navBtn ul li.action a {
  background-size: 500% 100%;
}

/* ================= 內容 ================= */
.content {
  width: 100%;
  padding: 20px 0 70px 0;
}

.content h3 {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
  padding: 0.5em 0;
  background-image: -webkit-gradient(linear, right top, left top, from(rgba(204, 154, 88, 0)), color-stop(20%, #febd43), color-stop(40%, #fd7f07), color-stop(60%, #fd7f07), color-stop(80%, #febd43), to(rgba(204, 154, 88, 0)));
  background-image: linear-gradient(to left, rgba(204, 154, 88, 0) 0%, #febd43 20%, #fd7f07 40%, #fd7f07 60%, #febd43 80%, rgba(204, 154, 88, 0) 100%);
}

.content h3 img {
  max-width: 70%;
  margin: 0 auto;
  display: block;
}

.content .container {
  width: 95%;
  max-width: 1024px;
  background-color: #fff7e8;
  margin: 0 auto;
  padding: 30px 3%;
  border-radius: 5px;
  border: 3px solid #f98c1e;
  border-radius: 10px;
  -webkit-animation: toBottom .3s .3s;
          animation: toBottom .3s .3s;
}

.content h4 {
  text-align: left;
  position: relative;
  display: inline-block;
  border-radius: 30px;
  margin-bottom: 10px;
  margin-top: 10px;
  color: #FF8A00;
  font-weight: bold;
  font-size: 1.35em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.content h4:before {
  content: '';
  background-image: url("../../images/icon.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 2em;
  height: 2em;
  display: inline-block;
  margin: 0 5px;
}

.content h5 {
  font-size: 1.2em;
  padding: .6em;
  background-color: transparent !important;
  margin-bottom: 10px;
  color: white;
  text-align: center;
  background-image: -webkit-gradient(linear, right top, left top, from(rgba(204, 154, 88, 0)), color-stop(20%, #cc9a58), color-stop(40%, #bd853c), color-stop(60%, #bd853c), color-stop(80%, #cc9a58), to(rgba(204, 154, 88, 0)));
  background-image: linear-gradient(to left, rgba(204, 154, 88, 0) 0%, #cc9a58 20%, #bd853c 40%, #bd853c 60%, #cc9a58 80%, rgba(204, 154, 88, 0) 100%);
}

.content h6 {
  font-size: 1.125em;
  line-height: 1.5em;
  padding: 20px 0;
  text-align: center;
}

.content h6 span {
  padding: 5px 15px;
  background: #be0000;
  border-radius: 10px;
  color: #fff;
}

.content a {
  color: #0044ff;
}

.content a:hover {
  color: #c21f02;
}

.content p {
  margin-left: 2em;
}

.content p > a {
  color: #00e1ff;
}

.content p > a:hover {
  color: #ffb74b;
}

.content p.txt-center {
  margin-left: 0;
}

.content ol, .content ul {
  margin-left: 3em;
}

.content ol li > a, .content ul li > a {
  color: #0077ff;
  text-decoration: underline;
}

.content ol li > a:hover, .content ul li > a:hover {
  color: #ffb74b;
}

.content ol.path, .content ul.path {
  list-style-type: none;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.content ol.path li, .content ul.path li {
  max-width: 30%;
  margin: 0.5%;
}

.content ol.path li a img, .content ul.path li a img {
  width: 100%;
  max-width: 197px;
}

.content ol.list, .content ul.list {
  list-style-type: none;
  text-align: left;
  margin-bottom: 0.8em;
}

.content ol.list li, .content ul.list li {
  margin-left: 1.2em;
  text-indent: -1.2em;
}

.content ol.arrow li::before, .content ul.arrow li::before {
  content: '※ ';
  margin-left: 2px;
}

.content ol.asterisk > li:before, .content ul.asterisk > li:before {
  content: '● ';
}

.content ol.asterisk > li table, .content ul.asterisk > li table {
  margin-left: 0;
  text-indent: 0;
}

.content__btn div {
  color: #ff8832;
  border-left: 1px solid #b3b3b3;
}

.content__btn div:first-child {
  border-left: none;
}

.content__btn div a:hover, .content__btn div.action a {
  font-weight: bold;
  color: #913114;
  border: 2px solid #ff9f73;
  background-image: #ffc374;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffaf38), color-stop(20%, #ffaf38), color-stop(40%, #ffc374), color-stop(60%, #ffc374), color-stop(80%, #ffaf38), to(#ffaf38));
  background-image: linear-gradient(to bottom, #ffaf38 0%, #ffaf38 20%, #ffc374 40%, #ffc374 60%, #ffaf38 80%, #ffaf38 100%);
}

.content__btn div a {
  color: #ff6a00;
}

.btnBox a {
  color: #702902;
}

.btnBox a :hover {
  background-image: -webkit-gradient(linear, left bottom, left top, from(#ff9100), color-stop(20%, #ff9100), color-stop(40%, #ffc56f), color-stop(60%, #ffc56f), color-stop(80%, #ff9100), to(#ff9100));
  background-image: linear-gradient(to top, #ff9100 0%, #ff9100 20%, #ffc56f 40%, #ffc56f 60%, #ff9100 80%, #ff9100 100%);
  -webkit-box-shadow: 0px 2px #ff4800, inset 0 2px 2px 2px #ffc56f, inset 0 -10px 10px 0px #ffc56f;
          box-shadow: 0px 2px #ff4800, inset 0 2px 2px 2px #ffc56f, inset 0 -10px 10px 0px #ffc56f;
  top: 2px;
}

/* ================= item__box ================= */
.item__box {
  background-color: #fff;
  border-color: #49008a;
  border-width: 5px;
  border-radius: 10px;
}

.item__box p {
  margin-left: 0 !important;
  width: 100%;
  text-align: center;
}

.item__box p img {
  display: block;
  margin: 0 auto;
}

.item__box .item__box-img {
  border-radius: 0;
}

.item__box .item__box-img img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.item__box .item__box--shadow {
  -webkit-box-shadow: 0px 2px 2px 2px rgba(25, 23, 39, 0.2);
          box-shadow: 0px 2px 2px 2px rgba(25, 23, 39, 0.2);
}

.item__box .item__box-title {
  color: #fff;
  background: -webkit-gradient(linear, right top, left top, from(black), color-stop(5%, black), color-stop(50%, #49008a), color-stop(95%, black), to(black));
  background: linear-gradient(to left, black 0%, black 5%, #49008a 50%, black 95%, black 100%);
  font-size: 1em;
}

.item__box .item__box-title img {
  display: block;
  margin: 0 auto;
}

.item__box .item__box-title a {
  color: #fff366;
}

.item__box .item__box-get {
  text-align: center;
  color: #002957;
  font-weight: bold;
}

@media only screen and (max-width: 560px) {
  .item__box .item__box-get {
    padding: 0;
  }
}

.item__box .item__box-get span {
  font-weight: lighter;
}

.item__box .item__box-get .row {
  width: 100%;
}

@media only screen and (max-width: 560px) {
  .item__box .item__box-get .row {
    padding: 0;
  }
}

.item__box .item__box-get .row div:nth-child(1) .item__box--02 {
  border: 3px #ee3030 solid;
}

.item__box .item__box-get .row div:nth-child(1) .item__box--02 .item__box-title {
  background-color: #ee3030;
}

.item__box .item__box-text {
  text-align: left;
}

.item__box .item__box--02 {
  background-color: #fff;
  border: 3px #611b98 solid;
  border-radius: 10px;
  height: 100%;
}

.item__box .item__box--02 .item__box-img {
  background: transparent;
}

.item__box .item__box--02 .item__box-title {
  color: #fff;
  background: #611b98;
}

.item__box .item__box--02 .item__box-get {
  background-color: transparent;
  color: #003571;
}

/*================= table================= */
.table tr th, .table tr td {
  border: 1px solid transparent;
}

.table {
  font-family: "Helvetica Neue","微軟正黑體","Helvetica","Arial","PingFangTC-Light","STHeitiTC-Light","Microsoft JhengHei",sans-serif;
  font-size: 1em;
  border-collapse: separate;
  border-spacing: 1px;
  border-radius: 5px;
  color: #683e00;
  border: 5px solid #3d008a;
  background: #6a00f0;
}

@media only screen and (max-width: 798px) {
  .table {
    margin-top: 5px;
    margin-bottom: 15px;
  }
}

.table-full {
  width: 95%;
  margin: 0 auto;
}

.table tr {
  background: #fff;
}

.table tr th {
  color: #fff;
  background: #3d008a;
  color: #dbdbdb;
}

.table tr img {
  display: block;
  margin: 0 auto;
  max-width: 98%;
}

.table tr .img-group {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.table tr .img-group img {
  display: inline-block;
  margin: 0 1%;
}

.table.collect {
  width: 80%;
  margin: 0 auto;
}

@media only screen and (max-width: 560px) {
  .table.collect {
    width: 85%;
    margin: 0;
  }
}

.table.collect2 {
  width: 100%;
  margin: 0 auto;
}

@media only screen and (max-width: 560px) {
  .table.collect2 {
    width: 100%;
    margin: 0 auto;
  }
}

.table.collect2 td {
  position: relative;
}

.table.collect2 td .icon_tit {
  position: absolute;
  top: 0;
  right: 10%;
}

@media only screen and (max-width: 798px) {
  .table.collect2 td .icon_tit img {
    top: 10px;
    max-width: 120px;
  }
}

@media only screen and (max-width: 560px) {
  .table.collect2 td .icon_tit img {
    top: 10px;
    max-width: 100px;
  }
}

.table.collect td {
  position: relative;
}

.table.collect td .icon_tit {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: -100px;
}

@media only screen and (max-width: 798px) {
  .table.collect td .icon_tit {
    right: -70px;
  }
}

@media only screen and (max-width: 798px) {
  .table.collect td .icon_tit img {
    max-width: 120px;
  }
}

@media only screen and (max-width: 560px) {
  .table.collect td .icon_tit img {
    max-width: 100px;
  }
}

ul.tabBtn {
  text-align: center;
  margin-left: 0 !important;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

ul.tabBtn li {
  display: block;
  position: relative;
  padding: 10px 20px;
  margin: 10px 10px;
  border: 1px solid #556e35;
  border-radius: 20px;
  font-weight: bold;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#151c0d), color-stop(20%, #253017), color-stop(40%, #354521), color-stop(60%, #354521), color-stop(80%, #253017), to(#151c0d));
  background-image: linear-gradient(to bottom, #151c0d 0%, #253017 20%, #354521 40%, #354521 60%, #253017 80%, #151c0d 100%);
  -webkit-box-shadow: 0px 3px 0 #556e35;
          box-shadow: 0px 3px 0 #556e35;
  color: #dbdbdb;
}

ul.tabBtn li:hover, ul.tabBtn li.active {
  cursor: pointer;
  color: #db5000;
  font-weight: bold;
  background-color: black;
  border: 1px solid #ad1aff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#8600d1), color-stop(20%, #9a00f0), color-stop(40%, #a910ff), color-stop(60%, #a910ff), color-stop(80%, #9a00f0), to(#8600d1));
  background-image: linear-gradient(to bottom, #8600d1 0%, #9a00f0 20%, #a910ff 40%, #a910ff 60%, #9a00f0 80%, #8600d1 100%);
  -webkit-box-shadow: 0px 2px #7300b3, inset 0 2px 2px 2px #8600d1, inset 0 -10px 10px 0px #9a00f0;
          box-shadow: 0px 2px #7300b3, inset 0 2px 2px 2px #8600d1, inset 0 -10px 10px 0px #9a00f0;
  color: #fff;
}

ul.tabMain {
  width: 95%;
  margin: 0 auto;
  margin-left: auto !important;
  list-style: none;
  text-align: center;
  border-radius: 20px;
}

ul.tabMain > li {
  display: none;
}

ul.arrow {
  list-style-type: none;
  margin-left: 1em;
  text-align: left;
}

ul.arrow li::before {
  content: '※ ';
}

/* ================= 說明框 ================= */
.explanation .note-main {
  color: #142a3c;
  border: 3px solid #7bffff;
  -webkit-box-shadow: 0px 0px 5px #d2d2d2;
          box-shadow: 0px 0px 5px #d2d2d2;
  background: #cbcbcb;
  background: #FFFFFF;
  /* Old browsers */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #FFFFFF), to(#aceeff));
  background: linear-gradient(to bottom, #FFFFFF 20%, #aceeff 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background: linear-gradient(to bottom, #FFFFFF 20%, #aceeff 100%);
}

.explanation .note-main p {
  width: 100%;
  text-align: center;
}

.box-compose .title {
  padding: 0;
}

.box-compose .title div {
  background: #3d008a;
  padding: 5px;
  text-align: center;
}

.box-compose .title div.symbol {
  background: transparent;
}

.box-compose .box-composeMain {
  border-radius: 10px;
  margin: 2px auto;
  padding: 0;
}

.box-compose .box-composeMain div.symbol {
  background: transparent;
}

.box-compose .box-composeMain:nth-child(even) {
  color: #3f1616;
}

.box-compose .box-composeMain:nth-child(even) > div {
  background: #5400bd;
}

.box-compose .box-composeMain:nth-child(odd) {
  color: #fff;
}

.box-compose .box-composeMain:nth-child(odd) > div {
  background: #100024;
}

.box-compose .box-composeMain div.symbol {
  background: transparent;
  color: #fff;
  font-size: 2em;
}

@media only screen and (max-width: 798px) {
  .box-compose .box-composeMain div.symbol {
    font-size: 1.25em;
  }
}

.box-compose .box-composeMain div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 10px;
}

.box-compose .box-composeMain div p {
  padding: 5px;
}

.box-compose .box-composeMain div p img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* ================= 內容區塊 ================= */
.box {
  padding: 30px;
}

.gotoheader {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-size: 1.5em;
  margin-top: 20px;
  text-align: center;
}

.gotoheader a {
  display: inline-block;
  color: #3d008a;
}

.gotoheader a:hover {
  color: #ca00d7;
}

/* =================滑動選單B 單一遊戲================= */
#float_box {
  display: none;
  position: absolute;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  width: 155px;
  padding-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 3px solid #000;
}

#float_box #float_box img {
  margin: 0 auto;
}

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
          box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(0.98);
          transform: scale(0.98);
}

.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
          transform: perspective(1px) translateZ(0);
  -webkit-box-shadow: 0 0 1px transparent;
          box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}

.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

@keyframes delay {
  from {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}

@-webkit-keyframes toTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

@keyframes toTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

@-webkit-keyframes toBottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

@keyframes toBottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

@-webkit-keyframes fade1 {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade1 {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fade2 {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade2 {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
