body {
  color: #ffffff;
  background: #141615;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  }
  
a {
  color: inherit;
  font-weight: bold;
  }
  
a:focus {  
  outline: 2px solid #16cf54;
  }
  
hr {
  border-color: #ffffff;
  margin: 1.75rem 1.5rem;
  }

/* Main container; all content goes in here. */  
.wrapper {
  margin: 2rem 10rem;
  }

/* Top section with page title, optional description.*/
.header {
  padding: 0 0.25rem 0.75rem 0.25rem;
  }
  
.header h1 {
  margin: 0.15em 0;
  font-weight: bold;
  }
  
.header p {
  font-size: 0.95em;
  }


/*Game icons and their reaction to users*/
.gameIcons{
  margin:10px;
  height: 30vh;
  width: 15vw;
  transition: 0.3s ease-in-out;
}

.gameIcons:hover {
  transform: scale(1.05);
  box-shadow: 0px 20px 50px rgb(0, 0, 0);
}


  
/* The navbar of tabs. The illusion of a tab connecting into the main box is created by
 * giving the nav tab links an extra thick bottom border that covers the top border of
 * the main content box, and making the "current" tab's bottom border the same color
 * as the inside of the box. 
 * Some padding trickery is needed to maintain this illusion without weird janky corner
 * bits being visible, so if you change the border thickness, BE AWARE you may need to
 * fiddle with this to make everything look nice again. 
 */
.navigation {
  margin-bottom: -2px; /* cover the top border of the main box */
  margin-left: 1rem; /* so the leftmost tab, if selected, doesn't create a weird border gap at the side. */
  }
  
.navigation a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.05rem; /* our padding trick makes buttons weirdly tall, so this helps fix it */
  }
  
.nav-button {
  background: #d4d4d4;
  padding: 0.35em 1.5em 0em 1.5em;
  border-radius: 15px 3px 0 0;
  display: inline-block;
  text-align: center;
  border-bottom: 3px solid #ffffff;
  }
  
/* For the link to the page you're currently on. */
.navigation .current-page {
  background: #a2a2a2;
  color: #000000;
  border: 2px solid #ffffff;
  border-bottom: 4px solid #a2a2a2;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 5px 5px; /* round bottom corners to minimize visibly janky edges */
  }
  
.nav-button:focus-within {
  outline: 2px solid #00cb72;
  background: #00513e;
  border-bottom-color: #00513e;
  }
  

/* The main content of the page goes in here. */
.main {
  border: 2px solid #ffffff;
  border-radius: 2px 2px 2px 2px;
  overflow: hidden; /*so background doesn't overflow corners*/
  }
  
.main a {
  color: #102323;
  }
    
.main-inner {
  background: #edf2ed;
  color: #123923;
  background: linear-gradient(#a2a2a2 0px, #5b5b5b 150px);
  padding: 0.25rem 1.5rem 1rem 1.5rem;
  display: block;
  }
  
/* Prevent large image overflow. */
.main-inner img {
  max-width: 100%;
  height: auto;
  }
  

/*Text outside the box, at the bottom of the page.*/
.footer {
  font-size: 0.9em;
  text-align: center;
  }


/* For narrower screens. */
@media (max-width: 1280px) {
  .wrapper {
    width: 80%;
    margin: 1.5rem auto;
    }
  }

@media (max-width: 800px) {
  .wrapper {
    width: 87%;
    margin: 1rem auto;
    }
  }
  
/* Rearrange into column format for mobile. */
@media (orientation: portrait), (max-width: 750px) {
  .wrapper {
    width: 95%;
   }
   
  .header {
    padding-bottom: 1px;
    }
   
  .navigation {
   margin: 0;
   }
   
   /* Since the 'tab' look doesn't work in a vertical layout, undo our fiddly padding/border tricks and do something more normal instead. */
  .nav-button {
    font-size: 1.05em;
    text-align: center;
    display: block;
    padding: 0.5rem 1.5rem;
    margin: 0.375rem 0;
    border-radius: 5px;
    }
  
  .navigation .current-page {
    border-bottom: 2px solid #ffffff;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }
  
  .main {
    border-radius: 2px; 
    }
  }
    
  /* Buttons display slightly differently on mobile -- make sure the border colors are correct! */
  @media(orientation: portrait), (max-width:750px) {
    .navigation .current-page {
      border-bottom: 2px solid #006850;
      }
    }
  
  .main {
    border: 2px solid #ffffff;
    }
    
  .main-inner {
    background: #09120a;
    color: #edf2ed;
    background: linear-gradient(#a2a2a2 0px, #5b5b5b 150px);
    }
    
  .main-inner a {
    color: #4cde3e;
    }