html {
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  color: white;
  font-family: 'Abel', sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin: 0;
  padding: 0px;
  background-image: radial-gradient(transparent, rgba(0, 0, 0, 0.7), black), url("images/wallpaper.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-clip: initial;
  line-height: 1em;
}

.allcontent {
  width: calc(100vw - 30%);
  height: 100vh;
  overflow: hidden;
}

.trainername {
  font-size: 1.4em;
  margin: 20% 5px 15px 20px;
  /* transition: 1s; */
  float: left;
}

.content-box {
  height: calc(100vh - 102px)
}

h1 {
  font-size: 1em;
  margin: 0px;
}

/* .pokeball {
  height: 40px;
  width: 40px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.pokeball:hover {
  transform: translateY(1px) rotate(360deg) scale(1.3, 1.3);
} */
.div1 {
  background-color: rgba(80, 80, 80);
  box-shadow: 1px 1px 20px black;
  transition-duration: 1s;
  background-image: url("images/headerbackground.png");
  background-position: right;
  background-repeat: no-repeat;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 20px;
  position: relative;
  z-index: 8;
}

.professoroak {
  display: flex;
  padding: 15px;
  display: flex;
  align-items: flex-end;
}
.professoroak input {
  margin: 0 10px 0 0 !important;
}
.professoroak div {
  display: flex;
  flex-direction: column;
  margin: 0 5px;
  align-items: center;
}
.professoroak p {
  margin: 0;
  font-size: .7em;
  margin-top: 5px;
}

.div2 {
  background-color: rgba(100, 100, 100, 0.7);
  transition-duration: 1s;
  box-shadow: 3px -3px 10px black;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  height: 350px;
  overflow: hidden;
  overflow-y: scroll;
}

.div2::-webkit-scrollbar {
  width: .6em;
}

.div2::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.div2::-webkit-scrollbar-thumb {
  background-color: #4c2e34;
  outline: 0px solid #331b20;
}

#yourpokemon {
  padding: 20px;
  display: flex;
  justify-content: center;
  border-bottom-color: white;
  border-bottom-style: solid;
}

#pokename {
  margin-right: 5px;
}
.div3 {
  border-radius: 0 30px 30px 0;
  background-color: rgba(100, 39, 28, 0.8);
  box-shadow: 3px -3px 10px black;
  transition-duration: 1s;
  padding: 0 !important;
  height: 350px;
  min-height: 300px !important;
}

.statsimg {
  position: relative;
  left: 33%;
  top: -380px;
  height: 0px;
  width: 0;
  height: 0;
}

.statsimg img {
  max-width: 700px;
  transition: 1s;
  z-index: 3;
}

.statsinfo {
  font-size: 1.15em;
  background: rgba(10, 15, 25, 0.55);
  z-index: 4;
  border-radius: 0px 25px 25px 0px;
  border-top-right-radius: 25px;
  width: 250px;
  position: relative;
  left: 0;
  top: -40px;
  transition-duration: .5s;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.84);
  margin: 0;
}

.statsinfo p {
  margin: 0px;
  line-height: 1.15em;
  font-size: 14px;
}

.pokelist {
  display: grid;
  grid-template-columns: repeat(1, 100%);
}

.sprites {
  width: 50px;
}

.pokediv {
  color: white;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0);
  justify-content: space-between;
  border-bottom-style: solid;
  border-bottom-color: rgba(255, 255, 255, 0.6);
  border-bottom-width: 3px;
}

.pokediv a {
  color: #ddeaff;
}

.pokediv:hover {
  transition-duration: 2s;
  cursor: pointer;
  background: radial-gradient(transparent, black), url('images/pokeballwallpaper.png');
  background-position: center;
  background-size: cover
}

#maxhp {
  background-color: rgba(132, 200, 132, 0.15);
  width: 100%;
}

#hpbar {
  background-color: rgba(50, 140, 50, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#hpbar p {
  white-space: nowrap;
  padding: 5px;
}

#maxatk {
  background-color: rgba(200, 132, 132, 0.15);
  width: 100%;
}

#atkbar {
  background-color: rgba(140, 50, 50, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#atkbar p {
  white-space: nowrap;
  padding: 5px;
}

#maxspatk {
  background-color: rgba(132, 132, 200, 0.15);
  width: 100%;
}

#spatkbar {
  background-color: rgba(50, 50, 140, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#spatkbar p {
  white-space: nowrap;
  padding: 5px;
}

#maxspatk {
  background-color: rgba(132, 132, 200, 0.15);
  width: 100%;
}

#spatkbar {
  background-color: rgba(50, 50, 140, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#spatkbar p {
  white-space: nowrap;
  padding: 5px;
}

#maxdef {
  background-color: rgba(200, 200, 132, 0.15);
  width: 100%;
}

#defbar {
  background-color: rgba(140, 140, 50, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#defbar p {
  white-space: nowrap;
  padding: 5px;
}

#maxspdef {
  background-color: rgba(132, 200, 200, 0.15);
  width: 100%;
}

#spdefbar {
  background-color: rgba(50, 140, 140, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#spdefbar p {
  white-space: nowrap;
  padding: 5px;
}

#maxspeed {
  background-color: rgba(200, 132, 132, 0.15);
  width: 100%;
}

#speedbar {
  background-color: rgba(140, 50, 140, 0.8);
  width: 0%;
  animation-duration: 2s;
}

#speedbar p {
  white-space: nowrap;
  padding: 5px;
}

@keyframes grow {
  0% {
    left: 0px;
  }

  50% {
    left: -300px;
  }

  100% {
    left: 0px;
  }
}

.expand {
  animation-name: grow;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
}

@keyframes dropdown {
  0% {
    top: 0px;
  }

  50% {
    top: -50px;
  }

  100% {
    top: 0px;
  }
}

.expanddown {
  animation-name: dropdown;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
}

@keyframes dropdown2 {
  0% {
    top: -50px;
  }

  50% {
    top: -100px;
  }

  100% {
    top: -50px;
  }
}

.expanddown2 {
  animation-name: dropdown2;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
}

.nooverflowbox {
  overflow: hidden;
  height: 100%
}

.hidden {
  opacity: 0;
}

ul {
  list-style-type: none;
  z-index: 4;
  font-size: .7em;
  display: flex;
  border-top: 2px solid rgb(130, 130, 130, 0.4);
  opacity: .7;
  margin-top: 0;
  display: flex;
  justify-content: center;
}

li a, li p {
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  margin: 0;
  padding: 8px;
  font-size: 1em;
  width: 80px;
}

li a:hover {
  background-color: rgb(140, 30, 30, 0.7);
}

#outtro {
  font-size: .8em;
  line-height: 2em;
  text-align: center;
  opacity: .7;
  padding: 0;
  margin-bottom: -2px;
}

.helpbox {
  height: 100px;
}

#typebox1 {
  background-color: rgba(120, 120, 120, 0.45);
  height: 50px;
  width: 100px;
  border-radius: 0 0 7px 7px;
  position: relative;
  left: 5px;
  padding: 5px;
  box-shadow: 2px 2px 5px black;
}

#typebox1 img {
  width: 90px;
  display: block;
  margin: 0 auto;
}

#typebox2 {
  background-color: rgba(120, 120, 120, 0.45);
  height: 50px;
  width: 100px;
  border-radius: 0 0 7px 7px;
  position: relative;
  padding: 5px;
  left: 110px;
  top: -50px;
  box-shadow: 2px 2px 5px black;
}

#typebox2 img {
  width: 90px;
  display: block;
  margin: 0 auto;
}

.closebutton {
  position: relative;
  padding: 10px;
  right: 0px;
  font-size: 2em;
  transition-duration: .3s;
}

.closebutton:hover {
  color: red;
}

/* modal HERE */
.flavortextbox {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 15;
  /* Sit on top */
  padding-top: 35vh;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
}

.pokedesc {
  background: rgba(90, 88, 192, 0.96);
  box-shadow: 0 8px 10px 10px #0000005e;
  font-size: 1.5em;
  line-height: 1.5em;
  margin: auto;
  padding: 20px;
  width: 40%;
  border-color: rgba(255, 255, 255, .57);
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: tomato;
  text-decoration: none;
  cursor: pointer;
}

/*
modal ends */
.moreinfobox {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-content: center;
  position: relative;
  z-index: 12;
}

#moreinfoplus {
  background-color: rgb(149, 54, 54);
  z-index: 10px;
  width: 35px;
  height: 35px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  box-shadow: -1px 1px 2px black;
  /* THIS IS UNTIL POKEAPI IS BACK UP! */
  /* THIS IS UNTIL POKEAPI IS BACK UP! */
  /* THIS IS UNTIL POKEAPI IS BACK UP! */
  /* THIS IS UNTIL POKEAPI IS BACK UP! */
  opacity: 1
    /* THIS IS UNTIL POKEAPI IS BACK UP! */
    /* THIS IS UNTIL POKEAPI IS BACK UP! */
    /* THIS IS UNTIL POKEAPI IS BACK UP! */
}

#moreinfoplus:hover {
  background-color: rgba(250, 40, 40, 0.7);
}

#moreinfoplus:active {
  background-color: rgba(100, 40, 40, 0.7);
  transform: translateY(3px);
}

.allstats {
  position: relative;
  top: -25px;
  margin: 5px 15px 5px 15px;
  z-index: 4;
}

.icon {
  width: 30px;
  height: 30px;
  transition-duration: 0.1s;
  cursor: pointer;
  background-color: transparent;
  border-style: none;
  margin: 0;
}

.icon:hover {
  transform: rotate(15deg);
  filter: brightness(160%);
}

.icon:active {
  transform: scale(.9, .9);
  filter: brightness(60%);
  background-color: transparent;
}

.icon:focus {
  background-color: transparent;
}

.pokeballicon {
  background-image: url(images/pokeball.png);
  background-size: 28px 28px;
  background-repeat: no-repeat;
  background-position: center center;
}

.oakicon {
  background-image: url(images/professoroak.png);
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center center;
}

#databars {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 0px;
}

footer {
  position: relative;
  top: 20px;
}

.nodisplay {
  display: none !important;
}
