/* import */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,900&display=swap');

/* Global */

:root {
  /* Color */
  --color-white: #fff;
  --color-grey: #999;
  --color-light-grey: #d5d5d5;
  --color-black: #000;


  /* Font Size */
  --font-biglarge: 55px;
  --font-large: 48px;
  --font-big-medium: 40px;
  --font-medium: 28px;
  --font-middle: 18px;
  --font-regular: 16px;
  --font-small: 14px;
  --font-micro: 12px;

  /* Font weight */
  --fweight-black: 900;
  --fweight-extrabold: 800;
  --fweight-bold: 700;
  --fweight-semi-bold: 600;
  --fweight-medium: 500;
  --fweight-regular: 400;
  --fweight-light: 300;
  --fweight-extra-light: 200;
  --fweight-thin: 100;

  /* Animation */ 
  --animation-duration: 300ms;

}

/* Universal tags */

* {
  box-sizing: border-box;
  font-family: 'Noto Sans KR', sans-serif;
  font-family: 'Poppins', sans-serif;
}
html {
  position: relative;
}
body {
  margin: 0;
  padding: 0;
}
figure {
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--color-black);
}
ul {
  list-style: none;
  padding-left: 0;
}
button {
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
}
.inner {
  max-width: 80%;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
}

/* header */

header {
  width: 100%;
  padding: 10px 15px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
}
header.active {
  background-color: rgba(255,255,255,.9);
}
.header__logo img {
  width: 90px;
}
.nav__toggle-btn {
  position: absolute;
  right: 20px;
  display: none;
  color: var(--color-white);
  font-size: var(--font-medium);
}

/* header__nav__menu */

.header__nav__menu {
  display: flex;
  text-align: center;
  margin: 0;
}
.header__nav__menu__item {
  padding: 30px 10px 10px;
  width: 140px;
  position: relative;
}
.header__nav__menu__item a {
  color: var(--color-white);
  display: inline-block;
  cursor: pointer;
}
.header__nav__menu__item > a {
  font-size: var(--font-middle);
  font-weight: var(--fweight-semi-bold);
  margin-bottom: 10px;
}
.header__nav__menu__sub {
  display: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  transition: display 2s ease-out;
}

.header__nav__menu__sub a {
  font-size: var(--font-regular);
  font-weight: var(--fweight-regular);
  margin: 10px 0;
}
.header__nav__link__insta {
  margin-right: 7px;
}
.item__name.active {
  color: var(--color-black);
}

/* main */

.main__visual {
  position: relative;
  overflow: hidden;
}
.main__video {
  position: relative;
}
.main__video > video {
  width: 100%;
  height: 100%;
}
.main__video::after {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 99%;
  content: '';
  background: rgba(0,0,0,.7);
  transition: background .5s .1s;
}
.main.active .main__video::after  {
  background: rgba(0,0,0,1);
  transition-delay: 0s;
}
.main__title {
  margin: 0;
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 9;
  transform: translate(-50%, -47%);
  color: var(--color-white);
  font-size: var(--font-biglarge);
  font-weight: var(--fweight-bold);
  text-align: center;
}

/* list */

.list {
  overflow: hidden;
  background: url(./imgs/list_bg.png) 0 center no-repeat;
  background-size: cover;
  background-color: rgba(0,0,0,.1);
  width: 100%;
  transform: translateY(-8px);
}
.list .upper {
  opacity: 0;
  transform: translateY(50px);
	transition: opacity .5s, transform .5s;
}
.list.active .upper {
  opacity: 1;
  transform: translateY(0px);
}
.list.active .list__board__txt .upper:first-child {
  transition-delay: .5s;
}
.list.active .list__board__txt .upper:last-child {
  transition-delay: .8s;
}
.list.active .list__board__judge.upper {
  transition-delay: 1.1s;
}
.list__title {
  text-align: center;
  padding: 90px 0 60px;
  font-size: var(--font-big-medium);
  font-weight: var(--fweight-bold);
}
.dancingperson__before {
  background: url(./imgs/dancingperson__before.png) 0 0 no-repeat;
  width: 100px;
  height: 180px;
  background-size: cover;
}
.list__board {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 150px;
}
.list__board__txt {
  margin-right: 20px;
}
.list__board__txt__item {
  background-color: rgba(0,0,0,.8);
  border-radius: 20px;
  padding: 20px;
  color: var(--color-white);
  margin-right: 15px;
}
.list__board__txt__item:first-child {
  margin-bottom: 15px;
}
.list__board__txt__item__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.list__board__txt__item__header > span,
.list__board__txt__item__header > button,
.list__board__judge > p{
  font-size: var(--font-middle);
  font-weight: var(--fweight-medium);
  color: var(--color-white);
}
.list__board__txt__item__header > button {
  transition: transform .1s;
}
.list__board__txt__item__header > button:hover {
  transform: scale(1.3);
}
.list__board__txt__item__board__content {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.list__board__txt__item__board__content a,
.list__board__txt__item__board__content span {
  color: var(--color-white);
  font-weight: var(--fweight-light);
  font-size: var(--font-small);
}
.list__board__txt__item__board__content a {
  display: inline-block;
  margin-right: 50px;
}
.list__board__txt__item__board__content a:hover {
  color: rgb(34, 244, 255);
  transition: color 100ms ease-in-out;
}
.list__board__judge {
  width: 300px;
  height: 430px;
  background: rgba(0,0,0,.8);
  border-radius: 20px;
}
.list__board__judge > p {
  text-align: center;
}
.list__board__judge__sliderbox 
{
  width: 200px;
  height: 345px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.slider {
  position: absolute;
  left: 0;
  top: 0;
  transition: .5s ease-out;
}
.slider li:not(:last-child) {
  float: left;
  margin-right: 100px;
}
.slider_img1 {
  background: url(./imgs/judge1.png) center center no-repeat;
  background-size: cover;
  width: 200px;
  height: 300px;
}
.slider_img2 {
  background: url(./imgs/judge2.png) center center no-repeat;
  background-size: cover;
  width: 200px;
  height: 300px;
}
.slider_img3 {
  background: url(./imgs/judge3.png) center center no-repeat;
  background-size: cover;
  width: 200px;
  height: 300px;
}
.slider_img4 {
  background: url(./imgs/judge4.png) center center no-repeat;
  background-size: cover;
  width: 200px;
  height: 300px;
}
.slider_img5 {
  background: url(./imgs/judge5.png) center center no-repeat;
  background-size: cover;
  width: 200px;
  height: 300px;
}
.arrow span{
  position: absolute;
  bottom: 0;
  cursor: pointer;
}
.arrow > span > i {
  color: var(--color-white);
  font-size: var(--font-medium);
}
.arrow > span:hover > i {
  color: rgb(34, 244, 255);
  transition: color 100ms ease-in-out;
}
.arrow .prev {
  left: 30%;
}
.arrow .next {
  right: 30%;
}


/* gallery */

.gallery {
  overflow: hidden;
  transition: background-color 0.2s ease-out;
}
.gallery.black {
  background-color: #000;;
}
.gallery__title {
  text-align: center;
  padding: 140px 0 60px;
  font-size: var(--font-big-medium);
  font-weight: var(--fweight-bold);
  color: var(--color-white);
}
.gallery {
  width: 100%;
  transform: translateY(-8px);
}
.gallery__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery__banner__box {
  display: flex;
  position: relative;
  margin-bottom: 15px;
}
.gallery__banner__box:last-child {
  margin-bottom: 120px;
}
.gallery__img.active .gallery__img__img1,
.gallery__img.active .gallery__img__img3,
.gallery__img.active .gallery__img__img4,
.gallery__img.active .gallery__img__img6{
  transform: scale(1.1) rotate(-0.01deg);
}
.gallery__img {
  width: fit-content;
  overflow: hidden;
}
.gallery__img__img1 {
  background: url(./imgs/img1.png) center 0 no-repeat;
  background-size: cover;
  width: 230px;
  height: 180px;
  transition: transform 200ms ease-in-out;
}
.gallery__img__img2 {
  background: url(./imgs/img2.png) center 0 no-repeat;
  background-size: cover;
  width: 400px;
  height: 250px;
  margin: 0 15px;
}
.gallery__img__img3 {
  background: url(./imgs/img3.png) 20% 0 no-repeat;
  background-size: cover;
  width: 180px;
  height: 200px;
  transition: transform 200ms ease-in-out;
}
.gallery__img__img4 {
  background: url(./imgs/img4.png) center 20% no-repeat;
  background-size: cover;
  width: 320px;
  height: 220px;
  transition: transform 200ms ease-in-out;
}
.gallery__img__img5 {
  background: url(./imgs/img5.png) center 20% no-repeat;
  background-size: cover;
  width: 250px;
  height: 180px;
  margin: 0 15px;
}
.gallery__img__img6 {
  background: url(./imgs/img6.png) 40% 20% no-repeat;
  background-size: cover;
  width: 160px;
  height: 170px;
  transition: transform 200ms ease-in-out;
}
.gallery__img__img7 {
  background: url(./imgs/img8.png) center center no-repeat;
  background-size: cover;
  width: 400px;
  height: 250px;
  margin: 0 15px;
}
.gallery__img__img8 {
  background: url(./imgs/bdf_poster.png) center 0 no-repeat;
  background-size: cover;
  width: 340px;
  height: 470px;
}

/* simple menu */

.simplemenu {
  background-color: var(--color-black);
  transform: translateY(-8px);
}
.simplemenu > .inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.simplemenu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.simplemenu__list.active .simplemenu__img.img1 {
  transform: translateY(20px) skew(10deg);
}
.simplemenu__list.active .simplemenu__img.img2 {
  transform: translateY(20px) rotate(-10deg);
}
.simplemenu__list.active .simplemenu__img.img3 {
  transform: translateY(20px) rotate(10deg);
}
.simplemenu__list.active .simplemenu__img.img4 {
  transform: translateY(20px) skew(10deg);
}
.simplemenu__list:hover span{
  transform: translateY(-100px) scale(1.2);
  font-weight: var(--fweight-semi-bold);
}
.simplemenu__list > span {
  color: var(--color-white);
  font-size: var(--font-middle);
  font-weight: var(--fweight-extra-lightthin);
  color: var(--color-white);
  margin-bottom: 10px;
  transition: transform 300ms ease-in-out;
}
.simplemenu__img {
  margin-bottom: 20px;
}
.simplemenu__img::after {
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(0, 0, 0, .6);
  display: none;
  transition: transform 300ms ease-in-out;
}
.simplemenu__list:hover .simplemenu__img::after {
  display: block;
}
.simplemenu__img.img1{
  width: 160px;
  height: 190px;
  background: url(./imgs/footer__img1.png) 50% 50% no-repeat;
  background-size: cover;
  transition: transform 300ms ease-in-out;
}
.simplemenu__img.img2{
  width: 100px;
  height: 190px;
  background: url(./imgs/footer__img2.png) 20% 50% no-repeat;
  background-size: cover;
  transition: transform 300ms ease-in-out;
}
.simplemenu__img.img3{
  width: 100px;
  height: 190px;
  background: url(./imgs/footer__img3.png) 50% 50% no-repeat;
  background-size: cover;
  transition: transform 300ms ease-in-out;
}
.simplemenu__img.img4{
  width: 100px;
  height: 190px;
  background: url(./imgs/footer__img4.png) 50% 50% no-repeat;
  background-size: cover;
  transition: transform 300ms ease-in-out;
}


/* footer */

.footer {
  transform: translateY(-8px);
  background-color: var(--color-grey);
  padding-bottom: 8px;
  position: relative;
  color: var(--color-white);
  font-weight: var(--fweight-light);
}
.footer::after {
  width: 100%;
  height: 20px;
  content: "";
  background-color: var(--color-grey);
  position: absolute;
  top: 100%;
}
.footer__text {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.footer__text__box {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.footer__text__box:first-child {
  margin-right: 80px;
}
.footer__text__box > span {
  margin-right: 20px;
}
.footer__text__box__logo {
  background: url(./imgs/busan_logo.png) 0 center no-repeat;
  width: 130px;
  height: 60px;
}
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__right a{
  color: var(--color-white);
}

/* arrow-up */
.arrow-up {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 50px;
  right: 50px;
  font-size: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  color: var(--color-black);
  border-radius: 50%;
  transition: all var(--animation-duration) ease;
  opacity: 0;
  pointer-events: none;
}
.arrow-up:hover {
  background-color: var(--color-light-grey);
}
.arrow-up.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */

/* For below 1000px screen width*/
@media screen and (max-width: 1000px) {

  :root {
    /* Font Size */
  --font-large: 33px;
  --font-medium: 24px;
  --font-middle: 18px;
  --font-regular: 15px;
  --font-small: 12px;
  --font-micro: 10px;
  }
  .inner {
    max-width: 90%;
  }

  /* header */

  .header{
    flex-direction: column;
    align-items: flex-start;
  }
  .header__logo img{
    width: 70px;
  }


  /* navmenu */

  .header__nav__menu {
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin: 6px 0;
    display: none;
    align-items: center;
  }
  .header__nav__menu.open {
    display: flex;
    background-color: rgba(255, 255, 255, .3);
    border-radius: 20px;
  }
  .header__nav__menu__item {
    padding: 10px 10px 5px;
  }
  .nav__toggle-btn {
    display: block;
    margin-top: 12px;
  }
  .nav__toggle-btn > i {
    font-size: 22px;
  }
  .nav__toggle-btn.active {
    color: var(--color-black);
  }

  /* main */

  .main__title {
    font-size: var(--font-large);
  }

  /* list */

  .list {
    background-position: center center;
  }
  .list__title {
    padding: 50px 30px 30px;
    font-size: var(--font-medium);
  }
  .list__board {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 100px;
  }
  .list__board__txt,
  .list__board__judge{
    width: 100%;
  }
  .list__board__txt {
    margin-right: 0;
  }
  .list__board__judge{
    width: fit-content;
    padding: 0 50px;
  }

  .list.active .list__board__txt .upper:first-child,
  .list.active .list__board__txt .upper:last-child {
    margin: 0;
  }
  .list.active .list__board__txt .upper:last-child{
    margin: 15px 0;
  }
  .slider > li > img {
    width: 25%
  }

  /* gallery */

  .gallery__title {
    padding: 50px 30px 30px;
    font-size: var(--font-medium);
  }
  .gallery__banner__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }
  .gallery__img {
    margin-bottom: 15px;
    /* width: 100%; */
  }
  .gallery__img.img2,
  .gallery__img.img5,
  .gallery__img.img7 {
    margin: 0 0 15px;
  }

  /* simple menu */

  .simplemenu {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .simplemenu > .inner {
    flex-wrap: wrap;
  }
  .simplemenu__list {
    width: 50%;
    margin-bottom: 0px;
    border: 1px solid gray;
    padding: 10px;
  }


  /* footer */

  .footer__text {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }
  .footer__text__box:first-child {
    margin-right: 0;
    margin-bottom: 0;
  }
  .footer__right {
    padding: 0 10px;
  }
  .footer__right__text2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__right__text3 {
    text-align: center;
  }

  /* arrow-up */
  .arrow-up {
    font-size: 20px;
    width: 30px;
    height: 30px;
    bottom: 30px;
    right: 20px;
  }
}