@font-face{
    font-family: NotoSansCJKkr-Bold, NotoSansCJKkr-Medium;
    src: url('../fonts/NotoSansCJKkr-Bold.otf') format('woff'),
         url('../fonts/NotoSansCJKkr-Medium.otf') format('woff');
}
*{
    margin:0;
    box-sizing: border-box;
    font-family: NotoSansCJKkr-Medium;
    font-weight: 500;
    color: #333333;
}
.background{
    width: 100vw;
    bottom: 0;
    position: fixed;
    display: inline-flex;
    justify-content: center;
    align-items: flex-end;
    flex-grow: 1;
    flex-shrink: 1;
    z-index: -1;
}
.background img{
    bottom: 0;
    height: 100%;
    display: none;
}
.background img:first-of-type{
    display: block;
    margin-bottom: 30px;
}
.background img:nth-of-type(2){
    position: relative;
    bottom: 190.7px;
}
.background img:nth-of-type(3){
    position: relative;
    left: -130px;
    bottom: -48.9px;
}
.background img:last-of-type{
    position: relative;
    left: -100px;
    bottom: -80px;
}
.wrap {
    max-width: 500px;
    display:flex;
    flex-direction: column;
    align-items: center;
}
.title{
    min-width:335px;
    font-size:14px;
    display:flex;
    justify-content: center;
    align-items: center;
    margin-bottom:30px;
    margin-top:20px;
}

.title a{
    display:flex;
    height: 20px;
}

.title img{
     width:100px;
     height:auto;
     margin-right:6px;
}

 #mainForm{
     min-width:335px;
     display:flex;
     flex-direction: column;
     align-items: center;
 }

 .mainForm__input {
   min-width: 335px;
   min-height: 42px;
   font-size: 14px;
   background: none;
   border:none;
   background:url(../images/textfield-bg.png) no-repeat center center;
   margin-bottom:12px;
   padding:11px 12px;
}
.mainForm__input::placeholder{
    color: #aaa;
}

.mainForm__text > p{
    text-align: center;
    font-size: 11px;
  }

.text__span{
    font-size:12px;
    font-weight: bold;
    font-family: NotoSansCJKkr-Bold;
    background:url(../images/light-img.png) no-repeat center bottom;
    background-size: 80px 5px;
}

.text__small{
    font-size:9px;
    margin-top:4px;
    color:#999999;
}

.mainForm__button {
  min-width: 335px;
  height: 48px;
  background:#ffc400;
  border:none;
  border-radius: 50px;
  color:#ffffff;
  font-size:16px;
  margin-top:70px;
  outline: none;
  cursor: pointer;
}

@media (min-width:500px){
    .wrap{
        max-width:100%;
    }
}
@media(max-width:500px){    
    .background img:first-of-type{
        width:267.5px;
        height:218.5px;
    }
}
@media(min-width:1335px){
    .background img{
        display: block;
    }
}