@font-face {
  font-family: 'SEBANG_Gothic_Bold';
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/SEBANG_Gothic_Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NEXON Lv1 Gothic OTF Light';
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NEXON Lv1 Gothic OTF Bold';
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.view {
  width: 100%;
  background-color: #fffef0;
}

.view .flex {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  padding: 100px 0px;
}

.view .flex ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.view .flex ul li:nth-child(1){
  position: relative;
  left: -100px;
  opacity: 0;
  transition: left .5s, opacity .5s;
}

.view .flex ul li:nth-child(2){
  position: relative;
  right: -100px;
  opacity: 0;
  transition: right .5s, opacity .5s;
}

.view.on .flex ul li:nth-child(1){
  left: 0px;
  opacity: 1;
}

.view.on .flex ul li:nth-child(2){
  right: 0px;
  opacity: 1;
}

.view .flex ul li:first-child h2 {
  font-size: 60px;
  font-family: "SEBANG_Gothic_Bold";
  color: #1a2a5f;
  line-height: 1.2;
  margin-bottom: 20px;
}

.view .flex ul li:first-child h2 span {
  font-size: 60px;
  color: #ff7f00;
  line-height: 1.2;
}

.view .flex ul li:first-child p {
  font-size: 24px;
  font-family: "NEXON Lv1 Gothic OTF Light";
  line-height: 1.2;
}

.view .flex > div {
  background-color: #ff7f00;
  text-align: center;
  padding: 20px 0px;
  border-radius: 100px;
  margin-top: 30px;
  transform: scale(0.5);
  transition: transform .5s .5s, opacity .5s .5s;
  opacity: 0;
}

.view.on .flex > div {
  transform: scale(1);
  opacity: 1;
}

.view .flex > div p {
  font-size: 26px;
  font-family: "NEXON Lv1 Gothic OTF Light";
  color: #fff;
}

.view .flex > div h3 {
  font-size: 45px;
  font-family: "SEBANG_Gothic_Bold";
  color: #fff;
  margin: 10px 0px;
}

.view .flex > div span {
  font-size: 45px;
  font-family: "SEBANG_Gothic_Bold";
  color: #fff664;
}

@media(max-width:1000px){
  .view .flex ul{
    gap: 30px;
  }
  .view .flex ul li:first-child h2{
    font-size: 40px;
  }
  .view .flex ul li:first-child h2 span{
    font-size: 40px;
  }
  .view.on .flex ul li:nth-child(2) img{
    width: 100%;
  }
  .view .flex > div h3{
    font-size: 35px;
  }
  .view .flex > div span{
    font-size: 35px;
  }
}

@media(max-width:800px){
  .view .flex ul{
    text-align: center;
    flex-direction: column;
  }
  .view .flex ul li:first-child h2 br:nth-child(3){
    display: none;
  }
  .view .flex > div p{
    font-size: 20px;
  }
  .view .flex > div h3{
    font-size: 28px;
  }
  .view .flex > div span{
    font-size: 28px;
  }
}

@media(max-width:600px){
  .view .flex ul li:first-child h2{
    font-size: 30px;
  }
  .view .flex ul li:first-child h2 span{
    font-size: 30px;
  }
  .view .flex ul li:first-child p{
    font-size: 20px;
  }
  .view .flex > div p{
    font-size: 16px;
  }
  .view .flex > div h3{
    font-size: 20px;
    margin: 5px 0px;
  }
  .view .flex > div span{
    font-size: 20px;
  }
}

@media (max-width:500px) {
  .view .flex ul li:first-child h2{
    font-size: 22px;
  }
  .view .flex ul li:first-child h2 span{
    font-size: 22px;
  }
  .view .flex > div p{
    font-size: 14px;
  }
  .view .flex > div h3{
    font-size: 14px;
  }
  .view .flex > div span{
    font-size: 14px;
  }
}