 body {
   background-color: #2FC1A7;
   width: 100%;
   height: 100%;
   margin: 0;
   overflow: hidden;
   position: relative;
 }
 img{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
 }
 .untouchable {
  pointer-events:none;
 }

 .bg-text {
   position: absolute;
   left: 0;
   top: -8%;
   width: 100%;
   height: 100%;
   overflow: hidden;
   object-fit: cover;
   pointer-events: none;
   z-index: -1;
 }

 .page-container {
   display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 100%;
   margin: 0;
   overflow: hidden;
   position: relative;
 }

 .info-btn {
   position: absolute;
   z-index: 2;
   width: 10%;
   height: 10vw;
   right:5vw;
   top: 5vw;
 }



 .img-instruction {
   /* margin-top: 3.01%; */
   /* height: 69.89% */
   height:91%;
 }

 .img-index {
   margin-top: 4.01%;
   height: 0.9%
 }

 .button-upload {
   margin-top: 4.01%;
   height: 9.8%;
 }

 .text-copyright {
   margin-bottom: 4.01%;
   height: 2.76%;
 }

 .manual-div{
  display: flex;
  flex-direction: row;
  margin-top: 3.01%;
   height: 69.89%;
   width: 80%;
 }

 .manual-canvas{
  margin:auto;
   /* width: 100%; */
   /* border: 1.5vw solid #5d5d5d; */
   /* transition: all 1.5s; */
   /* position:relative; */
   z-index:-1;
 }


 
 .button-rect{
  margin-top: 8.29%;
   height: 7.32%
 }

 #slider-threshold{
  width: 100%;
 }



 #process{
  display: none;
  /* position: absolute; */
  left: 0;
   top: 0;
   z-index: 999;
 }

 #process *{
  margin-top: 10px;
}

 #log-message {
  margin-left:20px;

}

 #patch-canvas{
  position: absolute;
   left: 40%;
   top: 20%;
   width: 120px;
   height: 120px;
}

/* input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
} */

.page-container > .page{
  display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 100%;
   margin: 0;
   overflow: hidden;
   /* transition: all 0.5s; */
 }
.hide {
  opacity: 0;
  /* transition: all .5s; */
  z-index: -1;
  user-select: none;
}
.page2 {
  position: absolute;
  top: 0;
}

.page3 .result-container{
  /* width: 80% !important; */
}
.page3 .preview{
  /* width: 250% !important; */
  margin-right: 0;
}

.result-placeholder{
  position: relative;
  width: 100%;
  height: 61.04%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* animation: width, height .8s; */
}
.result-container{
  /* position: relative;
    height: 61.04%;
    */
    position: relative;
    border-radius: 4vw;
    border: 1.5vw solid #5d5d5d;
    /* transition: all .8s; */
    overflow: hidden; 
    margin: auto;
    z-index: 0;
}
.result-container .preview{
  /* width: 100%; */
  overflow: hidden;
  float: right;
  /* transition: all .8s; */
}
.resultImage {
  position: absolute;
  left:0;top:0;
  width:100%;
  border-radius: 3vw;
  opacity: 0;
}
.processModal{
  border-radius: 1.5vw;
  /* animation: opacity 4s; */
}
.page3 .resultImage {
  display: none;
}
.img-tip {
  width: 100%;
  position: absolute;
  display: none;
}
.img-tip-2{
  width: 100%;
  position: absolute;
  display: none;
}
.img-tip-error{
  width: 100%;
  position: absolute;
  display: none;
}

.appraise {
  /* width: 65%; */
  display: flex;
  flex-direction: row;
  /* justify-content:space-around; */
  justify-content:space-evenly;
  /* transition: all 1s; */
  height: 48.8%;
  width: 70%;
}
.appraise img{
  /* width: 14%; */
  /* margin: 0px 4%; */
  align-self: center;
  height:100%;
}
.feedback-panel{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 9.11%;
  justify-content: center;
  align-items: center;
  margin-top: 6%;
  /* animation: width, height 4s; */
}
.page2 .indicator {
  display: none;
}
.page3 .indicator {
  display: block;
}
.page2-btns, .page3-btns {
  /* width: 80%; */
  margin-top: 8%;
  display: flex;
  flex-direction: row;
  justify-content:center;
  /* transition: all 1s; */
  height: 7.32%;
  width: 100%;
}
.page3-btns{
  display: none;
}
.btn{
  height:100%;
  align-self: center;
}

.slider-container{
  display: none;
  width: 90%;
  height:40.91%;
  margin-top: 6%;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.slider-label{
  align-self: flex-start;
  height: 80%;
  margin-bottom: 5%;
}

.slider{
   margin-bottom: 5.5%;
  }

  .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 46%;
    background: #ffffff;
    outline: none;
    opacity: 1;
    -webkit-transition: .5s;
    transition: all .5s;
    border-radius: 1vw;
  }
  
  /* .slider:hover {
    opacity: 1;
  } */
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 1vw solid #ffffff;
    background: #19A48B;
    cursor: pointer;
    -webkit-transition: .5s;
    transition: all .5s;
  }
  
  .slider::-moz-range-thumb {
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 1vw solid #ffffff;
    background: #19A48B;
    cursor: pointer;
    -webkit-transition: .5s;
    transition: all .5s;
  }
  .slider:disabled {
    -webkit-appearance: none;
    width: 100%;
    height: 46%;
    background: #ffffff;
    outline: none;
    opacity: 0.5;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 1vw;
    
  }
  .slider:disabled::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 1vw solid #ffffff;
    background: #5d5d5d;
    cursor: pointer;
  }
  
  .slider:disabled::-moz-range-thumb{
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 1vw solid #ffffff;
    background: #5d5d5d;
    cursor: pointer;
  }
 
/* input[type="range"] {
  background-color: aquamarine;
  margin: 5px;
  -webkit-appearance: none;
  height: 1px;

}
input[type="range"]::-webkit-slider-thumb{
  background-image: url('assets/page3/slider-handler.png');
  background-size: 100% 100%;
} */

.page3 .appraise, .page3 .tip, .page3 .page2-btns {
  display: none;
  z-index: -1;
  /* transition: all 0.5s; */
}
.page3 .slider-container, .page3 .page3-btns{
  display: flex;
}

.modal {
  position: absolute;
  top:0;left:0;
  z-index: 1000;
  background-color: #4f4f4fc4;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal .alert{
  background-color: #ffffff;
  width: 70%;
  border-radius: 10px;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content:space-evenly;
  align-items: center;
}
.modal .msg{
  margin: 30px 0px 10px;
}
.modal a{
  text-decoration: none;
  color: #367ebd;
  margin: 0px 0px 10px 0px;
  font-size: .7rem;
  font-weight: bold;
}
.modal img {
  width: 60%;
}

swiper-container {
  width: 100%;
  /* height: 140vw; */
  height:80.29%
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-slide img {
  /* display: block;
  width: 60%; */
  
}
:root{--swiper-theme-color:#ffffff}

.info-panel{
  position: absolute;
  width:100%;height:100%;
  z-index: 1001;
  top:0;left:0;
  display: none;
  opacity: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #00000070;
  /* backdrop-filter: blur(5px); */
  overflow:auto;
  padding-top:4%;
}
.blur {
  filter: url(blur.svg#blur); /* IE10, IE11 */
  -webkit-filter: blur(10px); /* Chrome, Opera */
  -moz-filter: blur(10px);
  -ms-filter: blur(10px);   
  filter: blur(10px);
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */
}
.info-panel img:nth-child(1) { margin-bottom: 5%; }
.info-panel img:nth-child(2) { margin-bottom: 10%; }
.info-panel img:nth-child(3) { margin-bottom: 1%; }
.info-panel img:nth-child(4) { margin-bottom: 10%; }