@charset "utf-8";
@font-face {
  font-family: "NanumBarunpen";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NanumBarunpen.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "BMHANNAAir";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.0/BMHANNAAir.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "BMHANNAPro";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.0/BMHANNAPro.woff") format("woff");
  font-style: normal;
  font-weight: 100;
}

@import url(//fonts.googleapis.com/earlyaccess/hanna.css);

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}
* {
  margin: 0;
  padding: 0;
}
a:link {
  color: white;
  text-decoration: none;
}
a:visited {
  color: black;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
html {
  background: #000;
}

body {
  -webkit-touch-callout: none;
}

/********************* 카테고리 페이지 ************************/
/* top logo */
.top-logo {
  width: 40%;
  height: 20%;
  position: relative;
  display: block;
  outline: none;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.5);
}

.top-logo a {
  display: block;
  height: 100%;
}

/* 컨테이너 container */
.swiper-container {
  width: 100%;
  box-sizing: border-box;
}

.category .sub_title {
  width: 100%;
  height: 100%;
  /* display: flex; */
  min-width: 280px;
  max-width: 1232px;
}
.arrow-back-wrap {
  width: 30px;
  height: 30px;
  margin-top: 23px;
}
.arrow-back {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.category .sub_title h3 {
  max-width: 1100px;
  font-size: 30px;
  color: #fff;
  padding: 15px 0 10px 0;
  flex-grow: 1;
  margin: 0 auto;
}

.stickyBar {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.stickyBar .swiper-container {
  width: 100%;
  height: 100%;
  padding: 0 20px;
}

.stickyBar .swiper-container .swiper-slide {
  width: auto !important;
  cursor: pointer;
}

.stickyIsFixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: black;
  z-index: 9999;
  padding: 10px 0;
}

#container .horizontal-menu-items::-webkit-scrollbar {
  display: none;
}
#container .horizontal-menu-items .horizontal-menu-item {
  animation-fill-mode: backwards;
  font-family: "Noto Sans KR", serif;
  line-height: 1;
  font-weight: bold;
  letter-spacing: 5px;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#container .horizontal-menu-items > .horizontal-menu-item .tab-link {
  display: inline-block;
  padding: 10px 0px;
  cursor: pointer;
  font-size: 1.5em;
  color: #999;
  font-weight: bold;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#container .horizontal-menu-items > .horizontal-menu-item .tab-link.current {
  color: #fff;
}

.horizontal-menu-item.current {
  text-decoration: none;
  font-weight: bold;
  opacity: 1;
  color: white;
}

/* 비디오 썸네일 */
#vid {
  width: 100%;
  border-radius: 40px !important;
  /* overflow: hidden; */
  aspect-ratio: 1/1;
  transform: scale(1.5);
}

/* 컨텐츠 타일 */
.card {
  margin: 10px 4px 0;
  flex-basis: 24%;
  flex-grow: 1;
}

.contents_wrap .contents_blur {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: -2px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, #000000 100%);
  opacity: 0.7;
}

/* 눌렀을 때 깜빡임 효과 */
/* .card > a:active {
    opacity: 0.8;
} */

.contents_wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  width: 100%;
  border-radius: 40px !important;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.card .contents_wrap img {
  display: block;
  width: 100%;
  border-radius: 40px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  object-fit: cover;
}
.card .contents_title {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 0.94em;
  padding: 15px 20px 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: keep-all;
  height: 57px;
}

/*footer 푸터 */

#footer {
  margin: 4rem 0 6rem;
}
.footerBar {
  height: 56px;
  background-color: black;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0px 4px;
}

#footer .footer_top {
  padding-top: 20px;
}

#footer .footer_top .footer_logo {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-align: center;
}

#footer .footer_top .footer_logo:hover {
  opacity: 0.8;
}

#footer .footer_top .footer_logo img {
  width: 190px;
  /* text-align: center; */
}

#footer .footer_top .social_wrap .social_list {
  text-align: center;
}

#footer .footer_top .social_wrap .social_list .social_icon {
  width: 30px;
  margin: 5px;
}

#footer .footer_bottom .policy_list_wrap {
  font-family: "Noto Sans KR", serif;
  text-align: center;
}

#footer .footer_bottom .policy_list_wrap a {
  font-size: 0.7em;
}

#footer .footer_bottom .policy_list_wrap .copyright {
  color: white;
  font-size: 0.7em;
  font-family: "NOto Sans KR", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 1232px;
  margin: 0 auto;
}

.tab-link.current:after {
  content: "";
  display: block;
  width: 90%;
  border-bottom: 4px solid #ffffff;
  margin-top: 5px;
}
.tab-content {
  display: none;
}
.tab-content.current {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  transition: padding 200ms ease-in;
}

/* 광고 */
.ad_anchor {
  transform: translateY(-100%);
  transition: transform 200ms ease-in-out;
  filter: drop-shadow(0px 2px 2px #ccc);
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100000;
  background-color: #fff;
  text-align: center;
}

.ad_anchor.animate {
  transform: translateY(0%);
  padding: 7px 0;
  top: 70px;
}

/* 모바일 분기점 */

@media screen and (min-width: 1100px) and (max-width: 1920px) {
  .category .sub_title {
    padding-left: 62px;
  }
}

@media screen and (min-width: 816px) and (max-width: 1920px) {
}

@media screen and (min-width: 801px) and (max-width: 816px) {
  * {
    max-width: 600px;
  }
  .card {
    flex-basis: 34%;
  }
  .category .sub_title {
    padding-left: 0px;
  }
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 60px !important;
  }
}

@media screen and (min-width: 501px) and (max-width: 800px) {
  * {
    max-width: 440px;
  }
  .card {
    flex-basis: 34%;
  }
  .category .sub_title {
    padding-left: 0px;
  }
  #container .horizontal-menu-items .horizontal-menu-item {
    text-align: center;
    padding: 0 0;
    margin-right: 28px !important;
  }
  #container .horizontal-menu-items .horizontal-menu-item .tab-link {
    padding: 10px 0;
  }

  #footer {
    margin-top: 0rem;
  }
}
@media screen and (min-width: 470px) and (max-width: 500px) {
  * {
    max-width: 540px;
  }
  .category .sub_title {
    padding-left: 0px;
  }
  .card {
    flex-basis: 34%;
  }
  #container .horizontal-menu-items .horizontal-menu-item {
    text-align: center;
    margin-right: 35px !important;
  }
  #container .horizontal-menu-items .horizontal-menu-item .tab-link {
    padding: 10px 0;
  }
  #footer {
    margin-top: 0rem;
  }
}
@media screen and (min-width: 410px) and (max-width: 470px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    text-align: center;
    margin-right: 24px !important;
  }
}
@media screen and (min-width: 400px) and (max-width: 410px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 23px !important;
  }
}
@media screen and (min-width: 390px) and (max-width: 400px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 23px !important;
  }
}
@media screen and (min-width: 370px) and (max-width: 390px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 18px !important;
  }
}
@media screen and (min-width: 350px) and (max-width: 369px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 28px !important;
  }
}
@media screen and (min-width: 330px) and (max-width: 350px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 19px !important;
  }
}
@media screen and (min-width: 320px) and (max-width: 330px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    margin-right: 13px !important;
  }
}
@media screen and (min-width: 321px) and (max-width: 469px) {
  * {
    max-width: 400px;
  }
  .category .sub_title {
    padding-left: 0px;
  }

  .card {
    flex-basis: 34%;
  }

  .card .contents_title {
    height: 53px;
  }
  #container .horizontal-menu-items .horizontal-menu-item {
    padding: 0 0px;
  }
  #container .horizontal-menu-items .horizontal-menu-item .tab-link {
    padding: 10px 0;
    font-size: 21px;
  }

  #footer {
    margin-top: 0rem;
  }
}
@media screen and (min-width: 300px) and (max-width: 320px) {
  .stickyBar .swiper-container {
    padding: 0 10px;
  }
  .category .sub_title {
    padding-left: 0px;
  }
  #container .horizontal-menu-items .horizontal-menu-item .tab-link {
    padding: 10px 0;
    font-size: 21px;
  }

  #container .horizontal-menu-items .horizontal-menu-item {
    text-align: center;
    padding: 0 0px;
    margin-right: 31px !important;
  }
  .card {
    flex-basis: 34%;
  }
  .card .contents_title {
    height: 57px;
    padding: 15px 14px 30px;
  }
  #footer {
    margin-top: 0rem;
  }
}
@media screen and (min-width: 280px) and (max-width: 290px) {
  #container .horizontal-menu-items .horizontal-menu-item {
    padding: 0px 6px;
    margin-right: 5px !important;
  }
}

@media screen and (min-width: 280px) and (max-width: 300px) {
  .stickyBar .swiper-container {
    padding: 0px 2px;
  }
  .category .sub_title {
    padding-left: 0px;
  }
  #container .horizontal-menu-items .horizontal-menu-item .tab-link {
    padding: 10px 0;
    font-size: 21px;
  }

  .card {
    margin: 5% 5px 0;
    flex-basis: 34%;
  }

  .card .contents_title {
    height: 57px;
    padding: 15px 10px 30px;
  }

  #vid {
    border-radius: 25px !important;
  }

  #footer {
    margin-top: 0rem;
  }
}
