@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic+Coding&display=swap');
@import url('https://fonts.googleapis.com/css?family=Gothic+A1:700&display=swap');

/* color */
/* border color : #efefef */
/* gray text color : #999 */
/* emphasize color : #47E5C5 */
iframe {
  border: none;
  outline: none;
}

.home__layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  align-items: center;
}

.default__layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  align-items: center;
  margin-top: 65px;
}

.absolute__layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  align-items: center;
  position: relative;
  margin-top: 115px;
}

.search__layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  align-items: center;
  margin-top: 65px;
}

/* search scroll-down */
.search__layout.scroll-down {
  padding-top: 170px;
}
.content__wrapper {
  width: 1240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.mypage__wrapper {
  width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 70vh;
}

.loading__wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  display: none;
  background: #c2c0c069;
  z-index: 10000;
}

.loading__wrapper div {
  color: #fff;
}

.loading__wrapper.active {
  display: flex;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

/* .items__container */
.items__container {
  /* border-bottom: solid 1px #efefef; */
  border-top: none;
  box-sizing: border-box;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  /* padding-top: 30px; */
  padding-bottom: 30px;
  width: 100%;
  border-top: solid 10px transparent;
}

.items__container .title__box {
  display: flex;
  align-items: center;
  height: 50px;
}

.items__container .title__box h1 {
  color: #ffffff;
  padding: 6px 15px 2px 15px;
  background: #81dcca;
  font-family: 'Gothic A1', sans-serif;
  font-size: 18px;
}

.items__container .item__box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
}

.items__container .item__box.left {
  justify-content: flex-start;
}

/* video Container */

/* celeb Container */

/* user container*/

.user__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.sign-up__wrapper {
  display: flex;
  justify-content: center;
  /* margin-top: 100px; */
  align-items: center;
  min-height: 100vh;
}
.user__container {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.empty__container {
  display: flex;
  padding: 0px 0px;
  justify-content: center;
}

.empty__container h1 {
  font-size: 14px;
  color: #555;
}

.alert__container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  display: none;
}

.alert__container.active {
  display: flex;
}
.alert__container .alert__content {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px 40px;
  border: solid 1px #ccc;
  align-items: center;
}

.alert__container .alert__content span {
}

.alert__container .alert__content .btn__box {
  height: 50px;
  display: flex;
}

.alert__container .alert__content .btn__box div {
  cursor: pointer;
  flex: 1;
  margin-right: 10px;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.alert__container .alert__content .btn__box div:last-child {
  margin-right: 0px;
}

.alert__container .alert__content .btn__box .active__btn {
  border: solid 1px #81dcca;
  color: #81dcca;
}
.alert__container .alert__content .btn__box .active__btn a {
  color: inherit;
}
.alert__container .alert__content .btn__box .close__btn {
  border: solid 1px #ccc;
  color: #ccc;
}

@media (min-width: 320px) and (max-width: 480px) {
  .home__layout {
    /* padding-bottom: 50px; */
    /* padding-top: 50px; */
  }
  .default__layout {
    padding-top: 0px;
    /* padding-bottom: 50px; */
    margin-top: 50px;
    height: 100%;
    overflow-x: hidden;
  }

  .absolute__layout {
    margin-top: 100px;
    padding-bottom: 50px;
    overflow-x: hidden;
  }

  .search__layout {
    padding-top: 0px;
    padding-bottom: 50px;
    height: 100%;
    margin-top: 0px;
    overflow-x: hidden;
  }

  /* search scroll-down */
  .search__layout.scroll-down {
    padding-top: 115px;
  }

  /* wrapper */
  .content__wrapper {
    width: 100%;
  }
  .mypage__wrapper {
    width: 100%;
  }

  /* content container */
  .items__container {
    height: auto;
    padding-top: 0px;
    border-left: none;
    border-bottom: none;
    border-right: none;
    padding-bottom: 0px;
    border-top: solid 0px transparent;
  }

  .items__container.notopbd {
    border-top: none;
  }

  .items__container .title__box {
    justify-content: center;
    padding: 0px;
    height: 60px;
    background-size: 100% 60px;
    background-color: #81dcca;
    position: relative;
    box-sizing: border-box;
  }

  .items__container.noafter .title__box:after {
    display: none;
  }

  .items__container .title__box:after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0px;
    height: 25px;
    border-bottom: solid 8px #ffffff;
    border-left: solid 8px transparent;
    border-right: solid 8px transparent;
  }

  .items__container .title__box h1 {
    padding: 0px;
    background: none;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
  }
  .user__wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .sign-up__wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
}
