/* 인트로 */
#intro {
    position: fixed;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100vh;
    background-color: #F4EAE3;
    text-align: center;
    align-content: center;
    opacity: 1;
    animation: hide 0.5s forwards;
    animation-delay: 2s;
}

/* 인트로 숨기는 애니메이션 */
@keyframes hide {
    100% {
        opacity: 0;
    }
}


/* 인트로 로고 */
#intro svg path {
    opacity: 0;
    animation: logoShow 1s forwards;
    animation-fill-mode: forwards;
}

#intro svg path:nth-child(1) {
    animation-delay: 0.2s;
}

#intro svg path:nth-child(2) {
    animation-delay: 0.3s;
}

#intro svg path:nth-child(3) {
    animation-delay: 0.4s;
}

#intro svg path:nth-child(4) {
    animation-delay: 0.5s;
}

#intro svg path:nth-child(5) {
    animation-delay: 0.8s;
}

#intro svg path:nth-child(6) {
    animation-delay: 0.8s;
}

#intro svg path:nth-child(7) {
    animation-delay: 0.8s;
}

#intro svg path:nth-child(8) {
    animation-delay: 0.8s;
}

#intro svg path:nth-child(9) {
    animation-delay: 0.8s;
}

#intro svg path:nth-child(10) {
    animation-delay: 0.8s;
}

#intro svg path:nth-child(11) {
    animation-delay: 0.8s;
}

/* 인트로 애니메이션 */
@keyframes logoShow {
    100% {
        opacity: 1;
    }
}

/* 헤더 */
.header {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 28px 40px;
    background-color: var(--gray_1);
}

.header>a {
    flex: 1;
}

.header ul {
    display: flex;
    justify-content: center;
    flex: 8;
    gap: 70px;
    padding: 0;
}

.header ul a {
    color: var(--white);
}

.header_instagram {
    display: block;
    text-align: right;
}

/* 모바일 메뉴 */
.mo_menu {
    display: none;
}

/* 컨테이너 */
.container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.container {
    padding: 250px 40px 180px 40px;
    /* 기본패딩 150 + 헤더영역 100  */
}

.container.main {
    position: relative;
    height: 100vh;
    padding: 0;
    background-image: url('/image/main.jfif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.container.contact,
.container.policy {
    width: 100%;
    max-width: 1000px;
    padding-left: 10px;
    padding-right: 10px;
}

.title_padding {
    padding-bottom: 50px;
}

.title_border {
    border-bottom: 1px solid var(--gray_3);
}

.main_overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.main_background {
    width: 100%;
    height: 100%;
    align-content: center;
}

.main_background>img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    opacity: 0;
    animation: visible 3s forwards;
    animation-delay: 2s;
}




.about_text {
    max-width: 100%;
    padding: 30px 0;
}

.about_banner {
    max-width: 100%;
    height: 544px;
    margin-top: 90px;
    margin-bottom: 50px;
    background-image: url('/image/about_banner3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about_profile {
    display: flex;
    justify-content: center;
    padding: 0 80px;
}

.about_profile>li:first-child {
    flex: 4;
}

.about_profile>li:last-child {
    flex: 6;
    text-align: left;
}

#map {
    width: 100%;
    height: 540px;
}

.contact_wrapper {
    padding-top: 60px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--gray_3);
}

.contact_box {
    padding-bottom: 22px;
}

.contact_box.business_hours {
    padding-bottom: 38px;
}

.contact_instagram {
    display: flex;
    align-items: center;
}

.contact_box.instagram {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact_box.instagram img {
    margin-right: 4px;
}

.contact_box .small {
    color: var(--gray_2);
}

.btn_booking {
    margin-top: 40px;
    padding: 20px 40px;
    padding-bottom: 23px;
    background-color: #2D2723;
    border: 0;
    outline: none;
}

.btn_booking h3 {
    color: var(--white);
}

.btn_booking:hover {
    background-color: var(--black);
}

.policy_box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 40px;
    text-align: left;
}

p.list_style {
    position: relative;
    padding-left: 1rem;
}

p.list_style::before {
    content: '•';
    display: inline;
    position: absolute;
    left: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    padding-top: 22px;
    padding-bottom: 24px;
    background-color: var(--gray_4);

}

footer a,
footer p {
    color: var(--gray_2);
}

footer a {
    text-decoration: underline !important;
    text-decoration-color: var(--gray_2) !important;
}

.footer_info {
    display: flex;
    align-items: center;
    flex: 2;
    text-align: left;
}

.footer_info>p:first-child::after {
    content: '|';
    display: inline-block;
    padding: 0 12px;
    color: var(--gray_3);
}

.copyright {
    flex: 2;
    text-align: center;
}

footer .policy {
    flex: 2;
    text-align: right;
}

#portfolio_thumbnails {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

}


.marsony_item {
    width: calc(33.333% - 6.667px);
    margin-bottom: 10px;
}


/* .marsony_item.dual {
    width: calc(50% - 5px);
    margin-bottom: 10px;
} */


.marsony_item img {
    display: block;
    width: 100%;
}