@charset "uft-8";
@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Josefin+Slab:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Lobster&family=Noto+Sans+KR:wght@100;300;400;500;700;900&family=Oleo+Script:wght@400;700&family=Pacifico&display=swap');

@font-face {
    font-family: 'SeoulNamsan';
    src: url(../font/SeoulNamsanLight.woff);
    font-style: normal;
    font-weight: 300;
}

/*reset*/

*{margin: 0; padding: 0;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, tbody, tfoot, thead, tr, th, td {margin:0;padding:0; box-sizing: border-box;}
a {color: inherit; text-decoration: none;}
li {list-style: none;}
address, em , i {font-style: none;}
h1,h2,h3,h4,h5,h6 {font-size: inherit;}
a:hover {text-decoration: none; color: inherit;}
html {scroll-behavior: smooth;}
/*layout*/
body { font-family: 'seoulNamsan', sans-serif; }
.container { width: 100%; margin: auto; overflow: hidden;}
.en {
    /* font-family: 'Courgette', cursive; */
    font-family: 'Josefin Slab', serif;
    /* font-family: 'Lobster', cursive; */
    /* font-family: 'Oleo Script', cursive; */
}


/* ################### header #####################  */
header {width: 100%;  position: fixed; z-index: 100;}
.innerHeader {padding: 0 2em; height: 7em; transition: all 0.3s; }

.group_nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.group_nav .logo a {
    display: block;
    width: 7em;
    
}
.group_nav > div {
    margin-right: 2.5em;
    font-size: 22px;
    color: #FFAAA5;
    font-family: 'Lobster', cursive;
    transition: all 0.3s ease-in-out; 
}
.group_nav > .nav:hover,
.group_nav > .nav:focus {
    color: #DD4A48;
    transform: scale(1.2);
}
.group_nav > .snav.active {
    color: #DD4A48;
}
header.active .innerHeader {
    background-color: #fff;
    box-shadow: rgba(33, 35, 38, 0.3) 0px 10px 10px -10px;
}

.bg {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: linear-gradient( #fff 10%,#F5EEDC);
    z-index: -100;
}
/* ################### home #####################  */
.home {
    position: relative;
    width: 100vw;
    height: 100vh;
}
.welcome {
    position: absolute;
    top: 15%;
    width: 100%;
    margin: 1em auto;
    font-size: 1.5em;
    font-weight: 300;
    color: #DDB8A0;  
    text-align: center;
}
.shop {
    position: absolute;
    width: 50%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,0);
} 
/* ################### skills ##################### */

/* +++++++++++ HTML flour +++++++++++ */
.skills {
    width: 100%;
    /* height: 100%; */
}
.skills .title {
    position: relative;
    font-size: 1.5em;
    font-weight: 300;
    color: #DDB8A0;  
    text-align: center;
    margin: 5em auto;
    margin-bottom: 0;
}
.skills_wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80vw;
    height: 60vh;
    margin: 0 auto;
 }
.skills_wrap .dec {
    flex: 1;
    font-size: 1.5em;
    font-weight: 300;
    color: #DDB8A0;  
    padding: 1em;
}
.skills_wrap .dec li {
    margin-bottom: 0.5em;
}
.img_wrap {
    position: relative;
    height: 100%;
    flex: 1;
    /* background-color: pink; */
}
.img_wrap > * {
    position: absolute;
}
.circle {
    width: 100%;
    height: 100%;
    animation: circle-ani 2s linear 1s infinite alternate;
}
@keyframes circle-ani {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 1;
    }
}
.flour {
    z-index: 1;
    width: 15em;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;

}
.flour_opened {
    z-index: 1;
    width: 11em;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transform: translate(20%,-90%) rotate(-65deg);
    animation: flour-ani 2s linear 1s infinite alternate;
}
@keyframes flour-ani {

    0%{ 
        width: 15em;
        transform: translate(-50%,-50%);
    }
    50%{
        width: 11em;
        transform: translate(20%,-90%);
    }
    100%{
        width: 11em;
        transform: translate(20%,-90%) rotate(-65deg);
    }    
}
.bowl {
    width: 12em;
    left: 50%;
    bottom: 0%;
    z-index: 3;
    transform: translate(-80%,-50%);
    animation: bowl_ani 2s linear 1s infinite alternate;
}
@keyframes bowl_ani {
    0%{
        opacity: 0;
        transform: translate(-80%,-10%);
    }
    50%{
        opacity: 1;
        transform: translate(-80%,-50%);
    }
    100%{
        opacity: 1;
        transform: translate(-80%,-50%);
    }
}
.whisk {
    z-index: 2;
    width: 5em;
    top: 50%;
    left: 50%;
    transform: translate(-200%,-50%) rotate(-55deg);
    animation: whisk_ani 2s linear 1s infinite alternate;
}
@keyframes whisk_ani {
    
    0%{
        opacity: 0;
        transform: translate(-200%,-100%) rotate(-55deg);
    }
    50%{
        opacity: 1;
        transform: translate(-100%,-50%) rotate(-55deg);
    }
    100%{
        opacity: 1;
        transform: translate(-200%,-50%) rotate(-55deg);
    }
}

.pour {
    opacity: 0.3;
    width: 6em;
    top: 50%;
    left: 50%;
    transform: translate(-60%,-50%) rotate(-5deg);
    animation: pour_ani 2s linear 1s infinite alternate;
}
@keyframes pour_ani {
    0%{ 
        opacity: 0;
    }
    50%{
        opacity: 0;
        width: 3em;
        transform: translate(-60%,-100%) rotate(-5deg);
    }
    100%{
        opacity: 0.3;
        transform: translate(-60%,-50%) rotate(-5deg);
    }    
}
.pouring {
    color: #F5EEDC;
    font-size: 1em;
    top: 50%;
    left: 50%;
    transform: translate(-30%,-35%);
}
.pouring p:nth-child(1) {
    transform: translate(4%,250%) rotate(-40deg);
}
.pouring p:nth-child(2) {
    transform: translate(10%,200%) rotate(-50deg);
}
.pouring p:nth-child(3) {
    transform: translate(-38%,280%) rotate(-48deg);
}
.pouring p:nth-child(4) {
    transform: translate(-15%,190%) rotate(-55deg);
}
.pouring p:nth-child(5) {
    transform: translate(-10%,190%) rotate(-55deg);
}
.pouring p:nth-child(6) {
    transform: translate(-55%,100%) rotate(-55deg);
}
.pouring p:nth-child(7) {
    transform: translate(-55%,100%) rotate(-67deg);
}
.pouring p:nth-child(8) {
    transform: translate(-55%,100%) rotate(-67deg);
}
.pouring p:nth-child(9) {
    transform: translate(-100%,20%) rotate(-67deg);
}
.pouring p:nth-child(10) {
    transform: translate(-110%,-180%) rotate(-60deg);
}
.pouring p:nth-child(11) {
    transform: translate(-80%,-180%) rotate(-60deg);
}
.pouring p:nth-child(12) {
    transform: translate(-110%,-180%) rotate(-60deg);
}
.pouring p:nth-child(13) {
    transform: translate(-120%,-300%) rotate(-60deg);
}
.pouring p:nth-child(14) {
    transform: translate(-20%,-400%) rotate(-45deg);
}
.pouring p:nth-child(15) {
    transform: translate(-40%,-560%) rotate(-47deg);
}
.pouring p:nth-child(16) {
    transform: translate(-41%,-560%) rotate(-56deg);
}
.pouring p:nth-child(17) {
    transform: translate(-85%,-500%) rotate(-76deg);
}
.pouring p:nth-child(18) {
    transform: translate(-45%,-545%) rotate(-36deg);
}
.pouring p:nth-child(19) {
    transform: translate(-45%,-545%) rotate(-36deg);
}
.pouring > p {
    animation: pouring_ani 2s linear 1s infinite alternate;
}
@keyframes pouring_ani {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
        padding-top: 0.5em;
        padding-left: 0.5em;
    }
    100%{
        opacity: 1;
    }
}
/* +++++++++++ CSS milk +++++++++++ */
.skills_wrap.b .circle{
    animation: circle-ani 2s linear 2s infinite alternate;
}
.milk {
    width: 10em;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    
}
.milk_opend {
    width: 6em;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(60%,-95%) rotate(-65deg);
    animation: milk_ani 2s linear 2s infinite alternate;
}
@keyframes milk_ani {
    0%{
        width: 10em;
        transform: translate(-50%,-50%);
    }
    50%{
        width: 6em;
        transform: translate(60%,-155%);
    }
    100%{
        width: 6em;
        transform: translate(60%,-95%) rotate(-65deg);
    }
}
.spa {
    width: 2.5em;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-360%,-60%) rotate(-215deg);
    animation: spa_ani 2s linear 2s infinite alternate;
}
@keyframes spa_ani {
    0%{
        opacity: 0;
        transform: translate(-360%,-120%) rotate(-215deg);
    }
    50%{
        opacity: 1;
        transform: translate(-200%,-60%) rotate(-215deg);
    }
    100%{
        opacity: 1;
        transform: translate(-360%,-60%) rotate(-215deg);
    }
}
.skills_wrap.b .bowl {
    animation: bowl_ani 2s linear 2s infinite alternate;
}
.milk_pour {
    width: 1em;
    height: 14em;
    top: 50%;
    left: 50%;
    width: 9em;
    z-index: 1;
    transform: translate(-73%,-37%);
    opacity: 0.5;
    animation: pour_milk 2s linear 2s infinite alternate;
}
@keyframes pour_milk {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
        transform: translate(-73%,-107%);
    }
    100%{
        opacity: 0.5;
        transform: translate(-73%,-37%);
    }
}
.milk_pouring {
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 1em;
    transform: translate(-30%,-25%);
    animation: m_pouring_ani 2s linear 2s infinite alternate;
}
@keyframes m_pouring_ani {
    0%{
        opacity: 0;
    }
    70%{
        opacity: 0;
        padding-bottom: 1em;
        padding-left: 0.5em;
    }
    100%{
        opacity: 1;
    }
}

.milk_pouring p:nth-child(1) {
    transform: translate(-40%,-230%) rotate(-40deg);
}
.milk_pouring p:nth-child(2) {
    transform: translate(-30%,-300%) rotate(-55deg);
}
.milk_pouring p:nth-child(3) {
    transform: translate(-60%,-350%) rotate(-65deg);
}
.milk_pouring p:nth-child(4) {
    transform: translate(-70%,-200%) rotate(-75deg);
}
.milk_pouring p:nth-child(5) {
    transform: translate(-130%,-200%) rotate(-75deg);
}
.milk_pouring p:nth-child(6) {
    transform: translate(-100%,-370%) rotate(-75deg);
}
.milk_pouring p:nth-child(7) {
    transform: translate(-100%,-200%) rotate(-85deg);
}
.milk_pouring p:nth-child(8) {
    transform: translate(-85%,-200%) rotate(-85deg);
}
.milk_pouring p:nth-child(9) {
    transform: translate(-60%,-500%) rotate(-85deg);
}
.milk_pouring p:nth-child(10) {
    transform: translate(-60%,-200%) rotate(-95deg);
}
/* +++++++++++ Butter milk +++++++++++ */
.skills_wrap.c .circle{
    animation: circle-ani 2s linear 2s infinite alternate;
}
.butter {
    width: 16em;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}
.butter_cuted {
    width: 13em;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(0%,-125%) rotate(-25deg);
    animation: butter_ani 2s linear 3s infinite alternate;
}
@keyframes butter_ani {
    0%{
        width: 17em;
        transform: translate(-50%,-50%);
    }
    50%{
        width: 13em;
        transform: translate(0%,-125%);
    }
    100%{
        width: 13em;
        transform: translate(0%,-125%) rotate(-25deg);
    }
}
.butter_1 {
    width: 8em;
    top: 50%;
    left: 50%;
    transform: translate(-80%,-110%) rotate(35deg);
    animation: b1_ani 2s linear 3s infinite alternate;
}
@keyframes b1_ani {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
        transform: translate(-80%,-140%) rotate(35deg);
    }
    100%{
        opacity: 1;
        transform: translate(-80%,-110%) rotate(35deg);
    }
}
.butter_2 {
    width: 8em;
    top: 50%;
    left: 50%;
    transform: translate(-80%,60%) rotate(-15deg);
    animation: b2_ani 2s linear 3s infinite alternate;
}
@keyframes b2_ani {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
        transform: translate(-80%,-100%) rotate(35deg);
    }
    100%{
        opacity: 1;
        transform: translate(-80%,60%) rotate(-15deg);
    }
}
.skills_wrap.c .bowl {
    animation: bowl_ani 2s linear 3s infinite alternate;
}
.skills_wrap.c .spa {
    animation: spa_ani 2s linear 3s infinite alternate;
}
.butter_pouring {
    top: 50%;
    left: 50%;
    transform: translate(-65%,-70%);
    color: #FFF6CC;
    font-size: 1em;
    z-index: 1;
}
.butter_pouring p:nth-child(1) {
    transform: translate(-40%,-10%) rotate(10deg);
}
.butter_pouring p:nth-child(2) {
    transform: translate(-40%,-10%) rotate(-10deg);
    color: #fff6cc;
}
.butter_pouring p:nth-child(3) {
    transform: translate(10%,-10%) rotate(10deg);
}
.butter_pouring p:nth-child(4) {
    transform: translate(-130%,-40%) rotate(-10deg);
}
.butter_pouring p:nth-child(5) {
    transform: translate(-110%,-40%) rotate(-0deg);
}
.butter_pouring p:nth-child(6) {
    transform: translate(100%,30%) rotate(-0deg);
}
.butter_pouring p:nth-child(7) {
    transform: translate(-50%,-90%) rotate(-40deg);
}
.butter_pouring p:nth-child(8) {
    transform: translate(-65%,-200%) rotate(40deg);
}
.butter_pouring > p {
    animation: b_pouring 2s linear 3s infinite alternate;   
}
@keyframes b_pouring {
    0%{
        opacity: 0;
    }
    65%{
        opacity: 0;
        padding-bottom: 1em;
        padding-left: 0.5em;
    }
    100%{
        opacity: 1;
    }
}
/* +++++++++++ Donut deco +++++++++++ */
.skills_wrap.d .circle{
    animation: circle-ani 2s linear 4s infinite alternate;
}
.donut {
    z-index: 1;
    width: 12em;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.ps {
    transform: translate(-50%,-89%);
    animation: ps_ani 2s linear 4s infinite alternate;   
}
@keyframes ps_ani {
    0%{
        width: 7em;
        transform: translate(-50%,-80%);
    }
    50%{
        transform: translate(-50%,-60%);
        
    }
    100%{
        transform: translate(-50%,-89%);
    }
}
.ai {
    transform: translate(-100%,10%) rotate(20deg);
    animation: ai_ani 2s linear 4s infinite alternate;   
}
@keyframes ai_ani {
    0%{
        width: 7em;
        transform: translate(-50%,-60%);
    }
    50%{
        transform: translate(-100%,10%);
        
    }
    100%{
        transform: translate(-100%,10%) rotate(20deg);
    }
}
.xd {
    transform: translate(15%,10%) rotate(-20deg);
    animation: xd_ani 2s linear 4s infinite alternate; 
}
@keyframes xd_ani {
    0%{
        width: 7em;
        transform: translate(-50%,-30%);
    }
    50%{
        transform: translate(15%,10%);
        
    }
    100%{
        transform: translate(15%,10%) rotate(-20deg);
    }
}
 /* ################### work ##################### */
 
 .work {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80vw;
    height: 100vh;
    margin: 0 auto;
}
.work .title{
    position: absolute;
    top: 0;
    margin: 5em auto;
    font-size: 2em;
    color: #DDB8A0;  
 }
.work_wrap {
    height: 90%;
    margin-top: 15em;
    padding-top: 5em;
    flex: 1;
 }
.work_wrap .box {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 60%;
    margin: 0 auto;
    transition: all 0.3s;
    cursor: pointer;
}
.work_wrap .box a{
    display: inline-block;
    width: 100%;
    height: 100%;
}
.work_wrap .box_img {
    background: url(../imgs/ilu_box.svg) no-repeat bottom;
    width: 68%;
    margin: 0 auto;
    height: 100%;
    transition: all 0.3s;
    cursor: pointer;
}

.work_wrap.a .box:hover .box_img {
    background: url(../imgs/ilu_box_5.svg) no-repeat bottom;
    width: 100%;
}
.work_wrap.b .box:hover .box_img {
    background: url(../imgs/ilu_donut_box_rp_5.svg) no-repeat bottom;
    width: 100%;
}
.work_wrap.c .box:hover .box_img {
    background: url(../imgs/ilu_donut_box_f_5.svg) no-repeat bottom;
    width: 100%;
}

.work .text {
    width: 100%;
    padding-top: 1em;
    text-align: center;
    color: #DDB8A0;  
}
.work .flavor {
    font-size: 1.5em;
    margin: 0.5em;
}
.work .dec {
    font-size: 1em;
}

@keyframes open_box_a {
    0% {
        background: url(../imgs/ilu_box_5.svg) no-repeat bottom;
    }
    25% {
        background: url(../imgs/ilu_box_2.svg) no-repeat bottom;
        width: 80%;
        
    }
    50% {
        background: url(../imgs/ilu_box_3.svg) no-repeat bottom;
        width: 80%;
        
    }
    75% {
        background: url(../imgs/ilu_box_4.svg) no-repeat bottom;
        width: 80%;
    }
    100% {
        background: url(../imgs/ilu_box_5.svg) no-repeat bottom;
        width: 100%;
    }
    
}

/* +++++++++++ Donut deco +++++++++++ */
.contact {
    position: relative;
    width: 80vw;
    height: 50vh;
    margin: 3em auto;
    background-color: #DCEDC1;
    /* border: 1px solid #000; */
    border-radius: 5px;
    display: flex;
  
}
#scroll-section-3 .title {
    font-size: 2em;
    font-weight: 300;
    color: #DDB8A0;
    margin: 1em auto;  
    width: 80vw;

}

fieldset {
    position: absolute;
    right: 0;
    height: 100%;
    width: 80%;
    padding: 1em;
    border: none;
    font-family: 'Courier New', Courier, monospace;
}

label{
    color: #FFAAA5;
}
input[type=text],
input[type=email],
textarea {
    right: 0;
    height: 2em;
    width: 100%;
    margin-bottom: 1em;
    border-radius: 5px;
    border-style: none;
    border: none;
}
textarea {
    height: 10em;
}

button[type=submit] {
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    color: #F5EEDC;
    background-color: #FFAAA5;
    border-radius: 5px;
    border: none;
    height: 2em;
    cursor: pointer;
}
button[type=submit]:hover {
    background-color: #DD4A48;;
}
textarea {
    height: 10em;
}
.cook {
    margin: 1em;
}
.cook img {
    height: 100%;
}
/* -------------------------loading--------------------------- */

.loading {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    background-color: #F5EEDC;
    /* display: none; */
}
.loading img {
    width: 7em;
    animation: bounce 1s infinite ease-in-out;
}
@keyframes bounce {
    0%   {
      transform: 
        translateY(0)
        scaleX(0.5)
        scaleY(0.4);
    }
    20% {
      transform: 
        translateY(-90px)
        scale(0.5);
    }
    50% {
      transform: 
        translateY(-100px)
        scale(0.5);
    }
    80% { 
      transform: 
        translateY(-90px)
        scale(0.5);
    }
    100% {
      transform: 
        translateY(0)
        scaleX(0.5)
        scaleY(0.4);
    }
  }
  .shadow {
    position: relative;
    top: -5%;
    background-color: rgba(0, 0, 0, 0.2);
    width: 4em;
    height: 1em;
    border-radius: 50%;
    animation: shadow-scale 1s infinite;
}
@keyframes shadow-scale {
    0%   {
        transform: 
        scale(1);
    }
    20% {
        transform: 
        scale(0.5);
    }
    50% {
        transform: 
        scale(0.5);
    }
    80% { 
        transform: 
        scale(0.5);
    }
    100% {
        transform:
        scale(1);
    }
}
.loading p {
    font-size: 1.5em;
    color: #FFAAA5;
    padding: 0;
    margin: 0;
  }
 
  