﻿

/*-----------------------------------------------------------
Author : YeJin, Son
Creative date :2022. 04. 07
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%;} 
#container *{ scrollbar-arrow-color: #ddd; scrollbar-Track-Color: #ddd; scrollbar-base-color: #aaa; scrollbar-Face-Color: #aaa; scrollbar-3dLight-Color: #aaa; scrollbar-DarkShadow-Color: #aaa; scrollbar-Highlight-Color: #aaa; scrollbar-Shadow-Color: #aaa;}
#container ::-webkit-scrollbar { width: 5px; height:3px; }
#container ::-webkit-scrollbar-thumb { background-color: #aaa; border-radius:10px; }
#container ::-webkit-scrollbar-track { background-color: #ddd; border-radius:10px; }

.MC_wrap1 .container{ padding-top: 2rem; }
.MC_wrap1 .container::before{ position: absolute; width: 200vw; height: 100%; top: 0; left: -5rem; background: #eceef6; border-radius: 0 0 0 5rem; content: ""; }
.MC_wrap2 { margin: 2rem 0 2.5rem; }
 
.con_wrap { position: relative; width: calc(100% - 23.5rem); float: right; }

.MC_box1 { position:absolute; width:100%; height:26rem; right:calc(100% - 22rem); top:2rem; } /* 메인비주얼 */
.MC_box2 { position: relative; width: 48%; height: 11.25rem; float: left; } /* 식단 */
.MC_box3 { position: relative; width: 48%; height: 11.25rem; float: right; } /* 팝업존 */
.MC_box4 { position: relative; width: calc(100% - 23.5rem); float: right; margin-top: 1.5rem; } /* 캘린더 */
.MC_box5 { position: relative; width: 100%; height: 7.3rem; float: left; margin: 2.5rem 0 1.5rem; } /* 바로가기1 */
.MC_box6 { position: relative; width: 48%; height: 12.95rem; float: left; } /* 게시판 */
.MC_box7 { position: relative; width: 48%; height: 12.95rem; float: right; } /* 갤러리 */

@media (max-width:1110px){
    .con_wrap { width: calc(100% - 32rem); margin-top: 1rem; }

    .MC_box1 { right: calc(100% - 32rem); } /* 메인비주얼 */
    .MC_box2 { width: 100%; float: none; } /* 식단 */
    .MC_box3 { width: 100%; float: none; margin-top: 1.5rem; } /* 팝업존 */
    .MC_box4 { width: 100%; margin-top: 2.5rem; } /* 캘린더 */
}

@media (max-width:960px){
    .con_wrap { width: calc(100% - 28rem); }

    .MC_box1 { right: calc(100% - 28rem); } /* 메인비주얼 */
}

@media (max-width:860px){
    .MC_box5 { height: auto; } /* 바로가기1 */
}

@media (max-width:840px){
    .MC_wrap2 { margin:  1.5rem 0; }

    .con_wrap { width: 100%; margin-top: 1.5rem; }

    .MC_box1 { position: relative; height: auto; top: auto; right: 1rem; } /* 메인비주얼 */
    .MC_box2 { width: 48%; float: left; } /* 식단 */
    .MC_box3 { width: 48%; float: right; margin-top: 0; } /* 팝업존 */
    .MC_box4 { margin-top: 1.5rem; } /* 캘린더 */
    .MC_box5 { margin: 1.5rem 0; } /* 바로가기1 */
    .MC_box6 { width: 100%; height: auto; float: none; } /* 게시판 */
    .MC_box7 { width: 100%; height: auto; float: none; margin-top: 1.5rem; } /* 갤러리 */
}

@media (max-width:580px){
    .MC_box2 { width: 100%; height: auto; float: none; } /* 식단 */
    .MC_box3 { width: 100%; height: auto; float: none; margin-top: 1.5rem; } /* 팝업존 */ 
    .MC_box4 { height: auto; } /* 캘린더 */
}

@media (max-width:860px){
    .MC_box7 { height: auto; } /* 갤러리 */
}