@font-face {
    font-family: "VarelaRound";
    src: url("../VarelaRound.ttf");
}

body {
    background-color:#889482;
    font-family: "VarelaRound";
    user-select:none;
}

.container-full {
    height: 100vh;
    width: 100%;
    display: flex;
}

.main-stage {
    background-color: white;
    width: 960px;
    height: 540px;
    margin: auto;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.button-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#btn-start, #btn-restart {
    padding: 15px 50px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 900;
    z-index: 10;
}

.btn-secondary {
    border: 2px solid white;
}

.btn-secondary:hover {
    border: 2px solid white;
}

#kitchen {
    width: 100%;
    height: 100%;
    background-image: url("../images/bgs/kitchen-bg.png");
    background-size: contain;
}

#kitchen.eggHold {
    cursor:url("../images/cursors/egg.png"), auto;
}

#kitchen.milkHold {
    cursor:url("../images/cursors/milk.png"), auto;
}

#kitchen.flourHold {
    cursor:url("../images/cursors/flour.png"), auto;
}

#kitchen.mixingSpoon {
    cursor:url("../images/cursors/spoon.png"), auto;
}

#kitchen.ladle {
    cursor:url("../images/cursors/ladle.png"), auto;
}

#kitchen.ladle-full {
    cursor:url("../images/cursors/ladle_full.png"), auto;
}

#kitchen.overlay-box:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    background: rgba(0,0,0,0.5);
}

#kitchen.overlay-box.comeUp:after {
    animation: comeUp 1000ms forwards;
}

#btn-restart.comeUp {
    margin-top: 200px;
    opacity: 0;
    animation: comeUpBtn 500ms 500ms forwards;
}

@keyframes comeUpBtn {
    0% {
        margin-top: 200px;
        opacity: 0;
    }
    100% { 
        margin-top: 0;
        opacity: 1;
    }
}

@keyframes comeUp {
    0% {
       top: 540px;
    }
    100% { 
        top: 0;
    }
}

#milk-game {
    width: 100%;
    height: 100%;
    background: url("../images/bgs/labyrint-bg.png");
}

#flour-game {
    width: 100%;
    height: 100%;
    background: url("../images/bgs/snake-bg.png");
}

#jam-game {
    width: 100%;
    height: 100%;
    background: url("../images/bgs/fruit-bg.png");
}

#sprite {
    position: absolute;
    bottom: 140px;
    visibility: hidden;
    display: none;
}

#milk {
    position: absolute;
    bottom: 100px;
    left: 120px;
    animation: appear 500ms forwards;
}

#flour {
    position: absolute;
    bottom: 150px;
    left: 270px;
    animation: appear 500ms forwards;
}

#mixBowl {
    position: absolute;
    bottom: 25px;
    left: 450px;
    width: 200px;
    height: 150px;
    animation: appear 500ms forwards;
}

#bannerEat {
    position: absolute;
    top:0;
    left: 50%;
    margin-left: -308px;
}

.enlargeBowl {
    animation: enlargeBowl 1000ms forwards ease-in-out !important;
}

.cookingBowl {
    animation: moveBowl 1000ms forwards ease-in-out !important;
}

#pan {
    position: absolute;
    bottom: 190px;
    left: 540px;
    width: 300px;
    height: 150px;
    animation: appear 500ms forwards;
    z-index: 1;
}

#burner {
    position: absolute;
    bottom: 140px;
    left: 555px;
    width: 400px;
    height: 135px;
    animation: appear 500ms forwards;
}

#pancake {
    position: absolute;
    width: 150px;
    height: 52px;
    bottom: 255px;
    left: 590px;
    z-index: 2;
}

#pancake0, #pancake1, #pancake2 {
    position: absolute;
    width: 150px;
    height: 52px;
    left: 380px;
}

#pancake0 {
    bottom: 50px;
    z-index: 1;
}

#pancake1 {
    bottom: 60px;
    z-index: 2;
}

#pancake2 {
    bottom: 70px;
    z-index: 3;
}

.flop {
    animation: flop 500ms forwards ease-in-out !important;
}

#plate {
    position: absolute;
    width: 250px;
    height: 100px;
    bottom: 35px;
    left: 333px;
    animation: appear 500ms forwards;
}

.bigPlate {
    width: 300px !important;
    height: 120px !important;
    bottom: 85px !important;
    left: 333px !important;
}

#jamjar {
    position: absolute;
    width: 73px;
    height: 90px;
    bottom: 185px;
    left: 280px;
    animation: appear 500ms forwards;
}

.enlargePlate {
    animation: enlargePlate 1000ms forwards ease-in-out !important;
}

@keyframes enlargePlate {
    0% {
        width: 250px;
        height: 100px;
        bottom: 35px;
        left: 333px;
    }
    100% {
        width: 300px;
        height: 120px;
        bottom: 85px;
        left: 333px;
    }
}

@keyframes moveBowl {
    0% {
        bottom: 80px;
        left: 270px;
        width: 376px;
        height: 230px;
    }
    100% {
        bottom: 80px;
        left: 75px;
        width: 200px;
        height: 150px;
    }
}

@keyframes enlargeBowl {
    0% {
        bottom: 25px;
        left: 450px;
        width: 200px;
        height: 150px;
    }
    100% {
        bottom: 80px;
        left: 270px;
        width: 376px;
        height: 230px;
    }
}

@keyframes flop {
    0% {
        bottom: 255px;
        left: 590px;
        transform: rotate(0);
    }
    50% {
        bottom: 220px;
        left: 430px;
        transform: rotate(180deg);
    }
    100% {
        bottom: 60px;
        left: 380px;
        transform: rotate(360deg);
    }
}

.clickable {
    cursor: pointer;
}

.comeToScreen {
    visibility: visible !important;
    display: flex !important;
    animation: sway 500ms alternate infinite ease-in-out, comeIn 5000ms forwards;
}

.standBy {
    visibility: visible !important;
    display: flex !important;
    right: 80px;
    animation: sway 500ms alternate infinite ease-in-out;
}

@keyframes comeIn {
    0% {
        right: -200px;
    }
    100% {
        right: 80px;
    }
}

@keyframes sway {
    0% {
        transform: rotate(4deg);
    }
    100% {
        transform: rotate(-4deg);
    }
}

.text-bubble {
    position: absolute;
    background-color: white;
    width: 912px;
    height: 128px;
    padding: 15px;
    bottom: 30px;
    left: 50%;
    margin-left: -456px;
    border: 2px solid black;
    border-radius: 10px;
    visibility: hidden;
    display: flex;
    opacity: 0;
    cursor:url("../images/cursors/cursor-next.png"), auto;
}

.text-bubble img {
    width: 98px;
    height: 98px;
    margin-right: 10px;
    border-radius: 10px;
}

.appear {
    visibility: visible;
    animation: appear 500ms forwards;
}

.disappear {
    animation: disappear 500ms forwards;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes disappear {
    0% {
        visibility: visible;
        opacity: 1;
    }
    99% {
        visibility: visible;
        opacity: 0;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        cursor: default;
    }
}