
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");


* {
	margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{text-decoration: none; color:#000;}
a:active {    text-decoration: none; color:#000; }

ul,li {
  list-style-type: none;
}

	body {
		font-family: 'Pretendard', sans-serif;
		line-height: 1.6;
	}

  body.year-2024 { 
	background-color: rgb(240,240,240);
	background-image: url("./image/back.png");
  }
  
  body.year-2025 { 
	background-color: rgba(0, 0, 0, 0.1);
	color: #000;
  }
  .close-btn {
    position: absolute;
    top: -60px;
    right: 0px;
    background: #000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
}

.close-btn a {
    color: #fff;
    text-decoration: none;
}

.close-btn:hover {
    background: #444;
}
header {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background: #333;
    color: #fff;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
.container{width:100%; height:100%; }
.title-container {flex: 1;}
.title a {    color: #fff;    text-decoration: none;}
.menu-container {    display: flex;    gap: 15px;}
.menu-item a,
.search-btn {
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.sub-menu-container {
    display: flex;
    gap: 15px;
}

.custom-select {
    position: relative;
}

.custom-select .current-year {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    padding-bottom: 4px;
    background-color: #fff;
    color: #333;
    z-index: 10;
    border-bottom: 2px solid #333;
}

.custom-select .year-list {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
}

.custom-select .year-list .year-option {
    color: #333;
    background-color: #fff;
    padding: 10px 20px;
    border: 1px solid #ccc;
}

.custom-select .year-list .year-option:hover {
    background-color: #f0f0f0;
}

.custom-select .current-year:focus + .year-list,
.custom-select .year-list:hover {
    display: block;
}

section {
    margin-bottom: 20px;
}

section img {
    max-width: 100%;
    height: auto;
}


 .fade-in-image {
            opacity: 0;

            animation: fadeIn 0.3s ease-in forwards;
        }

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


.gallery {
    display: grid;
    grid-gap: 10px;
	padding:20px;
}

.gallery-item {
    position: relative;
	margin-bottom: 32px;
	padding-left: 25px;
	padding-right: 25px;

}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.2s ease;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); 
}
.gallery-item:hover img {    transform: scale(1.05);}

.wrap{width:100%; max-width:1200px; display:flex;  }
.info_wrap{  width: 50%;  background-color:#fff; height:auto; max-height:870px;   box-sizing: border-box; padding:30px; word-break: keep-all; position:relative}
.image_wrap{ width:50%; margin-right:10px; box-sizing: border-box;}
.image_wrap img {      width: 100%;    height: 100%;    object-fit: cover; max-height:870px;}
.container {    display: flex;    justify-content: center;     align-items: center;    height:100%; min-height: 100vh;}
.row {    display: flex;    align-items: flex-start;    margin-bottom: 20px;}
.label {    width: 30%;    font-weight: bold;    color: #333;    font-size: 1em; padding-right:15px;}
.content {    width: 70%;    font-size: 1em;    line-height: 1.7;    color: #444; padding-left:15px;}
.content p {    margin: 0 0 5px 0;}
.bottom-header {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
	border-top:3px solid #ADADAD;
    padding: 5px 0;
	color:#000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
	width:100%;
	font-size:16px;
font-weight:700

}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
}


.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo {    flex: 1;}


.select-box {    flex: 1;    text-align: center;}
.select-box select {    padding: 5px;    font-size: 16px;			border:0px;            background-color: #fff;             font-weight:700;-webkit-appearance: none; /* Safari 및 Chrome에서 기본 스타일 제거 */
    -moz-appearance: none;    /* Firefox에서 기본 스타일 제거 */
    appearance: none;         /* 모든 브라우저에서 기본 스타일 제거 */
    background-color: white;  /* 배경색 설정 */
    color: black;             /* 텍스트 색상 설정 (원하는 색상으로 변경 가능) */}
.menu {    flex: 1;    display: flex;    justify-content: flex-end;}
.menu ul {    list-style: none;    margin: 0;    padding: 0;    display: flex;    gap: 15px;}
.menu ul li a {    color: #000;    font-size: 16px;
}

.menu ul li a:hover {    text-decoration: underline;}


        select:focus {

            border:0px; /* 포커스 시 테두리 색상 */
            outline: none; /* 포커스 시 아웃라인 제거 */
        }

@media screen and (min-width: 1024px) {
    .gallery {        grid-template-columns: repeat(6, 1fr);    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .gallery {        grid-template-columns: repeat(4, 1fr);    }
}

@media screen and (max-width: 767px) {
	
	.image_wrap{width:100%}
	.info_wrap{width:100%;max-height:100%;}
	.wrap {flex-direction: column; margin-top:0px;}
	.label{width:100%; margin-bottom:10px;}
	.content{width:100%}
	.row{display:inline-block; margin-bottom:30px;}
	.content{padding-left:0px;}
	.header-content{ font-size:12px; align-items: center; padding:0px 4px;}
	.select-box select{font-size:12px;}
	.menu ul li a{font-size:12px}
	.menu ul {gap:5px; }
    header {
        flex-direction: column;
        align-items: flex-start;
    }
	.image-container{align-items: center;}
    main {
        padding-bottom: 150px;
    }

    .custom-select .current-year {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        padding: 5px 10px;
        border: none;
    }
    .custom-select .year-list {
        position: relative;
        top: 0;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
	.gallery-item {
		padding-left: 10px;
		padding-right: 10px;
		margin-bottom: 20px;
	}

}
