* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



/* body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    overflow: hidden;
} */

.game-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 800px;

    position: relative;
}

.info-panel {

    position: absolute;
    width: 280px;
    padding: 10px;
    background: #fff;
    border: 10px solid #0b8261;
    border-radius: 25px;
    text-align: left;

    padding: 1rem;

    margin-right: 1rem;

    top: 0px;
    right: -200px;
}

.game-area {
    width: 550px;
    height: 500px;
    position: relative;
    background: #fff;
    background: transparent;
    border: 10px solid #0b8261;

    border-radius: 25px;
    overflow: hidden;
}

#basket {
    width: 80px;
    height: 40px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: brown;
    border-radius: 10px;
    transition: left 0.1s ease-out;

    z-index: 100;

    /* position: relative; */
}

.player {
    position: relative;
}

.player img {
    /* width: 100%; */
    max-width: 197px;
    position: absolute;
    top: -61px;
    left: -18px;
    z-index: 100;
}

.ingredient {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    font-size: 30px;
    text-align: center;
}

ul li {
    list-style: none;
}


.game {
    width: 100vw;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;


    background: url(./assets/game-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.game-starter {
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
}

.game-starter .play {
    width: 600px;
    height: 600px;

    background-color: transparent;
    backdrop-filter: blur(10px);
    border-radius: 18px;

    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.game-starter .play button {
    background-color: #0b8262;
    border: 4px solid #ffffff;
    color: #ffffff;
    padding: 10px 3rem;

    max-width: 250px;

    border-radius: 16px;
    font-size: 32px;

    z-index: 5;

    margin: 0 4rem;

    cursor: pointer;
}


.lose-panel {
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;

    z-index: 100001;

    width: 740px;
    height: 580px;

    border-radius: 8px;

    position: absolute;
    backdrop-filter: blur(10px);
}

.lose-panel .play {
    width: 720px;
    height: 510px;

    /* background-color: transparent; */
    /* backdrop-filter: blur(10px); */
    background: url(./assets/images/try_again_popup.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 18px;

    z-index: 10001;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.lose-panel .play button {
    /* background-color: #0b8262; */
    /* border: 4px solid #ffffff; */
    /* color: #ffffff; */
    /* padding: 10px 3rem; */

    /* max-width: 250px; */

    border-radius: 16px;
    /* font-size: 32px; */

    z-index: 5;

    /* margin: 0 4rem; */

    margin-top: 80px;
    margin-right: auto;
    margin-left: 12rem;
    border: none;


    cursor: pointer;
}

.lose-panel .play button img {
    width: 100%;
    max-width: 120px;
}

.lose-panel .play a {
    margin-top: 30px;
    margin-right: auto;
    margin-left: 13.2rem;
}

.lose-panel .play a img {
    width: 100%;
    max-width: 80px;
}


.win-panel {
    z-index: 1000000;
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;

    position: absolute;
}

.win-panel .play {
    width: 720px;
    height: 520px;

    position: relative;

    background-color: transparent;
    backdrop-filter: blur(10px);
    border-radius: 18px;

    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.win-panel .bg_img {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.win-panel .bg_img img {
    width: 100%;
    max-width: 600px;
}

.win-panel .play .win_buttons {
    position: absolute;
    bottom: 75px;
    left: 102px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.win-panel .play .win_buttons a img {
    width: 100%;
    max-width: 250px;
    margin: 8px 0;
}

.win-panel .play .win_buttons a .home {
    width: 100%;
    max-width: 50px;
}

.win-panel .play h2 {
    margin-bottom: 2rem;
}

.win-panel .play button {
    background-color: #0b8262;
    border: 4px solid #ffffff;
    color: #ffffff;
    padding: 10px 3rem;

    max-width: 250px;

    border-radius: 16px;
    font-size: 28px;

    z-index: 5;

    margin: 0 4rem;

    cursor: pointer;
}

#collected-list li img {
    width: 100%;
    max-width: 70px;
}

#ingredient-list li img {
    width: 100%;
    max-width: 60px;
}