:root {
  --body-bg-image: url('https://i.postimg.cc/k4WpZD6C/Greenfield-Normal.png'); 

  --white: #fff;
  --black: #000; 
  --cursor: url(https://cur.cursors-4u.net/games/gam-13/gam1282.cur), auto !important;
  --cursor2: url(https://cur.cursors-4u.net/games/gam-13/gam1284.cur), auto !important;
  --cursor3: url(https://cur.cursors-4u.net/games/gam-13/gam1301.cur), auto !important;
  --cursor4: url(https://cur.cursors-4u.net/games/gam-13/gam1288.cur), auto !important;

  h1 {
    font-family: 'PKMN';
    text-align: right;
  }

  p {
    font-family: 'PKMN';
    font-size: 8pt; 
    line-height: 0.5;
    margin: 10px;

  }

  cursor: var(--cursor);
}

@font-face {
  font-family: 'PKMN';
  src: url('https://mrsazden.neocities.org/fonts/PKMN.ttf');
}

body {
  background-image: var(--body-bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  overflow-y:auto;
  width: 100%;
  margin: 0 auto;
  display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    gap: 5px;
}

#top {
  margin: 2px;
  color: var(--white);
  padding: 3px;
  border: dashed 1px red;
  text-align: center;
  width: 75%;
}

main {
  margin: 2px auto;
  padding: 3px;
  align-items: center;
  width: 90%;
}

#container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  padding: 10px;
  overflow-y: auto;
  height: auto;
}

#box {
  border: 5px double black;
  color: var(--black);   
  display: flex;
    flex-direction: column;
    margin: 2px;
  max-width: 55%; width: 225px;
  max-height: 300px;

  .name { /* pokemon name formatting */
    text-align: center;
    line-height: 0.5;
    font-family: 'PKMN';
    margin: 2px;
  }

  .pics {
    text-align: center;
    margin: 2px;
    overflow-y: auto;
  }
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease-in-out;
  cursor: var(--cursor4);
}

.collapsible {
  background-color: #F8F8F8;
    outline: 3px ridge #7DBAE3;
    border-radius: 4px;
    border: none;
  font-family: 'PKMN';
    color: #565655;
    text-align: center;
  cursor: var(--cursor2);
  padding: 10px;
  margin: 5px auto;
  width: 35%;
  display: block;
}

footer{
  position: sticky;
  background-color: lightskyblue;
  padding: 10px;
  bottom: 0;
  
  a {
    color: white; 
    text-decoration: none; 
  }

  a:hover{
    color: black;
    cursor: var(--cursor3)
  }
}

/*.active, .collapsible:hover {
  background-color: #777777;
} */

.center {
    display: block;
    margin: 0 auto;
}