@import url('https://fonts.googleapis.com/css2?family=Signika+Negative:wght@300&display=swap');

:root {
    --dark-grey: rgb(63, 63, 63);
}

html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Signika Negative', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

/* start screen */
#start-screen {
    display: block;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 2px solid black;
}

/* game screen */
#game-img {
    transform: scaleX(-1);
}

#game-menu {
    background-color: grey;
    color: white;
}

#left-menu {
    width: auto;
    border: 2px solid black;
    padding: 10px;
}

#right-menu {
    width: 400px;
    border: 2px solid black;
}

#game-hero-stat {
    display: flex;
    flex-direction: column;
    height: 50%;
}


#stat {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    padding-left: 20px;
    font-size: 25px;
}

#game-message {
    width: 100%;
    background-color: black;
    color: white;
    border-radius: 4px;
}
#action {
    display: flex;
    flex-direction: column;
    height: 50%;
}

.button {
    background-color: var(--dark-grey);
    color: white;
    border: 2px solid black;
    border-radius: 4px;
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.button:hover {
    background-color: black;
}
/* battle screen */

#battle-menu {
    background-color: grey;
    border: 2px solid black;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 828px;
    height: 480px;
}

#top {
    background-color: var(--dark-grey);
    color: white;
    display: flex;
}

#battle-hero-stat {
    text-align: center;
    width: 100%;
}

#battle-monster-stat {
    text-align: center;
    width: 100%;
}

#middle {
    height: 371px;
    display: flex;
    overflow: hidden;
}   

#battle-hero-cover {
    width: 416px;
    height: 100%;
    display: flex;
    justify-content: center ;
}
#battle-hero {
    transform: scaleX(-1);
    object-position: 0 10px;
    height: 320px;
}

#battle-message {
    background-color: black;
    color: white;
    border-radius: 4px;
    text-align: center;
    font-size: 20px;
}

#botton {
    height: 100%;
}

#battle-action {
    display: flex;
    justify-content: space-between;
    text-align: center;
    height: 45px;
}

#battle-monster {
    overflow: hidden;
    width: 416px;
}

#img-monster {
    transform: scaleX(-1);
    overflow: hidden;

    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* shop menu */

#shop-menu {
    border: 2px solid black;
    width: 828px;
    height: 480px;
}

#shop-top {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 50%;
}

#shop-potion{
    width: 100%;
    height: 100%;
}

#shop-potion-list {

    width: 100%;
}

#shop-potion-stat {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: grey;
    border: 1px solid black;
    color: white;
    text-shadow: 1px 1px 1px black;
}

#shop-bottom {
    display: flex;
    justify-content: center; 
    background-color: white; 
    height: 50%;  
}

#shop-inventory {
    width: 100%;
    height: 100%;
    border-top: 1px solid black;
}

.inventory {
    background-color: white;
}

#shop-inventory h2 {
    margin-bottom: 0;
}


#shop-menu-act {
    display: flex;
    flex-direction: column ;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

#shop-buy,#shop-sell,#shop-exit {
    height: 100%;
    width: 100%;
    background-color: var(--dark-grey);
    color: white;
    border: 1px solid black;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#shop-buy:hover,#shop-sell:hover,#shop-exit:hover {
    background-color: black;
}

#shop-message {
    background-color: black;
    color: white;
    height: 22.4px;
}

/* battle potion */

#potion {
    border: 2px solid black;
    width: 828px;
    height: 480px;
}

#potion-top {
    display: flex;
    height: 80%;
    width: 100%;    
}

.potion-inventory {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


#potion-bottom {
    display: flex;
    width: 100%;
    height: 20%;
}

#potion-use,#potion-exit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-grey);
    color: white;
    border: 1px solid black;
    border-radius: 4px;
}

#potion-use:hover, #potion-exit:hover {
    background-color: black;
}