@font-face {
    font-family: FiraSans;
    src: url("fonts/FiraSansCondensed-SemiBold.otf");
}
@font-face {
    font-family: GBfont;
    src: url("fonts/PokemonGB.ttf")
}

html {
  background-image:url("images/bg.png");
  background-position: center;
  background-size: cover;
  min-width: 1000px;
}

form {
  font-family: FiraSans;
}
#snackbar1, #snackbar2, #snackbar3, #snackbar4, #snackbar5, #snackbar6, #snackbar7{
  font-family: GBfont;
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: white;
  color: black;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
  /*gb-esque*/
  box-shadow: 0 1px 0 1px black,
              inset 0 1px 0 1px black,
              0 0 0 1px black,
              inset 0 0 0 1px black;
}
/*COLORS*/
/*info*/
#snackbar1 {
  border: 1px solid white;
  background-color: white;
}
/*error*/
#snackbar2 {
  border: 1px solid #FFA09D;
  background-color: #FFA09D;
}
/*empty*/
#snackbar3 {
  border: 1px solid #A0BDB4;
  background-color: #A0BDB4;
}
/*warning*/
#snackbar4 {
  border: 1px solid #FFF1B9;
  background-color: #FFF1B9;
}
/*success*/
#snackbar5 {
  border: 1px solid #B6FFBB;
  background-color: #B6FFBB;
}
/*critical*/
#snackbar6 {
  border: 1px solid #E85941;
  background-color: #E85941;
}
/*debug*/
#snackbar7 {
  border: 1px solid #B285FF;
  background-color: #B285FF;
}
#snackbar1.show, #snackbar2.show, #snackbar3.show, #snackbar4.show, #snackbar5.show, #snackbar6.show, #snackbar7.show{
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
/* All the battle graphical assets */
/* Health HUD (100% intial value) */
#p2health {
  position: absolute;
  top: 0px;
  left: 0px;
  margin-left: 20px;
  width: 200px;
  height: 100px;
}
#p1health {
  position: absolute;
  margin-right: 20px;
  bottom: 0px;
  right: 0px;
  width: 200px;
  height: 100px;
}
/*pokemon sprites go here*/
#poke2 {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 0px;
  right: 0px;
  margin-right: 10px;
  background: transparent;
  z-index: 2;
}
#poke1 {
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: 0px;
  left: 0px;
  margin-left: 10px;
  background: transparent;
  z-index: 2;
}
/*this is the health bar itself, needs animation as pokemon take dmg*/
#health1 {
  position:absolute;
  width: 120px;
  height: 8px;
  top: 35px;
  left: 48px;
  background-color: green;
}
#health2 {
  position:absolute;
  width: 120px; /*Full Bar*/
  height: 8px;
  top: 35px;
  left: 56px; /*exactly where bar touches the gauge.*/
  background-color: green;
}
/*Need to make it so the pkmn name is dynamic and can change*/
#hudimg {
  position: absolute;
}
#hudimg2 {
  position: absolute;
  padding-top: 1px;
}

#activeMon1 {
  width: 100%;
  height: 90%;

}
#activeMon2 {
  width: 100%;
  height: 90%;
}

#platform2 {
  position: absolute;
  top: 150px;
  right: 10px;
  z-index: 0;
}
#platform1 {
  position: absolute;
  bottom: 0px;
  left: 10px;
  z-index: 0;
  width: 200px;
}

#pName1 {
  width: 100%;
  height: 15px;
  text-align: right;
  font-family: GBfont;
}

#pName2 {
  width: 100%;
  height: 15px;
  font-family: GBfont;
}

#moveList {
  width: 1000px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 510px;
}

#m1, #m2, #m3, #m4 {
  float: left;
  width: 200px;
  height: 30px;
  margin: 5px 20px;
  padding: 25px 0;
  text-align: center;
  font-family: 'Anton', sans-serif;
  border: solid white;
  background-color: white;
  cursor: pointer;
}

#slot1, #slot2, #slot3, #slot4, #slot5, #slot6 {
  width: 70px;
  height: 70px;
  border: solid white;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  opacity: 0.5;
}
/*All of Battle assets above*/
/*This is the button styling*/
.buttonflair{
  font-family: FiraSans;
  background-color: #663aaf; /* Twitch purple */
  /*border: none;*/
  color: white;
  padding: 15px 32px;
  width: 80px;
  max-width: 150px;
  padding: 10px 28px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  /*box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);*/
}
/*the gif inside the snackbar, they are kinda small, on and off on how i want to change this*/
.snackimgleft{
  float: right;
}

.snackimgright{
  float: left;
  /*height: 8%;
  width: 8%;*/
}

.wrapper {
  display: block;
  flex-wrap: wrap;
  /*text-align:center;
  justify-content: center;
  align-items: center;*/
  width: 850px;
  height: 500px;
  margin-left: auto;
  margin-right: auto;
  border-style: solid;
  border-color: black;
  }
/*child divs for Next pokemon*/
.left {
  display: block;
  float: left;
  width: 150px;
  height: 475px;
  margin: 5px;
  font-size: medium;
  /* border-style: solid;
  border-color: white; */
}
/* Where most of the magic happens */
.battle {
  display: block;
  position: relative;
  float: left;
  width: 625px;
  height: 475px;
  margin: 10px;
  font-size: medium;
  border-style: solid;
  border-color: white;
  background-image: url("images/batbg.png");
}
/*Player 2's pokemon*/
.right {
  display: block;
  float: left;
  width: 150px;
  height: 475px;
  margin: 5px;
  font-size: medium;
  border-style: solid;
  border-color: white;
}

.waitMon {
  width: 100%;
  height: 100%;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/*To Dos If asked:
- Change the transitions, make the snackbars more distinct
- Increase image size for gifs
- Maybe redo the background
- Animate the buttons
- Make that text-field more pleasing to the eyes*/
