body, header, nav, main, footer, img, h1, h2, h3, ul, table, td, th, p, section, article {
  padding: 0;
  border: 0;
  margin: 0;
}

/* Google font stuff */
/* font-family: 'Bitter', serif;
font-family: 'IBM Plex Sans', sans-serif;
font-family: 'Inter', sans-serif; */

body {
  background-color: #020202;
  color: #f0f0f0;
  font-family: 'Chakra Petch', serif;
  overflow-y: scroll;
}

h1 {
    font-size: x-large;
}

main {
  padding: 2%;
}

body {
  height: 100vh;
}

section {
  padding-bottom: 1%;
}

article {
  margin: auto 2%;
  max-width: 800px;
  max-height: 800px;
  justify-content: center;
}

/* Helper classes */

.space {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.grid {
  display: grid;
  grid-template-columns: auto;
  gap: 10px;
  max-width: 100%;
  justify-content: center;
}


/* Text and link style rules */

a {
  text-decoration: underline;
  color: white;
}

p {
  line-height: 1.25em;
  font-size: 0.9em;
}

section p {
  margin: 2% auto;
  line-height: 1.5em;
}

.right-align {
  text-align: right;
}

h1 {
  text-align: center;
  font-size: 72px;
}

h2 {
  margin-bottom: 2%;
}

/* List */

ul {
  list-style-type: none;
  text-align: center;
}

li {
  text-decoration: underline;
  padding-top: 2%;
  margin: 0% 1.5%;
  display: inline-block;
}

/* This is the container element */
.box { 
  height: 100%;
  display: grid;
  margin: auto 2%;

    /* display: flex;
    align-items: center;
    justify-content: center; */
}

#centered {
  place-self: center;
}

img {
  width: 100%;
  display: block;
  margin: auto;
}

.imgDiv {
  max-width: 100%;
}

/* Styles the entire scrollbar */
::-webkit-scrollbar {
  width: 6px;  /* width of the vertical scrollbar */
  height: 12px; /* height of the horizontal scrollbar */
}

/* Styles the draggable part of the scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #1c1c1c;
  border-radius: 12px;
}

/* Styles the track (part the thumb slides within) */
::-webkit-scrollbar-track {
  background: black;
}

/* Optional: style the buttons on the scrollbar (up and down arrows) */
::-webkit-scrollbar-button {
  display: block;
}

.navbar li {
  margin: 0 .5%;
}

/* footer p {
  padding: 2% 2%;
  text-align: right;
} */

/*  Media Query for Phone Viewport  */
@media all and (min-width: 300px) {

  #centered {
    max-width: 600px;
    max-height: 650px;
  }

  .grid {
    display: grid;
    grid-template-columns: auto;
    gap: 25px;
    max-width: 100%;
  }
}

/*  Media Query for Tablet Viewport  */
@media all and (min-width: 620px) {

  .grid {
    display: grid;
    grid-template-columns: auto;
    gap: 25px;
    max-width: 100%;
  }

  #centered {
    place-self: center;
    width: 600px;
    height: 650px;
  }
}

/* Media Query for Desktop Viewports */
@media all and (min-width: 1000px)
{
  img {
    width: 75%;
    display: block;
    margin: auto;
  }

  a img {
    width: 100%;
  }

  .grid {
    display: grid;
    grid-template-columns: auto;
    gap: 35px;
    max-width: 100%;
  }
}