


@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-display: swap;
    src: local('Pretendard Black'), url(/fonts/woff2/Pretendard-Black.woff2) format('woff2'), url(/fonts/woff/Pretendard-Black.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-display: swap;
    src: local('Pretendard ExtraBold'), url(/fonts/woff2/Pretendard-ExtraBold.woff2) format('woff2'), url(/fonts/woff/Pretendard-ExtraBold.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-display: swap;
    src: local('Pretendard Bold'), url(/fonts/woff2/Pretendard-Bold.woff2) format('woff2'), url(/fonts/woff/Pretendard-Bold.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-display: swap;
    src: local('Pretendard SemiBold'), url(/fonts/woff2/Pretendard-SemiBold.woff2) format('woff2'), url(/fonts/woff/Pretendard-SemiBold.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-display: swap;
    src: local('Pretendard Medium'), url(/fonts/woff2/Pretendard-Medium.woff2) format('woff2'), url(/fonts/woff/Pretendard-Medium.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-display: swap;
    src: local('Pretendard Regular'), url(/fonts/woff2/Pretendard-Regular.woff2) format('woff2'), url(/fonts/woff/Pretendard-Regular.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-display: swap;
    src: local('Pretendard Light'), url(/fonts/woff2/Pretendard-Light.woff2) format('woff2'), url(/fonts/woff/Pretendard-Light.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-display: swap;
    src: local('Pretendard ExtraLight'), url(/fonts/woff2/Pretendard-ExtraLight.woff2) format('woff2'), url(/fonts/woff/Pretendard-ExtraLight.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-display: swap;
    src: local('Pretendard Thin'), url(/fonts/woff2/Pretendard-Thin.woff2) format('woff2'), url(/fonts/woff/Pretendard-Thin.woff) format('woff');
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    font-size: 16px;
    font-family: Pretendard, serif;
    font-weight: 400;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*Custom*/

.banner-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 자신의 크기만큼 이동하여 정확한 중앙 배치 */

    width: 100%;
    max-width: 500px;
    min-height: 400px;
    max-height: 400px;
    overflow: hidden;
    z-index: 2;
    display: block;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.position-relative {
    position: relative;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;*/
    /*height: 20vw; !* 원하는 높이 *!*/
    /*min-height: 200px; !* 원하는 높이 *!*/
    z-index: 1;
}

.background-image2 {
    position: absolute;
    top: 0;
    right: 0;
    /*height: 20vw; !* 원하는 높이 *!*/
    min-height: 200px; /* 원하는 높이 */
    z-index: 1;
}

.overlay-text {
    position: relative;
    z-index: 3;
    color: black; /* 텍스트 색상 조절 */
    text-anchor: middle;
    text-align: center;
    alignment-baseline: center;

    top: 30%;
    /*margin-top: -5rem; !* 이 요소 높이의 절반 *!*/
    /*padding-top: 15rem; !* 필요에 따라 조절 *!*/
}

.container-max {
    max-width: 100%;
    height: 400px;
    padding: 0;
}

.custom-banner {
    /*position: relative;*/
    width: 100%;
    height: 400px; /* 원하는 높이 */
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes lotate {
    0% {
        transform: rotate(2deg);
        animation-timing-function: ease-in-out;
    }

    50% {
        transform: rotate(-2deg);
        animation-timing-function: ease-in-out;
    }

    100% {
        transform: rotate(2deg);
        animation-timing-function: ease-in-out;
    }
}

@keyframes translate-y {
    0% {
        transform: translateY(-1vh);
        animation-timing-function: ease-in-out;
    }

    50% {
        transform: translateY(1vh);
        animation-timing-function: ease-in-out;
    }

    100% {
        transform: translateY(-1vh);
        animation-timing-function: ease-in-out;
    }
}

@keyframes translate-y2 {
    0% {
        transform: translateY(1vh);
        animation-timing-function: ease-in-out;
    }

    50% {
        transform: translateY(-1vh);
        animation-timing-function: ease-in-out;
    }

    100% {
        transform: translateY(1vh);
        animation-timing-function: ease-in-out;
    }
}

.logo-container {
    position: absolute;
    top: 0;
    left: 0;
    animation: translate-y 3s infinite;
    width: 100%;
    height: 100%;
}

.logo-container2 {
    position: absolute;
    top: 0;
    left: 0;
    animation: translate-y2 3s infinite;
    width: 100%;
    height: 100%;
}

#logo {
    animation: lotate 5s infinite;
}

@keyframes lotate-reverse {
    0% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg)
    }

    100% {
        transform: rotate(-5deg)
    }
}

#logo-reverse {
    animation-name: lotate-reverse;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    /* 애니메이션이 3번 반복 됩니다. */
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

/*ㅁㄴㅇ*/

.wrapper,
.wrapper .img-area,
.social-icons a,
.buttons button {
    background: #ecf0f3;
    /*box-shadow: -3px -3px 7px #ffffff,*/
    /*3px 3px 5px #ceced1;*/
}

.wrapper {
    position: relative;
    width: 240px;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wrapper .icon {
    font-size: 17px;
    color: #31344b;
    position: absolute;
    cursor: pointer;
    opacity: 0.7;
    top: 15px;
    height: 35px;
    width: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    font-size: 16px;
}

.wrapper .icon i {
    position: relative;
    z-index: 9;
}

.wrapper .icon.arrow {
    left: 15px;
}

.wrapper .icon.dots {
    right: 15px;
}

.wrapper .img-area {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-area .inner-area {
    height: calc(100% - 25px);
    width: calc(100% - 25px);
    border-radius: 50%;
}

.inner-area img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wrapper .name {
    font-size: 23px;
    font-weight: 500;
    color: #31344b;
    margin: 10px 0 5px 0;
}

.wrapper .about {
    color: #44476a;
    font-weight: 400;
    font-size: 16px;
}

.wrapper .social-icons {
    margin: 15px 0 25px 0;
}

.social-icons a {
    position: relative;
    height: 40px;
    width: 40px;
    margin: 0 5px;
    display: inline-flex;
    text-decoration: none;
    border-radius: 50%;
}

.buttons button:hover:before {
    z-index: -1;
    border-radius: 5px;
}

.social-icons a i {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 40px;
}

.wrapper .buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.buttons button {
    position: relative;
    width: 100%;
    border: none;
    outline: none;
    padding: 12px 0;
    color: #31344b;
    font-size: 15px;
    font-weight: 400;
    border-radius: 5px;
    cursor: pointer;
    z-index: 4;
}

.buttons button:first-child {
    margin-right: 10px;
}

.buttons button:last-child {
    margin-left: 10px;
}

.wrapper .social-share {
    display: flex;
    width: 100%;
    margin-top: 30px;
    padding: 0 5px;
    justify-content: space-between;
}

.social-share .row {
    color: #31344b;
    font-size: 17px;
    cursor: pointer;
    position: relative;
}

.social-share .row::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 2px;
    background: #e0e6eb;
    margin-left: -25px;
}

.row:first-child::before {
    background: none;
}

.social-share .row i.icon-2 {
    position: absolute;
    left: 0;
    top: 50%;
    color: #31344b;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.row:nth-child(1):hover i.fa-heart,
.row:nth-child(2):hover i.fa-comment {
    opacity: 1;
    pointer-events: auto;
}

/*asd*/

.wrap-vertical {
    width: 500px;
    padding: 20px;
    overflow: scroll;
    color: #112031;
    background: #F0D9FF;
    border: 1px solid #000;
    /* 가로 스크롤 */
    overflow: auto;
    white-space: nowrap;
}

/*asd*/

#content-input {
    width: 100%;
    height: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background: transparent;
    outline: none;
}

.input-box-holder {
    height: 42px;
    border-radius: 15px;
    color: #ccc;
}

.ob-box {
    margin-top: 10px;
    margin-bottom: 10px;
    /*height: 36px;*/
    align-items: center;
    /*background: #ecf0f3;*/
    border-radius: 15px;
}

.scroll-hoizontal::-webkit-scrollbar {
    display: none;
}

.input-box {
    width: 100%;
    height: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background: transparent;
    outline: none;
    color: #ccc;
}

/* 스크롤 바 */

::-webkit-scrollbar {
    width: 10px;
    display: block;
}

::-webkit-scrollbar-track, ::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: #363636;
}

.click-color {
    transition: background-color 0.1s ease;
}

.click-color:hover {
    animation: darken 0.1s forwards;
}

@keyframes darken {
    to {
        background-color: rgba(25, 25, 25, 1);
    }
}

.click-animate {
    transition: transform 0.1s ease-in-out;
}

.click-animate:active {
    transform: scale(0.85);
}

.unselectable {
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* 표준 문법 */
}


@media (max-width: 900px) {
    /*.hide-on-small */
    .title-input {
        font-size: 28px;
        font-weight: 550;
        width: 100%;
        height: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: none;
        background: transparent;
        outline: none;
        align-items: center;
    }

    .hide-on-small {
        display: none;
    }
}

@media (min-width: 900px) {
    /*.display-on-small {*/
    .title-input {
        font-weight: bold;
        font-size: 40px;

        width: 100%;
        height: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: none;
        background: transparent;
        outline: none;
        align-items: center;
    }

    .display-on-small {
        display: none;
    }
}

@media (min-width: 1400px) {
    .display-on-medium {
        display: none;
    }
}

.empty-div {
    position: relative;
}

.empty-div::after {
    content: "";
    display: block;
    height: 100%;
}

.hover-container {
    position: relative;
    display: inline-block;
}

.hover-container:hover .hover {
    opacity: 1; /* 마우스를 올리면 툴팁 보임 */
    display: block;
}

.hover {
    display: none;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.fade-out {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateX(6%); /* 오른쪽으로 밀어내기 */
    opacity: 0;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-long {
    opacity: 0;
    animation: fadeIn 60s ease forwards;
}

@keyframes fadeSize {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}

.done-text {
 color: #6c6c6c;
}

/* 로딩 아이콘 스타일 */
#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    
    background-color: #0f0f0f;
    width: 100%;
    height: 100%;
}

#loader.hidden {
    display: none;
    /* iframe이 로드되면 숨김 */
}

/* 깜빡거리는 애니메이션 정의 */
@keyframes fade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.twemoji {
    height: 1.2em;
    width: 1.2em;
    margin-right: 0.1em;
    margin-left: 0.1em;
    margin-top: auto;
    margin-bottom: 0.2em;
    vertical-align: middle;
    image-rendering: crisp-edges;
}

.emoji-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: transparent; /* 기본 텍스트 숨기기 */
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 28px;
    box-sizing: border-box;
}

/*.emoji-preview img {*/
/*    height: 1em;*/
/*    width: 1em;*/
/*    vertical-align: middle;*/
/*}*/