@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;
}

.banner {
  background-color: #ff7f00;
  width: 100%;
}

.banner .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  padding: 150px 0px;
}

.banner .flex h2 {
  font-size: 80px;
  color: #fff;
  font-family: "SEBANG_Gothic_Bold";
  margin-bottom: 30px;
  position: relative;
  top: 100px;
  opacity: 0;
  transition: top 1s, opacity 1s;
}

.banner.on .flex h2{
  top: 0;
  opacity: 1;
}

.banner .flex h3 {
  background-color: #fff;
  font-family: "SEBANG_Gothic_Bold";
  padding: 20px 20px;
  font-size: 40px;
  text-align: center;
  border-radius: 20px;
  margin: 20px 0px;
  -webkit-box-shadow: 5px 4px 5px 0 #00000052;
          box-shadow: 5px 4px 5px 0 #00000052;
  position: relative;
  top: 100px;
  opacity: 0;
  transition: top 1s .2s, opacity 1s .2s;
}

.banner.on .flex h3{
  top: 0;
  opacity: 1;
}

.banner .flex h3 span {
  font-size: 40px;
  color: #ff7f00;
}

.banner .flex h4 {
  font-size: 70px;
  text-align: center;
  font-family: "SEBANG_Gothic_Bold";
  color: #fff;
  margin-top: 30px;
  position: relative;
  top: 100px;
  opacity: 0;
  transition: top 1s .4s, opacity 1s .4s;
}

.banner.on .flex h4{
  top: 0;
  opacity: 1;
}

.banner .flex h4 span {
  font-size: 70px;
  color: #fff664;
}

.banner img{
  transform: scale(0.5);
  opacity: 0;
  transition: opacity 1s, transform 1s;
}

.banner.on img{
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 1200px){
  .banner .flex{
    padding: 150px 15px;
  }
  .banner .flex h2{
    font-size: 60px;
  }
  .banner .flex h3{
    font-size: 40px;
  }
  .banner .flex h3 span{
    font-size: 40px;
  }
  .banner .flex h4{
    font-size: 50px;
  }
  .banner .flex h4 span{
    font-size: 50px;
  }
}

@media (max-width: 1000px){
  .banner .flex h2{
    font-size: 50px;
  }
  .banner .flex h3{
    font-size: 30px;
  }
  .banner .flex h3 span{
    font-size: 30px;
  }
  .banner .flex h4{
    font-size: 40px;
  }
  .banner .flex h4 span{
    font-size: 40px;
  }
  .banner.on img{
    width: 400px;
  }
}

@media (max-width: 800px){
  .banner .flex{
    display: inline-block;
    text-align: center;
  }
  .banner.on img{
    display: none;
  }
}

@media (max-width:500px) {
  .banner .flex h2{
    font-size: 35px;
  }
  .banner .flex h3{
    font-size: 24px;
  }
  .banner .flex h3 span{
    font-size: 24px;
  }
  .banner .flex h4{
    font-size: 35px;
  }
  .banner .flex h4 span{
    font-size: 35px;
  }
}
