html {
    overflow-x: hidden;
    touch-action: none;
    -webkit-text-size-adjust : none;  /* 크롬, 사파리, 오페라 신버전 */
    -ms-text-size-adjust : none;  /* IE */
    -moz-text-size-adjust : none;  /* 파이어폭스 */
    -o-text-size-adjust : none;  /* 오페라 구버전 */

    font-size: 11px;
    color: #666;
}

/*@media (max-width: 1000px) {*/
/*  html {*/
/*    font-size: 15px;*/
/*}*/

image {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: white;
    background-color: white;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
    touch-action: pan-x pan-y;
    border:0;
    -webkit-text-size-adjust : none;  /* 크롬, 사파리, 오페라 신버전 */
    -ms-text-size-adjust : none;  /* IE */
    -moz-text-size-adjust : none;  /* 파이어폭스 */
    -o-text-size-adjust : none;  /* 오페라 구버전 */
}

a {
    color: inherit;
    text-decoration: none !important;
}

div {
    margin: 0;
    padding: 0;
}

p {
    padding:0;
    margin:0;
}

table {
    margin: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: 100%;
}

td {
    border-spacing:0;
    margin: 0;
    padding: 0;
    border: 0;
}

.main {
    width:800px;
    margin:auto;
}

.text-shadow-big {
    text-shadow:
    0 0 5px #000,
    0 0 10px #000,
    0 0 40px #000;
}

.text-shadow-small {
    text-shadow:
    0 0 5px #000;
}

.main_window {
    background-color: rgba(0,0,0,0.1);
    border: 1px solid rgba(100,100,100,0.5);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.main_button {
    height:30px;
    line-height:26px;
    background-color: #ff005a;
    font-size:13px;
    color:white;
    border: 1px solid #ff005a;
    border-radius:3px;
    width:100px;
    text-align:center;
}

.main_button:hover {
    color: #ff005a;
    background-color: white;
}

.main_button_2 {
    height:30px;
    line-height:26px;
    padding-left:10px;
    padding-right:10px;
    background-color: white;
    font-size:13px;
    color:#ff005a;
    border: 1px solid white;
    border-radius:3px;
    text-align:center;
    transition: 0.2s;
}

.main_button_2:hover {
    color:white;
    background-color: transparent;
    transform: scale(1.05);
}

.banner {
    position:fixed;
    top:0;
    width:100%;
    height:50px;
    margin:auto;
    padding:5px;
    background-color:white;
    transition:0.2s;
}

.title_bg {
    background-image:url('images/title_bg.png');
    background-repeat:no-repeat;
    background-size: 300px 300px;
    background-position: bottom left;
}

.title_h_bg {
    background-image:url('images/title_h_bg.png');
    background-repeat:repeat-x;
    background-size:300px 300px;
}

.menu {
    color:#111;
    font-size:13px;
    transition: 0.15s;
    transform-origin: 50% 50%;
}

.menu:hover {
    color: #ff005a;
    transform: scale(1.1) translateX(-5%);
}

.menu_big {
    text-align:left;
    font-size:30px;
    color:white;
}

.menu_big:hover {
    color: #ff005a;
}

.photo_frame {
    overflow: hidden;
    position: relative;
}

.photo {
    width: 100%;
    height: 100%;
    position:absolute;
    top:0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 3px 3px rgba(0,0,0,0.04), 0 3px 6px rgba(0,0,0,0.1);

    transform: scale(1);
    transition: 0.15s ease-in-out;
}

.photo:hover {
    transform: scale(1.05);
}

.text_ani {
    transition: 0.1s;
}

.text_ani:hover {
    transform: scale(1.01);
}

@keyframes text-rise {
    /* use % to specify the animation at different stages (in this case, 0% and 100%) */
    0% {
        transform: translateX(0);
    }
    100% {
        /* adjust the value to control how much the text moves */
        transform: translateX(-10px);
    }
}

.more_btn {
    width: 30px;
    height: 30px;

    filter: grayscale(1) brightness(1000%);
    opacity: 100%;
    transition: 0.2s;
}

.more_btn:hover {
    filter: grayscale(0);
    opacity: 100%;
}

.more_btn_opened {
    filter: grayscale(0);
    opacity: 100%;
}

.menu_window {
    position: fixed;
    width: 130px;
    background-color: rgba(0,0,0,0.8);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: 0.3s;
    box-shadow: 0 6px 6px rgba(0,0,0,0.08), 0 6px 12px rgba(0,0,0,0.16);
    opacity: 0;
}

.sub_title {
    font-size:25px;
    text-align:left;
    color: #666;
    padding: 10px;
}

.post {
    color: #333;
    transition: 0.2s;
}

.post:hover {
    background-color: #f5f5f5;
    transform: scale(1.01);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: 0.3s;
    display: none;
    opacity: 0;
}

.wrapper {
    display: flex;
    justify-content:center;
    align-items: center;
    min-height:100vh;
}

.item {
    padding:50px;
}

.news {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.card {
    border: 1px solid #ddd;
    margin: 5px;
}

.tag {
    margin: 3px;
    padding: 3px;
    line-height:15px;
    background-color: white;
    font-size:10px;
    color:#ff005a;
    border: 1px solid #ff005a;
    border-radius:3px;
    width:100px;
    text-align:center;
    display:inline;
}

.dot {
    margin: 5px;
    height: 8px;
    width: 8px;
    border-radius: 4px;
    background-color: #ff005a;
    display:inline-block;
    transition:0.25s;
}

.dot_chosen {
    width: 32px;
}

.multi-line-ellipsis {
  overflow: hidden;
  display: -webkit-box; /* 웹킷 기반 브라우저에서 사용 */
  -webkit-line-clamp: 4; /* 최대 2줄로 제한 */
  -webkit-box-orient: vertical; /* 세로 방향으로 내용 정렬 */
}