@font-face {
    font-family: 'Pokemon';
    src: url('./fonts/Pokemon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  

*{
    margin: 0;
    padding: 0;
}
#Outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: rgb(196, 196, 223);
}
#BigBox {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#popup {
    position: absolute;
    background-color: #FFCC00;
    left: 10%;
    top: 5%;
    height: 90%;
    width: 80%;
    font-family: Pokemon;
    color: black;
    display: none;
    border-width: 0.3rem;
    border-style: solid;
    border-color: #0A285F;
}
#popup h1 {
    text-align: center;
    color: #0A285F;
}
#popup ul {
    line-height: 1.75;
    padding-left: 2rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
}
#popup p {
    font-size: 1.5rem;
    text-align: center;
    padding-top: 1rem;
}
#UI {
    display: none;
}
#cover {
    position: relative;
    display: flex;
    justify-content: center;
}

#box {
    border-width: 2px;
    border-color: black;
    border-style: solid;
}
#actions {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 8rem;
    height: 24rem;
    background-color: none;
    position: absolute;
    z-index: 1000;
    left: 1rem;
    bottom: 1rem;
}

.attackbtn {
    width: 9rem;
    height: 5rem;
    border-color: black;
    border-width: 0.2rem;
    border-style: solid;
    font-size: 1rem;
    font-family: Pokemon;
    background-color: #D5A100;
    margin-bottom: 1rem;
}
#btn4 {
    margin-bottom: 0;
}
.attackbtn:hover {
    background-color: #FFCC00;
    border-color: #0A285F;
}

.health {
    background-color: rgba(255, 255, 255, 0.486);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    z-index: 1000;
    width: 25rem;
    height: 7rem;
    position: absolute;
    font-family: Pokemon;
    border-width: 0.2rem;
    border-color: black;
    border-style: solid;
}
#opphealth {
    top: 1rem;
    left: 38rem;
}
#myhealth {
    top: 1rem;
    left: 1rem;
}
.name_level {
    margin-bottom: 0.5rem;
}
h1 {
    font-size: 2rem;
}
h3 {
    font-size: 1rem;
}
.healthbar {
    background-color: rgb(212, 208, 208);
    width: 80%;
    margin-left: 1rem;
    height: 1rem;
    position: relative;
    display: flex;
    align-items: center;
}
.healthbartext {
    position: absolute;
    z-index: 1004;
    font-size: 0.7rem;
    padding-left: 0.3rem;
}
.healthbartop {
    position: absolute;
    width: 100%;
    height: 1rem;
    background-color: red;
    z-index: 1003;
}

#battlelog {

    position: absolute;
    background-color: #ffcc0080;
    height: 24rem;
    right: 1rem;
    bottom: 1rem;
    width: 12rem;
    overflow: hidden;
    font-family: Pokemon;
    text-align: center;
    color: #0A285F;
    font-weight: 1000;
}

#datainbattlelog {
    background-color: rgba(255, 255, 255, 0.39);
    width: 10rem;
    height: 21rem;
    margin: 1rem;
    margin-left: 0.75rem;
    word-wrap: break-word;
    margin-top: 0.5rem;
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: left;
    font-size: 0.8rem;
    scrollbar-width: none;
    padding: 0 0 0 0.5rem;
    color: #0075BE;
}

#choose {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: aliceblue;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    display: none;
}
#backbutton {
    width: 3rem;
    position:absolute;
    left: 1rem;
    top: 1rem;
    cursor: pointer;
}
#choosetext {
    font-family: Pokemon;
    margin-top: 1rem;
    font-size: 2rem;
    text-align: center;
    color: #0A285F;
}
.cards {
    margin-top: 2rem;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 1rem;
}
.pokecard {
    width: 10rem;
    height: 13rem;
    background-color: white;
    font-family: Pokemon;
    color: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
}
.pokecard:hover {
    background-color: red;
}
.pokecard:active {
    background-color: red;
}
.pokeimg {
    position: absolute;
    width: 90%;
    height: 70%;
    top: 0;
    left: 0;
    border-radius: 1rem;
    background-color: aliceblue;
    margin-left: 5%;
    margin-top: 5%;
}
.poketext {
    display: flex;
    position: absolute;
    height: 20%;
    bottom: 0;
    left: 0;
    font-size: 0.8rem;
    overflow-y: hidden;
    color:#0A285F;
    overflow-x: hidden;
    word-break: break-all;
    align-items: center;
    padding-left: 0.5rem;
    padding-bottom: 0.5rem;
}

#EOB {
    position: absolute;
    background-color: #FFCC00;
    width: 30rem;
    top: 25%;
    height: 50%;
    color: #0A285F;
    border-width: 1rem;
    border-color: #D5A100;
    border-style: solid;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    font-family: Pokemon;
}
#YOU {
    margin-bottom: 2rem;
    font-family: Pokemon;
    font-size: 3rem;
}
#info {
    text-align: center;
    margin-bottom: 2rem;
}

#toolbar {
    display: flex;
    font-family: Pokemon;
    flex-direction: row;
    height: 6rem;
    background-color: #FFCC00;
    color: #0A285F;
    width: 64.25rem;
    justify-content: space-evenly;
    align-items: center;
}
.Buttons {
    width: 10%;
    cursor: pointer;
    height: 80%;
    display: flex;
    justify-content: center;
}
#Wincount , #Losecount, #Money{
    flex-direction: column;
    align-items: center;
}
.Buttons img {
    width: 100%;
}
#Instructions img {
    width: 70%;
    height: 90%;
}

