* {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: bmwRegularFont;
}

@font-face {
  font-family: bmwFont;
  src: url('/bmw_app_download/assets/font/BMWTypeNextTT-Bold.ttf'),
    url('/bmw_app_download/assets/font/BMWTypeNextTT-Bold.eot');
  /* IE9 */
}

@font-face {
  font-family: bmwRegularFont;
  src: url('/bmw_app_download/assets/font/BMWTypeNextTT-Regular.ttf');
  /* IE9 */
}

html,
body {
  margin: 0 auto;
  max-width: 640px;
  height: 100%;
  background-color: black;
}

main {
  position: relative;
  margin: 0 auto;
  background-color: gray;
  height: 100%;
  max-width: 640px;
  background: url('/bmw_app_download/assets/image/bmw_background_hk.png') 0 0 no-repeat;
  background-size: 100%;
}

.mini {
  background: url('/bmw_app_download/assets/image/mini_background_hk.png')
    0 0 no-repeat;
  background-size: 100%;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

.button-container {
  padding-top: 20px;
  padding-bottom: 35px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: black;
  box-shadow: 0 0 5px black;
}

.download-btn,
.open-btn {
  width: 90%;
  height: 44px;
  border: none;
  outline: none;
  background-color: white;
  border-radius: 2px;
  font-weight: 700;
  font-family: bmwFont;
}
.open-btn {
  margin-bottom: 10px;
  background-color: #000;
  color:white
}

.flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

section {
  padding-top: 120px;
  text-align: center;
}

.logo img {
  width: 30%;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.arrow {
  padding-top: 8px;
  padding-right: 16px;
}

.arrow img {
  width: 39px;
  height: 57px;
}

.guide {
  padding-top: 10px;
  padding-right: 90px;
  color: white;
}

.hide {
  display: none;
}

.toast {
  position: absolute;
  bottom: 200px;
  width: 200px;
  height: 50px;
  line-height: 50px;
  background-color: black;
  border-radius: 10px;
  color: white;
  text-align: center;
  left: 0;
  right: 0;
  margin: auto;
}
.center-container {
  margin: 0 auto;
  max-width: 640px;
}
.download_toast {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 200px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  z-index: 9999;
  background: black;
  border-radius: 20px;
  color: white;
  font-size: 14px;
}
.guide {
  padding-top: 10px;
  padding-right: 90px;
  color: white;
}

.iphone-image {
  margin: 0 auto;
  text-align: center;
}

.app-info {
  padding-top: 230px;
}

.app-info div {
  color: #ffffff;
  text-align: center;
}

.app-info a {
  color: #1b69d4;
  text-decoration: none;
}

.iphone-image img {
  margin: 14px auto 0;
  width: 90%;
}

.terms {
  margin-top: 8px;
}
.version-container {
  font-family: bmwRegularFont;
  font-weight: normal;
}
img {
  width: 14px;
}
.terms-box1{
    margin-right:20px;
}

@media only screen and (max-height: 666px) {
  html,
  body {
    height: 112%;
  }
}

@media only screen and (min-width: 640px) {
  html,
  body {
    height: 125%;
  }
  .app-info {
    padding-top: 300px;
  }
}
