@charset "utf-8";

/* default scrollbar */
*::-webkit-scrollbar-thumb{
    background-color: rgba(255,255,255,0.2);
}

html{
  font-size: 24px;
}
html,
html * {
  scroll-behavior: smooth;
}
body {
  color: #000;
  background-color: #383e4b;
  /* scroll-behavior: smooth; */
}

.page-container{
  background-color: #000;
  width: 600px;
  margin: 0 auto;
  box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.4);
}
.event-container {
  width: 600px;
  margin: 0 auto;
  background-color: #fff;
  /* font-size: 28px; */
  /* box-shadow: 0 0 10px rgba(0, 0, 0 , 0.5); */

  font-size: 20px;
  letter-spacing: -0.025em;
  /* font-weight: bold; */
  
  
}
.event-container,
.event-container * {
  box-sizing: border-box;
  line-height: 1.5em;
}

.event-container.box-shadow{
  box-shadow: 0 0 100px rgba(255,255,255,0.7);
}

.event-container .w520px {
  width: 520px;
}

.event-container img {
  display: block;
}
img.inline-block {
  display: inline-block;
}


.fs-1 { font-size: 0.5rem; }
.fs-2 { font-size: 0.75rem; }
.fs-3 , .fs-normal { font-size: 1rem; }
.fs-4 , .fs-big { font-size: 1.25rem; }
.fs-5 { font-size: 1.5rem; }
/*
* font-weight
*/
.fw-100, .fw-thin{ font-weight:100; }
.fw-200, .fw-extra-light{ font-weight:200; }
.fw-300, .fw-light{ font-weight:300; }
.fw-400, .fw-normal, .fw-regular{ font-weight:400; }
.fw-500, .fw-medium{ font-weight:500; }
.fw-600, .fw-semi-bold, .fw-demi-bold{ font-weight:600; }
.fw-700, .fw-bold{ font-weight:700; }
.fw-800, .fw-extra-bold, .fw-ultra-bold{ font-weight:800; }
.fw-900, .fw-black, .fw-heavy{ font-weight:900; }


.p-0{ padding:0; }
.p-1{ padding:0.25rem; }
.p-2{ padding:0.05rem; }
.p-3{ padding:1rem; }
.p-4{ padding:1.5rem; }
.p-5{ padding:2rem; }
.m-0{ margin:0; }
.m-1{ margin:0.25rem; }
.m-2{ margin:0.05rem; }
.m-3{ margin:1rem; }
.m-4{ margin:1.5rem; }
.m-5{ margin:2rem; }
.mt-0{ margin-top:0; }
.mt-1{ margin-top:0.25rem; }
.mt-2{ margin-top:0.5rem; }
.mt-3{ margin-top:1rem; }
.mt-4{ margin-top:1.5rem; }
.mt-5{ margin-top:2rem; }
.mb-0{ margin-bottom:0; }
.mb-1{ margin-bottom:0.25rem; }
.mb-2{ margin-bottom:0.5rem; }
.mb-3{ margin-bottom:1rem; }
.mb-4{ margin-bottom:1.5rem; }
.mb-5{ margin-bottom:2rem; }


/* 공통 */
.event-container{
  background-color: #2e0f00;
}

.box-rounded{
  border-radius: 33px;
  border: 3px solid #000;
  width:700px;
  padding:70px 20px;
  margin:0 auto;
  background-color: #F2F2F2;
}


/* 버튼 기본형 */
.btn{ 
  cursor: pointer;
  line-height: 2em; 
  padding:0 1em;
  border-radius: 10em; 
  border:0px solid #000;
  text-decoration: none;
  font-size: inherit;
  display: inline-block;
  background-color: #999;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* 버튼 2. 직사각형 중앙정렬 */
.btn2{
  width: 410px;
  height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0 auto;
  text-align: center;
  color: transparent;
  text-decoration: none;
}

/* 디버그용 */
.debug .debug-box{
  background-color: #abc9;
}


/* 컨텐츠 부분 */
.main-container{
  background-color: #FFFFF0;
}
.cont{
  font-weight: normal;
  position: relative;
}

.layer-wrap{
  position: absolute;
  left:0;top:0;right:0;
  background-color: transparent;
  /* background-color: #0003; */
}

.festa-link-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 490px;

  /* background-color: #0003; */
  margin:0 auto;
  width:500px;
  height: 1096px;
  gap: 38px 20px;
}
.festa-link-grid > a{
  color: transparent;
}


.cont-1{ background-image: url(main/cont-1.jpg?t=7); height: 1413px; }
.cont-2{ background-image: url(main/cont-2.jpg?t=7); height: 1360px; }
.cont-3{ background-image: url(main/cont-3.jpg?t=7); height: 1074px; }
.cont-4{ background-image: url(main/cont-4.jpg?t=7); height: 1237px; }
.cont-5{ background-image: url(main/cont-5.jpg?t=7); height: 1026px; }
.cont-6{ background-image: url(main/cont-6.jpg?t=7); height: 1539px; }
.cont-7{ background-image: url(main/cont-7.jpg?t=7); height: 1238px; }
.cont-8{ background-image: url(main/cont-8-bg.jpg?t=7); height: 1200px; }
.cont-footer{ background-image: url(main/cont-footer.jpg?t=7); height: 158px; }

.donation-active-wrap{
  width:422px;
  height: 265px;
  margin:0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}
.donation-active{
  width: 100%;
  height: 10%;
  /* background-image: url(main/donation-active.png);
  background-size: 422px 265px;
  background-position: center bottom;
  background-repeat: no-repeat; */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.donation-active-img{
  width:422px;
  height: 265px;
  background-image: url(main/donation-active.png);
  background-size: 422px 265px;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.donation-deactive{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url(main/donation-deactive.png);
  background-size: 422px 265px;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
}
.donation-active.ani{
  --height:80%;
  animation: fill-up 3s ease-in 0s infinite normal both;
  transform: translateZ(0);
}

@keyframes fill-up {
  0%{
    height: 0%;
    opacity: 1;
  }
  50%{
    height: var(--height,0%);
    opacity: 1;
  }
  70%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    height: var(--height,0%);
  }
}






body.bg-n{
  background-size: cover , cover;
  background-position: center top , center top ;
  background-repeat: no-repeat , no-repeat;
  background-attachment: fixed , fixed; /* 스크롤해도 배경 고정 */
  background-image: none , url(main/bg-1.jpg?t=7);
  background-color: #102546;
}
body.bg-n[data-bg-n="1"]{ background-image: url(main/bg-1.jpg?t=7) , url(main/bg-1.jpg?t=7); }
body.bg-n[data-bg-n="2"]{ background-image: url(main/bg-2.jpg?t=7) , url(main/bg-1.jpg?t=7); }
body.bg-n[data-bg-n="3"]{ background-image: url(main/bg-3.jpg?t=7) , url(main/bg-1.jpg?t=7); }
body.bg-n[data-bg-n="4"]{ background-image: url(main/bg-4.jpg?t=7) , url(main/bg-1.jpg?t=7); }
body.bg-n[data-bg-n="5"]{ background-image: url(main/bg-5.jpg?t=7) , url(main/bg-1.jpg?t=7); }
body.bg-n[data-bg-n="6"]{ background-image: url(main/bg-6.jpg?t=7) , url(main/bg-1.jpg?t=7); }
body.bg-n[data-bg-n="7"]{ background-image: url(main/bg-7.jpg?t=7) , url(main/bg-1.jpg?t=7); }
@media (max-width: 600px) {
  /* 이 안의 스타일은 600px 이하일 때만 적용됩니다 */
  body.bg-n{
    background-image: none !important;
  }
}
