@font-face {
  font-family: "CookieRun-Bold";
  src: url('../font/SRN CookieRun Bold.otf');
}

@font-face {
  font-family: "SVN-Arial-Regular";
  src: url('../font/SVN-Arial-Regular.ttf');
}


a {
  text-decoration: none;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;

    font-family: "CookieRun-Bold";
    width: 100%;
    position: relative;
    overflow: hidden;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.container {
  width: 1050px;
}

.wrapper-header {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .menu {
    margin-left: 27.750vw;
    display: flex;
    justify-content: left;

  }

.header {
  margin: 0;
  padding: 0;
  background-color: #ff3d31;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 0.2vw solid #fff16c;
  z-index: 9;
  position: relative;
}

.list-menu-item:nth-child(2) {
  padding: 0 20px;
} 

.list-menu-item a {
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}


.p-active { 
  color: #ff6500;
}

/* add first child     margin-left: 3%; */
.list-menu-item {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  align-items: center;
  display: flex;
  float: left;
  padding: 1.25vw 1.9vw 1.4vw;
  transition: 0.2s;
}
.logo-item {
  float: left;
  padding:0.7vw 1.9vw 0.1vw 10.8vw;
  width: 17.1vw;
  box-sizing: border-box;
}

.list-menu-item.active, .list-menu-item:hover{
  background-color: #ff9c43;
  color: #ff6500;
}
.list-menu-item.active::after, .list-menu-item:hover::after{
  content: '';
  display: block;
  position:absolute;
  width: 100%;
  bottom: 0;
  left:0;
  border-bottom: 0.2vw solid #fff16c;
}

.list-menu-item a:hover {
  color: white;
}

.logo {
  width:  8.6vw;
}

.role-id-box{
  font-size: 0.774rem;
  border: 0.1vw solid white;
  display: block;
  width: 17.85vw;
  border-radius: 0.7vw;
  position: absolute;
  right: 4.85vw;
  top: 1.05vw;
  color: white;
  padding: 0.2vw 0 0vw 1.75vw;
  box-sizing: border-box;
}

.role-id-box  .logout {
  width: 3.2vw;
  position: absolute;
  top:-0.450vw;
  right:-0.5vw;
}

.frame-1 {
  height: 58vw;
  width: 100%;
  background: url('../image/frame-1-bg.webp');
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;

  z-index: 2;
}

.char-1-group{
  width: 18.400vw;
  top: 14.250vw;
  left: 9.250vw;
  position: absolute;
}

.moew-group{
  width: 6.400vw;
  top: 35.900vw;
  left: 24.300vw;
  position: absolute;
}

.moew-mat-trai {
  position: absolute;
  width: 1.05vw;
  top: 35%;
  left: 25%;
  transform-origin: 50% 50%;
  animation: matmeo 5s linear 0s infinite forwards;
}
.moew-mat-phai {
  position: absolute;
  width: 0.900vw;
  top: 35%;
  left: 73%;
  transform-origin: 50% 50%;
  animation: matmeo 5s linear 0s infinite forwards;
  
}

.laocong {
width: 73.913%;
}
.laocong-dau {
  position: absolute;
  top:0;
  opacity: 1;
  width: 62%;
  left: 10.439%;
  transform-origin: 42% 100%;
  animation: laocongdau 3s linear 0s infinite forwards;
  
}

.moew {
  width: 100%;
}

.mono {
  width: 73.85vw;
  right: -11vw;
  top: -4.5vw;
  position: absolute;
  animation: mono 2s cubic-bezier(0, 0.26, 0, 1.66) 0s infinite forwards;
  transform-origin: 50% 100%;
}

.tagline {
  width: 34.450vw;
  left:23.100vw;
  top:5.300vw;
  position: absolute;
}

.tagline img:first-child {
  position: relative;
  width: 100%;
}

.tagline img:nth-child(2) {
  position: absolute;
  width: 57.739%;
  top: 7.228%;
  left: 18.9%;
  animation: tet 3s cubic-bezier(0, 0, 0.16, 1.46) 1s infinite forwards;
}

.tagline img:nth-child(3) {
  position: absolute;
  width: 86.739%;
  top: 30.228%;
  left: 2.9%;
}

.hidden {
  /* display: none !important; */
}

.sidebar {
  /* display: hidden; */
  top: 6.400vw;
  right: 1.350vw;
  position: fixed;
  display: block;
  width: 12.700vw;
  height: 31.450vw;
  z-index: 3;
  transform: translateY(0) translateX(0);
  transition: transform 1s cubic-bezier(0.42, 0, 0.58, 1);
  /* 631px; */
  /* padding-bottom: 238.113%; */
}

.sidebar-unicorn{
  position: relative;
  margin: 0 auto;
  top:0;
  width: 8.250vw;
  display: block;

  z-index: 3;
  /* height: 0; */
  /* width: 211px;
  height: 210px; */
  /* border-radius: 18px; */
  /* "x":85,"y":,"w":211,"h":210 */

}

.scrollbar {
  height: 1.5vw;
  width: 100%;
  background-color: #bd303f;
  border-radius: 18px;
  display: flex;
  justify-content: center;

  position: relative;
  z-index: 2;
}

.scrollbar-bottom {
  bottom: 0;
top: auto;

}
 


.scrollbar-inner {
  position: absolute;
  
  width: 11vw;
  border-left: 0.050vw solid #b3133c;
  border-right: 0.050vw solid #b3133c;
}

.scrollbar-inner::before, .scrollbar-inner::after{
  content: '';
    height: 1.5vw;

  box-sizing: border-box;
  display: block;
  position: relative;
}
 .scrollbar-inner::after{
  width: 86.364%;
  border-left: 0.1vw solid #fff554;
  border-right: 0.1vw solid #fff554;
  margin: -1.5vw auto 0;
 }
.scrollbar-inner::before {
  position: relative;  width: 100%;
  border-left:0.600vw solid #fff554;
  border-right:0.600vw solid #fff554;
}

.sidebar-container-outer {
  width: 12.700vw;
  margin: -12% auto 0;
  height: 25.050vw;

}

.sidebar-container {
  width: 10.7vw;
  height: 0;
  border-left: 0.300vw solid  #ff9c43;
  border-right: 0.300vw solid  #ff9c43;
  background:#fff16c;
  position: relative;
  box-sizing: border-box;
  margin: 0 auto 0;
  height: 22vw;
  z-index: 1;
  overflow: hidden;
  /* animation: sidebar 0.5s cubic-bezier(0, 0, 0.16, 1.46) 1s 1 forwards; */
}

.sidebar.active {
  transform: translateY(0) translateX(100%);
}

.sidebar-container::before {
  content: '';
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background: url('../image/frame1_1__0000_Layer-4.webp') no-repeat;
  background-size: cover;
  box-sizing: border-box;
  top:0;
}

.bg-link-invite {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2%;
  width: 84%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  background-size: 100% 100% !important;
  color: white;
  text-align: center;
  padding-bottom: 7%;
  padding: 5%;
  background: url(../image/bg-link-moi-ban.png) no-repeat;
  cursor: pointer;
}

.khung-qr {
  position: relative;
  margin: 0 auto 0;
  width: 79.439%;
  height: 0;
  padding-bottom: 80%;
  z-index:2;
  background: url('../image/qr-code-sidebar.png') no-repeat;
  background-size: contain;
}

.khung-qr:before {
  width: 40%;
  height: 1px;
  background: url(../image/scan.png) center center no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: auto;
  right: 0;
  content: "";
  margin-right: auto;
  display: block;
  -webkit-animation: nhanngay 3s infinite linear;
  animation: nhanngay 3s infinite linear;
}

.qr {
  width: 39.412%;
}
/* .download-btn {
  display: block;
  width: 79.394%;
  height: 0;
  padding-bottom: 30.303%;
  position: relative;
  background: #bd303f;
  box-sizing: border-box;
  border: 2px solid #ff9c43;
  margin: 0 auto;
  border-radius: 12px;
} */

.btn-close-sidebar {
  float: left;
  position: absolute;
  width: 25%;
  margin-top: 70%;
  margin-left: -1vw;
}

.btn-close-sidebar.active {
  content: url('../image/btn-open-sidebar.png');
}

.download-btn  {
  position: relative;
  display: block;
  width: 6.550vw;
  height: 2.500vw;
  margin: 0.7vw auto 0;
} 
.hoverFilter:hover {
  cursor: pointer;
  transition: 0.2s;
  filter: brightness(1.3);
}

.download-btn:hover {
  cursor: pointer;
}


.download-btn-ios {
  background: url('../image/button_0002_ios.webp') no-repeat;
  background-size: contain ;
} 

.download-btn-android {
  background: url('../image/button_0003_android.webp') no-repeat;
  background-size: contain ;
} 

.download-btn-apk {
  background: url('../image/button_0004_apk.webp') no-repeat;
  background-size: contain ;
} 
.social-box {
  position: relative;
  width: 77.103%;
  /* padding-bottom: 26.667%; */
  margin: 0 auto;
  background: #ff8518;
  border-radius:0.7vw ;
  padding: 3% 0 0.5% 0;
  /* display: flex; */
  /* justify-content: center; */
  text-align: center;
  border:1px solid fee76e;
}
.social-box a {
  line-height: 1;
}
.social-box a:nth-child(1) img {
  height:1.300vw ;
}

.social-box a:nth-child(2) img {
  width:1.750vw;
}
.social-box a:nth-child(3) img {
  height:1.350vw ;
}
.social-box a:nth-child(4) img {
  width: 1.500vw;
}

.line {
  position: relative;
  margin: 0 auto;
  width: 93.458%;
  display: block;
  margin-top: 0.700vw;
  margin-bottom: 0.700vw;
}

.sidebar-phao {
  position: absolute;
  left: -1.1vw;
  top: 7.3vw;
  width: 3.35vw;
  z-index: 2;
}

.cloud-left {
  position: absolute;
  bottom: 0;
  width: 46.850vw;
  height: 19.6vw;
}



.cloud-right {
  position: absolute;
  bottom: 0;
  width: 50vw;
  height: 20.95vw;
  right:0
}

.downloadnow {
  width: 20.65vw;
  height: 5.95vw;
  background: url(../image/main-button.webp) no-repeat;
  background-size: contain;
  border: none;
  animation: download 3s cubic-bezier(0, 0, 0.016, 1.046) 1s infinite forwards;
  
}
.downloadnow:hover {
  cursor: pointer;
  transition: 0.2s;
  filter: brightness(1.3);
  }
  

.button-group {
  width: 100%;
  text-align: center;
  height: 12.350vw; 
  position: absolute;
  top: 40.850vw;
}

.frame2 {
  width: 100%;
  height: 50.350vw;
  background: url('../image/frame-2-bg.webp');
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  z-index: 1;
  margin-top: -5vw;
}

.tagline2 {
  width: 43vw;
  z-index: 3;
  position: absolute;
  margin-left: 27vw;
  bottom: -14vw;
}

.phao_left {
  height: 26.500vw;
  position: absolute;
  left: -5.5vw;
  margin-top: -0.7vw;
}

.phao_right {
  height: 37.75vw;
  position: absolute;
  right: -8.2vw;
  /* left: -5.5vw; */
  margin-top: -3.2vw;
}

.quest-box {
  width: 75.5vw;
  height: 26.250vw;
  position: absolute;
  bottom: 4.750vw;
  left: 15.15vw;
}

.rule-group {
  width: 6.6vw;
  float:left
}

.rule-button a {
  color: white;
}

.rule-button {
  width: 6.25vw;
  background: #ff8518;
  font-size: 1.333333333rem;
  color: white;
  padding: 1.55vw 1vw 0.7vw 1vw;
  box-sizing: border-box;
  text-align: center;
  line-height: 1;
  border-radius: 0.6vw;
  position: relative;
  margin-bottom: 1.25vw;
}

.rule-button::before {
  content: '';
  position: absolute;
  background: #bf6412;
  height:100%;
  width: 100%;
  border-radius: 0.6vw;
  bottom: -0.300vw;
  right: -0.35vw;
}
.rule-button::after {
  content: '';
  position: absolute;
  background: #ff8518;
  height:100%;
  width: 100%;
  border-radius: 0.6vw;
  top: 0;
  right: 0;
}

.rule-button span{
  z-index: 1;
position: relative;
text-align: center;
}

.rule-button-tip{
  font-size: 0.902666667rem;
  line-height: 1.2;
}


.rule-button span:hover {
  cursor: pointer;
}
.rule-button:hover {
  cursor: pointer;
  filter: brightness(1.3);
  transition: 0.2s;
}

.aaa {
  margin-top:10vw;
  margin-left:10vw;
}

.unicon-wrapper {
  width: 3vw;
  height: 6vw;
  position: absolute;
  animation: unicorn-di 6s linear 0s infinite forwards;
}

.unicorn-box {
  width: 18.65vw;
  position: absolute;
  height: 5.95vw;
  display: inline-block;
  top: -5.5vw;
  z-index: 1;
}

.unicorn-thantren {
  height: 100%;
  animation: unicorn-than-dance 6s linear 0s infinite forwards;
}

 .unicorn-than {
  width: 94.42724458%;
  right:0;
  position: absolute;
  bottom: 3.246753247%;
  height:51.13636364%;
  transition: 0.2s;
  animation: unicorn-than-a 3s linear 0s infinite forwards;
}

 .unicorn-chan {
  position: absolute;
  left:35.29411765%;
  width: 35.29411765%;
  position: absolute;
  bottom: 0;
  transition: 0.2s;
}

.unicorn-dau {
  position: absolute;
  left: 0;
  top:0;
  height:51.13636364%;
  animation: unicorn-dau-a 3s linear 0s infinite forwards;
}


.main-group {
  width: 67vw;
  height: 100%;
  float: right;
}
.cake-box-count-group .cake-count-box:first-child {
  margin-right: 0.500vw;
}

.cake-count-box {
  width: 11.80vw;
  height: 4.5vw;
  background: #4c7c4c;
  color: #c9e253;
  border-radius: 1.1vw;
  font-size: 0.676333333rem;
  text-align: center;
  padding-top: 0.4vw;
  display: inline-block;

}

.cake-count-number {
  width: 5.95vw;
  height: 2.6vw;
  border: 0.2vw solid #c9e253;
  border-radius: 1vw;
  color: white;
  display: inline-block;
  font-size: 1.266rem;
  box-sizing: border-box;
  padding: 0;
  margin-top: 0.15vw;
  animation: countnumber 0.1s linear 0s 1 forwards;
  
}

.cake-box-count-group {
  float:left;
  display: flex;
  padding-top:0.1vw;

}
.material-box-group {
  margin-top:0.2vw;
  display: flex;
  float:left;
  margin-left: 2.750vw;
  font-size: 1.049rem;
  line-height: 1;
  color: white;
}
.material-box {
  margin-right: 0.950vw;
  width: 8.550vw;
  height: 4.400vw;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  
}

.material-box-la {
  background-image: url('../image/frame_2_0006_la.webp');
  /* animation: noi 0.5s cubic-bezier(0, 0.43, 0.58, 1) 0.2s 1 forwards; */
}
.material-box-nep {
  background-image: url('../image/frame_2_0005_nep.webp');
}
.material-box-thit {
  background-image: url('../image/frame_2_0004_thit.webp');
}

.material-box span {
  color: white;
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 1.56vw;
  width: 100%;
  padding-left: 4vw;
  box-sizing: border-box;
}

.main-group-2 {
  height: 7.250vw;
  margin-top:1.900vw;
}

.main-group-13 {
  position: absolute;
  margin-top: -3.1vw;
  height: 4.25vw;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.main-group-13 img:nth-child(1) {
  opacity: 0;
  width: 12.2vw;
  margin-right: 1vw;
  margin-left: -1vw;
}
.main-group-13 img:nth-child(2) {
  opacity: 0;
    width: 12.2vw;
    margin-right: 1vw;
    margin-left: -1vw;
}
.main-group-13 img:nth-child(3) {
  opacity: 0;
    width: 12.2vw;
    margin-right: 1vw;
}
.main-group-13 img:nth-child(4) {
  opacity: 0;
  margin-left: 5vw;
  width: 12.2vw;
}

.anchor-huong-dan-1.active ,.anchor-huong-dan-2.active, .anchor-huong-dan-3.active, .anchor-huong-dan-4.active {
  opacity: 1 !important;
}

.main-group-2 img:nth-child(1) {
  width: 8.24vw;
  margin-left: 1.23vw;
  margin-right: 2.65vw;
}
.main-group-2 img:nth-child(2) {
  width: 10.150vw;
  margin-right: 3.2vw;
}
.main-group-2 img:nth-child(3) {
  width: 10.150vw;
  margin-right: 5.4vw;
}
.main-group-2 img:nth-child(4) {
  width: 14.200vw;
}
.main-group-3 {
  margin-top: 1vw;
  height: 5.500vw;
  position: relative;
}
.process-line {
  border-width: 0.250vw;
  border-color: rgb(76, 124, 76);
  border-style: solid;
  width: 58.100vw;
  height: 1.350vw;
  position: absolute;
  bottom: 1.7vw;
  border-radius: 1.1vw;
}

.process-line::before {
  content: '';
  /* width: 58.1vw; */
  width: 30%;
  height: 0.65vw;
  position: absolute;
  bottom: 1.7vw;
  border-radius: 1.1vw;
  top: 0.4vw;
  left: 0.4vw;
  background: #ff8518;
}

.cainoi {
  width: 9.150vw;
  height: 5.650vw;
  background: url('../image/frame_2_0000__.webp') no-repeat;
  background-size: cover;
  position: absolute;
  top:0;
  left: 30%;;
}

.anchor-0 .process-line::before {
  width: 0%;
}
.anchor-0 .cainoi {
  left: -2vw;
}

.anchor-1 .process-line::before {
  width: 10%;
}
.anchor-1 .cainoi {
  left: 1%;
}


.anchor-2 .process-line::before {
  width: 30%;
}
.anchor-2 .cainoi {
  left: 19.5%;
}

.anchor-3 .process-line::before {
  width: 53%;
}
.anchor-3 .cainoi {
  left: 40%;
}

.anchor-4 .process-line::before {
  width: 86%;
}
.anchor-4 .cainoi {
  left: 68%;
}

.main-group-4 {
  margin-top: 2.049vw;
  position: relative;
}

.count-label {
  position: absolute;
  font-size:1.483333333rem;
  display: inline-block;
  width: 9.850vw;
  height: 3.500vw;
  color: #4c7c4c;
  text-align: center;
  padding-top: 0.2vw;
  box-sizing: border-box;

}

.count-label-active {
  color: white;
  background: url('../image/active-label.webp') no-repeat;
  background-size: cover;
}
.count-label-3{
  left:0;
}
.count-label-6{
  left: 12.5vw;
}
.count-label-9{
  left: 39.5%;
}
.count-label-15{
  left: 66.5%;
}

.make-cake {
  width: 6.600vw;
  height: 6.600vw;
  background: url('../image/frame_2_0007_Rectangle-12-copy-7.webp') no-repeat;
  background-size: cover;
  display: block;
  border: none;
  color: white;

  font-family: "CookieRun-Bold";
  font-size:1.333333333rem;
  float:right;
  line-height: 1;

}

.active-scale:active {
  /* animation: scale08 0.2s linear 0s; */
  /* animation: scale08 0.2s linear 0s infinite forwards; */

  animation: scale08 0.2s cubic-bezier(0, 0, 0, 1.11) 0s ;
}


.steam {
  position: relative;
  /* background: red; */
  /* height: 100px;
  width: 100px; */
  /* display: none; */
  /* animation: scale08 2s cubic-bezier(0, 0, 0, 1.11) 0s 1 forwards; */
}


.steam {
  position: absolute;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: #fff;
  margin-top: -0.5vw;
  margin-left: 3.5vw;
  z-index: 0;
  opacity: 0;
}

#steam-one {
  animation: steam-one 2s cubic-bezier(0, 0, 0, 0.77) 0.2s 1 forwards
}

#steam-three {
  animation: steam-two 2s cubic-bezier(0, 0, 1, 0.61) 0.5s 1 forwards;
}

#steam-two {
  animation: steam-three 2s cubic-bezier(0, 0.43, 0.58, 1) 0.2s 1 forwards;
}

#steam-four {
  animation: steam-four 2s ease-out 0.3s 1 forwards;
}

.steam-group {
  width: 100%;
    height: 100%;
}

/* .cainoi:has(+ .make-cake:active ) {
  animation: none !important;
} */

.cainoi {
  animation: noi 0.5s cubic-bezier(0, 0.43, 0.58, 1) 0.2s 1 forwards;
}

.cainoi:has(+ .make-cake:active ) .steam-group .steam, .cainoi:has(+ .make-cake:active ){
  /* display: block; */
  /* height: 100px;
  width: 100px;
  background: red; */
  animation:none !important;
}

.main-group:has(#cook:active) .material-box-la {
  animation: none;
}
.main-group:has(#cook:active) .material-box-nep {
  animation: none;
}

.main-group:has(#cook:active) .material-box-thit {
  animation: none;
}
.main-group:has(#cook:active) .cake-count-number {
  animation: none;
}


.snowflake {
  position: fixed;
  top: -10%;
  z-index: 9999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  -webkit-animation-name: snowflakes-fall, snowflakes-shake, snowflakes-glow;
  -webkit-animation-duration: 10s, 3s;
  -webkit-animation-timing-function: linear, ease-in-out;
  -webkit-animation-iteration-count: infinite, infinite;
  -webkit-animation-play-state: running, running;
  animation-name: snowflakes-fall, snowflakes-shake, snowflakes-glow;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}
.snowflake img {
  width: 100%;
}
.snowflake:nth-of-type(0) {
  left: 1%;
  -webkit-animation-delay: 0s, 0s;
  animation-delay: 0s, 0s;
}
.snowflake:nth-of-type(1) {
  left: 10%;
  -webkit-animation-delay: 1s, 1s;
  animation-delay: 1s, 1s;
  width: 1vw;
}
.snowflake:nth-of-type(2) {
  left: 20%;
  -webkit-animation-delay: 6s, 0.5s;
  animation-delay: 6s, 0.5s;

  width: 0.9vw;
}
.snowflake:nth-of-type(3) {
  left: 30%;
  -webkit-animation-delay: 4s, 2s;
  animation-delay: 4s, 2s;
  width: 0.5vw;
}
.snowflake:nth-of-type(4) {
  left: 40%;
  -webkit-animation-delay: 2s, 2s;
  animation-delay: 2s, 2s;
  width: 1.9vw;
}
.snowflake:nth-of-type(5) {
  left: 50%;
  -webkit-animation-delay: 8s, 3s;
  animation-delay: 8s, 3s;
  width:1.4vw;
}
.snowflake:nth-of-type(6) {
  left: 60%;
  -webkit-animation-delay: 6s, 2s;
  animation-delay: 6s, 2s;
  width: 1.2vw;
}
.snowflake:nth-of-type(7) {
  left: 70%;
  -webkit-animation-delay: 2.5s, 1s;
  animation-delay: 2.5s, 1s;
  width:1.2vw;
}
.snowflake:nth-of-type(8) {
  left: 80%;
  -webkit-animation-delay: 1s, 0s;
  animation-delay: 1s, 0s;
  width: 1vw;
}
.snowflake:nth-of-type(9) {
  left: 90%;
  -webkit-animation-delay: 3s, 1.5s;
  animation-delay: 3s, 1.5s;
  width: 0.7vw;
}
.snowflake:nth-of-type(10) {
  left: 25%;
  -webkit-animation-delay: 2s, 0s;
  animation-delay: 2s, 0s;
  width: 1.3vw;
}
.snowflake:nth-of-type(11) {
  left: 65%;
  -webkit-animation-delay: 4s, 2.5s;
  animation-delay: 4s, 2.5s;
  width: 1.5vw;
}


.broom {
  position: absolute;
  top: 25%;
  left: 8vw;
  transform: rotate(0deg);
  transform-origin: 0% 50%;
  animation: choi 2s cubic-bezier(0, 0, 0.26, 1.29) 0s infinite forwards

}

.taylaocong {
  position: absolute;
    left: 8vw;
    top: 15vw;
    width: 2.45vw;
    z-index: 3;
}

.scale-09 {
  animation: scale09 0.2s cubic-bezier(0, 0, 0.26, 1.29) 0s 1 forwards;
}

.frame-footer {
  background: #fb8821;
  font-size: 0.6rem;
  font-family: 'SVN-Arial-Regular';
  color:white;
  text-align: center;
  padding-bottom: 3.300vw;
}

.wrapper-logo-footer {
  text-align: center;
  margin-bottom:0.750vw;
}

.logo-text-footer {
  width: 12.450vw;
  margin-bottom: 0.5vw;
  margin-right: 2.500vw;

}

.logo-footer {
  width: 9.650vw;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 99;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.mainHeaderWrapper{
  margin-top: 2%;
  left: 0;
  margin-right: auto;
  right: 0;
  margin-left: auto;
  position: relative;
  width: 76%;
  background: no-repeat url('../image/bg-popup.webp') 50% / 100%;
}
.mainHeaderWrapper > img{
  vertical-align: top;
  width: 100%; /* max width */
  opacity: 0;  /* make it transparent */
}
.mainHeaderWrapper > div{
  position: absolute;
  top: 15%;
  width: 70%;
  height: 70%;
  overflow-x: hidden;
  overflow-y: scroll;
  left: 0;
  margin-right: auto;
  right: 0;
  margin-left: auto;
}

.close-popup {
  position: absolute;
  left: 78%;
  width: 5%;
  margin-top: 2.2%;
  z-index: 1;
  transition: all 200ms;
  cursor: pointer;
}

.title-popup {
  z-index: 1;
  margin-top: 2%;
  position: absolute;
  width: 20%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  background-size: 100% 100% !important;
  color: white;
  text-align: center;
  padding-bottom: 6%;
  background: no-repeat url(../image/title-popup.webp);
  cursor: pointer;
}

.title-popup div {
  font-size: 2.3vw;
  color: white;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wrapper-group-login {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center; 
}

.group-login-2 {
  margin-top: 3%;
}

.cong-login {
  text-align: center;
}

.btn-login-icon div {
  font-size: 2.3vw;
  color: #fff554;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-login-inside-mission div {
  font-size: 2.6vw;
  color: #fff554;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title-child {
  font-size: 2.5vw;
  margin-top: 6%;
}

.btn-login-icon, .btn-login-inside-mission{
  position: relative;
  width: 47%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #ffffc5;
  text-align: center;
  padding-bottom: 13%;
  background-image: url(../image/bg-cong-login.webp);
  cursor: pointer;
}

.break-line-pc {
  display: block;
  font-size: 2vw;
  color: #ff9c43;
  letter-spacing: 0.5vw;
  margin-bottom: 2%;
}

.break-line-mb {
  display: none;
}

.break-line-pc.bottom {
  margin-top: 3%;
}

.hello-user {
  font-size: 1vw;
}

.color-red {
  color: #bd303f;
}

.wrapper-group-history, .wrapper-group-mission, .wrapper-group-btn-misstion{
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center; 
}

.wrapper-group-mission {
  width: 100%;
}

.title-history {
  color: white;
  background-color: #bd303f;
  font-size: 1.2vw;
  padding: 2%;
  padding-right: 5%;
  padding-left: 5%;
  border-radius: 20px;
}

.btn-login-inside-mission {
  width: 79%;
  padding-bottom: 23%;
}

.btn-login-inside-mission:not(:first-child) {
  margin-top: 3%;
}

.title-gift {
  width: 30%;
  margin-right: auto;
  font-size: 1.6vw;
  margin-left: auto;
  color: #52250b;
  padding: 1%;
  padding-right: 5%;
  padding-left: 5%;
  border-radius: 20px;
  background-color: #ff9c43;
  margin-bottom: 6%;
}

.copy-link {
  width: 30%;
}

.qua-demo {
  width: 23%;
}

.moc-qua {
  width: 24%;
}

.text-ban-da-nau {
  width: 80%;
}

.text-moi-ban-be {
  width: 50%;
}

.mo-ta-moi-ban {
  width: 80%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
  font-size: 1.2vw;
}

.content-moc-qua {
  height: 80% !important;
  top: 10% !important;
}

.dau-lan {
  display: none;
}

.mobile-break { display: none; }
.pc-break { display: block; }

.login-pc {
  display: flex;
}

.login-mb {
  display: none;
}

.header-mb-container {
  display: none;
}

.topnav {
  display: none;
}

.meo-cam {
  display: none;
}

.move-bottom {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  width: 2.25vw;
  position: absolute;
  z-index: 6;
  bottom: 0;
  margin-bottom: 7vw;
  display: block;
  animation: tet 3s cubic-bezier(0, 0, 0.16, 1.46) 1s infinite forwards;
}

.tagline2-tet {
  z-index: 4;
  position: absolute;
  margin-left: 29.3vw;
  bottom: -12.5vw;
  position: absolute;
  width: 13.5vw;
  left: 18.9%;
  animation: tet 3s cubic-bezier(0, 0, 0.16, 1.46) 1s infinite forwards;
}

.wrapper-video-fixed {
  position: fixed;
  right: 0;
  bottom: 0;
  padding-bottom: 11%;
  z-index: 3;
  width: 21%;
  display: block;
  transform: translateY(0) translateX(0);
  transition: transform 1s cubic-bezier(0.42, 0, 0.58, 1);
}

.group-cong-dong-mb {
  display: none !important;
}

.group-cong-dong {
  display: flex;
  flex-direction: row;
  height: 5.5vw;
  align-items: center;
  justify-content: center;
}

.group-cong-dong-mb.active {
  display:block !important;;
  background: #d22c2c !important;;;
  color: #ffffe3 !important;;;
}

.btn-cong-dong {
  cursor: pointer;
  height: 100%;
  margin: 0 4%;
  width: unset
}

.icon-dropdown {
  width: 3%;
  position: absolute;
  float: right;
  padding: 1%;
  right: 0;
}

.group-cong-dong {
  margin-top: unset;
}

.wrapper-video-fixed.active {
  transform: translateY(0) translateX(100%);
}

.wrapper-video-fixed .video-fixed {
  width: 100%;
  height: 100%;
  transform: scale(0.92);
  border-radius: 5%;
  margin-top: 0%;
  position: absolute;
  overflow: hidden;
}

.wrapper-video-fixed iframe{
  width: 100%;
  height: 104%;
  position: absolute;
}

.bg-video {
  width: 100%;
  height: 100%;
  position:absolute;
}

.btn-copy {
  margin-top: 5%;
  width: 38%;
}

.input-link-invite {
  display: none;
}

@media screen and (max-width: 720px) {

  .btn-copy {
    width: 60%;
    margin-top: 11%;
  }

  .bg-link-invite {
    width: 88%;
  }
  
  .mo-ta-moi-ban {
    font-size: 9px;
    margin-top: 8%;
  }

  .tagline2-tet {
    margin-left: 31.5vw;
    bottom: -54.3vw;
    width: 21.5vw;
  }

  .main-group-13 img:nth-child(1) {
    width: 29vw;
    margin-top: -3vw;
    position: absolute;
    margin-right: 0vw;
    margin-left: -17vw;
  }

  .main-group-13 img:nth-child(2) {
    width: 29vw;
    margin-top: -3vw;
    position: absolute;
    margin-right: 0vw;
    margin-left: 1vw;
  }

  .main-group-13 img:nth-child(3) {
    width: 29vw;
    margin-top: -3vw;
    position: absolute;
    margin-left: 18vw;
  }

  .main-group-13 img:nth-child(4) {
    width: 29vw;
    margin-top: -3vw;
    position: absolute;
    margin-left: 40vw;
  }

  .wrapper-video-fixed {
    display: none;
  }

  .sidebar {
    display: none;
  }

  .hide-leg-mono {
    bottom: 0;
    position: absolute;
    margin-bottom: -15vw;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    width: 100vw;
    background-image: url(../image/hide-leg-mono.webp);
    background-size: cover;
    height: 30vw;
    background-repeat: no-repeat;
  }
  .frame-footer {
    font-size: 1rem;
  }

  .logo-text-footer {
    width: 25.56vw;
    margin-bottom: 1vw;
  }

  .logo-footer {
    width: 19.53vw;
  }

  .rule-button {
    width: 9.9vw;
    height: 9.9vw;
    border-radius: 8px;
    font-size: 2.2rem;
  }

  .rule-button-tip {
    font-size: 2.1rem;
    width: 21.7vw;
}

  .rule-button::before {
    border-radius: 8px;
    bottom: -0.6vw;
    right: -0.9vw;
  }
  .rule-button::after {
    border-radius: 8px;
  }

  .rule-group {
    margin-top: 5.5vw;
    display: flex;
    justify-content: center;
    column-gap: 3vw;
    width: 67.6vw;
    position: absolute;
    float: left;
  }

  .make-cake {
    width: 13.54vw;
    height: 13.6vw;
    font-size: 2.333333rem;
    float: right;
    margin-top: 16vw;
    position: absolute;
    right: 0;
}

  .main-group-4 {
    margin-left: -8vw;
    width: 88vw;
  }

  .count-label-6 {
    left: 18.5vw;
  }
  .quest-box {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }

  .anchor-1 .cainoi {
    left: -1%;
  }

  .anchor-2 .cainoi {
    left: 23%;
  }

  .anchor-3 .cainoi {
    left: 46%;
  }
  
  .anchor-4 .cainoi {
    left: 78%;
  }

  .count-label-9 {
    left: 40.5%;
}

  .anchor-4 .process-line::before {
  width: 100%;
}

  .main-group-3 {
    margin-top: 5vw;
    height: 6.5vw;
    margin-left: -8vw;
}

.process-line {
  width: 74.1vw;
  height: 1.35vw;
}

  .cainoi {
    width: 12.5vw;
    height: 7.65vw;
  }
  .main-group-2 {
    margin-right: auto;
    margin-top: -24.1vw;
    margin-left: -8vw;
    width: 100vw;
  }

  .main-group-2 img:nth-child(1) {
    width: 11vw;
    margin-left: unset;
    margin-right: 4.65vw;
  }

  .main-group-2 img:nth-child(2) {
    width: 14vw;
  }

  .main-group-2 img:nth-child(3) {
    width: 14vw;
  }

  .main-group-2 img:nth-child(4) {
    width: 19.27vw;
  }

  .material-box-group {
    margin-top: -39vw;
    float: left;
    font-size: 2.049rem;
    font-size: 2.049rem;
    margin-left: unset
  }

.material-box {
  margin-right: 0.95vw;
  width: 18.55vw;
  height: 10.4vw;
}

.material-box span {
  top: 3vw;
  padding-left: 8vw;
}


  .cake-box-count-group {
    column-gap: 1vw;
    position: absolute;
    margin-top: -71%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    justify-content: center;
  }

  .cake-count-box {
    width: 29vw;
    height: 12vw;
    border-radius: 2.4vw;
    font-size: 1.8rem;
}

.cake-count-box {
  border-radius: 2.4vw;
  font-size: 1.8rem;
}

.cake-count-number {
  width: 17.95vw;
  height: 5.6vw;
  border: 0.7vw solid #c9e253;
  border-radius: 2vw;
  font-size: 2.266rem;
}

  .move-bottom {
    width: 5vw;
    margin-bottom: -7vw;
  }

  .phao_left {
    content: url(../image/phao-left-mb.webp);
    left: -6.5vw;
    margin-top: 32vw;
    width: 19vw;
    height: unset;
}

  .phao_right {
    content: url(../image/phao-right-mb.webp);
    width: 25.6vw;
    margin-top: 30.12vw;
    margin-right: -9vw;
    float: right;
    right: 0;
    height: unset;
}


  .tagline2 {
    bottom: unset;
    width: 73vw;
    margin-top: 138vw;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }


  .frame2 {
    height: 143.1vw;
    width: 100vw;
    background-size: cover !important;
    background: url(../image/bg-frame-2-mb.webp);
    margin-top: 0vw;
}

  .cloud-left {
    content: url(../image/group-may-left-mb.webp);
    width: 46.85vw;
    height: 55.6vw;
    top: 98vw;
    margin-left: 0vw;
    z-index: 1;
  }

  .cloud-right {
    content: url(../image/group-may-right-mb.webp);
    width: 46.85vw;
    height: 57.6vw;
    top: 95vw;
    z-index: 1;
  }

  .char-1-group {
    display: none;
  }

  .meo-cam {
    display: block;
    width: 12.11vw;
    margin-top: 72.14vw;
    position:absolute;
    margin-left: 29vw;
  }

  .meo-cam img {
    width: 100%;
  }

  .mono {
    content: url(../image/mono-mb.webp);
      width: 119vw;
      margin-left: 15.23vw;
      left: 0;
      top: -4.5vw;
  }

  .moew-mat-trai, .moew-mat-phai {
    width: 2.1vw;
  }
  .moew-group {
    width: 14.32vw;
    top: 82.55vw;
    left: 5vw;
    position: absolute;
}

  .unicorn-box {
    top: -8.5vw;
}

.unicon-wrapper {
  width: 5vw;
  height: 9vw;
}

  .downloadnow {
    width: 42.45vw;
    height: 12vw;
    background-size: cover;
}

  .button-group {
    width: 100%;
    top: 97.14vw;
    z-index: 1;
  }

  .tagline {
    width: 64vw;
    left: 5vw;
    top: 12vw;
    position: absolute;
  }

  .frame-1 {
    height: 112vw;
    background-size: cover !important;
    width: 100%;
    background: url(../image/bg-frame-1-mb.webp);
  }

  .topnav {
    z-index: 3;
    display: none;
    position: absolute;
    width: 100%;
    right: unset;
    font-family: "CookieRun-Bold";
  }

  .topnav.active {
    display: block;
    background: -webkit-linear-gradient(#fbfc6e 22.69%, #f9c520 84.45%);
  }
  .topnav .icon {
      position: absolute;
      right: 0;
      top: 0;
  }
  
  .topnav a {
    float: unset;
    display: block;
    font-size: 13px;
    text-align: center;
    color: #ffffe3;
    padding: 13px 16px;
    text-decoration: none;
    background: #d22c2c;
    opacity: 1;
  }

  .btn-hamburber {
    float: right;
  }

  .btn-tai-game {
    float: right;
    margin-right: -85%;
  }
  .group-btn-header-mb {
    display: contents;
  }

  .hamburger {
    width: 7vw;
  }

  .logo-item {
    z-index: 5;
    float: left;
    padding: 0.7vw 1.9vw 0.1vw 5.2vw;
  }

  .logo {
    width: 22.4vw;
  }

  .header { 
    display: none;
  }

  .header-mb-container {
    display: flex;
    align-items: stretch;
    background-color: #ff3d31;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 0.2vw solid #fff16c;
  }
  
  .flex-container > div {
    background-color: DodgerBlue;
    color: white;
    text-align: center;
  }

  .login-pc {
    display: none;
  }

  .login-mb {
    display: flex;
  }

  .mainHeaderWrapper {
    background: no-repeat url(../image/bg-popup-mb.webp) 50% / 100%;
    width: 95%;
  }

  .mainHeaderWrapper > img {
    content: url(../image/bg-popup-mb.webp);
  }

  .mainHeaderWrapper > div {
    position: absolute;
    top: 37%;
    width: 55%;
    height: 54%;
    font-size: 11px;
  }

  .dau-lan {
    display: block;
    position: absolute;
    z-index: 2;
    width: 49%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .title-popup {
    margin-top: 40%;
    padding-bottom: 15%;
    width: 40%;
  }

  .title-popup div {
    font-size: 25px;
  }

  .close-popup {
    width: 13%;
    right: 0;
    margin-right: 8%;
    margin-top: 35.4%;
  }

  .hello-user {
    font-size: 16px;
  }

  .title-history {
    font-size: 12px;
  }

  .text-phan-qua {
    font-size: 9px;
  }
  .content-lich-su {
    width: 65% !important;
  }

  .content-login{
    width: 65% !important;
  }

  .content-nhiem-vu {
    width: 65% !important;
  }

  .wrapper-group-btn-misstion {
    width: 100%;
  }

  .wrapper-group-mission {
    margin-top: 12%;
  }

  .break-line-pc {
    display: none;
  }

  .break-line-mb {
    display: block;
    font-size: 19px;
    color: #ff9c43;
    letter-spacing: 0.5vw;
    margin-bottom: 2%;
  }

  .break-line-mb.bottom {
    margin-top: 3%;
  }

  .btn-login-inside-mission div {
    font-size: 18px;
  }

  .mobile-break { display: block; }
  .pc-break { display: none; }

  .title-child {
    font-size: 16px;
    margin-top: 0%;
  }

  .text-ban-da-nau {
    content: url(../image/text-ban-da-nau-mb.webp);
  }

  .text-ban-da-nau {
    width: 100%;
  }

  .content-moc-qua {
    height: 60% !important;
    top: 33% !important;
  }

  .moc-qua {
    width: 80%;
  }

  .title-gift {
    width: 73%;
    font-size: 13px;
  }

  .qua-demo {
    width: 42%;
  }
}
