@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-2ExtraLight.woff')
    format('woff');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff')
    format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-1Thin.woff')
    format('woff');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff')
    format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff')
    format('woff');
  font-weight: 500;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'S-CoreDream';
  word-break: keep-all;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: #000;
}

.copyright,
.copyright span {
  font-size: 10px !important;
  margin-top: 16px;
}

@media screen and (min-width: 481px) {
  .title h1 {
    font-weight: 300;
    margin: 0;
    padding-left: 40px;
  }

  /*intro*/
  #intro a {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }
  .intro_video {
    position: absolute;
    width: 900px;
    top: 48%;
    left: 48%;
    transform: translate(-50%, -50%);
    display: block;
  }
  .topnav {
    display: none;
  }
  .title h1 {
    font-weight: 300;
    margin: 0;
    padding-left: 40px;
  }

  /*index*/
  #menu {
    width: 150px;
    padding-right: 40px;
    padding-top: 40px;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 150px;
  }
  .select {
    font-weight: 500;
  }
  .logo {
    display: inline-block;
  }
  .logo img {
    width: 150px;
  }
  #list {
    font-size: 15px;
    font-weight: 500;
    margin-top: 40px;
    border-bottom: 0.5px solid #000;
    margin-bottom: 30px;
  }
  #list li {
    margin-bottom: 20px;
  }
  #list li:last-child {
    margin-bottom: 34px;
  }
  .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  #side {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 150px;
    display: flex;
    flex-direction: column;
    justify-content: start;
  }
  #main {
    width: 1180px;
    max-width: 1180px;
    margin-top: 120px;
    margin-bottom: 150px;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 1180px;
  }
  .title {
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    width: 1140px;
  }
  .title img {
    height: 74px;
    padding-left: 40px;
  }
  .sub_menu {
    display: inline-block;
    font-size: 15px;
    font-weight: 200;
    margin: 0;
  }
  .sub_menu li {
    display: inline-block;
    padding-left: 40px;
  }
  .slogan {
    font-size: 14px;
    font-weight: 200;
    font-style: italic;
    line-height: 34px;
  }
  #footer {
    width: 150px;
    padding-right: 40px;
    padding-bottom: 30px;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 150px;
  }
  .contact {
    font-weight: 400;
    font-size: 13px;
    margin-top: 50px;
  }
  .email {
    margin-bottom: 10px;
    line-height: 24px;
  }
  .address {
    line-height: 24px;
    margin-bottom: 0px;
  }
  .address img {
    height: 14px;
  }
  .contact p span {
    font-weight: 200;
    display: inline-block;
    font-size: 11px;
  }
  .main_content {
    margin-left: 40px;
    margin-top: 60px;
  }
  .text_content {
    margin-top: 110px;
  }
  .text_title {
    font-weight: 500;
    font-size: 18px;
    display: inline-block;
    margin-top: 0;
    vertical-align: top;
    width: 200px;
    line-height: 26px;
  }
  .text_title span {
    color: #aaaaaa;
    font-size: 16px;
  }
  .text_box {
    font-weight: 400;
    font-size: 15px;
    display: inline-block;
    margin-top: 0;
    vertical-align: top;
    line-height: 28px;
  }
  .download_text {
    font-size: 13px;
    margin-top: 0px;
  }
  .text_box span {
    display: block;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 4px;
  }
  .about_gif {
    width: 960px;
  }

  .box li {
    display: inline-block;
    width: 276px;
    height: 276px;
    border: 1px solid #000;
    margin-right: 74px;
    padding: 18px;
    vertical-align: top;
    margin-top: 50px;
  }
  .box li:nth-child(3n) {
    margin-right: 0;
  }

  .thebackendbox {
    font-size: 0;
    width: 100%;
  }
  .thebackendbox li {
    display: inline-block;
    border: 1px solid #000;
    vertical-align: top;
    width: 44.6%;
    border-collapse: collapse;
    padding: 14px;
  }
  .thebackendbox li p {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: -0.3px;
  }
  .thebackendintro h1 {
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 26px;
  }
  .thebackendintro p {
    letter-spacing: -0.3px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 22px;
    width: 88%;
    margin-bottom: 50px;
  }
  .thebackendbox li h3 {
    font-size: 13px;
    margin: 0;
    color: gray;
    font-weight: 400;
  }
  .thebackendbox li h2 {
    font-size: 18px;
  }
  .thebackendbox li .arrow {
    margin-top: 10px;
  }
  .thebackendbox li:nth-child(2n) {
    margin-left: 2%;
  }
  .thebackendbox li:nth-child(n + 3) {
    margin-top: 20px;
  }
  h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.5em;
  }
  .box h3 {
    margin: 0;
    font-size: 14px;
    margin-top: 4px;
    color: gray;
  }
  .box p {
    font-size: 14px;
    line-height: 26px;
    margin-top: 24px;
    height: 168px;
  }
  .arrow {
    width: 32px;
    float: right;
  }

  .noimage {
    margin-top: 0 !important;
  }
  .grid {
    width: 740px;
    padding-top: 2px;
  }
  .clear {
    width: 300px;
  }
  .sig {
    width: 740px;
  }
  .clr {
    width: 860px;
  }

  .end {
    color: rgba(0, 0, 0, 0.6) !important;
  }

  .box h4 {
    font-size: 12px;
    margin-top: 6px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.8em;
  }

  .history {
    margin: 0 auto;
    width: 1000px;
    font-size: 0;
  }
  .leftside {
    width: 494px;
    text-align: right;
    display: inline-block;
    vertical-align: top;
  }
  .leftside h1 {
    font-size: 36px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8);
    margin-top: 0;
    display: inline-block;
    text-align: left;
    vertical-align: top;
    line-height: 46px;
    margin-left: 10px;
    margin-bottom: 0;
  }
  .leftside div {
    margin-bottom: 70px;
  }
  .afi_history {
    margin-bottom: 46px !important;
    padding-right: 58px;
  }

  .left_line {
    margin-left: -18px;
  }
  .history p {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    margin-top: 14px;
  }
  .leftside p {
    padding-right: 18px;
  }
  .history p span {
    display: block;
    line-height: 28px;
    margin-top: 10px;
    font-weight: 400;
    font-size: 16px;
  }

  .rightside {
    width: 494px;
    display: inline-block;
    vertical-align: top;
  }
  .rightside div {
    margin-bottom: 70px;
  }
  .rightside div p {
    padding-left: 18px;
  }
  .timeline {
    width: 1px;
    background-color: #000;
    display: inline-block;
    height: 2115px;
  }

  .afi_history img {
    width: 130px;
  }

  @keyframes fadein {
    from {
      opacity: 0;
    }
    to {
      opacity: 100;
    }
  }
  @keyframes rotation {
    from {
      -webkit-transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(359deg);
    }
  }
  @keyframes bounce {
    from {
      margin-top: 80px;
      opacity: 100;
    }
    to {
      margin-top: 100px;
    }
  }
  .m_arrow,
  .m_footer_logo,
  .m_about_gif,
  .intro_img,
  .m_grid,
  .m_sig,
  .m_clr {
    display: none !important;
  }

  .download_btn {
    text-decoration: underline;
    font-weight: 500;
  }
}

@media screen and (min-width: 320px) and (max-width: 480px) {
  .title h1 {
    font-size: 26px;
    font-weight: 300;
    margin: 0;
    text-align: left !important;
    margin-left: 15px;
  }
  .logo img {
    width: 54px;
    margin: 0 auto;
  }
  .title img {
    height: 42px;
  }
  #menu {
    display: none;
  }
  #main {
    margin-top: 110px;
  }
  .title {
    text-align: center;
  }
  .main_content {
    margin-left: 15px;
    margin-right: 15px;
  }
  h2,
  h3 {
    margin: 0;
  }
  .main_content {
    margin-top: 40px;
  }
  .box li {
    border: 1px solid #000;
    padding-top: 14px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 8px;
    margin-bottom: 20px;
  }
  .box h2 {
    font-size: 18px;
    font-weight: 500;
  }
  .box h3 {
    color: gray;
    font-weight: 500;
    font-size: 15px;
    margin-top: 2px;
  }
  .box p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
    margin-top: 20px;
  }
  .arrow {
    width: 32px;
    display: inline-block;
    margin-top: 14px;
  }

  .c {
    display: none;
  }
  #footer {
    width: 100%;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 30px;
    display: inline-block;
    vertical-align: top;
    padding-bottom: 30px;
  }
  .contact {
    font-weight: 400;
    font-size: 13px;
    width: 180px;
    display: inline-block;
    margin-left: 30px;
  }
  .email {
    margin-top: 0;
  }
  .email,
  .address {
    line-height: 24px;
  }
  .contact p span {
    font-weight: 200;
    display: inline-block;
    font-size: 13px;
  }

  .m_footer_img {
    width: 80px;
    margin-left: 15px;
  }
  .m_footer_logo {
    width: 95px;
    display: inline-block;
    vertical-align: top;
  }
  .about_gif {
    display: none;
  }
  .m_about_gif {
    width: 90%;
  }
  .about_menu,
  .careers_menu {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }
  .about_menu li {
    width: 32.4%;
    display: inline-block;
  }
  .careers_menu li {
    width: 49.3%;
    display: inline-block;
  }
  .about_menu li a,
  .careers_menu li a {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
    display: inline-block;
    border-right: 1px solid #000;
  }
  .careers_menu li:last-child a,
  .about_menu li:last-child a {
    border-right: 0px solid #000;
  }
  .text_content {
    margin-top: 40px;
  }
  .sub_menu {
    width: 100%;
    display: inline-block;
    font-size: 15px;
    font-weight: 200;
    margin: 0;
    margin-top: 22px;
  }
  .text_title {
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    margin-top: 0;
    vertical-align: top;
    width: 112px;
    line-height: 26px;
    border-bottom: 1px solid #000;
  }
  .text_box {
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    margin-top: 16px;
    vertical-align: top;
    line-height: 26px;
  }
  #intro a {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }
  .intro_img {
    position: absolute;
    width: 260px;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
  }
  .intro_video {
    display: none;
  }
  .select {
    font-weight: 500;
  }

  .box h4 {
    font-size: 12px;
    margin-top: 6px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.8em;
    margin-bottom: 8px;
  }

  .leftside h1 {
    font-size: 26px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8);
    margin-top: 0;
    display: inline-block;
    vertical-align: top;
    line-height: 36px;
    margin-bottom: 0;
  }
  .afi_history img {
    display: none;
  }
  .afi_history {
    margin-bottom: 68px !important;
  }
  .rightside div p {
    padding-left: 40px;
  }
  .leftside div p {
    padding-right: 40px;
  }
  .leftside h1 {
    padding-right: 40px;
  }
  .history p {
    margin: 0;
    vertical-align: top;
    font-size: 12px;
    font-weight: 300;
    margin-top: 10px;
  }
  .history p span {
    display: block;
    line-height: 28px;
    margin-top: 5px;
    font-weight: 400;
    font-size: 12px;
  }

  .history {
    margin: 0 auto;
    width: 100%;
    font-size: 0;
  }
  .leftside {
    width: 50%;
    text-align: right;
    display: inline-block;
    vertical-align: top;
  }
  .rightside {
    width: 48%;
    display: inline-block;
    vertical-align: top;
  }
  .rightside div {
    margin-bottom: 20px;
  }

  .timeline {
    width: 1px;
    background-color: #000;
    display: inline-block;
    height: 1180px;
  }

  .text_box span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    margin-top: 8px;
  }

  .text_title span {
    color: #aaaaaa;
    font-size: 14px;
  }
  .grid {
    display: none;
  }
  .m_grid {
    width: 100%;
    margin-top: 20px;
  }
  .clear {
    width: 100%;
  }
  .sig {
    display: none;
  }
  .m_sig {
    width: 100%;
  }
  .m_clr {
    width: 100%;
  }
  .clr {
    display: none;
  }

  .address img {
    height: 14px;
  }
  @keyframes rotation {
    from {
      -webkit-transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(359deg);
    }
  }
  .topnav {
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .topnav #myLinks {
    display: none;
  }

  .topnav a {
    color: #000;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 14px;
    padding-bottom: 8px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    text-align: center;
    background-color: #fff;
  }
  .topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding-top: 18px;
  }
  .topnav a.icon img {
    width: 30px;
  }
  .logo {
    text-align: center;
  }
  .m_list {
    padding-bottom: 14px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
  }

  .end {
    color: rgba(0, 0, 0, 0.6) !important;
  }
  .thebackendbox {
    font-size: 0;
    width: 100%;
  }
  .thebackendbox li {
    display: inline-block;
    border: 1px solid #000;
    vertical-align: top;
    border-collapse: collapse;
    padding: 14px;
  }
  .thebackendbox li p {
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.3px;
  }
  .thebackendbox li h3 {
    font-size: 13px;
    margin: 0;
    color: gray;
    font-weight: 400;
  }
  .thebackendbox li h2 {
    font-size: 18px;
  }
  .thebackendbox li .arrow {
    margin-top: 10px;
  }
  .thebackendbox li + li {
    margin-top: 20px;
  }
  .thebackendintro h1 {
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 22px;
  }
  .thebackendintro p {
    letter-spacing: -0.3px;
    margin-top: 0px;
    font-size: 13px;
    line-height: 20px;
    word-break: keep-all;
  }
}
