* {
    box-sizing: border-box;
}

a,
a:link, 
a:visited, 
a:hover, 
a:active {
    text-decoration: none;
    color: #A10000;
}

/* ----- FONT FACE ----- */
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-Thin.otf") format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-ExtraLight.otf") format('opentype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-Light.otf") format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-Regular.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-Medium.otf") format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-SemiBold.otf") format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-Bold.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-ExtraBold.otf") format('opentype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: '프리텐다드';
    src: url("../fonts/Pretendard-Black.otf") format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: '함초롱바탕';
    src: url("../fonts/HCRBatang.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '함초롱바탕';
    src: url("../fonts/HCRBatang-Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: '나눔스퀘어고딕';
    src: url("../fonts/NanumSquareL.otf") format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: '나눔스퀘어고딕';
    src: url("../fonts/NanumSquareR.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '나눔스퀘어고딕';
    src: url("../fonts/NanumSquareB.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: '나눔스퀘어고딕';
    src: url("../fonts/NanumSquareEB.otf") format('opentype');
    font-weight: 800;
    font-style: normal;
}

/* ----- LAYOUT & BASIC ----- */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #FAF4E2;
    overflow: hidden;
    position: relative;
    visibility: hidden;
}
.container{
    width: 1440px;
    height: 900px;
    flex-shrink: 0;
    aspect-ratio: 1440/900;
    background-size: contain;
    background-color: #FAF4E2;
    transform-origin: top left;
    position: absolute;
    transform: scale(0);
    letter-spacing: 0.1em;
    font-family: '프리텐다드';
    font-weight: 400;
    color:#A10000;
    transition: background-color 1s ease-in-out;
}
main {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 1440px;
    height: 900px;
    flex-shrink: 0;
    /* background: rgba(178, 60, 60, 0.7); */
    overflow-y: auto;
}
main::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.page-container,
.gallery-container, .form-page-container, .view-container,
.password-form-container, .guestbook-container, .black-container{
    color: #A10000;
    font-family: '프리텐다드';
    font-weight: 300;
    font-size: 14px;
    font-style: normal;
    line-height: normal;
}
/* ----- BUTTONS (통합된 부분) ----- */
/* 1. 모든 버튼의 공통 스타일 */
.btn, .btn-action, .add-btn, button[type="submit"], button[type="button"], .cancel_btn, .edit-btn{
    display: inline-block;
    padding: 12px 20px;
    font-family: '프리텐다드';
    font-weight: 500;
    font-size: 16px;
    text-decoration-line: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-right: 10px; /* 기본 간격 */
}
.btn:last-child {
    margin-right: 0; /* 마지막 버튼은 간격 제거 */
}

/* 2. 색상 및 형태에 따른 스타일 */
.btn-primary, .btn-action, .add-btn, button[type="submit"], .edit-btn  {
    background-color:#A10000;
    color: #fafafa !important;
}
.btn-secondary, .btn-action.delete-btn, button[type="button"], .cancel_btn {
    background-color: #fafafa;
    color: #A10000 !important;
}
.btn-small {
    padding: 8px 15px;
    font-size: 14px;
}
.btn-delete, .btn-secondary-guest {
    background-color: #A10000 !important;
    color: #fafafa !important;
}

.login_btn{
    color: #A10000 !important;
}

/* 게시물 내 목록가기 버튼 */
.btn-back-to-list {
    display: inline-block;
    padding: 12px 35px;
    background-color: #A10000;
    color: #fafafa !important;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s;
}

.file-upload-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #A10000;
    color: #fafafa !important;
    font-family: '프리텐다드';
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    text-decoration-line: none;
    cursor: pointer;
    width: 100px;
}

/* ----- POST & VIEW ----- */
.view-container hr {
    border: none;
    border-top: 3px solid #A10000;
}
.post-meta {
    text-align: right;
    margin-bottom: 15px;
}
.post-date {
    text-align: right;
    color: #A10000;
    font-size: 14px;
    margin-bottom: 25px;
}
.post-content {
    line-height: 1.8;
    min-height: 250px;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.post-actions {
    text-align: center;
    margin-top: 40px;
}

/* ----- GALLERY ----- */
.gallery-container > h2{
    font-family: '프리텐다드';
    font-weight: 900;
}
.gallery-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 70px;
}
.gallery-item {
    text-decoration: none;
    color: #333;
    border-radius: 15px;
    overflow: hidden;
}
.item-thumbnail {
    width: 100%;
    padding-top: 100%;
    background-color:#FAF4E2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.gallery-item h3 {
    padding: 10px;
    font-size: 16px;
    margin: 0;
    color: #A10000;
}




/* ----- FORMS ----- */
.form-page-container, .view-container {
    position: absolute;
    top: 151px;
    height: 800px;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 18px;
    width: 780px;
    left: 50%;
    transform: translateX(-50%);
}

.form-page-container::-webkit-scrollbar, .view-container::-webkit-scrollbar{
    width: 0px;
    height: 0px;
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.login-form, .password_content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
}
.login-form > form {
    display: flex;
    gap: 26px;
    flex-direction: column;
    align-items: center;
}
.login-form > form > input,
.password_content > form > input {
    color: #A10000 !important;
    width: 399px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 30px;
    border: 3px solid #A10000;
    background: rgba(255, 255, 255, 0.30);
    text-align: center;
    margin-top: 20px;
}
.login-form > form > button,
.password_content > form > button {
    color: #A10000 !important;
    width: 252px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 30px;
    border: 3px solid #A10000;
    background: rgba(255, 255, 255, 0.30);
    margin-top: 13px;
    margin-right: 0 !important;
    padding: 0;
    font-family: 'Pretendar';
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.login-form > form > input[type="password"],
.password_content > form > input[type="password"] {
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif !important;
    letter-spacing: 5px;
}

.login-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ----- ETC ----- */
.note-modal-backdrop, .modal-backdrop {
    background-color: transparent !important;
    z-index: -1 !important
}


.main_title{
    width: 316px;
    height: 83px;
    flex-shrink: 0;
    aspect-ratio: 316/83;
    background: url("../images/로고.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 32px;
    left: 101px;
    display: flex;
}

.main_slog{
    width: 360px;
    height: 37px;
    flex-shrink: 0;
    aspect-ratio: 360/37;
    background: url("../images/슬로건.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 37px;
    left: 782px;
    display: flex;
}

nav{
    position: absolute;
    top: 90px;
    left: 532px;
    display: flex;
    flex-direction: row;
    gap: 72px;
    font-size: 17px;
    font-family: '프리텐다드';
    font-weight: 300;
    color: #A10000 !important;
}

.sub_menu{
    display: none;
}

.sub_nav{
    display: none;
}


.main_chat{
    position: absolute;
    top: 82px;
    left: 1255px;
    width: 25px;
    height: 22px;
    aspect-ratio: 25/22;
    background: url("../images/채팅방.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    display: flex;
}

.main_login{
    position: absolute;
    top: 78px;
    left: 1290px;
    width: 23px;
    height: 31px;
    aspect-ratio: 23/31;
    background: url("../images/로그인회원가입.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    display: flex;
}


.main_images {
    position: absolute;
    top: 146px;
    left: 90px;
    width: 1260px;
    height: 639px;
    aspect-ratio: 1260 / 639;
    overflow: hidden;
    transform-origin: top left;
}


.main_images_track {
    display: flex;
    width: 600%;
    height: 100%;
    animation: slideAnimation 15s infinite; 
}


.main_images_track .slide {
    width: 1260px;
    height: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}


@keyframes slideAnimation {
    0%, 15%   { transform: translateX(0); }            
    20%, 35%  { transform: translateX(-1260px); }      
    40%, 55%  { transform: translateX(-2520px); }      
    60%, 75%  { transform: translateX(-3780px); }      
    80%, 95%  { transform: translateX(-5040px); }      
    100%      { transform: translateX(-6300px); }      
}

.main_plus{
    position: absolute;
    top: 704px;
    left: 158px;
    width: 1104px;
    height: 196px;
    aspect-ratio: 1104/196;
    background: url("../images/하단 팝업.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
}


.intro_nav, .universry_nav, .creative_nav, .art_nav, .video_nav, .free_nav{
    position: absolute;
    top: 151px;
    left: 101px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    background-color: #fafafa !important;
    border-radius: 50px;
    width: 174px;
    height: 722px;
}

.intro_nav{
    gap:49px;
    align-items: center;
    font-size: 16px;
}

.universry_nav{
    gap:49px;
    align-items: center;
    font-size: 16px;
}

.creative_nav{
    gap:13px;
    font-size: 16px;
    text-align: left;
}

.creative_nav a{
    margin-left: 18px;
}

.art_nav{
    gap:0px;
    text-align: left;
    font-size: 16px;
}

.free_nav{
    gap: 0px;
    font-size: 16px;
    text-align: left;
}


.intro_page, .universry_page, .creative_page, .art_page, .video_page, .free_page{
    position: absolute;
    top: 151px;
    left: 293px;
    background-color: #fafafa;
    border-radius: 50px;
    width: 1042px;
    height: 722px;
    padding: 50px;
    overflow-y: auto;
}

.intro_page::-webkit-scrollbar, .universry_page::-webkit-scrollbar, .creative_page::-webkit-scrollbar, .art_page::-webkit-scrollbar, .video_page::-webkit-scrollbar, .free_page::-webkit-scrollbar{
    width: 0;
    height: 0;
}

.guest_img1{
    position: absolute;
    top: 215px;
    left: 38px;
    width: 168px;
    height: 174px;
    aspect-ratio: 168/174;
    background: url("../images/채팅방 데코1.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
}

.guest_img2{
    position: absolute;
    top: 413px;
    left: 59px;
    width: 156px;
    height: 234px;
    aspect-ratio: 156/234;
    background: url("../images/채팅방 데코2.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
}

.guest_img3{
    position: absolute;
    top: 687px;
    left: 62px;
    width: 154px;
    height: 152px;
    aspect-ratio: 154/152;
    background: url("../images/채팅방 데코3.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
}

.guest_img4{
    position: absolute;
    top: 286px;
    left: 1168px;
    width: 255px;
    height: 486px;
    aspect-ratio: 255/486;
    background: url("../images/채팅방 데코 겸 블랙 페이지 들어감.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
}


.guest_box{
    position: absolute;
    top: 157px;
    left: 280px;
    width: 880px;
    height: 700px;
    background-color: #fafafa;
    padding: 50px;
    border-radius: 30px;
    overflow-y: auto;
}



.guest_form_box {
    position: absolute;
    top: 570px;
    left: 38px;
    width: 803px;
    height: 92px;
    border-radius: 15px;
    background-color: #fafafa;
    border: 1px solid #960000;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.guest_form_box .ajax-form {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 15px;
    align-items: center;
}

.guest_form_box .form-group {
    flex-grow: 1;
    height: 100%;
    margin: 0;
}

.guest_form_box textarea {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    outline: none;
    resize: none;
    font-family: "프리텐다드";
    font-size: 16px;
    color: #960000;
    padding: 5px 0;
}


.guestbook-entries {
    position: absolute;
    top: 50px; 
    left: 37px;
    width: 804px; 
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-right: 15px;
    box-sizing: border-box;
}


.guestbook-entries::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.entry {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}


.entry-content-box {
    min-width: 150px;
    max-width: 600px;
    min-height: 53px;
    height: auto;
    
    background-color: #fafafa;
    border: 1px solid #960000;
    border-radius: 15px;
    
    padding: 17px;
    box-sizing: border-box;
    word-break: break-word;
}

.entry-content-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #960000;
}

.entry.admin-post {
    flex-direction: row-reverse;
}


.black-container{
    width: 1440px;
    height: 900px;
    background-color: #0a0a0a;
}


.black_img{
    width: 1260px;
    height: 639px;
    flex-shrink: 0;
    aspect-ratio: 1260/639;
    background: url("../images/블랙페이지 메인.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 146px;
    left: 90px;
}

.black_title{
    width: 316px;
    height: 83px;
    flex-shrink: 0;
    aspect-ratio: 316/83;
    background: url("../images/블랙 페이지 로고.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 32px;
    left: 101px;
}

.black_plus{
    width: 476px;
    height: 252px;
    flex-shrink: 0;
    aspect-ratio: 476/252;
    background: url("../images/블랙 페이지 슬로건.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 23px;
    left: 884px;
}

.black_popup{
    width: 1102px;
    height: 242px;
    flex-shrink: 0;
    aspect-ratio: 1102px/242px;
    background: url("../images/블랙페이지 팝업.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 657px;
    left: 169px;
}


.black_btn{
    width: 149px;
    height: 41px;
    flex-shrink: 0;
    aspect-ratio: 149/41;
    background: url("../images/별도 사이트 이동.png") no-repeat center center;
    background-size: contain;
    transform-origin: top left;
    position: absolute;
    top: 813px;
    left: 646px;
}



.main_plus1{
    position: absolute;
    width: 344px;
    height: 167px;
    left: 180px;
    top:704px
}



.main_plus2{
    position: absolute;
    width: 388px;
    height: 167px;
    left: 524px;
    top:704px
}



.main_plus3{
    position: absolute;
    width: 344px;
    height: 167px;
    left: 912px;
    top:704px
}

.post-content iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; 
    display: block;
    margin: 0 auto;
}


.board-container {
    width: 100%;
    border-collapse: collapse;
    margin-top: 50px;
    text-align: center;
}
.board-container th, .board-container td {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(161, 0, 0, 0.2);
}
.board-container th {
    font-weight: 700;
    border-top: 2px solid #A10000;
    border-bottom: 2px solid #A10000;
    color: #A10000;
}
.board-container .b-title {
    text-align: left;
    padding-left: 20px;
}
.board-container .b-title a {
    color: #A10000;
    text-decoration: none;
    transition: color 0.2s;
}
.board-container .b-title a:hover {
    color: #A10000;
    font-weight: bold;
}
.board-container .b-num { margin-left:50px; width:15%; text-align: center; }
.board-container .b-date { width: 35%; color: #A10000; font-size: 13px; text-align: center; }

.slick-prev:before, .slick-next:before {
    color: #A10000 !important;
}
.slick-dots li button:before {
    color: #A10000 !important;
}
.slick-dots li.slick-active button:before {
    color: #A10000 !important;
}

.slick-prev {
    background-color: transparent;
    z-index: 10;
    left: 100px !important;
}
.slick-next {
    background-color: transparent;
    right: 100px !important; 
    z-index: 10;
}

button.slick-prev, button.slick-next {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

button.slick-prev:hover, button.slick-prev:focus, 
button.slick-next:hover, button.slick-next:focus {
    background-color: transparent !important;
}

.randContent{
    display: none;
}

.note-editable {
    font-family: '프리텐다드', '함초롱바탕', '나눔스퀘어고딕', sans-serif !important;
}

.note-editable span:not([style*="font-family"]),
.note-editable p {
    font-family: inherit;
}

@media screen and (max-width: 784px) {


    .container{
        width: 720px;
        height: 1280px;
        aspect-ratio: 720/1280;
        background-size: contain;
        overflow-x: hidden;
    }
    main {
        width: 720px;
        height: 1280px;
        overflow-x: hidden;
    }

    .main_title{
        width: 207px;
        height: 54px;
        aspect-ratio: 207/54;
        top: 139px;
        left: 65px;
    }

    .main_slog{
        width: 273px;
        height: 28px;
        aspect-ratio: 273/28;
        top: 150px;
        left: 314px;
    }

    nav{
        opacity: 0%;
        left: 800px;
    }

    .sub_menu{
        width: 45px;
        height: 27px;
        flex-shrink: 0;
        aspect-ratio: 45/27;
        background: url("../images/GRUA collection (4).png") no-repeat center center;
        background-size: contain;
        transform-origin: top left;
        position: absolute;
        top: 149px;
        left: 610px;
        display: flex;
    }

    .sub_menu:hover{
        cursor: pointer;
    }

    .sub_menu2{
        width: 45px;
        height: 27px;
        flex-shrink: 0;
        aspect-ratio: 45/27;
        background: url("../images/GRUA collection (4).png") no-repeat center center;
        background-size: contain;
        transform-origin: top left;
        position: absolute;
        top: 149px;
        left: 63px;
    }

    .sub_menuNav{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .sub_menuNav .nav-item {
        display: flex;
        flex-direction: column;
        gap: 10px; 
    }

    .sub_menuNav .main-link {
        font-size: 16px;
        font-family: '프리텐다드';
        font-weight: 300;
        color: #A10000 !important;
        white-space: nowrap;
        text-align: center;
        cursor: pointer;
    }

    .sub_menuNav .sub-link-group {
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .sub_menuNav .sub-link-group a {
        font-size: 12px;
        font-family: '프리텐다드';
        font-weight: 300;
        color: #A10000 !important;
        white-space: nowrap;
        text-align: center;
        cursor: pointer;
    }

    .sub_menu2:hover{
        cursor: pointer;
    }

    .sub_nav{
        position: absolute;
        left: 720px;
        /* left: 550px; */
        top:0px;
        width: 170px;
        height: 1280px;
        background-color: #fafafa;
        display: flex;
        z-index: 100;
        /* transition: left 0.3s ease-in-out; */
    }

    .sub_nav.open{
        left: 550px;
    }

    .randContent{
        width: 616px;
        height: 314px;
        flex-shrink: 0;
        aspect-ratio: 616/314;
        background: url("../images/GRUA collection (12).png") no-repeat center center;
        background-size: contain;
        transform-origin: top left;
        position: absolute !important;
        top: 850px;
        left: 52px;
        display: flex;
        overflow: hidden;
    }

    .randContent_pre{
        width: 65px;
        height: 120px;
        flex-shrink: 0;
        aspect-ratio: 65/120;
        background: url("../images/GRUA collection (13).png") no-repeat center center;
        background-size: contain;
        transform-origin: top left;
        position: absolute;
        top: 105px;
        left: 0px;
        display: flex;

    }

    .randContent_next{
        width: 65px;
        height: 120px;
        flex-shrink: 0;
        aspect-ratio: 65/120;
        background: url("../images/GRUA collection (14).png") no-repeat center center;
        background-size: contain;
        transform-origin: top left;
        position: absolute;
        top: 105px;
        right: 0px;
        display: flex;
    }

    .randContent_slider {
        position: absolute;
        top: 22px;   
        left: 80px;  
        width: 456px;
        height: 270px;
        overflow: hidden;
    }

    .rand_item a {
        display: block;
        width: 100%;
        height: 100%;
    }

   
    .rand_thumb {
        width: 100%;
        height: 270px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 10px;
    }

    .main_slog2{
        width: 260px;
        height: 22px;
        flex-shrink: 0;
        aspect-ratio: 260/22;
        background: url("../images/GRUA collection (11).png") no-repeat center center;
        background-size: contain;
        transform-origin: top left;
        position: absolute;
        top: 803px;
        left: 67px;
        display: flex;
    }

    .main_chat{
        top: 95px;
        left: 587px;
        width: 33px;
        height: 29px;
        aspect-ratio: 33/29;
    }

    .main_login{
        top: 91px;
        left: 629px;
        width: 26px;
        height: 35px;
        aspect-ratio: 26/35;
    }


    .main_images {
        position: absolute;
        top: 259px;
        left: 65px;
        width: 590px;
        height: 299px;
        aspect-ratio: 590 / 299;
        overflow: hidden;
        transform-origin: top left;
    }


    .main_images_track .slide {
        width: 599px;
    }


    @keyframes slideAnimation {
        0%, 15%   { transform: translateX(0); }            
        20%, 35%  { transform: translateX(-1198px); }      
        40%, 55%  { transform: translateX(-1797px); }      
        60%, 75%  { transform: translateX(-2396px); }      
        80%, 95%  { transform: translateX(-2995px); }      
        100%      { transform: translateX(-3594px); }      
    }

    .main_plus{
        top: 616px;
        left: 49px;
        width: 622px;
        height: 110px;
        aspect-ratio: 622/110;
    }

    .form-page-container, .view-container {
        top: 228px;
        border-radius: 0px;
        width: 590px;
        height: 980px;
    }


    /*  */
    /*  */
    /*  */
    .intro_nav, .universry_nav, .creative_nav, .art_nav, .video_nav, .free_nav{
        left: 800px;
    }


    .intro_page, .universry_page, .creative_page, .art_page, .video_page, .free_page{
        top: 228px;
        left: 65px;
        border-radius: 50px;
        width: 590px;
        height: 980px;
    }

    .intro_page::-webkit-scrollbar, .universry_page::-webkit-scrollbar, .creative_page::-webkit-scrollbar, .art_page::-webkit-scrollbar, .video_page::-webkit-scrollbar, .free_page::-webkit-scrollbar{
        width: 0;
        height: 0;
    }

    .intro_page{
        padding: 0px;
        border-radius: 0px;
    }

    .guest_img1{
        top: 630px;
        left: 5px;
        width: 101px;
        height: 105px;
        aspect-ratio: 101/105;
    }

    .guest_img2{
        top: 432px;
        left: 17px;
        width: 94px;
        height: 141px;
        aspect-ratio: 94/141;
    }

    .guest_img3{
        top: 296px;
        left: 20px;
        width: 92px;
        height: 91px;
        aspect-ratio: 92/91;
    }

    .guest_img4{
        top: 968px;
        left: 6px;
        width: 124px;
        height: 238px;
        aspect-ratio: 124/238;
    }


    .guest_box{
        position: absolute;
        top: 265px;
        left: 140px;
        width: 515px;
        height: 943px;
    }



    .guest_form_box {
        position: absolute;
        top: 818px;
        left: 38px;
        width: 435px;
        height: 92px;
        border-radius: 15px;
        background-color: #fafafa;
        border: 1px solid #960000;
        display: flex;
        align-items: center;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .guest_form_box .ajax-form {
        display: flex;
        width: 100%;
        height: 100%;
        gap: 15px;
        align-items: center;
    }

    .guest_form_box .form-group {
        flex-grow: 1;
        height: 100%;
        margin: 0;
    }

    .guest_form_box textarea {
        width: 100%;
        height: 100%;
        border: none;
        background: transparent;
        outline: none;
        resize: none;
        font-family: "프리텐다드";
        font-size: 16px;
        color: #960000;
        padding: 5px 0;
    }


    .guestbook-entries {
        position: absolute;
        top: 50px; 
        left: 37px;
        width: 435px; 
        height: 730px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-right: 15px;
        box-sizing: border-box;
    }


    .guestbook-entries::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }

    .entry {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }


    .entry-content-box {
        min-width: 100px;
        max-width: 350px;
        min-height: 53px;
        height: auto;
        
        background-color: #fafafa;
        border: 1px solid #960000;
        border-radius: 15px;
        
        padding: 17px;
        box-sizing: border-box;
        word-break: break-word;
    }

    .entry-content-box p {
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #960000;
    }

    .entry.admin-post {
        flex-direction: row-reverse;
    }


    .black-container{
        width: 1440px;
        height: 900px;
        background-color: #0a0a0a;
    }


    .black_img{
        width: 720px;
        height: 1280px;
        flex-shrink: 0;
        aspect-ratio: 720/1280;
        background: url("../images/GRUA collection.png") no-repeat center center;
        top: 0px;
        left: 0px;
    }

    .black_title{
        left: 800px;
    }

    .black_plus{
        left: 800px;
    }

    .black_popup{
        left: 800px;
    }


    .black_btn{
        width: 309px;
        height: 963px;
        flex-shrink: 0;
        aspect-ratio: 309/963;
        background: url("../images/GRUA collection (1).png") no-repeat center center;
        top: 159px;
        left: 12px;
        
    }



    .main_plus1{
        position: absolute;
        width: 197px;
        height: 123px;
        left: 52px;
        top:604px
    }



    .main_plus2{
        position: absolute;
        width: 197px;
        height: 123px;
        left: 249px;
        top:604px
    }



    .main_plus3{
        position: absolute;
        width: 197px;
        height: 123px;
        left: 471px;
        top:604px
    }


    .post-content iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9; 
        display: block;
        margin: 0 auto;
    }


    .board-container {
        width: 100%;
        border-collapse: collapse;
        margin-top: 50px;
        text-align: center;
    }
    .board-container th, .board-container td {
        padding: 15px 10px;
        border-bottom: 1px solid rgba(161, 0, 0, 0.2);
    }
    .board-container th {
        font-weight: 700;
        border-top: 2px solid #A10000;
        border-bottom: 2px solid #A10000;
        color: #A10000;
    }
    .board-container .b-title {
        text-align: left;
        padding-left: 20px;
    }
    .board-container .b-title a {
        color: #A10000;
        text-decoration: none;
        transition: color 0.2s;
    }
    .board-container .b-title a:hover {
        color: #A10000;
        font-weight: bold;
    }
    .board-container .b-num { margin-left:50px; width:15%; text-align: center; }
    .board-container .b-date { width: 35%; color: #A10000; font-size: 13px; text-align: center; }



    
    .slick-prev:before, .slick-next:before {
        color: #A10000 !important;
    }
    .slick-dots li button:before {
        color: #A10000 !important;
    }
    .slick-dots li.slick-active button:before {
        color: #A10000 !important;
    }

    .slick-prev {
        background-color: transparent;
        z-index: 10;
        left: 0px !important;
    }
    .slick-next {
        background-color: transparent;
        right: 0px !important; 
        z-index: 10;
    }

    button.slick-prev, button.slick-next {
        background-color: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }

    button.slick-prev:hover, button.slick-prev:focus, 
    button.slick-next:hover, button.slick-next:focus {
        background-color: transparent !important;
    }
}



a:focus, a:active, 
button:focus, button:active, 
.slick-slide, .slick-slide:focus, .slick-slide:active,
img:focus, img:active {
    outline: none !important;
    box-shadow: none !important;
}

a, button, div, img, .rand_thumb {
    -webkit-tap-highlight-color: transparent !important;
}