@charset "UTF-8";

@font-face {
    font-family: 'PyeongChangPeace';
    src: url('../font/PyeongChangPeace/PyeongChangPeace-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PyeongChangPeace';
    src: url('../font/PyeongChangPeace/PyeongChangPeace-Light.ttf') format('truetype');
    font-weight: light;
    font-style: normal;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ol, ul, li {
    list-style-type: none;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
}

code {
	color: #eb5757;
	background: rgba(135, 131, 120, 0.15);
	border-radius: 3px;
	padding: 0.2em 0.4em;
	border-radius: 3px;
	font-size: 85%;
	tab-size: 2;
}

.page_landing_btn {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 10px;
}

#ready {
    position: fixed;
    z-index: 100000000;
    width: 100%;
    height: 100%;
    background-color: #00FFFF88;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ready_image {
    animation: ready_rotate 3s 0.5s infinite;
}

@keyframes ready_rotate {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg) }
}



/* Main styles */
main {
    position: relative;
    z-index: 1;
    /* top: 140px; */
}

main:not(#index main, #campaign_hunter main) {
    top: 140px;
}

#popup_overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

#popup_overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

#popup {
	position: relative;
    max-width: 90%;
    max-height: 90%;
}

#popup_overlay1 #popup img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

#popup_close1 {
    position: absolute;
    display: inline-block;
    padding: 20px;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: black;
    cursor: pointer;
    border: 0;
    background-color: #55555522;
}

#popup_close2 {
    position: absolute;
    display: inline-block;
    padding: 20px;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: black;
    cursor: pointer;
    border: 0;
    background-color: #55555522;
}

section {
    position: relative;
    z-index: 1;
}

details {
    background-color: #D3CEC4;
    border: 2px solid #555555;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
}

details > summary {
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    padding-right: 1.5rem;
    color: #000080;
    transition: all 0.3s ease-in-out;
}

details > summary:hover {
    color: #15923B;
}

details[open] > summary {
    color: #006363;
}

details > *:not(summary) {
    margin-top: 0.75rem;
    padding-left: 1rem;
    font-size: 1.05rem;
    color: #3c4b2c;
    line-height: 1.5;
    transition: all 0.3s ease;
}

#footer {
    position: relative;
}

.footer_box {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.footer_content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-right: 20px;
    width: 1200px;
}

.footer_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.footer_info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer_info a:hover {
    color: #1db954;
}

.footer_social {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

.footer_social a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer_social a:hover {
    color: #1db954;
}

.footer_nav {
    display: flex;
    flex-direction: column;
    gap: 5px; /* 메뉴 간격 */
}

.footer_menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer_menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer_menu li a:hover {
    color: #1db954;
}

footer:not(#index footer, #campaign_hunter footer) {
    top: 140px;
}

.ad_banner {
    position: fixed;
    z-index: 100;
    top: 200px;
    right: 10px;
    width: 200px;
    padding: 1rem;
    margin: 1rem 0;
    background-color: #b1ff99;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ad_elem {
    position: relative;
}

#banner_close {
    position: absolute;
    z-index: 1000;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #000000;
    cursor: pointer;
}

.ad_banner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.ad_text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.search_container {
    margin-bottom: 15px;
}
.search_container input {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #ccc;
}
.filter_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.filter_container input, .filter_container select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.gradient {
    position: fixed;
    bottom: 0;
    z-index: 99999999;
    width: 100%; 
    height: 40px; 
    background: linear-gradient(to bottom, #FFFFFF00, #A7FC00FF);
}