@font-face {
  font-family: "HusC_Font"; /* set name */
  src: url("font/husc-default.ttf"); /* url of the font */
}

/********************************** Navigation bar contents **********************************/
.topnav {
  overflow: hidden;

  margin: 0 auto;
  background: rgb(10, 10, 10, 0.9);
  border-radius: 20px;
  margin-bottom: 10px;
  /*Quick guide to box-shadow:
    First two numbers are vertical and horizontal offset.
    Third number is how far to spread the fuzzy effect.
    Fourth number is how much solid border/shadow there should be before the fuzzy effect begins.
  */
  box-shadow: 0px 0px 15px 2px #42c6ff;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #42c6ff;
  color: black;
}

.topnav-pokedex {
  overflow: hidden;

  margin: 0 auto;
  background: rgb(10, 10, 10, 0.9);
  border-radius: 10px;
  margin-bottom: 5px;
  margin-left: 2px;
  margin-right: 2px;
  /*Quick guide to box-shadow:
    First two numbers are vertical and horizontal offset.
    Third number is how far to spread the fuzzy effect.
    Fourth number is how much solid border/shadow there should be before the fuzzy effect begins.
  */
  box-shadow: 0px 0px 15px 2px #42c6ff;
}

/* Style the links inside the navigation bar */
.topnav-pokedex a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 5px 5px;
  text-decoration: none;
  font-size: 12px;
}

.topnav-pokedex a.active {
  background-color: #42c6ff;
  color: black;
}
/********************************** Navigation bar contents **********************************/

/********************************** Static elements **********************************/
a {
  color: #33c1ff;
  }
  
a:hover {
  color: #95dfff;
  }

/********************************** Static elements **********************************/


/********************************** Links **********************************/  
.links {
  border-top: 1px solid #ccc;
  background: rgb(238, 238, 238, 0.05);
  padding-left: 25px;
  padding-right: 25px;
  list-style-type:none;
  text-align: center;
  }
  
.link {
  display: inline-block;
  padding: 2px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 15px;
  padding-top: 10px;
  text-align: center;
  }
  
/********************************** Links **********************************/ 

/********************************** Main **********************************/ 
.main {
  margin: 0 auto;
  width: 500px;
  background: rgb(10, 10, 10, 0.9);
  border-radius: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
  /*Quick guide to box-shadow:
    First two numbers are vertical and horizontal offset.
    Third number is how far to spread the fuzzy effect.
    Fourth number is how much solid border/shadow there should be before the fuzzy effect begins.
  */
  box-shadow: 0px 0px 15px 2px #42c6ff;
  }

.main-inner {
  padding: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 150%;
  }

.main h1 {
  padding-top: 10px;
  text-align: center;
}

.main p {
  font-size: 12px;
}

.pokedex-mainbody {
  background: #222 url("img/img2.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex1-mainbody {
  background: #222 url("img/img2.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex2-mainbody {
  background: #222 url("img/img5.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex3-mainbody {
  background: #222 url("img/img5.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex4-mainbody {
  background: #222 url("img/img6.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex5-mainbody {
  background: #222 url("img/img6.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex6-mainbody {
  background: #222 url("img/img7.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex7-mainbody {
  background: #222 url("img/img7.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex8-mainbody {
  background: #222 url("img/img9.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex9-mainbody {
  background: #222 url("img/img9.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex10-mainbody {
  background: #222 url("img/img14.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }

.pokedex11-mainbody {
  background: #222 url("img/img14.jpg"); /*Replace with your own background image.*/
  background-size: cover;
	background-attachment: fixed;
  background-position:center;
	background-size: cover;
	color: white;
	font-size: 13.5px;
	font-family: "HusC_Font", "Open Sans", sans-serif;
  }
/********************************** Main **********************************/


/********************************** Gallery layout **********************************/
#container{
  max-width:1000px;
  margin:0 auto;
  padding:1em;
}

#gallery{
  display:grid;
  width:100%;
  gap:10px;
  grid-template-columns:repeat(3, 1fr);
}
#gallery button{
  color:var(--text-color);
  opacity:1;
  transition:0.5s all;
  display:grid;
  gap:10px;
  align-items:flex-start;
  text-decoration: none;
  font-family: "HusC_Font", "Open Sans", sans-serif;
  background: transparent;
  border: none !important;
}
.item-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  image-rendering: pixelated;
}
.item-image{
  line-height:0;
  aspect-ratio:1/1;
}
.item-title{
  margin: 0 auto;
  width: 288px;
  background: rgb(10, 10, 10, 0.9);
  border-radius: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  box-shadow: 0px 0px 15px 2px #42c6ff;

  text-align:center;
  font-size:15px;
}

.pokemon-info {
  width: 800px;
  background: rgb(10, 10, 10, 0.95);
  border-radius: 20px;
  /*Quick guide to box-shadow:
    First two numbers are vertical and horizontal offset.
    Third number is how far to spread the fuzzy effect.
    Fourth number is how much solid border/shadow there should be before the fuzzy effect begins.
  */
  box-shadow: 0px 0px 15px 2px #42c6ff;

  padding: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 150%;

  color:white;
  font-size: 16px;
}

.pokemon-info-top button {
  background: transparent;
  border: none !important;
  float:right;
}

.pokemon-info-top img {
  width: 33px;
  height:auto;
  image-rendering: pixelated;
}

.pokemon-sprite {
  width: 288px;
  height: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
  float: left;
  image-rendering: pixelated;
}

.type-icon {
  height: 44px;
  width:auto;
  margin-right: 5px;
  image-rendering: pixelated;
}

.statlist {
  float:left;
  line-height: 4px;
  margin-right: 8px;
}


.pokemon-info select {
  margin: 0 auto;
  background: #42c6ff;
  box-shadow: 0px 0px 2px 2px #42c6ff;
  border: none !important;

  font-size: 12px;
  font-family: "HusC_Font", "Open Sans", sans-serif;
}

/********************************** Gallery layout **********************************/

/*Mobile compatibility*/
@media(orientation: portrait) {
    .main {
      width: 80%;
      }

    #gallery{
      grid-template-columns:repeat(1, 1fr);
    }
  }