@font-face {
    font-family: 'Chosunilbo_myungjo';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    user-select: none; 
    -webkit-user-drag: none;
}
img {
    pointer-events: none;
}

/*리셋*/

#ghost {display: none; position: fixed;}

.contents{
    overflow-x: auto; /* 가로 스크롤은 가능하게 유지 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  /* Chrome, Safari, Edge에서 스크롤바 숨기기 */
.contents::-webkit-scrollbar {
    display: none;
  }


  
#footer2 {position: fixed; right:0px; left:0; margin:0 auto; text-align: center; bottom:3px; z-index: 3; font-size: 12px; color: white; }
#footer2 a:hover {color:white;}
#footer{clear:both; position: fixed; bottom:20px; left:20px; font-size:10px;}
#footer2 button {
    border:none;
    background: none;
    color:var(--main);
}

#footer2 button .material-symbols-outlined {font-size:16px;}

html {color:white; font-family: 'Pretendard';   }
body {margin:0;padding:0;}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
ul, li {margin:0;padding:0;list-style:none}
legend {display: none;}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;}
button {cursor:pointer}
textarea, select {font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
pre {overflow-x:scroll;}
a:link, a:visited {text-decoration:none; color:white;}
a:hover, a:focus, a:active {text-decoration:none}

ul,li { margin: 0; padding: 0; }
i,sup,em { font-style: normal; }

label { cursor: pointer; }

img { max-width: 100%; vertical-align: middle; }
table { width: 100%; }

/*//리셋*/
html {
    height: 100%;
}

body {
    overflow-y: auto; /* 스크롤은 body에서만 */
    min-height: 100%;
}
/*기본*/
body, button, input, select, table, textarea {
    font-family: 'Pretendard';
  }
  body  {line-height:1.5em;font-size: var(--fontsize);}
  h1 {font-size: 35px; line-height: 110%;}
  h2, h2[data-ke-size] {font-size: 30px; line-height: 110%;}
  h3, h3[data-ke-size] {font-size: 24px; line-height: 110%;}
  h4, h4[data-ke-size] {font-size: 20px; line-height: 110%;}


  @media all and (min-width:1025px)  {
	.only-pc {}
	.only-ta {display:none !important;}
	.only-mo {display:none !important;}

	.not-pc {display:none !important;}
	.not-ta {}
	.not-mo {}
}

@media all and (max-width:1024px) and (min-width:1025px)  {
	.only-pc {display:none !important;}
	.only-ta {}
	.only-mo {display:none !important;}

	.not-pc {}
	.not-ta {display:none !important;}
	.not-mo {}
}
@media all and (max-width:1025px)  {
	.only-pc {display:none !important;}
	.only-ta {display:none !important;}
	.only-mo {}

	.not-pc {}
	.not-ta {}
	.not-mo {display:none !important;}
}


*::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
	background-color: #585858;
}
*::-webkit-scrollbar
{
	width: 10px;
	background-color: #585858;
}

*::-webkit-scrollbar-thumb
{
	background-color: #000000;
	border: 1px solid #555555;
}



html {background:url('./img/back.webp') no-repeat; background-position: center; background-size: cover; background-attachment: fixed; }

.head_img div {position: fixed; pointer-events: none; z-index: -1;}
.head_img .top {top:0;}
.head_img .bottom {bottom:0;}
.head_img .left {left:0;}
.head_img .right {right:0;}
.head_img .center {left:0; right:0; margin:0 auto; text-align: center;}
.head_img .right img { transform: scaleX(-1);}
.head_img .objectfit img {height: 100vh; object-fit: cover;}
.head_img .centerfit img {width: 100%; object-fit: cover;}

.grad {background: linear-gradient(180deg, rgba(153, 153, 153, 0.60) 0%, rgba(153, 153, 153, 0.00) 100%); width: 100%; height: 50vh;}
.grad2 {background: radial-gradient(58.3% 58.3% at 50% 41.7%, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%); width: 100%; height: 100%; opacity: .7;}


.head_img .top_frame {width: 100%; height:2%; background-color: black;}

.head_img .candle.left {left:80px;}
.head_img .candle.right {right:80px;}

.head_img .lamp.left {left:237px;}
.head_img .lamp.right {right:237px;}

.animated.fadedown {animation:fadedown 1s ease both; transition:none; }
.animated.fadeup {animation:fadeup 1s ease both; transition:none;}

.animated.rotate {animation: rotate 200s linear infinite;}
.animated.rotate2 {animation: rotate 200s linear infinite; animation-direction: reverse;}
.animated.rotate3 {animation: rotate 300s linear infinite;}
.animated.rotate4 {animation: rotate 300s linear infinite; animation-direction: reverse;}
.animated.rotate5 {animation: rotate 120s linear infinite;}
.animated.rotate6 {animation: rotate 80s linear infinite; animation-direction: reverse;}


.animated.de-1 {animation-delay: 0.1s;}
.animated.de-2 {animation-delay: 0.2s;}
.animated.de-3 {animation-delay: 0.3s;}
.animated.de-4 {animation-delay: 0.4s;}
.animated.de-5 {animation-delay: 0.5s;}
.animated.de-6 {animation-delay: 0.6s;}
.animated.de-7 {animation-delay: 0.7s;}
.animated.de-8 {animation-delay: 0.8s;}
.animated.de-9 {animation-delay: 0.9s;}

.animated.drop {animation: drop 5s ease infinite, fadeInDown 1s ease-out;}

.head_img .candle {animation:fadeInUp 1s ease both; animation-delay: 0.2s;} 
.head_img .rose {animation:fadeInUp 1s ease both; }
.head_img .frame.left {animation: fadeInLeft 1.5s ease both;}
.head_img .frame.right {animation: fadeInRight 1.5s ease both;}
.head_img .frame2 {animation: fadeInDown 1s ease both; animation-delay:  0.5s;}
.head_img .lamp {
    animation: fadeInDown 1s ease both, flicker 3s infinite;
    animation-delay: 0.4s, 1.4s;
}



@keyframes flicker {
    0%, 100% {
        filter: brightness(1);
    }
    10% {
        filter: brightness(1.15);
    }
    20% {
        filter: brightness(1.2);
    }
    30% {
        filter: brightness(1.1);
    }
    40% {
        filter: brightness(1.3);
    }
    50% {
        filter: brightness(1);
    }
    60% {
        filter: brightness(1.25);
    }
    70% {
        filter: brightness(1.2);
    }
    80% {
        filter: brightness(1.15);
    }
    90% {
        filter: brightness(1.1);
    }
}


@keyframes fadedown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-10%);
        transform: translateY(-10%)
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes fadeup {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10%);
        transform: translateY(10%)
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes rotate {
    from{
        transform: rotate(0deg);
		transform-origin: center;
    }
    to{
        transform: rotate(360deg);
		transform-origin: center;
    }
}

@keyframes drop {
    0% {
      transform: translateY(-18px);
    }
    50% {
      transform: translateY(10px);
    }
    100% {
      transform: translateY(-18px);
    }
  }


#body {
    height: auto;
}

  /*인덱스*/
  .main_logo {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
  .main_logo a {transition: all ease 0.3s;}
  .main_logo a:hover {filter: brightness(1.2); transform: scale(1.02);}

  /*리스트*/
.ornament {text-align: center; margin-bottom: 40px; filter: drop-shadow(0 0 3px #000);}

.pair_wrap {padding:100px;}
.pair_list {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    justify-content: center;
    align-items: center;
    margin:auto;
    gap:20px;
}

.pair_list li {
    width: 45%;
    height: 140px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.50);
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
}
.pair_list li a {
    display: block;
    height: 140px;
    background-position: center !important;
    background-size: cover !important;
    box-sizing: border-box;
    color: #FFF;
    transition: all ease 0.3s;
}

.pair_list li .name_wrap {
    position: absolute;
    left:0;
    right:0;
    margin:0 auto;
    text-align: center;
    top:30%;    
    text-shadow: 0px 0px 4px #000;
    pointer-events: none;
}

.pair_list li .name_wrap .en_name {
    font-family: "Cinzel Decorative", 'Chosunilbo_myungjo';
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 40px */
    transition: all ease 0.3s;
}


.pair_list li .kr_name {
    font-family: 'Chosunilbo_myungjo';
    font-size: 14px;
    letter-spacing: 8px;
}
.pair_list li:hover .en_name {letter-spacing: 4px;}
.pair_list li:hover a {
    transform: scale(1.1);
}


@media all and (max-width:1025px)  {
	.pair_wrap {padding:20px;     }
    .pair_list {gap: 10px;}
    .pair_list li {
        width: 100%;}

}
