


* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}


/* /////////////////////////////////////////////////// */

.btn1 {
  --color: #ff7f82;
  --hover: #ffdc7f;
}

.btn2 {
  --color: #ffa260;
  --hover: #e5ff60;
}

.btn3 {
  --color: #e4cb58;
  --hover: #94e458;
}

.btn-wrap {
  position: absolute;
  top: 20;
  /* left: 0;
  bottom: 0; */
  right: 10;
  height: 100px;
  width: 100vw;
  /* margin: auto; */
  /* z-index: 300; */
  justify-content: right;
  align-content: center;
  align-items: center;
  text-align: center;
  /* min-height: 100vh; */
  display: flex;
}

.btn-wrap button {
  font-size: 5rem;
  background: none;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 10px;
  padding: 10px 20px;
}

.btn-wrap button {
  color: var(--color);
  transition: 0.25s;
}
.btn-wrap button:hover, .btn-wrap button:focus {
  border-color: var(--hover);
  color: #fff;
}






/* /////////////////////////////////////////////////////////////// */

.popup-window {
  background-color: #22222278;
  display: -ms-grid;
  display: grid;
  grid-template:
    '. . .' 10%
    '. window .' 1fr
    '. . .' 10% / 5% 1fr 5%;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.popup-page {
  background-color: #fff;
  border-radius: 6px;
  grid-area: window;
  padding: 2%;
}

/* Class that hides popup */

.out {
  opacity: 0;
  display: none;
}

/* Keyframes for popup animation */
@-webkit-keyframes pop-up {
  from {
    opacity: 0;
    display: none;
  }
  to {
    opacity: 1;
    display: block;
  }
}
@keyframes pop-up {
  from {
    opacity: 0;
    display: none;
  }
  to {
    opacity: 1;
    display: block;
  }
}

@-webkit-keyframes away {
  from {
    opacity: 1;
    display: block;
  }
  to {
    opacity: 0;
    display: none;
  }
}

@keyframes away {
  from {
    opacity: 1;
    display: block;
  }
  to {
    opacity: 0;
    display: none;
  }
}

/* Classes for popup */
.pop-up {
  -webkit-animation-name: pop-up;
          animation-name: pop-up;
  -webkit-animation-duration: 0.25s;
          animation-duration: 0.25s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.away {
  -webkit-animation-name: away;
          animation-name: away;
  -webkit-animation-duration: 0.25s;
          animation-duration: 0.25s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}



/* //////////////////////////////////////////////////////// */


.page-start{
  font-size: 2.5rem;
  line-height: 1.5;
  position:absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  min-width: 100vw;
  background-color: #e2b29f;
  z-index:999;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-size: inherit;
  font-family: inherit;
}
#btn-start {
  font-weight: 600;
  color: #382b22;
  text-transform: uppercase;
  padding: 1.25em 2em;
  background: #fff0f0;
  border: 2px solid #b18597;
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
#btn-start::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9c4d2;
  border-radius: inherit;
  box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
#btn-start:hover {
  background: #ffe9e9;
  transform: translate(0, 0.25em);
}
#btn-start:hover::before {
  box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
  transform: translate3d(0, 0.5em, -1em);
}
#btn-start:active {
  background: #ffe9e9;
  transform: translate(0em, 0.75em);
}
#btn-start:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

.animation-container {
  position: absolute;
  top: 25vh;
  left: 0;
  right: 0;
  bottom: 25vh;
  z-index: 1;
  background: #111111;
  z-index:500;
  background-color:rgba(0,0,0,0);
}

.animation-container span {
  position: absolute;
  color: whitesmoke;
  display: block;
  font-size: 18px;
  font-family: 'Helvetica';
  text-shadow: 0 0 1px white;
  user-select: none;
  pointer-events: none;
  cursor: default;
  z-index: 1;
  opacity: 0;
  top: 0;
  will-change: transform, opacity;
  animation-timing-function: ease-out;
  animation-name: move;
}

@keyframes move {
  0% {
    opacity: 0;
    top: 100%;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

/* ////////////////////////////////////////弹出框 */
.page-popup{
  position:absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 1)
  /* z-index: 500; */
}
.form {
  position: absolute;
  background: rgba(19, 35, 47, 0.9);
  padding: 30px;
  /* max-width: 600px; */
  /* min-width: 80%;
  min-height: 80%; */
  width: 98%;
  height: 60%;
	max-width:750px;
	max-height:60%;
	margin:10px 10px;
	overflow-x:hidden;
	overflow-y:auto;
  /* border: #e4cb58 2px solid; */
  border-radius: 4px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
  
}

label {
  position: absolute;
  transform: translateY(6px);
  left: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  font-size: 22px;
}
label .req {
  margin: 2px;
  color: #1ab188;
}

label.active {
  transform: translateY(50px);
  left: 2px;
  font-size: 14px;
}
label.active .req {
  opacity: 0;
}

label.highlight {
  color: #ffffff;
}

input, textarea {
  font-size: 2rem;
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  background: none;
  background-image: none;
  border: 1px solid #a0b3b0;
  color: #ffffff;
  border-radius: 0;
  transition: border-color .25s ease, box-shadow .25s ease;
}
input:focus, textarea:focus {
  outline: 0;
  border-color: #1ab188;
}

textarea {
  border: 2px solid #a0b3b0;
  resize: vertical;
}

.field-wrap {
  position: relative;
  margin-bottom: 40px;
}

.top-row:after {
  content: "";
  display: table;
  clear: both;
}
.top-row > div {
  float: left;
  width: 48%;
  margin-right: 4%;
}
.top-row > div:last-child {
  margin: 0;
}

.abutton {
  border: 0;
  outline: none;
  border-radius: 0;
  padding: 15px 0;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: #1ab188;
  color: #ffffff;
  transition: all 0.5s ease;
  -webkit-appearance: none;

}
.abutton:hover, .abutton:focus {
  background: #179b77;
}

.button-block {
  display: block;
  width: 100%;
}

#outputBorder {
  height:280px;
  width: 280px;
  
  /* border: 1px solid black; */
  margin: auto;
  margin-bottom: 20px;
  /* background-color: #ffffff; */
  border-radius: 25px;
  box-shadow: 0 0 5px rgba(0,0,0, 0.2);

}



/* /////////////////////////////////////////////////// */

.car-box{
  width: 300px;
  height: 100px;
  /* max-height: 100px;
  max-width: 100px; */
  position: absolute;
  left: 50%;bottom: 0;
  transform: translate(-50%,0); 
  z-index: 2;
}
.car-box svg{
  width: 100%;
  height: 100%;
}
@keyframes rotate {
  100% {transform: rotate(-360deg);}
}
@keyframes movecar {
  0% {transform: translateX(300px);}
  100% {transform: translateX(-1600px);}
}
@keyframes carjitter {
  33% {transform: rotate(1deg);}
  66% {transform: rotate(1deg);}
}
.wheel, #Car, #carbody {
  transform-origin: 50% 50%; transform-box: fill-box;
}
.wheel {
  animation: rotate 2s linear infinite;
}
/* #Car {
  animation: movecar 10s linear infinite;
} */
#carbody {
  animation: carjitter .25s linear infinite;
}
/* #road {
  height: 10px;
} */


.share-des{
  font-size: 2rem;
  color: #eee;
}

.pay{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 1000px;
  max-width: 100%;
  /* 最大高度设置 */
  max-height: 1000px;
  display: block;
  /* 居中 */
  margin: 0 auto;
  margin-bottom: 20px;
}

/* div img { */
#output img{
    width:250px;
    height:250px;
    margin: 15px;
    display: inline-block !important;
    /* display: inline-block; */
    border-radius: 10px;
}