.note-modal-backdrop{
    transform: scale(0); 
    z-index: -1000
}
@font-face {
    font-family: "Gabrielle";
    src: url(../fonts/Gabrielle.ttf);
}

@font-face {
    font-family: "Moon Dance";
    src: url(../fonts/MoonDance-Regular.ttf);
}

@font-face {
    font-family: "ANDONG";
    src: url(../fonts/ANDONG264TTF.ttf);
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color:rgb(0, 0, 0);
    overflow: hidden;
    position: relative;
}


.view-container, .container {
    font-family: "ANDONG";
    width: 1440px;
    height: 1024px;
    background-color: #ffffff;
    transform-origin: top left;
    position: absolute;
    font-weight: 400;
    font-style: normal;
    overflow: hidden;
}

html, body, .view-container, .container {
    transition: background-color 1s ease-in-out;
}



#background1 {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1440px;
    height: 1024px;
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%), url("../images/Background.png") lightgray -48.937px 0px / 106.797% 100% no-repeat;
    background-blend-mode: lighten, normal;
    z-index: 0;
}

#main_img1{
    position: absolute;
    top:43px;
    left: 50%;
    transform: translateX(-50%);
    width: 774.937px;
    height: 757.07px;
    flex-shrink: 0;
    aspect-ratio: 774.94/757.07;
    z-index: 1000;
    background: url("../images/대문01.png") rgba(211, 211, 211, 0) 50% / cover no-repeat;
}
#main_img2{
    position: absolute;
    top:43px;
    left: 50%;
    transform: translateX(-50%);
    width: 774.937px;
    height: 757.07px;
    flex-shrink: 0;
    aspect-ratio: 774.94/757.07;
    z-index: 1500;
    background: url("../images/대문02.png") rgba(211, 211, 211, 0) 50% / cover no-repeat;
}

#main_img3{
    position: absolute;
    top:43px;
    left: 50%;
    transform: translateX(-50%);
    width: 774.937px;
    height: 757.07px;
    flex-shrink: 0;
    aspect-ratio: 774.94/757.07;
    z-index: 1500;
    background: url("../images/대문03.png") rgba(211, 211, 211, 0) 50% / cover no-repeat;
}

#line-11, #line-12{
    background: #8E2A41;
}

#ellipse-11{
    fill: #8E2A41;
}

#text_1one, #text_1two, #text_1three{
    color: #8E2A41;
}
#line-11 {
    position: absolute;
    top: 822px;
    left:129px;
    width: 552px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 30px;
    z-index: 1500;
}

#line-12 {
    position: absolute;
    top: 822px;
    right:129px;
    width: 552px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 30px;
    z-index: 1500;
}

#ellipse-11 {
    position: absolute;
    top: 812px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    z-index: 1500;
}

#text_1one {
    font-family: "Moon Dance", cursive;
    position: absolute;
    top: 871px;
    left: 230px;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
}

#text_1two {
    font-family: "Moon Dance", cursive;
    position: absolute;
    top: 871px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
}

#text_1three {
    font-family: "Moon Dance", cursive;
    position: absolute;
    top: 871px;
    right: 300px; 
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
}

#login_btn1{
    position: absolute;
    top: 43px;
    right: 54px;
    width: 61px;
    height: 61px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    background: url("../images/hat1.png") right center / cover no-repeat;
    z-index: 10000;
    cursor: pointer;
    outline: none;
    border: none;
}






.note-editor.note-frame { border: 1px solid #a9a9a9; } 
.note-editable { background-color: #fff !important; line-height: 1.8; }
.editable-area-container {
    padding: 20px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.save-button-container {
    text-align: right;
    margin-top: 10px;
}
.save-button-container button {
        padding: 8px 15px;
        background-color: #8E2A41;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
}
    .save-button-container button:hover {
        background-color: #6d2031;
    }





#background2 {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1440px;
    height: 1024px;
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%), url("../images/Background2.png") lightgray -48.937px 0px / 106.797% 100% no-repeat;
    background-blend-mode: lighten, normal;
    z-index: 0;
}

#line-21, #line-22{
    background: #2E7273;
}

#ellipse-21{
    fill: #2E7273;
}

#text_2one, #text_2two, #text_2three{
    color: #2E7273;
}
#line-21 {
    position: absolute;
    top: 135px;
    left:129px;
    width: 552px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 30px;
    z-index: 1500;
}

#line-22 {
    position: absolute;
    top: 135px;
    right:129px;
    width: 552px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 30px;
    z-index: 1500;
}

#ellipse-21 {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    z-index: 1500;
}

#text_2one {
    position: absolute;
    top: 50px;
    left: 300px;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
    font-family: "Moon Dance", cursive;
}

#text_2two {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
    font-family: "Moon Dance", cursive;
}

#text_2three {
    height: 43px;
    position: absolute;
    top: 50px;
    right: 300px;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
    font-family: "Moon Dance", cursive;
}

#login_btn2{
    position: absolute;
    top: 43px;
    right: 54px;
    width: 61px;
    height: 61px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    background: url("../images/login1.png") right center / cover no-repeat;
    z-index: 10000;
    cursor: pointer;
    outline: none;
    border: none;
}

.gallery-content-area {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; 
    max-width: 1000px;
    height: 760px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 30px;
    overflow-y: auto;
    z-index: 1000;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-content: start;
}

.gallery-item {
    height: 250px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease-in-out;
}
.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img,
.gallery-item .thumbnail-placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}
.gallery-item .thumbnail-placeholder {
    background-color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 0.9em;
}

.gallery-item p {
    margin: 0;
    padding: 10px 5px;
    font-size: 15px; 
    font-family: "Noto Sans KR", sans-serif;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-content-area::-webkit-scrollbar{ width: 5px; }
.gallery-content-area::-webkit-scrollbar-track { background: transparent; }
.gallery-content-area::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px;}

.upload-button-container {
    position: absolute;
    top: 170px; 
    right: calc(10% + 30px); 
    z-index: 1100;
}
.upload-button-container button {
    padding: 8px 15px; background-color: #2E7273; color: white;
    border: none; border-radius: 5px; cursor: pointer; font-size: 14px;
}
.upload-button-container button:hover { background-color: #1d494a; }

.no-items { width: 100%; text-align: center; margin-top: 50px; color: #777; font-family: "Noto Sans KR", sans-serif; grid-column: 1 / -1;}




.gallery-view-content-area { 
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 737px;
        height: 760px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        flex-grow: 1;
        padding: 30px 40px;
        overflow-y: scroll;
        box-sizing: border-box;
}
.gallery-view-content-area::-webkit-scrollbar { width: 0px; height: 0px; }
    .gallery-view-content-area::-webkit-scrollbar-track { background: transparent; }
    .gallery-view-content-area::-webkit-scrollbar-thumb { background: transparent; }

.gallery-view-content-area h2 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.post-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}
.post-content {
    margin-top: 20px;
    line-height: 1.6;
}
.post-content img {
    max-width: 100%;
    height: auto;
}
.admin-actions a, .back-button {
        display: inline-block;
        margin-top: 20px;
        margin-right: 10px;
        padding: 8px 12px;
        background-color: #eee;
        color: #333;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.9em;
}
.admin-actions a.edit-btn { background-color: #2E7273; color: #ffffff; }
.admin-actions a.delete-btn { background-color:rgb(0, 0, 0); color: #ffffff; }
.back-button { background-color: #f5f5f5; }

#background3 {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1440px;
    height: 1024px;
    flex-shrink: 0;
        background: linear-gradient(0deg, #000 0%, #000 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 100%), url("../images/Background.png") lightgray -48.937px 0px / 106.797% 100% no-repeat;
        background-blend-mode: saturation, lighten, normal;
    z-index: 0;
}


#line-31, #line-32{
    background: #000000;
}

#ellipse-31 path{
    fill: #000000;
}

#text_3one, #text_3two, #text_3three{
    color: #000000;
}

#line-31 {
    position: absolute;
    top: 135px;
    left:129px;
    width: 552px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 30px;
    z-index: 1500;
}

#line-32 {
    position: absolute;
    top: 135px;
    right:129px;
    width: 552px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 30px;
    z-index: 1500;
}

#ellipse-31 {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    z-index: 1500;
}

#text_3one {
    position: absolute;
    top: 50px;
    left: 300px;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
    font-family: "Moon Dance", cursive;
}

#text_3two {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
    font-family: "Moon Dance", cursive;
}

#text_3three {
    height: 43px;
    position: absolute;
    top: 50px;
    right: 300px;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    z-index: 1500;
    cursor: pointer;
    text-decoration-line: none;
    font-family: "Moon Dance", cursive;
}

#login_btn3{
    position: absolute;
    top: 43px;
    right: 54px;
    width: 61px;
    height: 61px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    background: url("../images/rose.png") right center / cover no-repeat;
    z-index: 10000;
    cursor: pointer;
    outline: none;
    border: none;
}

#social_heart, #social_spades, #social_clubs, #social_diamond {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 139px;
    height: 139px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

#social_heart {
    left: 252px;
    background: url("../images/heart.png") center center / cover no-repeat;
}

#social_spades {
    left: 523px;
    background: url("../images/spades.png") center center / cover no-repeat;
}

#social_clubs {
    right: 523px;
    background: url("../images/clubs.png") center center / cover no-repeat;
}

#social_diamond {
    right: 252px;
    background: url("../images/diamond.png") center center / cover no-repeat;
}

#social_heart:hover, #social_spades:hover, #social_clubs:hover, #social_diamond:hover {
    transform: translateY(-50%) scale(1.1);
}


#main_box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1012px;
    height: 261px;
    flex-shrink: 0;
    border-radius: 30px;
    background: #FFF;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    font-family: "Noto Serif KR", serif;
    font-size: 18px;
}





.introduce-edit-button, #introduce-editor-form button {
    margin-top: 10px;
    margin-right: 5px;
    padding: 5px 10px;
    cursor: pointer;
    background-color: #2E7273;
    color: white;
}

.main-content-area {
        position: absolute; 
        bottom: 0px; 
        left: 50%; 
        transform: translateX(-50%);
        width: 1000px; 
        height: 760px; 
        background-color: rgba(255, 255, 255, 0);
        border-radius: 30px; 
        flex-grow: 1; 
        padding: 20px 30px; 
        overflow-y: auto; 
        box-sizing: border-box;
    }

    .main-content-area::-webkit-scrollbar{ 
    width: 0px; 
}
    .main-content-area::-webkit-scrollbar-track { 
    background: transparent; 
}

    .main-content-area::-webkit-scrollbar-thumb { 
    background: #ccc; 
    border-radius: 3px;}
    #introduce-content-display img { 
    max-width: 100%; 
    height: auto; 
}

    .note-editor.note-frame { 
    margin-bottom: 10px; 
}


.note-modal-backdrop{
    transform: scale(0); 
    z-index: -1000
}
.upload-form-area {
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 800px;
        height: 800px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        padding: 30px 40px;
        overflow-y: auto;
        box-sizing: border-box;
}
.upload-form-area h2 { margin-top: 0; }
.gallery-form div { margin-bottom: 15px; }
.gallery-form label { display: block; margin-bottom: 5px; font-weight: bold; }
.gallery-form input[type="text"] {
    width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
}
.note-editor.note-frame { margin-bottom: 10px; } 

.form-actions button, .form-actions a.cancel-btn {
    padding: 10px 15px; margin-right: 10px; border: none; border-radius: 4px; cursor: pointer;
    font-size: 1em; text-decoration: none; display: inline-block;
}
.form-actions button[type="submit"] { background-color: #2E7273; color: white; }
.form-actions a.cancel-btn { background-color: #ccc; color: #333; }

.error-message { color: red; margin-bottom: 15px; }
    




@media (max-width: 768px) {
    .view-container, .container {
        font-family: "ANDONG";
        width: 720px;
        height: 1280px;
        background-color: #ffffff;
        transform-origin: top left;
        position: absolute;
        font-weight: 400;
        overflow: hidden;
        font-style: normal;
    }

    #background1 {
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1800px;
        height: 1280px;
        flex-shrink: 0;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%), url("../images/Background.png") lightgray -61.172px 0px / 106.797% 100% no-repeat;
        background-blend-mode: lighten, normal;
        z-index: 0;
    }

    #main_img1{
        position: absolute;
        top:202px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 586px;
        flex-shrink: 0;
        aspect-ratio: 300/293;
        z-index: 1000;
        background: url("../images/대문01.png") rgba(211, 211, 211, 0) 50% / cover no-repeat;
    }
    
    #main_img2{
        position: absolute;
        top:202px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 586px;
        flex-shrink: 0;
        aspect-ratio: 300/293;
        background: url("../images/대문02.png") rgba(211, 211, 211, 0) 50% / cover no-repeat;
        z-index: 1500;
    }

    #main_img3{
        position: absolute;
        top:202px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 586px;
        flex-shrink: 0;
        aspect-ratio: 300/293;
        z-index: 1500;
        background: url("../images/대문03.png") rgba(211, 211, 211, 0) 50% / cover no-repeat;
    }

    #text_1one, #text_1two, #text_1three{
        color: #8E2A41;
    }
    #line-11 {
        position: absolute;
        top: 817px;
        left:50%;
        transform: translateX(-50%);
        width: 600px;
        height: 5px;
        flex-shrink: 0;
        border-radius: 30px;
        background: #8E2A41;
        z-index: 1500;
    }

    #line-12 {
        display: none;
    }

    #ellipse-11 {
        display: none;
    }

    #text_1one {
        position: absolute;
        top: 904px;
        left:50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500;
        cursor: pointer;
        text-decoration-line: none;
    }

    #text_1two {
        position: absolute;
        top: 1027px;
        left:50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500;
        cursor: pointer;
        text-decoration-line: none;
    }

    #text_1three {
        position: absolute;
        top: 1150px;
        left:50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500;
        cursor: pointer;
        text-decoration-line: none;
    }

    #login_btn1{
        position: absolute;
        top: 36px;
        right: 591px;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        background: url("../images/hat1.png") center center / cover no-repeat;
        z-index: 10000;
        cursor: pointer;
        outline: none;
        border: none;
    }

    #background2 {
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1800px;
        height: 1280px;
        flex-shrink: 0;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%), url("../images/Background2.png") lightgray -61.172px 0px / 106.797% 100% no-repeat;
        background-blend-mode: lighten, normal;
        z-index: 0;
    }


    #text_2one, #text_2two, #text_2three{ 
        color: #2E7273; 
    }

    #line-21 { 
        position: absolute; 
        top: 127px; 
        left: 50%; 
        transform: translate(-50%); 
        width: 600px;
        height: 5px;
        flex-shrink: 0;
        border-radius: 30px;
        background: #2E7273;
        z-index: 1500; 
    }

    #line-22 { 
        display: none;
    }

    #ellipse-21 { 
        display: none;
    }

    #text_2one { 
        position: absolute; 
        top: 64px; 
        left: 154px; 
        text-align: left;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500; 
        cursor: pointer; 
        text-decoration-line: none; 
    }

    #text_2two { 
        position: absolute; 
        top: 64px; 
        left: 370px; 
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500; 
        cursor: pointer; 
        text-decoration-line: none; 
    }

    #text_2three { 
        position: absolute; 
        top: 64px; 
        right: 134px; 
        text-align: right;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500; 
        cursor: pointer; 
        text-decoration-line: none; 
    }

    #login_btn2{
        position: absolute;
        top: 36px;
        left: 640px;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        background: url("../images/login1.png") right center / cover no-repeat;
        z-index: 10000;
        cursor: pointer;
        outline: none;
        border: none;
    }

    .gallery-content-area {
        position: absolute;
        top:226px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%; 
        max-width: 590px;
        height: 1000px;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 30px;
        padding: 30px;
        overflow-y: auto;
        z-index: 1000;
        box-sizing: border-box;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        align-content: start;
    }

    .gallery-item {
        height: 250px;
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: #333;
        transition: transform 0.2s ease-in-out;
    }
    .gallery-item:hover {
        transform: translateY(-5px);
    }

    .gallery-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
        border-bottom: 1px solid #eee;
    }
    .gallery-item .thumbnail-placeholder {
        width: 100%;
        height: 180px;
        background-color: #cccccc;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666666;
        font-size: 0.9em;
        border-bottom: 1px solid #eee;
    }

    .gallery-item p {
        margin: 0;
        padding: 10px 5px;
        font-size: 15px; 
        font-family: "Noto Sans KR", sans-serif;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gallery-content-area::-webkit-scrollbar{ width: 5px; }
    .gallery-content-area::-webkit-scrollbar-track { background: transparent; }
    .gallery-content-area::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px;}

    .upload-button-container {
        position: absolute;
        top: 170px; 
        right: 591px; 
        z-index: 1100;
    }
    .upload-button-container button {
        padding: 8px 15px; background-color: #2E7273; color: white;
        border: none; border-radius: 5px; cursor: pointer; font-size: 14px;
    }
    .upload-button-container button:hover { background-color: #1d494a; }

    .no-items { width: 100%; text-align: center; margin-top: 50px; color: #777; font-family: "Noto Sans KR", sans-serif; grid-column: 1 / -1;}


    .gallery-view-content-area {
        position: absolute;
        top:226px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 590px;
        height: 920px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        flex-grow: 1;
        padding: 30px 40px;
        overflow-y: scroll;
        box-sizing: border-box;
    }
    .gallery-view-content-area::-webkit-scrollbar { width: 0px; height: 0px; }
    .gallery-view-content-area::-webkit-scrollbar-track { background: transparent; }
    .gallery-view-content-area::-webkit-scrollbar-thumb { background: transparent; }

    .gallery-view-content-area h2 {
        margin-top: 0;
        margin-bottom: 10px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }
    .post-meta {
        font-size: 0.9em;
        color: #777;
        margin-bottom: 20px;
    }
    .post-content {
        margin-top: 20px;
        line-height: 1.6;
    }
    .post-content img { 
        max-width: 100%;
        height: auto;
    }
    .admin-actions a, .back-button {
        display: inline-block;
        margin-top: 20px;
        margin-right: 10px;
        padding: 8px 12px;
        background-color: #eee;
        color: #333;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.9em;
    }
    .admin-actions a.edit-btn { background-color: #2E7273; color: #ffffff; }
    .admin-actions a.delete-btn { background-color:rgb(0, 0, 0); color: #ffffff; }
    .back-button { background-color: #f5f5f5; }

    

    #background3 {
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1800px;
        height: 1280px;
        flex-shrink: 0;
        background: linear-gradient(0deg, #000 0%, #000 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%), url("../images/Background.png") lightgray -61.172px 0px / 106.797% 100% no-repeat;
        background-blend-mode: saturation, lighten, normal;
        z-index: 0;
    }

    #text_3one, #text_3two, #text_3three{ 
        color:rgb(0, 0, 0); 
    }

    #line-31 { 
        position: absolute; 
        top: 127px; 
        left: 50%; 
        transform: translate(-50%); 
        width: 600px;
        height: 5px;
        flex-shrink: 0;
        border-radius: 30px;
        background:rgb(0, 0, 0);
        z-index: 1500; 
    }

    #line-32 { 
        display: none;
    }

    #ellipse-31 { 
        display: none;
    }

    #text_3one { 
        position: absolute; 
        top: 64px; 
        left: 154px; 
        text-align: left;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500; 
        cursor: pointer; 
        text-decoration-line: none; 
    }

    #text_3two { 
        position: absolute; 
        top: 64px; 
        left: 360px; 
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500; 
        cursor: pointer; 
        text-decoration-line: none; 
    }

    #text_3three { 
        position: absolute; 
        top: 64px; 
        right: 134px; 
        text-align: right;
        font-size: 24px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        z-index: 1500; 
        cursor: pointer; 
        text-decoration-line: none; 
    }

    #login_btn3{
        position: absolute;
        top: 35px;
        right: 40px;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        background: url("../images/rose.png") center center / cover no-repeat;
        z-index: 10000;
        cursor: pointer;
        outline: none;
        border: none;
    }

    #social_heart, #social_spades, #social_clubs, #social_diamond {
        position: absolute;
        width: 139px;
        height: 139px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
        cursor: pointer;
        z-index: 1000; /* 네비게이션과 겹치지 않도록 조정 */
        transition: transform 0.3s ease;
    }

    #social_heart {
        top:516px;
        left: 169px;
        background: url("../images/heart.png") center center / cover no-repeat;
    }

    #social_spades {
        top:516px;
        left: 411px;
        background: url("../images/spades.png") center center / cover no-repeat;
    }

    #social_clubs {
        top: 750px;
        left: 169px;
        background: url("../images/clubs.png") center center / cover no-repeat;
    }

    #social_diamond {
        top: 750px;
        right: 169px;
        background: url("../images/diamond.png") center center / cover no-repeat;
    }

    #social_heart:hover, #social_spades:hover, #social_clubs:hover, #social_diamond:hover {
        transform: translateY(-50%) scale(1.1);
    }


    #main_box{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 530px;
        height: 530px;
        flex-shrink: 0;
        border-radius: 30px;
        background: #ffffff;
        z-index: 500;
        align-items: center;
        justify-content: center;
    }

    .introduce-edit-button, #introduce-editor-form button {
        margin-top: 10px;
        margin-right: 5px;
        padding: 5px 10px;
        cursor: pointer;
        background-color: #2E7273;
        color: white;
    }

    .main-content-area {
        position: absolute; 
        top: 230px;
        left: 50%; 
        transform: translateX(-50%);
        width: 720px; 
        height: 1000px; 
        background-color: rgba(40, 46, 100, 0);
        border-radius: 30px; 
        flex-grow: 1; 
        padding: 20px 30px; 
        overflow-y: auto; 
        box-sizing: border-box;
    }

    .upload-form-area {
        position: absolute;
        top:226px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 590px;
        height: 920px;
        background-color: rgb(255, 255, 255);
        border-radius: 30px;
        padding: 30px 40px;
        overflow-y: auto;
        box-sizing: border-box;
    }
    .upload-form-area h2 { margin-top: 0; }
    .gallery-form div { margin-bottom: 15px; }
    .gallery-form label { display: block; margin-bottom: 5px; font-weight: bold; }
    .gallery-form input[type="text"] {
        width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
    }
    .note-editor.note-frame { margin-bottom: 10px; } 

    .form-actions button, .form-actions a.cancel-btn {
        padding: 10px 15px; margin-right: 10px; border: none; border-radius: 4px; cursor: pointer;
        font-size: 1em; text-decoration: none; display: inline-block;
    }
    .form-actions button[type="submit"] { background-color: #2E7273; color: white; }
    .form-actions a.cancel-btn { background-color: #ccc; color: #333; }

    .error-message { color: red; margin-bottom: 15px; }

}

