﻿

/*-----------------------------------------------------------
Author :yejin, Son
Creative date :2022. 05. 18
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#container {position: relative; width:100%; z-index: 2;}
#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_wrap3 { position: relative; margin-bottom: 3rem; }
.MC_wrap3 .container { padding-top: 2.4rem; }
.MC_wrap3 .container::before { position: absolute; top: 0; left: -6.5rem; width: 200vw; height: 36rem; background: rgba(19, 213, 170, 0.06); border-radius: 5rem 0 0 5rem; content: ""; }

.MC_cont { position: relative; width: 65%; height: 25.5rem; float: right; } 

[class^="MC_box"]:after { content:""; display:block; clear:both; }
.MC_box1 { position: relative; width: 100%; height: 27.25rem; } /* 메인비주얼 */
.MC_box2 { position: absolute; width: 17.5rem; height: 17.5rem; bottom: 0; left: 0; padding: 2rem 0;  } /* 팝업 */
.MC_box2::before { position: absolute; width: 100vw; height: 100%; top: 0; right: -4.55rem; background: linear-gradient(to right, #01a267, #11caa1); border-radius: 0 9rem 9rem 0; content: ""; }
.MC_box3 { position: relative; width: 100%; height: 7rem; margin: 3rem 0 2.5rem; } /* 바로가기 */
.MC_box4 { position: relative; width: 48%; height: 14.2rem; float: left; margin-bottom: 3rem; } /* 게시판1 */
.MC_box5 { position: relative; width: 48%; height: 14.2rem; float: right; margin-bottom: 3rem; } /* 게시판2 */
.MC_box6 { position: relative; width: 30%; float: left; } /* 캘린더 */
.MC_box7 { position: relative; width: 100%; height: 16.5rem; } /* 갤러리 */
.MC_box8 { position: relative; width: 100%; height: 6rem; margin-top: 3rem; } /* 식단 */

@media (max-width:1240px){
    .MC_box2 { left: 1rem; } /* 팝업 */
}

@media (max-width:1024px){
    .MC_cont { width: 60%; }

    .MC_box1 { height: auto; } /* 메인비주얼 */
    .MC_box2 { height: 15.5rem; padding: 1rem; } /* 팝업 */
    .MC_box2::before { right: -1rem; border-radius: 0 1.5rem 1.5rem 0;}
    .MC_box6 { width: 35%; } /* 캘린더 */
}

@media (max-width:960px){
    .MC_wrap3 .container::before { height: 50rem; }

    .MC_box4 { width: 100%; height: auto; margin-bottom: 1.5rem; } /* 게시판1 */
    .MC_box5 { width: 100%; height: auto; margin-bottom: 1.5rem; } /* 게시판2 */
}

@media (max-width:860px){
    .MC_box2  { position: relative; left: auto; width: 100%; height: auto; margin-top: 1.5rem; }  /* 팝업 */
    .MC_box2::before { right: 0; }
    
}

@media (max-width:800px){
    .MC_wrap3 { margin-bottom: 1.5rem; }
    .MC_wrap3 .container { padding-top: 1.5rem; }

    .MC_cont { width: 100%; height: auto; }

    
    .MC_box6 { width: 100%; height: auto; } /* 캘린더 */
    .MC_box7 { height: auto; margin-top: 1.5rem; } /* 갤러리 */
    .MC_box8 { margin-top: 1.5rem; } /* 식단 */
}

@media (max-width:660px){
    .MC_box3 { height: auto; margin: 1.5rem 0; } /* 바로가기 */
}