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

body {
    max-width: 1440px;
    margin: auto;

}
body * { 
    font-family: "Pretendard";
}

header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 16px;
}

header .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:60px;
}

header .menu a {
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
}

header .menu > li:hover > a {
    border-bottom: solid 4px #377442;
}

header .menu ul {
    position: absolute;

    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);

    border:solid 1px #377442;
    padding: 16px 32px;
    background-color: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s;
}

header .menu ul a {
    font-size: 16px;
}

header .menu a.active,
header .menu ul a:hover {
    color: #377442;
}

header .menu > li {
    position: relative;
}
header .menu > li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
}

header .menu > li:hover ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

header .sub-menu {
    display: flex;
    gap:16px;
    align-items: center;
}

header .sub-menu {
    margin-right: 32px;
}

.breadcrumb {
    border-top:1px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    padding-block: 16px;
    margin:0 32px;
    margin-top: 96px;
}

.breadcrumb ul {
    display: flex;
    gap:16px;
    align-items: center;
}

.breadcrumb ul li:not(:last-child)::after {
    display: inline-block;
    content: "";
    width: 12px;
    height: 30px;
    background: url(../images/common/breadcrumb.svg) no-repeat transparent center;
    margin-left: 16px;
    background-size: 9px 13px;
  
}

.breadcrumb li {
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.breadcrumb li:first-child a::before {
    display: inline-block;
    content: "";
    width: 24px;
    height: 24px;
    background: url(../images/common/ic_home.svg) no-repeat transparent center;
    margin-right: 16px;

}

.title {
    margin:0 32px;
    font-size: 64px;
    font-weight: 600;
    padding-block: 16px;
    line-height: 110%;
    border-bottom: 1px solid #D5D5D5;
}

.tabs {
    margin:0 32px;
    border-bottom: 1px solid #D5D5D5;
}

.tabs ul {
    display: flex;
    gap:32px;
}

.tabs ul a {
    font-size: 40px;
    font-weight: 600;
    color:#A3A3A3;
    line-height: 150%;
}

.tabs ul a:hover {
    color:#000;
}

.tabs ul a.active {
    color:#3E7343;
}

section {
    padding: 32px;
    margin-top: 128px;
}

section .main-title,
section h1 {
 font-size: 48px;
 line-height: 125%;
 font-weight: 600;   
}

section.main .swiper-container {
    overflow: hidden;
    border-radius: 32px;
    margin-top: 32px;
}

section.main .swiper-container img {
    aspect-ratio: 1.8105 / 1;
    object-fit: cover;
}

section .hero {
    border-radius: 32px;
    background: linear-gradient(90deg, #3E7343 0%, #75D97E 44.23%, #A600FF 100%);
    overflow: hidden;
    padding: 16px;
    margin-top: 32px;
}

section .hero img {
    border-radius: 16px;
    aspect-ratio: 2.2741 / 1;
    object-fit: cover;
}

section.about {
    padding-bottom: 128px;
}

section.about h2 {
    margin-top: 128px;
    font-size: 40px;
    font-weight: 700;
    line-height: 150%;
    text-align: center;
}

section.about h2 + p {
    font-size: 28px;
    text-align: center;
    margin: auto;
    margin-top: 32px;
    max-width: 960px;
    line-height: 150%;
}

section.about p.footnote {
    font-size: 20px;
    margin-top: 48px;
    text-align: center;
}

section.about .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 72px;
    margin-top: 128px;
}

section.about .gallery img {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 1.68 / 1;
    object-fit: cover;
}

section.about .gallery h4 {
    margin-top: 32px;
    font-size:32px;
    font-weight: 600;
}

section.about .gallery p {
    margin-top: 16px;
    font-size: 20px;
    line-height: 150%;
    word-break: break-all;
    letter-spacing: -0.01em;
}

section.about .artstree {
    display: block;
    width: fit-content;
    margin:auto;
    margin-top: 72px;
    font-size: 32px;
    color:#fff;
    background-color: #2A6226;
    padding: 32px 42px;
    border-radius: 500px;
    border:solid 4px transparent
}

section.about .artstree:hover {
    border: 4px solid transparent;
    background:
        linear-gradient(#2A6226, #2A6226) padding-box,
        linear-gradient(
        90deg,
        #3E7343 0%,
        #75D97E 44.23%,
        #A600FF 100%
        ) border-box;
    background-size: 100% 100%, 200% 200%;
    animation: gradientMove 4s ease infinite alternate;
}

section.archive {
    margin-top: 40px;
    padding-inline: 15%;
}

section.archive h2 {
    font-size: 56px;
    line-height: 150%;
}
section.archive h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 125%;
}

section.archive h3:not(:first-of-type) {
    margin-top: 64px;
}

section.archive dl:first-of-type {
    margin-top: 32px;
}

section.archive dl {
    background: var(--Black-00, #FFF);
    box-shadow: 0 -1px 0 0 #DBDBE3 inset;
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap:20px;
    padding-block: 20px;
}

section.archive dl dt {
    font-size: 20px;
    font-weight: 600;
    color:#3E7343;
}

section.archive dl dd li {
    list-style: disc;
    line-height: 26px;
    font-size: 16px;
    
}

section.archive .badge {
    height: 30px;
    width: 50px;
    font-size:16px;
    font-weight: 700;
    margin-top: 52px;
    color:#FFF;
    text-align: center;
}

section.archive .badge.first {
    background: #7BA261;
    backdrop-filter: blur(2px);
}
section.archive .badge.second {
    background: #B24821;
    backdrop-filter: blur(2px);
}
section.archive .badge.third {
    background: #2F5FA1;
    backdrop-filter: blur(2px);
}

section.archive .lineup {
    display: grid;
    gap:16px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 16px;
}

section.archive .festival {
    display: grid;
    gap:16px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 16px;
}

section.archive .lineup.half {
    grid-template-columns: 1fr 1fr;
}

section.archive .lineup.half img {
    aspect-ratio: 2.0684 / 1;
    object-fit: cover;
    object-position: center 35%;
}

section.archive .festival.half {
    grid-template-columns: 1fr 1fr;
}

section.archive .festival.half img {
    aspect-ratio: 2.0684 / 1;
    object-fit: cover;
    object-position: center 35%;
}

section.board {
    border-top:solid 1px #D5D5D5;
    margin-inline: 32px;
    padding: 0;;
}
section.board .list {
    padding-bottom: 48px;
}
section.board .list li {
    padding-block: 24px;
    border-bottom: solid 1px #D5D5D5;
}

section.board .list li:last-child {
    border-bottom: none;
}
section.board .list a {
    display: flex;
    align-items: center;
    font-size: 28px;
    line-height: 125%;
    font-weight: 500;
    letter-spacing: -0.56px;
}

section.board .list a::before {
    display: inline-block;
    content: "";
    width: 34px;
    height: 34px;
    background: url(../images/common/ic_plus.svg) no-repeat transparent center;
    background-size: 34px 34px;
    margin-right: 24px;
    flex: 0 0 34px;
}

section.board .list a.expand:before {
    background: url(../images/common/ic_minus.svg) no-repeat transparent center;
}

section.board .list a.expand {
    color:#377442
}


section.board .list div p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-top: 32px;
}

section.board .content {
    max-height: 0;
    padding-top: 42px;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.25s ease,
        padding 0.4s ease;
    padding: 0 0;
}
  
section.board .content.open {
    opacity: 1;
}

section.media {
    margin-top: 0px;
}

section.media iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}

section.media .sub-tabs {
    display: flex;
    gap:12px;
}

section.media .sub-tabs button {
    height: 48px;
    padding-inline: 36px;
    border-radius: 500px;
    background-color: #A3A3A3;
    color:#fff;
    font-size: 20px;
    display: flex;
    align-items: center;
}

section.media .sub-tabs button.active
{
    background-color:#3E7343;
}

section.media .gallery {
    display: grid;
    gap:16px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    display: none;
    opacity: 0;
    animation: none;
}

section.media .gallery.active
{
    display: grid;
    animation: dissolveIn 0.8s ease;
    opacity: 1;
}

section.media .gallery .quattro { 
    grid-column: span 1;
}

section.media .gallery img {
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
}
section.media .gallery .quattro img {
    aspect-ratio:  1 / 1;
}

section.media .gallery .dos img {
    aspect-ratio:  2.2667 / 1;
}

section.media .gallery .dos {
    grid-column: span 2;
}

  
  .image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .image-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .image-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
  }
  
  .image-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 1;
  }
  
  .image-modal__img {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
  }
  
  .image-modal__close {
    min-width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
  }

footer {
    border-top: 1px solid #D5D5D5;
    padding: 16px;
    padding-top: 128px;
    margin:0 32px;
}

footer .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:32px;
}

footer .logo .arko img {
    display: block;
    margin: auto;
}


footer .logo p {
    font-size:14px;
}

footer .logo .instagram {
    font-size: 18px;
    font-weight: 600;
}

footer .logo .instagram::before {
    display: inline-block;
    content:"";
    width: 24px;
    height: 24px;
    background: url(../images/common/ic_insta.svg) no-repeat transparent center left;
    margin-right: 16px;
}

footer .copyright {
    margin-top: 128px;
    text-align: center;
}

.green {
    color: #377442;
}

/* mobile menu */
header .mo-open {
    display: none;
}
.mo-menu {
    position: fixed;
    top:0;
    right:0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.47);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.mo-menu.open {
    transform: translateX(0);
}


.mo-menu .logo {
    display: flex;
    padding: 20px 16px;
    align-items: center;
    justify-content: space-between;
    border-bottom: solid 1px #D5D5D5;
    background-color: #fff;
}


.mo-menu .logo > img {
    width: 186px;
}

.mo-menu ul {
    padding: 32px 16px;
    background-color: #fff;
}

.mo-menu ul li {
    margin-bottom: 8px;
}
.mo-menu ul li a {
    font-size: 24px;
    font-weight: 600;
    display: block;
}

.mo-menu ul li a.active {
    color:#3E7343;
}
.mo-menu ul li:last-of-type {
    margin-top: 32px;
}
.mo-menu ul li:last-of-type a {
    font-size: 16px;
    font-weight: 400;
    height: 20px;
    margin-bottom: 8px;
}

.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}


@keyframes gradientMove {
    0% {
        background-position: 0 0, 0% 50%;
    }
    100% {
        background-position: 0 0, 100% 50%;
    }
}

@keyframes dissolveIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }