 @font-face {
   font-family: "Helvetica Neue";
   font-weight: 700;
   src: url("../font/HelveticaNeue-Bold.otf") format("otf"),
     url("../font/HelveticaNeue-Bold.woff") format("woff");
 }

 @font-face {
   font-family: "Helvetica Neue";
   font-weight: 300;
   src: url("../font/HelveticaNeue-Light.otf") format("otf"),
     url("../font/HelveticaNeue-Light.woff") format("woff");
 }

 @font-face {
   font-family: "Poppins";
   font-weight: 500;
   src: url("../font/Poppins-Medium.ttf") format("ttf"),
     url("../font/Poppins-Medium.woff") format("woff");
 }

 @font-face {
   font-family: "Pretendard";
   font-weight: 600;
   src: url("../font/Pretendard-SemiBold.otf") format("otf"),
     url("../font/Pretendard-SemiBold.woff") format("woff");
 }

 @font-face {
   font-family: "Pretendard";
   font-weight: 500;
   src: url("../font/Pretendard-Medium.otf") format("otf"),
     url("../font/Poppins-Medium.woff") format("woff");
 }

 @font-face {
   font-family: "Pretendard";
   font-weight: 400;
   src: url("../font/Pretendard-Regular.otf") format("otf"),
     url("../font/Pretendard-Regular.woff") format("woff");
 }



 /* This used to work for the parent element of button divs */
 /* But it does not work with newer browsers, the below doesn't hide the play button parent div */
 video::-webkit-media-controls {
   display: none !important;
 }

 *::-webkit-media-controls-panel {
   display: none !important;
   -webkit-appearance: none;
 }

 /* Old shadow dom for play button */

 *::-webkit-media-controls-play-button {
   display: none !important;
   -webkit-appearance: none;
 }

 /* New shadow dom for play button */

 /* This one works! */

 *::-webkit-media-controls-start-playback-button {
   display: none !important;
   -webkit-appearance: none;
 }


 html * {
   margin: 0;
   padding: 0;
 }

 * {
   box-sizing: border-box;
 }

 .first-screen {
   position: relative;
   background-color: #1BFF75;
   z-index: 100;
 }



 .first-screen:hover>.first-screen-cursor {
   visibility: visible;
 }

 .first-screen:not(:hover)>.first-screen-cursor {
   visibility: hidden;
 }

 .first-screen-cursor {
   z-index: 100;
   position: absolute;
   transform: translate(-50%, -50%) scale(0.8);
   z-index: 10;
   pointer-events: none;
   visibility: hidden;
 }

 .first-font {
   font-family: "Helvetica Neue", sans-serif;
   font-weight: 700;
   font-style: normal;
   font-size: 18px;
   line-height: 18px;
 }


 input,
 button {
   border: none;
   display: block;
   /*border-radius:4px 가능 */
 }

 input {
   height: 48px;
 }

 textarea {
   height: 96px;
 }

 input,
 textarea {

   border: none;
   outline: 1px solid black;
   padding: 11px 16px;
   width: 100%;
 }

 input:focus,
 input:active,
 button:focus,
 button:active {
   box-shadow: none;
 }

 .modal {
   display: none;
 }

 .modal.is-open {
   display: block;
 }

 .swiper-wrapper {
   transition-timing-function: linear !important;
 }

 .first-screen {
   overflow: hidden;
 }

 .first-screen .camera-button {
   width: 100%;
   height: 100%;
 }

 .first-screen .receipt-slide-hidden {
   position: absolute;
   overflow: hidden;
   z-index: 21;
 }

 .first-screen .receipt-slide {
   position: absolute;
   width: 100%;
   /*  height: 11.91vw;  21.08vh; */
 }

 .first-screen .receipt-slide>img {
   width: 100%;
   height: 100%;
 }

 .first-screen .card-wrapper {
   position: relative;
   width: 10vw;
   height: 16.11vw;
   transform: rotateY(0deg) rotateZ(-22deg);
   /* Y축을 기준으로 -22도 기울임 */
   -webkit-animation: rotate 3s linear infinite;
   -moz-animation: rotate 3s linear infinite;
   animation: rotate 3s linear infinite;
   z-index: 10000;
   transform-origin: center;
   transform-style: preserve-3d;
 }

 .first-screen .card {
   position: absolute;
   background-repeat: no-repeat;
   background-position: center;
   background-size: contain;
   background-image: url('../image/card-front.png');
   width: 100%;
   height: 100%;
   z-index: 9000;
 }

 .first-screen .card-wrapper .card-front {
   position: absolute;
   width: 100%;
   height: 82%;
   border-radius: 5px;
   clip-path: polygon(2% 25%, 2% 0, 100% 0, 100% 100%, 2% 100%, 2% 79%, 8% 69%, 8% 36%);
 }

 .first-screen .card-wrapper .card-back {
   position: absolute;
   width: 100%;
   height: 82%;
   border-radius: 5px;
   background-image: url(../image/card-back.png);
   backface-visibility: hidden;
   transform: rotateY(180deg);
   background-repeat: no-repeat;
   background-size: cover;
 }


 .first-screen>img {
   z-index: 8000;
 }

 @-webkit-keyframes rotate {
   100% {
     -webkit-transform: rotateY(360deg) rotateZ(-22deg);
   }

   /* 22도에서 시작해서 Y축으로 360도 회전 */
 }

 @-moz-keyframes rotate {
   100% {
     -moz-transform: rotateY(360deg) rotateZ(-22deg);
   }
 }

 @keyframes rotate {
   100% {
     transform: rotateY(360deg) rotateZ(-22deg);
   }
 }

 body {
   word-break: keep-all !important;
 }

 .first-screen .camera .frame {
   position: relative;
   z-index: 20;
 }

 .first-screen .camera {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translateX(-50%) translateY(-50%);
 }

 .first-screen .camera .button-container {
   position: absolute;
   bottom: -8.8%;
   left: 10%;
   display: inline-block;
   overflow: hidden;
   z-index: 30;
 }

 .first-screen .camera .camera-time {
   position: absolute;
   width: 8vw;
   height: 8vw;
   color: white;
   font-family: "Helvetica Neue", sans-serif;
   text-align: center;
   display: flex;
   justify-items: center;
   justify-content: center;
   align-items: center;
   opacity: 0;
   z-index: 30;
 }

 .first-screen .camera .camera-video {
   position: absolute;
   object-fit: cover;
   left: 50%;
   top: 39%;
   transform: translateX(-50%) translateY(-65%);
   z-index: 1;
 }

 .second-image-item.first {
   transition: all 1s ease-out 0s;
 }

 .second-image-item.second {
   transition: all 1s ease-out 0.8s;
 }

 .second-image-item.third {
   transition: all 1s ease-out 1.6s;
 }

 .five-screen .swiper-slide {
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: black;
   padding: 5.5px 0 5.5px 0;
 }

 .five-log-slider {
   height: 84px;
   background-color: black;
 }

 .receipt-slide-hidden .first {
   position: absolute;
   top: 0;
   left: 0;
   height: 1.8vw !important;
   display: block !important;
 }

 .receipt-slide-hidden .noShow {
   display: none;
 }