@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@100;300;400;600;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&display=swap');
*{
  text-decoration: none;
  box-sizing:border-box;
  font-family: 'Encode Sans Condensed', sans-serif;
}
input::placeholder {
  color:#ccc;
}
html,body{
  width:100%;
  height:100%;
  overflow: hidden;
}
.barcode{
  font-family: 'Libre Barcode 128 Text', cursive;
}

#main_wrap{
  width:100%;
  height:100%;
  overflow: hidden
}
#main_wrap .main_layout{
  height:100%;
  display: flex;
  overflow: hidden;
}
#main_wrap .main_layout > li{
  height:0;
  width:30%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  text-align: center;
  transition:all 0.5s;
  background: #dbdbdb8f;
  position: relative;
  overflow:hidden;
}
#main_wrap .main_layout > li:first-child{
/*   background:#a9a9a9; */
  background:#fff;
  width:70%;
}
#main_wrap .main_layout > li.on{
  height: 100%;
  opacity:1;
}
#main_wrap .main_layout > li:first-child > *{
}
#main_wrap .main_layout > li h1{
  width:100%;
  font-size:65px;
  line-height:130%;
  color:#383838;
  font-weight:900;
  margin:0 0 10%;
  position: relative;
  letter-spacing: 7px;
  text-transform: uppercase;
  color:#bfbfbf;
  overflow:hidden;
}
#main_wrap .main_layout > li h1.on{
  transition: all 1s;
}
#main_wrap .main_layout > li h1 span{
  position:relative;
  bottom:-200px;
  transition: all 1s;
}
#main_wrap .main_layout > li h1 .barcode{
  font-size:50px;
  padding:15px 20px;
  line-height:100%;
  background:#252525;
  color:#fff;
  border-radius: 2px;
  margin:0 0 15px;
  display: inline-block;
  letter-spacing:0;
  position:relative;
  transition: all 1s;
  opacity: 0;
  bottom:-50%;
  display: none;
}
#main_wrap .main_layout > li h1.on .barcode{
  bottom:0;
}
#main_wrap .main_layout > li h1 .barcode.on{
  opacity: 1;
}
#main_wrap .main_layout > li h1.on span{
  opacity: 1;
  bottom:0;
}

#main_wrap .main_layout > li > p:hover{
  position:relative;
  scale : 1.1;
}
#main_wrap .main_layout > li > p span{
  display: inline-block;
  padding:15px 10px;
  background:#ff7c7c;
  color: #fff;
  font-family: 'Pretendard Variable';
}
#main_wrap .main_layout > li.on .input_wrap{
  display: block;
  border-radius: 5px;
  opacity: 0;
  position: relative;
  opacity: 0;
  max-width:500px;
  width:100%;
  display: flex;
  flex-wrap: wrap;
}
#main_wrap .main_layout > li.on .input_wrap.on{
  opacity: 100;
}
#main_wrap .main_layout > li.on .input_wrap input{
  width:65%;
  line-height:60px;
  border-radius: 5px 0 0 5px;
  border:2px #333 solid;
  padding:0 2%;
  font-family: 'Pretendard Variable';
  font-size:20px;
  letter-spacing:3px;
  font-weight:500;
}
#main_wrap  .main_layout > li.on .input_wrap input:focus{
  outline: none !important; 
  border-color: #ffc24e; 
}
#main_wrap .main_layout > li .checkbox{
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
}
#main_wrap .main_layout > li .checkbox input[type="checkbox"]{
  display: none;
}
#main_wrap .main_layout > li .checkbox input[type="checkbox"] + label{
  letter-spacing: 1px;
  font-size:12px;
  line-height:50px;
  font-weight:300;
  position: relative;
  padding:0 0 0 30px;
  cursor: pointer;
}
#main_wrap .main_layout > li .checkbox input[type="checkbox"] + label::after{
  content:"";
  position: absolute;
  width: 20px;
  height:20px;
  left: 0;
  top:-4px;
  border:2px solid #ccc;
  border-radius:5px;
  display: block;
}
#main_wrap .main_layout > li .checkbox input[type="checkbox"]:checked + label::after{
  content:'✔';
  font-size:15px;
  text-align: center;
  position: absolute;
  left: 0;
  top:-4px;
  border:2px solid #ccc;
  line-height:18px;
  cursor: pointer;
  display: block;
  width: 20px;
  height: 20px;
}
#main_wrap .main_layout > li.on .input_wrap .make_btn{
  width:35%;
  border-radius: 0 5px 5px 0;
  border:0;
  cursor: pointer;
  background:#fe7670;
  color: #fff;
  font-weight: 900;
  border:2px #fe7670 solid;
}
.bncard_wrap{
  max-width:500px;
  width:80%;
  background:#fff;
  border-radius:10px;
  height:280px;
  box-shadow: 5px 5px 10px #ccc;
  position:relative;
  border-top:5px #66ab62 solid;
  overflow:hidden;
  display:none;
  transition:all 0.5s;
  transform:rotate(0deg);
  opacity: 0;
  margin:15% 0 0 0;
}
#main_wrap .main_layout li > p input{
  border:1px #f00 solid;
  display: block;
  line-height:50px;
  padding:0 2%;
  font-size:20px;
  font-weight:600;
  font-family: 'Pretendard Variable';
  margin:20px 0 0 0;
  background:#fff;
  border:3px #333 solid;
  width:80%;
}
#main_wrap .main_layout li .make_btn{
  width:20%
}
.bncard_wrap.on{
  display:block;
  opacity:1;
  animation:card 1s ease-in-out;
  transform:rotate(-30deg);
  left: -60%;
}
.bncard_wrap.on:hover{
  left: -20%;
  transform:rotate(0deg);
}
.bncard_wrap p{
  border-radius:0;
  position:absolute;  
}

.bncard_wrap .logo{
  position:absolute;
  background:url(../images/logo.png) no-repeat left top;
  width: 70%;
  height: 90%;
  background-size: contain;
}
.bncard_wrap .txt{
  position: absolute;
  top:12%;
  left:19%;
}
.bncard_wrap .txt span{
  font-size:25px;
  font-weight:600;
  color:#333;
}
.bncard_wrap .person{
  position:absolute;
  width:180px;
  height:100%;
  right:5%;
  background: url(../images/main/person_bg.png) no-repeat center bottom;
  background-size:contain; 
}
.bncard_wrap .person .eyes{
  background: url(../images/main/eyes.png) no-repeat center center;
  position: absolute;
  width:100%;
  left:0;
  height: 20px;
  top:30%;
  opacity: 0;
}
.bncard_wrap .person .mouse{
  position: absolute;
  width:100%;
  left:0;
  top:40%;
  background: url(../images/main/mouse.png) no-repeat center center;
  height: 40px;
  opacity: 0;
}
.bncard_wrap .person b.on{
  opacity: 1;
}
#typing {
  display: inline-block;
  animation-name: cursor;
  animation-duration: 0.3s;
  animation-iteration-count: infinite;
}
@keyframes cursor{
   0%{border-right: 1px solid #fff}
   50%{border-right: 1px solid #000}
   100%{border-right: 1px solid #fff}
}


@media(max-width:1024px){
  #main_wrap .main_layout > li:first-child{
    width:70%
  }
  #main_wrap .main_layout > li{
    width:30%;
  }
  .bncard_wrap{
    width:100%;
  }
  #main_wrap .main_layout > li h1{
    font-size:50px;
  }
  #main_wrap .main_layout > li > p{
    font-size:18px;    
  }
  #main_wrap .main_layout > li.on .input_wrap {
    max-width: 450px;
  }
  #main_wrap .main_layout > li.on .input_wrap input{
    font-size:18px;
  }
}
@media(max-width:960px){
  #main_wrap .main_layout > li:first-child{
    width:100%;
    z-index: 1;
  }
  #main_wrap .main_layout > li{
    width:0;
  }
  .bncard_wrap.on{
    display: none;
  }
}

@media(max-width:640px){
  .swal-modal{
    width: 70%;
  }
  .swal-modal > *{
    font-size:1rem;
    letter-spacing: 2px;
  }
  #main_wrap .main_layout > li h1{
    font-size:32px;
    margin: 0 0 20%;
  }
  #main_wrap .main_layout > li h1 p{
    margin:15px 0 10px 0;
    font-size:1.5rem;
  }
  #main_wrap .main_layout > li.on .input_wrap{
    max-width:320px;
    width:90%;
  }
  #main_wrap .main_layout > li.on .input_wrap input{
    font-size:16px;
    padding:0 15px;
    line-height:40px;
  }
  #main_wrap .main_layout > li h1 .barcode{
    padding:2% 3%;
    font-size:3rem;
    margin:0 0 7%;
  }
}


/* ANIMATION : S*/

@-webkit-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
@-moz-keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}
@keyframes blink{
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes card{
  0% {
    left:0;
    transform:rotate(0deg);
    opacity:0;
  }
  100% {
    left:-60%;
    transform:rotate(-30deg);
  }
}
@-moz-keyframes card{
  0% {
    left:0;
    transform:rotate(0deg);
    opacity:0;
  }
  100% {
    left:-60%;
    transform:rotate(-30deg);
  }
}
@keyframes card{
  0% {
    left:0;
    transform:rotate(0deg);
    opacity:0;
  }
  100% {
    left:-60%;
    transform:rotate(-30deg);
  }
}
