* {
  box-sizing: border-box;
}
.content {
  font-size: 1rem;
  width: 90%;
  margin: auto;
}

.image {
  width: 100%;   /*  fluid image */
  max-width: 100%;
}

@media (min-width: 600px) {
  .content {
    font-size: 1.2rem;
  }
}
/* Flexbox */
.flex-container {
  display: flex;
}

body {
  margin: auto;
  width: 100%;
  background: #f1f0ec; 
  font-family: Arial, Helvetica, sans-serif;
}

@media (min-width: 600px) {
  .content {
    font-size: 1.2rem;
  }
}

header {
  z-index: 100;
  transform: translateZ(200px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #f1f0ec; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
}

.hero-logo img {
  height: 30px;
}

.logo {
  font-family: ui-monospace, SFMono-Regular, ui-monospace, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

.get-app-btn {
  padding: 8px 12px;
  background: #ff5126;
  color: #fff;
  border: none;
  border-radius: 12px; 
}

/* hero section */
.hero {
  position: relative;
  min-height: 500px;
  padding-top: 96px;
  text-align: center;
  background-size: cover;  
}

.hero-logo {
  width: 80px; 
  border-top-left-radius: 22%;    
  border-top-right-radius: 22%;
  border-bottom-right-radius: 22%;  
  border-bottom-left-radius: 22%; 

}
.hero h2 {
  font-family: ui-monospace, SFMono-Regular, ui-monospace, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  padding-top: 20px;
  font-size: 34px;
  font-weight: 1;
  margin: 0;
  color: #201D16;
}
.hero-desc {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 20px;
  color: #201D16;
  font-weight: 200;
  width: 100%;
}

.hero p {
  font-size: 15px;
  line-height: 0.6;
  font-weight: 0.5;
  color: #525252;
}

@media (max-width: 600px) {
  .hero-desc {
    font-size: 24px;
    width: 90%;
    font-size: 10px;
    margin-left: 20px;
    margin-right: 20px;

    line-height: 1.5;
  }
  .hero-desc p {
    line-height: 15px;
    font-weight: 0.5;
    color: #525252;
    margin-left: 20px;
    margin-right: 20px;

  }
  .hero-p {
    line-height: 15px;
    margin-left: 20px;
    margin-right: 20px;

  }
}


.button-wrap {
  background: transparent;
  margin-top: 40px;
  margin: 40px 0 0;
}
.app-store-btn img{

  display: inline-block;
  width: 128px;
  height: 44px;
  background: #fff;
  border-radius: 12px; 
}
.google-play-btn img{

  display: inline-block;
  width: 128px;
  height: 44px;
  background: #fff;
  border-radius: 12px; 
}
.app-store-btn {
  background: transparent;
  border: none;
}
.google-play-btn {
  background: transparent;
  border: none;
}

.illustration {
  /* show in center of screen*/
  position: relative;
  /* left: 50%; */
  margin: 40px auto;
  /* transform: translate(-50%, -50%); */
  /* margin-top: -100px; */
  width: 320px;
  height: 640px;
  pointer-events: none;
  padding-bottom: 24px;
}
.illustration img {
  /* margin-top: 140px; */
  width: 100%;
  height: 100%;
}

/* footer */ 
footer {

  width: 100%;
  height: 60px;
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* 可选 */
}


footer p {
  font-size: 10px;
  margin: 0 auto;
  align-items: center;
}
main {
  padding-bottom: 60px; /* footer的高度 */ 
}

.bubble {
  text-align: left;
  z-index: 100;
  position: absolute;
  display: flex;
  align-items: center;
  width: 120px; 
  height: 48px;
  padding: 12px;
  background-image: radial-gradient(circle, rgb(250, 250, 250), rgb(250, 250, 250)); 
  border-radius: 20px; 
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  animation: zoomEffect 3.6s ease-in-out infinite; 
}

.bubble p {
  text-align: left;
  align-items: left;
  /* display: inline-block; */
  font-size: 10px;
  font-weight: 100;
  width: 100px;
  margin-left: 50px;
  transform: translate(-60%, 0);
}


.bubble p b {
  margin-bottom: 4px;
  text-align: left;
  align-items: left;
  display: flex;
  color:#ff5126;
  font-size: 12px;
  font-weight: 100;
  width: 100px;
  margin-bottom: 4px;
  font-family: ui-monospace, SFMono-Regular, ui-monospace, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

.bw {
  text-align: left;
  align-items: left;
  margin-left: 20px;
}

.bubble span {
  width: 10px;
}

@keyframes goDown {
  0% {
    /* margin-top: 100px;  */
    opacity: 1;
  }
  100% {
    /* margin-top: 500px; */
    opacity: 0;
  } 
}

@keyframes zoomEffect {
  0% { transform: scale(0) }
  50% { transform: scale(1) }
  65% { transform: scale(1) }  
  100% { transform: scale(0) }
}


button {
  transition: transform 0.2s ease-in-out;
}

button:hover {
  transform: scale(1.2);
}

#illustration-frame {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  position: relative;
  width: 320px;
  height: 640px;
}

#illustration-video {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  position: absolute;
  z-index: 0;
  padding-left: 15px;
  padding-top: 20px;
  top: 10px;
  left: 0;
  width: 320px;
  height: 640px;

}

.big_frame {
  position: relative;
  border-radius: 20px;
}


.vv {
  overflow: hidden;
  position: absolute;
  z-index: 0;

  width: 320px;
  height: 640px;
  border-radius: 20px;
}