@font-face {
  font-family: 'TT Norms Pro Bold';
  /* src: url(fonts/TT_Norms_Pro_Bold.woff2) format('woff2'), 
      url(fonts/TT_Norms_Pro_Bold.woff) format('woff'),
      url(fonts/TT_Norms_Pro_Bold.ttf)  format('truetype'),  */
  src:  local('TT Norms Pro Bold'),
        url('fonts/TT_Norms_Pro_Bold.woff')
        format('woff');
}

@font-face {
  font-family: 'TTNormsW05 Normal';
  /* src: url(fonts/TTNormsW05-Normal.woff2) format('woff2'),
      url(fonts/TTNormsW05-Normal.woff) format('woff'),
      url(fonts/TTNormsW05-Normal.ttf)  format('truetype'), */
  src:  local('TTNormsW05 Normal'),
        url('fonts/TTNormsW05-Normal.woff')
        format('woff');
}


html, body {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;


  background-size: cover;
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  /* background-image: url(./assets/img/vivo_webar_landing_bg_gradient_zip.png); */
  background-color: #1d1d1d;

  /* font-family: 'TT Norms Pro Bold', sans-serif; */
  font-family: 'TTNormsW05 Normal', sans-serif;
}

#enter {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(./assets/img/vivo_webar_landing_bg.jpg);

  text-align: center;
}

#enter .landing_gif {
  /* position: absolute;
  left: 50%;
  top: 50%; */
  width: 300px;
  /* transform: translate(-50%, -50%); */
}

#RTCloading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 4;

}

#RTCloading .process_gif {
  width: 324px;
}

#loading_gif {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}

#no_camera {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 208px;
  -webkit-appearance:none;
  background-image: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 47%, rgba(0, 0, 0, 0.9));
  background-image: -webkit-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 47%, rgba(0, 0, 0, 0.9));
  background-image: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 47%, rgba(0, 0, 0, 0.9));
  background-image: -o-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 47%, rgba(0, 0, 0, 0.9));
  background-image: -ms-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 47%, rgba(0, 0, 0, 0.9));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) 47%, rgba(0, 0, 0, 0.9));

}

#no_camera .cameraicon {
  width: 50px;
  height: 42px;
  padding: 75px 1.5px 4.6px 1.5px;
}

#no_camera .blackInfo {
  width: 280px;
  margin: 4px auto;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}

#ar_unboxing {
  width: 100%;
  position: absolute;
  top: calc(50% - 175px);
}

#video_loading {
  position: fixed;
  bottom: 40px;

  /* visibility: hidden; */
  width: 180px;
  margin: 0 auto;
}

#video_loading_bg {
  position: relative;
  margin: 0 auto;
  margin-top: 14px;
  width: 180px;
  height: 8px;
  /* opacity: 0.8; */
  border-radius: 6px;
  background-color:  #ebebeb;
  /* padding: 2px; */
}

#video_loading_status {
  position: absolute;
  width: 0px;
  max-width: 180px;
  transform: translateY(-50%);
  height: 8px;
  border-radius: 6px;
  background-image: linear-gradient(100deg, #ff5815, #edd144);
  /* animation: bg-animation 10s infinite alternate; */
  animation-iteration-count: 1;
  top: 50%;
}

#loading {
  /* visibility: hidden; */
  width: 180px;
  margin: 0 auto;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.2) 53%,
    rgba(0, 0, 0, 0.4)
  );
}

#loading_bg {
  position: relative;
  margin: 0 auto;
  margin-top: 14px;
  width: 180px;
  height: 8px;
  /* opacity: 0.8; */
  border-radius: 6px;
  background-color:  #ebebeb;
  /* padding: 2px; */
}

#loading_status {
  position: absolute;
  width: 0px;
  max-width: 180px;
  transform: translateY(-50%);
  height: 8px;
  border-radius: 6px;
  background-image: linear-gradient(100deg, #ff5815, #edd144);
  /* animation: bg-animation 10s infinite alternate; */
  animation-iteration-count: 1;
  top: 50%;
}

#loading_model_animation {
  display: none;
  position: absolute;
  top: -50px;
  left: 0;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(./assets/gif/vivo_webar_loading_animation.gif);
}

#scanning {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: transparent;
  z-index: 2;
}
#scanning img {
  width: 90%;
  margin: 0 auto;
  opacity: 0.6;
}
#scanning.hidden {
  display: none;
}

#container.hidden {
  display: none;
}

#preview {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
}
#preview-image {
  width: 100vw;
  height: 100vh;
}

#alertbox .center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);

  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;

}

#alertbox .container {
  width: 300px;
  height: 310px;
  background: white;
  border-radius: 8px;
}

#alertbox .container .icon-discard {
  width: 50vw;
  margin: 0 auto;
  padding: 32px 0 12px 0;
  /* height: 100px; */
  /*height: 300px;*/
  content: url('./assets/img/vivo_webar_discard_img@3x.png');
  /* pointer-events: none; */
  /* aspect-ratio: 450/300; */

  /* position: absolute; */
  /* left: 50%; */
  /* transform: translate(-50%, 0%); */
  /* margin-top: 3vh; */
}

#alertbox .message {
  width: 100%;
  color: #1d1d1d;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 33px;
  font-family: 'TT Norms Pro Bold', sans-serif;
}

#alertbox .btns {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
}

#alertbox .btn {
  width: 118px;
  margin: 0 8px;
  padding: 10px 0;
  text-align: center;
  color: #ff5815;
  border-radius: 25px;
  font-size: 14px;
  border: solid 1.5px #ff5815;
  background-color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

#alertbox #cancel {
  color: #ffffff;
  background-color: #ff5815;
}

#alertbox #delete:active {
  border: solid 1px #d13c00;
  color: #d13c00;
}


#alertbox #cancel:active {
  background-color: #d13c00;
}

#global {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 310px;
  -webkit-appearance:none;
  background-image: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 47%, rgba(0, 0, 0, 0.9));
  background-image: -webkit-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 47%, rgba(0, 0, 0, 0.9));
  background-image: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 47%, rgba(0, 0, 0, 0.9));
  background-image: -o-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 47%, rgba(0, 0, 0, 0.9));
  background-image: -ms-linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 47%, rgba(0, 0, 0, 0.9));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 47%, rgba(0, 0, 0, 0.9));
}

#global h2 {
  font-size: 24px;
  color: #ffffff;
  padding: 0 16px;
  margin: 0 0 12px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

#global .g_info {
  color: #ffffff;
  opacity: 0.6;
  font-size: 16px;
  padding: 0 16px;
  /* margin: 0 0 24px 0; */
}

#global .g_info_warning {
  width: 85%;
  margin: 20px auto;
  color: #ffffff;
  font-size: 16px;
  padding: 8px;
  display: flex;
  justify-content: start;
  align-items: flex-start;
  border-radius: 8px;
  border: solid 1px #ff6f5e;
  background-color: rgba(255, 111, 94, 0.1);
}

#global .g_info_warning .warning_camera {
  margin-right: 10px;
}

#global .g_info_warning p {
  margin: 0;
  padding: 0;
  text-align: left;
}

.btns_block {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
}

.ui_btn {
  min-width: 42%;
  min-height: 22px;
  line-height: 22px;
  margin: 0 8px;
  padding: 10px 0;
  text-align: center;
  color: #ff5815;
  border-radius: 25px;
  font-size: 16px;
  border: solid 1.5px #ff5815;
  background-color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

.ui_btn:active {
  border: solid 1px #d13c00;
  background-color: #d13c00;
  color: #fff;
}

#share-btn {
  position: absolute;
  left: calc(50% - 98px);
  bottom: 30px;

  width: 172px;
  height: 40px;
  background-color: #ff5815;
  border-radius: 30px;
  border: 3px solid #fff;
  transition: 0.3s;
}

#share-btn:active {
  background-color: #d13c00;
}

#share-btn .center {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#share-btn .icon-share {
  /*position: absolute;*/
  display: inline-block;
  width: 24px;
  height: 24px;
  content: url('./assets/img/vivo_webar_share_ic.svg');
  pointer-events: none;
}
#share-btn .caption {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-left: 4px;
  font-family: 'TT Norms Pro Bold', sans-serif;
}

#save-btn {
  display: none;
  position: absolute;
  left: calc(50% - 98px);
  bottom: 30px;

  width: 172px;
  height: 40px;
  background-color: #ff5815;
  border-radius: 30px;
  border: 3px solid #fff;
  transition: 0.3s;
}

#save-btn:active {
  background-color: #d13c00;
}

#save-btn .center {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#save-btn .icon-share {
  /*position: absolute;*/
  display: inline-block;
  width: 24px;
  height: 24px;
  content: url('./assets/img/vivo_webar_download_ic.svg');
  pointer-events: none;
}
#save-btn .caption {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-left: 4px;
  font-family: 'TT Norms Pro Bold', sans-serif;
}

.icon-back {
  position: absolute;
  display: inline-block;
  width: 44px;
  height: 44px;
  content: url('./assets/img/vivo_webar_back_ic.svg');
  /*pointer-events: none;*/
}

.back-btn {
  position: absolute;
  top: 12px;
  left: 12px;
}

#container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#recording_info {
  width: 100%;
  height: 40px;
  position: fixed;
  bottom: 175px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
#recording_info p {
  width: 200px;
  height: 40px;
  margin: 0 auto;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  border-radius: 8px;
  backdrop-filter: blur(100px);
  background-color: rgba(0, 0, 0, 0.8);
}
#ar_btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  bottom: 40px;
  z-index: 1;
}
#ar_btn #btn {
  position: relative;
  width: 100%;
  height: 100px;
}
#ar_btn #radius_click {
  position: absolute;
  z-index: 2;
  width: 100px;
  height: 86px;
  margin: 0 auto;
  margin-top: 19px;
  left: calc(50% - 56px);
}
#ar_btn #radius_click #start_btn {
  width: 80px;
  height: 80px;
  border-radius: 50px;
  margin: 0 auto;
  background: conic-gradient( #fff 0, #fff 10%,  #fff 10%, #fff);
  mask: radial-gradient(transparent, transparent 61%, #000 62%, #000 0);
  -webkit-mask: radial-gradient(transparent, transparent 61%, #000 62%, #000 0);
}

/* #ar_btn #radius_click #radius_btn_video {
  width: 80px;
  height: 80px;
  border-radius: 50px;
  margin: 0 auto;
  background: conic-gradient( #ff3030 0, #ff3030 10%,  #cccccc 10%, #cccccc);
  mask: radial-gradient(transparent, transparent 61%, #000 61%, #000 0);
  -webkit-mask: radial-gradient(transparent, transparent 61%, #000 61%, #000 0);
} */

#ar_btn #radius_click #radius_btn_gif {
  position: absolute;
  top: 24px;
  left: -22px;
  width: 135px;
  height: 135px;
  margin: 0 auto;
  margin-top: -48px;
  opacity: 1;
  transition: 0.5s ease-in;
}

#radius_btn_animate {
  position: absolute;
  top: -2px;
  left: 6px;
  width: 88px;
  height: 88px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-in;
  opacity: 1;
}
#radius_btn_s {
  width: 36px;
  height: 36px;
  opacity: 0.6;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: 0.5s ease-in;
}

/* #ar_btn #radius_click #radius_btn_gif:active {
  transform: scale(2);
} */

#ar_btn #btn_inner {
  position: absolute;
  left: calc(50% - 58px);
  height: 84px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  transition: 0.3s ease-in;
}
#ar_btn #btn_inner #left_btn {
  width: 72px;
  height: 72px;
  margin: 0 12px;
  border: 4px solid transparent;
  border-radius: 50px;
  transition: 0.3s ease-in;
}
#ar_btn #btn_inner #right_btn {
  width: 44px;
  height: 44px;
  margin: 0 12px;
  transition: 0.3s ease-in;
}

#switch_btn {
  position: relative;
  width: 128px;
  height: 40px;
  display: inline-block;
  border-radius: 20px;
  transition: all 0.3s ease;
  transform-origin: 20% center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
}
.bg {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}
#check_inner {
  position: absolute;
  top: 0px;
  left: 0px;
  pointer-events: none;
  transition: 0.3s ease;
}
#icon-camera {
  display: inline-block;
  width: 24px;
  height: 22px;
  content: url('./assets/img/vivo_webar_camera_ic_n@3x.png');
  /* pointer-events: none; */
}
#icon-video {
  display: inline-block;
  width: 24px;
  height: 22px;
  content: url('./assets/img/vivo_webar_video_ic_n@3x.png');
  /* pointer-events: none; */
}
#switch_btn .check {
  display: inline-block;
  position: relative;
  margin: 4px;
  border-radius: 16px;
  width: 60px;
  height: 32px;
  background: rgba(0, 0, 0, 0.2);
  /* transition: 0.4s ease; */
}

#ESG-btn {
  position: absolute;
  top: 67px;
  right: 12px;
  display: none;
  width: 44px;
  height: 44px;
  content: url('./assets/img/vivo_webar_ESG_ic.svg'); 
  /* background: #ff5815; */
  border-radius: 8px;
  z-index: 1;
}

#info-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-block;
  width: 44px;
  height: 44px;
  content: url('./assets/img/vivo_webar_close_ic.svg'); /* vivo_webar_close_ic.png & vivo_webar_info_ic@3x.png*/
  z-index: 1;
  /*pointer-events: none;*/
}
.info-board {
  position: absolute;
  top: 68px;
  left: 0vw;
  width: 100vw;
  z-index: 1;
}
.info-board .title {
  /* margin-top: 20px; */
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-family: 'TT Norms Pro Bold', sans-serif;
}
.info-board .desp {
  font-size: 16px;
  text-align: center;
  padding-top: 10px;
  /* padding-left: 10px; */
  /* padding-right: 10px; */
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);

  font-family: 'TTNormsW05 Normal', sans-serif;
}
.info-board .desp_link {
  font-size: 14px;
  color: #6bffff;
  display: block;
  margin-top: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);

  font-family: 'TTNormsW05_Normal', Fallback, sans-serif;
}
.info-board .card {
  /* position: absolute; */
  /* top: 0px; */
  max-width: 364px;
  margin: 0 auto;
  text-align: center;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 28px 0px;
}

#REC {
  position: fixed;
  z-index: 2;
  width: 100%;
  height: 100vh;
}

#tagREC {
  position: fixed;
  top: 0;
  left: calc(50% - 40px);
  z-index: 2;
  width: 80px;
  height: 32px;
  line-height: 32px;
  font-size: 16px;
  opacity: 0.9;
  border-radius: 8px;
  background-color: #ff3030;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  margin-top: 20px;
}

#video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

#video-preview #video-record {
  width: 100%;
  height: 100%;
}

@media (orientation: portrait) {
}

@media (orientation: landscape) {
  #landscape-stop {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    width: 100vw;
    height: 100vh;
    background-color: #1d1d1d;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .landscape-center {
    text-align: center;
    margin-top: -20vh;
  }
  .icon-landscape {
    display: inline-block;
    width:  200px;
    height: 200px;
    content:url('./assets/img/vivo_webar_turn_device_img@3x.png');
    pointer-events: none;
  }
  .landscape-caption {
    display: block !important;
    width: 260px;
    color: #fff;
  }
}
