* {padding: 0; margin: 0; letter-spacing: -6%; box-sizing: border-box;}
a {text-decoration: none; color: #222;}
html, body {margin: 0; padding: 0; height: 100%; overflow: hidden;}
body {height: auto;}

/* 마우스 */
.cursor-glow{
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;

    background:#4B78FF;;
    pointer-events: none;
    mix-blend-mode:color-burn;

    z-index: 10001;

    left: 0;
    top: 0;

    transform: translate(-50%, -50%);
    transition: transform 0.08s linear;
}



/* 배경 */
.bg{
    position:fixed;
    inset:0;
    background:url(../img/yellowmabam.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    will-change: transform;
    mix-blend-mode: multiply;
    z-index: -1;
    transition: 1s ease;
}



/* 화면분할 */
.container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.left-panel {
  width: 65%;
  height: auto;

  /* 각각 독립 스크롤 */
  overflow-y: auto;
  overflow-x: hidden;

  /* iOS 부드러운 스크롤 */
  -webkit-overflow-scrolling: touch;
}

.right-panel {
  width: 35%;
  height: auto;

  /* 각각 독립 스크롤 */
  overflow-y: auto;
  overflow-x: hidden;

  /* iOS 부드러운 스크롤 */
  -webkit-overflow-scrolling: touch;
}

/* 스크롤바 숨기기 */
/* Chrome, Safari, Edge */
.left-panel::-webkit-scrollbar,
.right-panel::-webkit-scrollbar {
  display: none;
}

/* Firefox */
.left-panel,
.right-panel {
  scrollbar-width: none;
}

/* IE */
.left-panel,
.right-panel {
  -ms-overflow-style: none;
}




section {
    margin-top: 200px;
}

#gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item>img {
    width: 100%;
    display: block;
    border: none;
    box-sizing: border-box;
}




/* 헤더 */
#mobileheader {
    display: none;
}

header>a {
    font-weight: 800;
    font-size: 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -5%;
    z-index: 9999;
}

#header {
    width: 45%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#header>a {
    display: block;
    font-weight: 700;
    font-size: 20px;
}

#header>a:hover {
    transition: all 0.2s ease;
    color: #4B78FF;
}

h1 {
    font-size: 45px;
    position: relative;
    line-height: 50px;
}

h2 {
    font-size: 22px;
    width: fit-content;
}

.type2 {
    font-weight: 500;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #f6f6f650;
}

h3>a {
    color: #f6f6f688;
}

h3>a:hover {
    color: #f6f6f6;
}

h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

h5 {
    font-size: 22px;
    line-height: 32px;
}


h6 {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 10px;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.align {
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.lighter {
    padding: 0 10px;
    font-size: 21px;
    font-weight: 400;
    color: #22222280;
}


/* body */
body {
    background-color: #f6f6f6;
}

.left-panel>h1 {
    margin-left: 45px;
    margin-bottom: 20px;
}

.imgcontainer>img {
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.right-panel>.title {
    display: block;
    position: relative;
    right: 0;
    margin-bottom: 20px;
}

.colorbox {
    background-color: #ddff4d;
    padding: 45px 100px;
}

.colorbox>h1 {
    font-size: 22px;
    margin: 10px 0 15px 0;
}

.line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #8ea332;
    margin: 25px 0 35px 0;
}

/* 옵션 */
.option {
    padding: 45px 90px;
}

.option>h1, .afteryou {
    margin: 27px 0;
}

.optionbox {
    width: 100%;
    height: auto;
    padding: 30px 30px;
    background-color: #ddff4d;
    overflow: hidden;
}

.box {
    width: 100%;
    height: auto;
    padding: 30px 30px;
    background-color: #ddff4d;
    overflow: hidden;
}

.mockupbox {
    background:url(../img/mockup1.jpg);
    background-size: 110%;
    background-position-x: center;
    background-position-y: center;
}

.mockupbox:hover {
    background:url(../img/mockup1_1.jpg);
    background-size: 150%;
    background-position-x: center;
    background-position-y: center;
    transition: 1s ease;
}

.inboxtext {
    font-size: 45px;
    font-weight: 700;
    z-index: 99;
}



/* 내지 */
.pages {
    display: flex;
    flex-direction: column;
    justify-content: space-between;   
}

.pageschild{
    width: 100%;
    height: auto;
    padding: 30px 30px;
    background-color: #ddff4d;
    overflow: hidden;
}

.type1 {
    background:url(../img/type1\(3\)_1.png);
    background-size: 100%;
    background-position-x: center;
    background-position-y: center;
    transition: 1s ease;
}

.type1:hover {
    background:url(../img/type1\(3\).png);
    background-size: 120%;
    background-position-x: center;
    background-position-y: center;
    transition: 1s ease;
}

.type2 {
    background:url(../img/type2\(1\)_1.png);
    background-size: 100%;
    background-position-x: center;
    background-position-y: center;
    transition: 1s ease;
}

.type2:hover {
    background:url(../img/type2\(1\).png);
    background-size: 120%;
    background-position-x: center;
    background-position-y: center;
    transition: 1s ease;
}


/* 선점관련 */
.box:first-child {
    height: 200px;
}

.explain {
    font-size: 18px;
    line-height: 26px;
}

.exlist {
    font-size: 18px;
    margin: 12px 0;
}


/* 주의, 주문서 */
.caution {
    margin: 50px 0;
}

.ordering {
    display: flex;
    justify-content: left;
    margin-bottom: 100px;
}

.copybutton {
    display: block;
    width: 110px;
    border: none;
    height: 40px;
    color: #f6f6f6;
    background-color: #222;
    margin-top: 20px;
    font-size: 16px;
    opacity: 0;
}

.textbox {
    margin-left: 100px;
}






#main_resume {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.box12 {
    width: 50%;
    height: 700px;
    background-color: #4B78FF;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box12:hover {
    animation: shake-jelly 1s ease;
}

/* 
@keyframes shake {
    0%   { transform: translateX(0); }
    10%  { transform: translateX(-3px) rotate(-2deg); }
    20%  { transform: translateX(3px) rotate(2deg); }
    30%  { transform: translateX(-3px) rotate(-2deg); }
    40%  { transform: translateX(3px) rotate(2deg); }
    50%  { transform: translateX(-2px) rotate(-1deg); }
    60%  { transform: translateX(2px) rotate(1deg); }
    70%  { transform: translateX(-2px) rotate(-1deg); }
    80%  { transform: translateX(2px) rotate(1deg); }
    90%  { transform: translateX(-1px); }
    100% { transform: translateX(0); }
  } */

@keyframes shake-jelly {
    0% { transform: rotate(0); }
    15% { transform: rotate(-8deg); }
    30% { transform: rotate(6deg); }
    45% { transform: rotate(-4deg); }
    60% { transform: rotate(3deg); }
    75% { transform: rotate(-2deg); }
    100% { transform: rotate(0); }
}




/* footer */
footer {
    width: auto;
    height: 90px;
    padding: 0px 30px;
    margin-top: 162px;
    /* background-color: #4B78FF; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-style: italic;
}







/* 모바일 반응형 500 */
@media (max-width: 500px) {
    .cursor-glow {
        display: none;
    }

    #mobileheader {
        width: 50%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #header {
        display: none;
    }

    /* 스크롤 숨기기 */
    html::-webkit-scrollbar {
        display: none;
    }

    /* Firefox */
    html {
        scrollbar-width: none;
    }

    /* IE */
    html{
        -ms-overflow-style: none;
    }

    header>a {
        font-weight: 800;
        font-size: 15px;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        padding: 0 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        letter-spacing: -5%;
        z-index: 9999;
    }

    #header>a {
        display: block;
        font-weight: 700;
        font-size: 15px;
    }

    #header>a:hover {
        transition: all 0.2s ease;
        color: #4B78FF;
    }

    h1 {
        font-size: 24px;
        position: relative;
        line-height: 30px;
    }

    h2 {
        font-size: 18px;
        width: fit-content;
    }

    .type2 {
        font-weight: 500;
    }

    h3 {
        font-size: 20px;
        font-weight: 600;
        color: #f6f6f650;
    }

    h3>a {
        color: #f6f6f688;
    }

    h3>a:hover {
        color: #f6f6f6;
    }

    h4 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    h5 {
        font-size: 20px;
        line-height: 32px;
    }


    h6 {
        font-size: 16px;
        font-weight: 400;
        line-height: 25px;
        margin-top: 10px;
    }

    p {
        font-size: 15px;
        font-weight: 400;
        line-height: 28px;
    }

    .exlist {
        font-size: 16px;
        margin: 11px 0;
    }

    .explain {
        font-size: 16px;
        line-height: 24px;
    }

    .menu {
        padding: 0 35px;
        margin-bottom: 70px;
    }

    .option {
        padding: 25px 18px;
    }

    .hoverevent>p {
        display: none;
    }

    .colorbox {
        padding: 25px 25px;
    }

    .textbox {
        margin-left: 0px;
    }

    .option>h1, .afteryou {
        margin: 18px 0;
    }

    .ordering {
        height: auto;
        display: flex;
        justify-content: left;
        margin-bottom: 0px;
    }

    .inboxtext {
        font-size: 30px;
        font-weight: 700;
        z-index: 99;
    }

    .container {
        display: block;
        width: 100vw;
        height: auto;
    }

    .left-panel {
        width: 100%;
        height: auto;

        /* 각각 독립 스크롤 */
        overflow: visible;
        overflow-y: visible;
        overflow-x: visible;
    }

    .right-panel {
        width: 100%;
        height: auto;

        /* 각각 독립 스크롤 */
        overflow: visible;
        overflow-y: visible;
        overflow-x: visible;
    }

    html, body {
        overflow: visible;
    }

    .title {
        margin-left: 45px;
        margin-bottom: 30px;
    }

    .right-panel {
        margin-top: 70px;
    }

    .textbox {
        line-height: 26px;
    }

    .left-panel>h1 {
        margin-left: 25px;
        margin-bottom: 20px;
    }


    
}


@media (min-width: 501px) and (max-width: 1000px) {
    .cursor-glow {
        display: none;
    }
    
    header>a {
        font-weight: 800;
        font-size: 15px;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        padding: 0 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        letter-spacing: -5%;
        z-index: 9999;
    }

    #header {
        width: 70%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #header>a {
        display: block;
        font-weight: 700;
        font-size: 15px;
    }

    #header>a:hover {
        transition: all 0.2s ease;
        color: #4B78FF;
    }

    h1 {
        font-size: 24px;
        position: relative;
        line-height: 30px;
    }

    .left-panel>h1 {
        margin-left: 25px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 18px;
        width: fit-content;
    }

    .type2 {
        font-weight: 500;
    }

    h3 {
        font-size: 20px;
        font-weight: 600;
        color: #f6f6f650;
    }

    h3>a {
        color: #f6f6f688;
    }

    h3>a:hover {
        color: #f6f6f6;
    }

    h4 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    h5 {
        font-size: 22px;
        line-height: 32px;
    }


    h6 {
        font-size: 16px;
        font-weight: 400;
        line-height: 25px;
        margin-top: 10px;
    }

    p {
        font-size: 15px;
        font-weight: 400;
        line-height: 28px;
    }

    .option {
        padding: 25px 25px;
    }

    .colorbox {
        padding: 25px 25px;
    }

    .textbox {
        line-height: 26px;
        margin-left: -20px;
    }



}
