@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
  font-family: '양진체';
  src: url('https://fastly.jsdelivr.net/gh/supernovice-lab/font@0.9/yangjin.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SBAggroB';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'S-CoreDream-3Light';
  font-family: 'S-CoreDream-3Light';src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root{
  --first-color: #05202bf1;
  --second-color: #aac9cbde;
  --third-color: #ffffffbd;

  --body-bg-color: #fefefe;
  --light-gray-bg-color: #eee;

  --light-gray-font-color: #ececec;
  --dark-gray-font-color: #777;

  --hover-red-color: #fe5578;
  --hover-dark-color: #010101;

  --transparent-white-bg-color-01: rgba(255, 255, 255, .25);
  --transparent-white-bg-color-02: rgba(255, 255, 255, .1);

  --gray-border-color: #ccc;

  --box-shadow: 0 5px 25px rgba(0, 0, 0, .35);

  --bg2022: linear-gradient(45deg, #2b449e, #0f81ad);
  --bg2023: linear-gradient(45deg, #270f45, #150c1d);
  --bg2024: linear-gradient(45deg, #252525, #505050);

  
  --scroll-bar-color: #f1f1f1;
  --scroll-bar-thumb-color: #555;
  --scroll-bar-thumb-hover-color: #444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'S-CoreDream-3Light';
}

body {
  position: relative;
  min-height: 100vh;
  background: var(--body-bg-color);
}

/* header */
header {
  z-index: 999;
  position: fixed;
  width: 100%;
  height: calc(5rem + 1rem);
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  transform: translateY(0);
  opacity: 1;
  transition: .5s ease;
  transition-property: transform, opacity;
}

header.hide{
  transform: translateY(-30px);
  opacity: 0;
}

header .nav-bar {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  transition: 0.3s ease;
}

.nav-close-btn, .nav-menu-btn {
  display: none;
}

.logo {
  display: inline-block;
  padding: 5px 0;
  height: 85px;
  line-height: 85px;
  cursor: pointer;
}

.header-logo {
  height: 60px;
  vertical-align: middle;
  margin-bottom: 4px;
}

.navigation .nav-items a {
  font-weight: bold;
  color: var(--first-color);
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  text-shadow: var(--text-shadow);
  padding: 2px 15px;
  border-radius: 10px;
  transition: .3s ease;
  transition-property: background;
  background: var(--third-color);
}

.navigation .nav-items a i {
  display: none;
}

.navigation .nav-items a:not(:last-child) {
  margin-right: 45px;
}

.navigation .nav-items a:hover {
  font-size: 1.15em;
}

.main{
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search{
  z-index: 888;
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(0);
  opacity: 1;
  transition: .5s ease;
  transition-property: transform, opacity;
}

.search.hide{
  transform: translateY(-30px);
  opacity: 0;
}

/*search box*/
.search-container{
  position: relative;
}

.search-box{
  color: var(--dark-gray-font-color);
  background: var(--light-gray-bg-color);
  width: 300px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 10px;
  border-radius: 30px;
}

.search-box i{
  font-size: 1em;
}

.search-box input{
  font-size: .9em;
  background: none;
  border: none;
  outline: none;
  padding-left: 10px;
}

.search-results{
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid var(--gray-border-color);
  width: 100%;
  max-height: 250px;
  border-radius: 5px;
  overflow: hidden;
  overflow-y: auto;
}

.search-results a{
  display: block;
  color: var(--first-color);
  font-size: 1em;
  text-decoration: none;
  padding: 10px;
}

.search-results a:hover{
  background: var(--light-gray-bg-color);
}

/*slider main css*/
.slide-container{
  z-index: 777;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.swiper{
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide{
  display: flex;
  justify-content: center;
  align-items: center;
}

/*slider cards css*/
.card{
  position: relative;
  width: 1000px;
  height: 500px;
  border-radius: 25px;
  box-shadow: var(--box-shadow);
  margin-bottom: -100px;
  user-select: none;
  transition: height .5s ease;
}

.swiper-slide-prev .card{
  height: 400px;
}

.swiper-slide-active .card{
  height: 500px;
}

.swiper-slide-next .card{
  height: 400px;
}

.bg-2022{
  /* 배경 이미지 추가 */
  background-image: url('./image/2022포스터\(배경\).png');
  background-size: cover;
  background-position: 0px -20px;
  background-repeat: no-repeat;
  transition: .3s ease;
}

.bg-2022:hover{
  transform: scale(1.02);
}

.bg-2023{
  /* 배경 이미지 추가 */
  background-image: url('./image/2023포스터\(배경\).png');
  background-size: cover;
  background-position: 0px -70px;
  background-repeat: no-repeat;
  transition: .3s ease;
}

.bg-2023:hover{
  transform: scale(1.02);
}

.bg-2024{
  /* 배경 이미지 추가 */
  background-image: url('./image/LAUNCHING\ SOON!.png');
  background-size: cover;
  background-repeat: no-repeat;
  transition: .3s ease;
}

.bg-2024:hover{
  transform: scale(1.02);
}

.img2022{
  width: 180px;
  top: -70px;
  right: 40px;
}

.img2023{
  width: 180px;
  top: -70px;
  right: 40px;
}

.img2024{
  width: 180px;
  top: -70px;
  right: 40px;
}


.card-img .performance-number{
  font-family: "PT Serif", GmarketSansMedium;
  z-index: 666;
  position: absolute;
  right: 15px;
  bottom: 0px;
  color: #fff;
  font-size: 10em;
  font-weight: 700;
  opacity: .1;
}

.card-content{
  position: absolute;
  bottom: 35px;
  left: 30px;
}

.card-content .info{
  transform: translateY(30px);
  transition: transform .5s ease;
}

.card:hover .card-content .info{
  transform: translateY(-10px);
}

.card-content .info h2{
  font-family: "PT Serif", GmarketSansMedium;
  color: #fff;
  font-size: 2.3em;
  font-weight: 600;
  line-height: 50px;
}

.card-content .sub-info{
  display: flex;
  font-size: 1em;
  margin-bottom: 10px;
}

.card-content .sub-info span{
  font-family: 'GmarketSansMedium';
  color: var(--light-gray-font-color);
  font-weight: 300;
  margin-right: 10px;
}

.card-content .sub-info h4{
  font-family: 'GmarketSansMedium';
  color: #fff;
  font-weight: 500;
}

.card-content .read-more-btn{
  transform: translateY(35px);
  opacity: 0;
  transition-property: transform, opacity;
  transition: .3s ease-out, .5s;
}

.card:hover .card-content .read-more-btn{
  transform: translateY(-10px);
  opacity: 1;
}

.card-content .read-more-btn a{
  color: var(--third-color);
  font-size: .9em;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  cursor: pointer;
}

.card-content .read-more-btn a i{
  font-size: 1.2em;
  margin-left: 2px;
  transition: .3s ease;
}

.card-content .read-more-btn a:hover i{
  margin-left: 5px;
}

/*slider navigation css*/
.swiper-button-next:after,
.swiper-button-prev:after{
  content: '';
}


.slider-nav{
  z-index: 888;
  position: absolute;
  bottom: 80px;
  right: 100px;
  width: 170px;
  transform: translateY(0);
  opacity: 1;
  transition: .5s ease;
  transition-property: transform, opasity;
}

.slider-nav.hide{
  transform: translateY(30px);
  opacity: 0;
}

.slider-nav .swiper-button-prev,
.slider-nav .swiper-button-next{
  color: var(--first-color);
  font-size: 1.1em;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: .3s ease;
}

.slider-nav i{
  font-size: 1.5em;
}

.slider-nav .swiper-button-prev:hover,
.slider-nav .swiper-button-next:hover{
  color: var(--second-color);
}

/*modal css*/
.bg2-2022{
  /* 배경 이미지 추가 */
  background-image: url('./image/2022포스터2.png');
  background-size: cover;
  background-position: 0px -20px;
  background-repeat: no-repeat;
  transition: .3s ease;
}

.bg2-2023{
  /* 배경 이미지 추가 */
  background-image: url('./image/2023포스터2.png');
  background-size: cover;
  background-position: 0px -20px;
  background-repeat: no-repeat;
  transition: .3s ease;
}

.bg2-2024{
  /* 배경 이미지 추가 */
  background-image: url('./image/LAUNCHING\ SOON!.png');
  background-size: cover;
  background-position: 0px -20px;
  background-repeat: no-repeat;
  transition: .3s ease;
}

.modal-container{
  z-index: 111;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-container.active{
  z-index: 888;
}

.modal-box{
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  border-radius: 50px;
  transform: translateY(25px);
  transition: opacity .3s, height 0s, width 0s;
  transition-delay: 0s, .2s, .2s;
}

.modal-box.active{
  width: 80%;
  height: 75%;
  opacity: 1;
  transition: opacity 0s, height .5s, width .5s;
  transition-delay: .3s, .2s, .2s;
}

.modal-content{
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  content-visibility: hidden;
  transition: opacity .1s ease;
  transition-delay: .7s;
}

.modal-box.active .modal-content{
  opacity: 1;
}

.modal-content.active{
  content-visibility: visible;
}

.modal-close-btn{
  position: absolute;
  top: -40px;
  right: 50px;
  color: var(--first-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal-close-btn i{
  font-size: 1.3em;
  font-weight: 400;
}

.modal-close-btn span{
  font-size: 1.1em;
  font-weight: 400;
}

.modal-inner{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  height: 100%;
  gap: 35px;
  padding: 0 50px;
}

.modal-media-icon1{
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 32px;
  left: 230px;
  transform: translateY(-50%);
  row-gap: 25px;
}

.modal-media-icon2{
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 32px;
  left: 320px;
  transform: translateY(-50%);
  row-gap: 25px;
}

.modal-media-icon1 a{
  color: #fff;
  font-size: 1.8em;
  text-decoration: none;
  transition: .5s ease;
}

.modal-media-icon2 a{
  color: #fff;
  font-size: 1.8em;
  text-decoration: none;
  transition: .5s ease;
}


.modal-media-icon1 a:hover{
  transform: scale(1.2);
}

.modal-media-icon2 a:hover{
  transform: scale(1.2);
}

.modal-image-area{
  transform: translateY(150px);
}

.modal-img{
  width: 300px;
  box-shadow: 0 4px 8px rgb(255, 255, 255); /* 그림자 효과 추가 */
}

.modal-text-content{
  position: relative;
  max-height: 70vh;
  overflow: hidden;
  overflow-y: initial !important;
  margin: 2em 0 2em 0em;
  padding-right: 2em;
}

.modal-text-content::-webkit-scrollbar{
  background: var(--scroll-bar-color);
  width: 12px;
  border-radius: 50px;
}

.modal-text-content::-webkit-scrollbar-thumb{
  background: var(--scroll-bar-thumb-color);
  border-radius: 50px;
}

.modal-text-content::-webkit-scrollbar-thumb:hover{
  background: var(--scroll-bar-thumb-hover-color);
}

.modal-title{
  font-family: "PT Serif", GmarketSansMedium;
  color: #fff;
  font-size: 3em;
  font-weight: 600;
}

.modal-title-sub{
  display: flex;
  transform: translateY(-6px);
  margin-bottom: 12px;
}

.modal-title-sub span{
  font-family: 'GmarketSansMedium';
  color: var(--light-gray-font-color);
  font-size: 1em;
  font-weight: 300;
  margin-right: 10px;
}

.modal-title-sub h4{
  font-family: 'GmarketSansMedium';
  color: #fff;
  font-size: 1em;
  font-weight: 500;
}

.modal-text-content p{
  color: #fff;
  font-size: 1em;
  font-weight: 300;
  max-width: 100%;
}

.performance-facts{
  position: relative;
  display: grid;
  place-items: left;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 15px;
  column-gap: 15px;
  max-width: 100%;
  margin-top: 50px;
}

.performance-facts .fact{
  color: #fff;
  background-color: var(--transparent-white-bg-color-01);
  width: 256px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  padding-left: 25px;
  border-radius: 10px;
}

.performance-facts .fact h5{
  font-size: 1.1em;
  font-weight: 600;
}

.performance-facts .fact span{
  font-size: 1em;
  font-weight: 300;
}

.modal-video-area{
  max-width: 100%;
  margin-top: 50px;
}

/* main section */
@media screen and (max-width: 1080px){
  header .nav-bar{
    padding: 0 20px;
  }

  /*navigation menu*/
  .nav-menu-btn{
    display: block;
    color: var(--first-color);
    font-size: 1.5em;
    cursor: pointer;
  }

  .nav-close-btn{
    display: block;
    color: var(--first-color);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.3em;
    margin: 10px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .navigation{
    z-index: 99999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
  }

  .navigation.active{
    visibility: visible;
    opacity: 1;
  }

  .navigation .nav-items{
    position: relative;
    background: #ffffffee;
    width: 400px;
    max-width: 400px;
    display: grid;
    place-content: center;
    margin: 20px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--bpx-shadow);
    transform: translateY(-200px);
    transition: 0.3s ease;
  }

  .navigation.active .nav-items{
    transform: translateY(0);
  }

  .navigation .nav-items a{
    color: var(--first-color);
    font-size: 1em;
    margin: 15px 50px;
    transition: 0.3s ease;
    background: none;
  }

  .navigation .nav-items a i{
    display: inline-block;
    font-size: 1.3em;
    margin-right: 10px;
  }


}


@media screen and (max-width: 700px){
  header .nav-bar{
    padding: 0 20px;
  }

  /*navigation menu*/
  .nav-menu-btn{
    display: block;
    color: var(--first-color);
    font-size: 1.5em;
    cursor: pointer;
  }

  .nav-close-btn{
    display: block;
    color: var(--first-color);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.3em;
    margin: 10px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .navigation{
    z-index: 99999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
  }

  .navigation.active{
    visibility: visible;
    opacity: 1;
  }

  .navigation .nav-items{
    position: relative;
    background: #ffffffee;
    width: 400px;
    max-width: 400px;
    display: grid;
    place-content: center;
    margin: 20px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--bpx-shadow);
    transform: translateY(-200px);
    transition: 0.3s ease;
  }

  .navigation.active .nav-items{
    transform: translateY(0);
  }

  .navigation .nav-items a{
    color: var(--first-color);
    font-size: 1em;
    margin: 15px 50px;
    transition: 0.3s ease;
    background: none;
  }

  .navigation .nav-items a i{
    display: inline-block;
    font-size: 1.3em;
    margin-right: 10px;
  }

  .search{
    display: none;
  }

  .swiper-slide-active .card{
    height: 400px;
    width: 300px;
  }
  .card{
    height: 200px;
    width: 150px;
  }

  .swiper-slide-active .card{
    height: 400px;
    width: 300px;
    margin-bottom: 30px;
  }

  .card{
    height: 200px;
    width: 150px;
  }

  .bg-2022{
    background-position: -15px 0px;
  }

  
  .bg-2023{
    background-position: 0px 0px;
  }
  
  .bg-2024{
    background-position: -250px 0px;
  }


  .modal-box.active{
    width: 100%;
    max-width: 100%;
    height: 80%;
  }

  .modal-inner{
    flex-direction: column;
    justify-content: normal;
    gap: 100px;
  }

  .modal-img{
    width: 100%;
  }

  .modal-image-area{
    transform: translateY(50px);
  }

  .modal-title{
    color: #000000;
    font-size: 2.5em;
  }

  .modal-text-content p{
    color: #000000;
  }

  .modal-media-icon1 a,
  .modal-media-icon2 a{
    color: #000000;
  }

  .modal-title-sub span,
  .modal-title-sub h4{
    color: var(--dark-gray-font-color);
  }

  .modal-text-content{
    overflow:visible;
    max-width: 100%;
    text-align: justify;
    padding-right: 0;
  }

  .performance-facts{
    display: flex;
    flex-direction: column;
  }

  .performance-facts .fact{
    background-color: #5ec8e2;
  }

  .modal-media-icon1{
    left: 200px;
  }

  .modal-media-icon2{
    left: 250px;
  }

  video{
    width: 100%;
    margin: 30px auto;
  }

}