html {
  overflow-y: scroll;

}

body {
  margin: 0px;
  background-image: url('./waves.svg');
  aspect-ratio: 960/300;
  background-repeat: no-repeat;
  background-size: cover; 
  max-height: 100%;
}

.winIcon {
  min-width: 40px;
  min-height: 40px;
  height: 40px;
  width: 40px;
  background-color: transparent;
}

#win {
  background-color: green;
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
}

h2 {
  font-size: 32px;
}
h4 {
  font-size: 28px;
}
h5 {
  font-size: 24px;
}
#name {
  font-size: 36px;
  justify-self: center;
  margin: 0px;
}
main {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  margin: 0%;
  margin-top: 2%;
  margin-bottom:0px;
}
#info {
  float: right;
  margin-right: 0%;
  position: relative;
  top: -5%;
}
.pokemon {
  min-width: 594px;
  min-height: 250px;
  margin: 0px;
  margin: 4%;
  margin-top: 3%;
  margin-bottom: 1%;
  padding: 1.5em;
  border-radius: 12px;
  background: rgba(127, 200, 169, 0.25) ;
  box-shadow: 0px 6px 18px #7FC8A9;  
  width: 80%;
}
select {
  background-color: #D5EEBB;
  border: none;
  border-radius: 0.35em;
  padding: 0.5em;
  font-size: 22px;
}
#load {
  display: flex;
  justify-content:center;
  position: relative;
  top: 25%;
}
#signature {
  display:flex;
  width: fit-content;
  float: right;
  position: relative;
  right: 14%
}
#pokemonimg {
  width: 380px;
}
@media screen and (min-width: 990px) {
  #signature {
    display:flex;
    width: fit-content;
    float: right;
    position: relative;
    right: 30%
  }
  #pokemonimg {
    width: 200px;
  }
  h5 {
    font-size: 16px;
  }
  #name {
    font-size: 26px;
    justify-self: center;
    margin: 0px;
  }
  h2 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  main {
    margin: auto;
    justify-content: center;
    display: flex;
    margin: 4%;
    margin-top: 0%;
    margin-bottom:0px;
  }
  html {
    height: 100%;
    overflow: hidden;
  }
  #info {
    float: none;
    position: relative;
    top: 0%;
  }
  .pokemon {
    min-width: 250px;
    min-height: 250px;
    margin: 4%;
    margin-top: 3%;
    margin-bottom: 1%;
    padding: 3em;
    border-radius: 12px;
    background: rgba(127, 200, 169, 0.25) ;
    box-shadow: 0px 6px 18px #7FC8A9;  

    width:fit-content;
  }
  select {
    background-color: #D5EEBB;
    border: none;
    border-radius: 0.35em;
    padding: 0.5em;
    font-size: 16px;
  }
}

#title {
  text-align: center;
  margin-top: 2%;
  margin-bottom: 0px;
}

#pre {
  padding-left: 6px;
  padding-right: 6px;
  text-align: center;
  color: #383e56;
}
#sig {
  font-family: 'Comfortaa', cursive;
  color: #f69e7b;
  background-color: #383e56;
  padding: 5px;
  position:relative;
  top:-2px;
  border-radius: 6px;
}


