@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-Bold';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

/* 패드 */

@media (max-width: 770px) {
  body,html{
    #container {
      display: grid;
      grid-template-areas: 'header header'
                            'sidebar article'
                            'footer footer';
      grid-template-columns: 180px 550px;
      grid-auto-columns: 100%; 
      width: 95%;
    }.article {
      width: 530px;
    }textarea {
      width: 480px;
    }
  }
}

/* 모바일 */

@media (max-width: 410px) {
  body,html{
    #container {
      display: grid;
      grid-template-areas: 'header'
                            'article'
                            'footer';                 
      grid-auto-columns: 100%; 
      width: 95%;
      margin-top: revert-layer;
    }.header{
      width: 300px;
      margin-left: 20px;
    }.sidebar {
      display: none;
    }.article {
      width: 350px;
    }textarea {
      width: 480px;
    }.blog_name {
      display: none;
    }.mm_category {
      position: absolute;
      bottom: 0;
      right: 0;
    }.m_category_t {
      display: inline-block;
      position: absolute;
      bottom: 20px;
      right: 0;
      cursor: pointer;
    }.m_category_l {
      position: absolute;
      top: 100px;
      left: -250px;
      width: 150px;
      z-index: 99;
      background-color: #fff;
      border: 1px solid var(--border_color);
    }.ct_bg {
      display: none;
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-color: rgba(212, 212, 212, 0.493);
    }.category_list > li::before {
      display: none;
    }.category_list > li {
      padding: 10px;
      border-bottom: 1px solid var(--border_color);
      margin-bottom: 0;
    }.category_list > li:last-child {
      border-bottom: none;
    }.sub_category_list > li {
      padding-top: 10px;
    }.gallery .list_content {
      height: 100px;
      width: calc(100% / 3 - 12px);
      margin: 5px;
    }.gallery .list_thumb {
      top: -100px;
    }.gallery .list_title {
      width: 70px;
    }textarea {
      width: 300px;
    }.paging {
      position: absolute;
      display: inline-block;
      width: 100px;
      right: -250px;
    }.c_gallery_item {
      height: 100px;
    }.c_gallery_thumb {
      top: -107px;
    }
  }
}

/* ////////////////////////////////////////// */

/* 기본_설정 */

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Inter', 'Pretendard-Regular', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8em;
  color: var(--font_color);
  background-color: var(--body_bg);
  background-image: var(--body_img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -99;
  -webkit-font-smoothing: antialiased;
  animation: fadein 2000ms ease-out;
  -moz-animation: fadein 2000ms ease-out;
  -webkit-animation: fadein 2000ms ease-out;
  -o-animation: fadein 2000ms ease-out;
}

::-webkit-scrollbar {
  display: none;
}

@keyframes fadein {
    from {opacity:0;}
    to {opacity:1;}
}
@-moz-keyframes fadein {
    from {opacity:0;}
    to {opacity:1;}
}
@-webkit-keyframes fadein {
    from {opacity:0;}
    to {opacity:1;}
}
@-o-keyframes fadein {
    from {opacity:0;}
    to {opacity: 1;}
}

a, li, ul, ol {
  list-style: none;
  text-decoration: none;
  color: var(--font_color);
  padding: 0;
  margin: 0;
}

a:visited {
  color: var(--font_color);
}

::selection {
  color: var(--drag_f_color);
  background-color: var(--drag_bg_color);
}

/* 기본_박스 */

#container {
  position: relative;
  display: grid;
  grid-template-areas: 'header header'
                       'sidebar article'
                       'footer footer';
  grid-template-columns: 180px 635px;
  grid-template-rows: 150px 1fr 30px;
  width: 815px;
  margin: 0 auto;
  margin-top: 80px;
}

.header {
  grid-area: header;
  position: relative;
  padding: 20px;
}

.sidebar {
  grid-area: sidebar;
  height: fit-content;
  padding: 20px;
  border: 1px solid var(--border_color);
  background-color: #fff;
}

.article {
  grid-area: article;
  width: 620px;
  padding: 20px;
  margin-left: 15px;
  box-sizing: border-box;
  border: 1px solid var(--border_color);
  background-color: #fff;
}

.footer {
  grid-area: footer;
  position: absolute;
  right: 0;
}

.m_category_t,
.m_category_l {
  display: none;
}

/* 헤더_제목 */

.blog_name {
  display: inline-block;
  position: absolute;
  right: 5px;
  bottom: 20px;
}

.blog_name:hover {
  font-family: 'Pretendard-Bold';
}

/* 헤더_기본_메뉴 */

.menu_b {
  display: flex;
  position: absolute;
  box-sizing: 30px;
  left: 5px;
  bottom: 20px;
}

.menu_b li:hover {
  font-family: 'Pretendard-Bold'; 
}

.m_notice,
.m_tag {
  margin-right: 10px;
}

/* 프로필 */

.profile_img img {
  width: -webkit-fill-available;
  height: 150px;
  object-fit: cover;
  overflow: hidden;
}

.profile_name {
  font-family: 'Pretendard-Bold';
  margin-bottom: 8px;
}

.profile_mur {
  margin-bottom: 10px;
}

/* 메뉴_카테고리 */

.c_title {
  font-family: 'Pretendard-Bold';
  margin-bottom: 8px;
}

.link_tit {
  display: none;
}

.category_list >li {
  margin-bottom: 3px;
}

.category_list > li::before {
  content: '\EAC2';
  display: inline-block;
  font-family: 'Remixicon';
  font-size: 13px;
  font-weight: 400;
}

.sub_category_list {
  display: none;
}

.sub_category_list > li::before {
  content: '\F309';
  display: inline-block;
  font-family: 'Remixicon';
  font-size: 13px;
  font-weight: 400;
  margin-left: 5px;
}

/* 커버_공지사항 */

.c_notice_title {
  display: inline-block;
  margin-bottom: 15px;
  background-color: var(--point_color);
  color: #fff;
  padding: 5px 10px;
  font-family: 'Pretendard-Bold';
}

.c_notice_content {
  margin-bottom: 25px;
}

.c_notice_thumb img {
  width: 100%;
}

/* 커버_갤러리 */

.c_gallery {
  margin-bottom: 10px;
}

.c_gallery_title {
  display: inline-block;
  margin-bottom: 15px;
  background-color: var(--point_color);;
  color: #fff;
  padding: 5px 10px;
  font-family: 'Pretendard-Bold';
}

.c_gallery_content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.c_gallery_item {
  display: inline-block;
  position: relative;
  width: calc(100% / 3 - 16px);
  height: 165px;
  margin: 7px;
  border: 1px solid var(--border_color);
  overflow: hidden;
}

.c_gallery_item > a {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 99;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}

.c_gallery_c_title {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  color: #fff;
  text-align: center;
  z-index: 99;
}

.c_gallery_thumb {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  top: -172px;
}

.c_gallery_no_img {
  position: absolute;
}

.c_gallery_thumb > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c_gallery_item:hover a {
  opacity: 1;
}

.c_gallery_item:hover .c_gallery_thumb {
  filter: blur(2px);
}

/* 커버_리스트 */

.c_list_content {
  display: flex;
  flex-wrap: wrap;
}

.c_list_title {
  display: inline-block;
  margin-bottom: 15px;
  background-color: var(--point_color);
  color: #fff;
  padding: 5px 10px;
  font-family: 'Pretendard-Bold';
}

.c_list_item {
  width: calc(100% / 2 - 10px);
  border-bottom: 1px solid var(--border_color);
  padding-bottom: 10px;
  margin: 0 10px 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
}

.c_list_item > a:hover {
  font-family: 'Pretendard-Bold';
}

/* 리스트_리스트형 */

.list .list_thumb,
.list .list_item,
.list .playlist_content {
  display: none;
}

.list .list_info {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 22px;
  margin-top: 10px;
}

.list .list_title_wrap > a:hover {
  font-family: 'Pretendard-Bold';
}

.list .list_title {
  background-color: var(--point_color);
  color: #fff;
  padding: 5px 10px;
}

/* 리스트_갤러리형 */

.gallery .list_date,
.gallery .list_s,
.gallery .playlist_content {
  display: none;
}

.gallery .list_content_wrap {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.gallery .list_content {
  display: inline-block;
  position: relative;
  width: calc(100% / 3 - 16px);
  height: 165px;
  margin: 7px;
  overflow: hidden;
  border: 1px solid var(--border_color);
}

.gallery .list_info {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.gallery .list_info > .list_title_wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 90;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}

.gallery .list_title {
  position: absolute;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  color: #fff;
  text-align: center;
  z-index: 99;
}

.gallery .list_thumb {
  position: relative;
  width: 100%;
  height: 100%;
  top: -165px;
  overflow: hidden;
  transition: 0.3s;
}

.gallery .list_thumb img {
  z-index: -1;
  width: inherit;
  height: inherit;
  object-fit: cover;
}

.gallery .list_no_img {
  z-index: -2 !important;
}

.gallery .list_content:hover .list_info > .list_title_wrap {
  opacity: 1;
}

.gallery .list_content:hover .list_thumb {
  filter: blur(2px);
}

/* 리스트_메모형 */

.memo .list_thumb,
.memo .list_date,
.memo .playlist_content {
  display: none;
}

.memo .list_content {
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border_color);
}

.memo .list_info {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-top: 10px;
}

.memo .list_title_wrap > a:hover {
  font-family: 'Pretendard-Bold';
}

.memo .list_title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--point_color);
  color: #fff;
  padding: 5px 10px;
}

.memo .list_s {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
}

.memo .list_title_wrap > a:hover {
  font-family: 'Pretendard-Bold';
}

/* 리스트_플레이리스트 */

.playlist .list_thumb,
.playlist .list_s,
.playlist .list_date {
  display: none;
}

.playlist .list_info {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;;
  margin-top: 10px;
}

.playlist .list_content {
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border_color);
}

.playlist .list_title_wrap > a:hover {
  font-family: 'Pretendard-Bold';
}

.playlist .list_title {
  background-color: var(--point_color);
  color: #fff;
  padding: 8px 10px;
}

.playlist .list_title_wrap > a:hover {
  font-family: 'Pretendard-Bold';
}

/* 본문 */

.main_wrap {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
}

.main_title {
  font-family: 'Pretendard-Bold';
  background-color: var(--point_color);
  padding: 5px 10px;
}

.main_title > a {
  color: #fff;
}

/* 본문_태그 */

.main_tags {
  margin: 15px 0px;
}

/* 본문_공감 */

.main_detail .container_postbtn {
  display: flex;
  padding: 0;
}

.main_detail .container_postbtn .postbtn_like .wrap_btn {
  position: absolute;
  top: 0;
  right: 0;
}

.container_postbtn button:focus {
  outline: none !important;
}

.main_detail .container_postbtn .btn_post {
  padding: 0;
  border: none
}

.main_detail .container_postbtn .postbtn_like {
  border: none;
  border-radius: 0;
  padding: 0;
}

.main_detail .container_postbtn .btn_post .ico_share,
.main_detail .container_postbtn .btn_post .ico_statistics,
.main_detail .container_postbtn .btn_post .ico_etc,
.main_detail .container_postbtn .btn_post .txt_like {
  display: none;
}

.container_postbtn .postbtn_like + .btn_menu_toolbar {
  display: none;
}

/* 본문_기타 */

.tistoryProfileLayerTrigger {
  display: none;
}

figure[data-ke-type='opengraph'] a,
#tt-body-page figure[data-ke-type='opengraph'] a {
  height: 120px;
  border: 1px solid var(--border_color);
}

figure[data-ke-type='opengraph'] div.og-image {
  border-right: 1px solid var(--border_color);
  width: 150px;
}

figure[data-ke-type='opengraph'] div.og-text {
  padding: 15px;
  left: 150px;
}

figure[data-ke-type='opengraph'] div.og-text p.og-title,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-title {
  font-size: 15px;
}

figure[data-ke-type='opengraph'] div.og-text p.og-desc,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-desc {
  font-size: 12px;
}

figure[data-ke-type='opengraph'] div.og-text p.og-host,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-host {
  bottom: 0;
  font-size: 9px;
}

figure.fileblock, #tt-body-page figure.fileblock {
  width: 300px;
  border: 1px solid var(--border_color);
}

.tt_box_namecard {
  display: none !important;
}

/* 댓글_방명록 */

.comment {
  display: none;
}

textarea {
  resize: none;
  height: 50px;
  width: 565px;
  font-family: 'Inter', 'Pretendard-Regular', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8em;
  border: none;
  border-bottom: 1px solid var(--border_color);
}

textarea:focus {
  outline: none;
}

.comment_t {
  display: inline-block;
  font-family: 'Pretendard-Bold';
  margin: 10px 0;
  background-color: var(--point_color);
  padding: 5px 10px;
  color: #fff;
}

.comment_check, .guest_check {
  display: flex;
  justify-content: end;
}

.comment_info, .comment_reply,
.guest_info, .guest_reply_info {
  display: flex;
}

.c_name, .cr_name,
.g_name, .gr_name {
  font-family: 'Pretendard-Bold';
  margin-right: 10px;
}

#comment_reply, #guest_reply {
  margin-left: 15px;
}

.comment_write {
  margin-top: 15px;
}

.write_info, .guest_write {
  display: flex;
}

/* 태그 */

.a_tags li {
  display: inline-block;
  padding: 5px 10px;
  margin-bottom: 10px;
  margin-right: 5px;
  background-color: var(--point_color);
}

.a_tags li > a {
  color: #fff;
}

.a_tags li > a:hover {
  font-family: 'Pretendard-Bold';
}

/* 공지사항 */

.a_notice .container_postbtn {
  display: none;
}

/* 리스트_페이징 */

.paging {
  margin: 15px 0;
}

/* 보호글 */

.protected {
  position: absolute;
  top: 52%;
  left: 52%;
}

.need_password {
  text-align: center;
  padding: 5px 10px;
  background-color: var(--point_color);
  color: #fff;
  font-family: 'Pretendard-Bold';
}

.e_password {
  border-bottom: 1px solid var(--border_color);
}

/* 인풋 */

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label::before {
  display: inline-block;
  content: '\EED2';
  font-family: 'Remixicon';
  font-weight: 500;
  font-size: 13px;
  padding: 3px 5px;
}

input[type="checkbox"]:checked + label::before {
  display: inline-block;
  content: '\EECE';
  font-family: 'Remixicon';
  font-weight: 500;
  font-size: 13px;
  padding: 3px 5px;
}

input[type="submit"] + label::before {
  display: inline-block;
  content: '\F0D8';
  font-family: 'Remixicon';
  font-weight: 400;
  font-size: 13px;
  transition: 0.5s;
  padding: 3px 5px;
}

input[type="text"] {
  width: 70px;
  border: none;
  border-bottom: 1px solid var(--border_color);
  border-radius: 0;
  margin-right: 10px;
  font-family: inherit;
  font-size: inherit;
  padding: 7px 10px;
}

input[type="password"] {
  width: 80%;
  border: none;
  border-bottom: 1px solid var(--border_color);
  border-radius: 0;
  font-family: inherit;
  font-size: inherit; 
  padding: 7px 10px;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
}

.e_password input[type="password"] {
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit; 
}

/* 카피라이트(삭제_금지) */

.copyright {
  position: fixed;
  bottom: 0;
  right: 0px;
  padding: 10px;
}