@font-face {
    font-family: 'MinecraftReg';
      src: url('./fonts/MinecrafterReg.woff2') format('woff2'), 
           url('./fonts/MinecrafterReg.woff') format('woff'),
           url('./fonts/MinecrafterReg.ttf') format('truetype');
  }
  @font-face {
    font-family: 'MinecraftEve';
      src: url('./fonts/Minecraft-Evenings.woff2') format('woff2'), 
           url('./fonts/Minecraft-Evenings.woff') format('woff'),
           url('./fonts/Minecraft-Evenings.ttf') format('truetype');
  }

body{
    font-family: "Space Mono", monospace;
}
p {
  font-size: 1.2rem;
  margin-top: 0px;
}

a {
    text-decoration: none;
}
#bannerheadcontainer {
  display: flex;
}

#head {
  color: rgb(201, 209, 218);
  justify-content: center;
  background-image: url("images/blue-background.jpg");
  display: inline-flex;
  width: 70%;
  align-items: center;
  font-size: 0.7rem;
  text-align: center;
  font-family: MinecraftEve;
}

header a {
  color: rgb(229, 234, 239);
  width: 100%;

}

header a h1 {
  box-shadow: 0px 0px 33px 20px rgb(0 0 0 / 33%);
  background: rgb(0 0 0 / 30%);
}


.topbanners {
  width: 15%;
  display: inline-flex;
  justify-content: center;
}

.topbanners img {
  width: 100%;
}

.menus {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  height: auto;
  font-family: "Space Mono", monospace;
  grid-gap: 0.4em;
  padding: 1em 4em 1em 4em;
  flex-direction: column;
}

.menus a {
  color: white;
  font-size: 0.9em;
  justify-content: center;
  font-family: 'Press Start 2P', cursive;
  text-decoration: none;
}

.menus a:hover {
  transform: scale(1.1);
}


h2 {
  font-size: 1.3rem;
  text-align: center;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 15px;
}

#bigsections {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.eachsection {
  min-height: 250px;
  text-align: center;
  width: 100%;
}

.eachsection, .eachsection * {
  position: relative;
}

.eachsection::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.eachsection:hover::before {
  opacity: 0.2;
}

.eachsection h2 {
  padding-top: 5px;
}

#gamesection {
  background-image: url("images/gameBackground.jpg");
  color: white;
  background-size: cover;
  background-position: center;
}

#animationsection {
  background-image: url("images/outerspacepic.png");
  background-size: cover;
  color: white;
}

#booksection {
  background-image: url("images/Books-Background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  color: black;
}

#reviewsection {
  background-image: url("images/stars.gif");
  background-size: 100%;
  background-repeat: no-repeat;
  color: black;
}

.foot {
  font-size: 0.7rem;
  text-align: center;
}

.gamesanimationsleft {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.gamesanimationsright {
  justify-content: center;
  display: flex;
  flex-wrap: wrap-reverse;
}

.animadescription {
  /* max-width: 250px;
  min-width: 320px; */
  width: 80%;
}

.gamesleft {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gamedescription {
  width: 360px;
  height: auto;
}


.aroundvideos {
    width: 80%;
    height:auto;
}

#aboutme {
  display: flex;
  justify-content: center;
  width: 85%;
  margin: auto;
  flex-wrap: wrap;
}

.reviewleft {
  justify-content: center;
  display: flex;
  flex-wrap:wrap;
  width: 85%;
  margin: auto;
}

.reviewdescription {
  width: 100%;

}

.reviewimage{
  width: 100%;
}

.aroundimage {
    width: 100%;
  
}

.books {
  width: 80%;
  margin: auto;
  
}

.eachbook {
  width: 80%;
  margin: auto;
  margin-top: 20px;
}

.bookcover {
  width: 70%;
  max-width: 420px;
  display: block;
  margin: auto;
}
 
@media only screen and (max-width: 768px) {
  #animationsection, #booksection, #reviewsection {
    margin-top: -30px;
  }
} 



@media only screen and (min-width: 768px) {
  #aboutme {
    flex-wrap: nowrap;
    width: 70%;
  }

  #aboutdescription {
    width:70%;
    padding-right: 20px;
  }
  .gamedescription {
    padding-top: 25px;
    padding-left: 5px;
  }
  #bigsections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 5px;
  }
  .eachsection {
    min-height: 300px;
  }
 
  #head {
    font-size: 1.65em;
  }
  .menus {
    flex-direction: row;
    grid-gap: 1.5em;
    font-size: 1.2em;
  }

  .menus a {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .gamesanimationsleft {
    width: 80%;
    margin: auto;
    grid-gap: 40px;
  }

  .gamesanimationsright {
    width: 80%;
    margin: auto;
    grid-gap: 40px;
  }

  video.aroundvideos {
    width: calc(50% - 20px);
    height: auto;
  }

  .animadescription {
    width: calc(50% - 20px);
    height: auto;
    min-width:inherit;
    max-width: inherit;
  }

  .gamesleft {
    flex-direction: row;
    justify-content: center;
    grid-gap: 20px;
  }
}
  
@media only screen and (min-width: 992px) {

  .reviewleft {
    width: 80%;
    justify-content: center;
    /* flex-direction: row; */
    margin: auto;
    /* align-items: top; */
  }

  
  .reviewimage{
    width: 100%;
  }
  .reviewdescription{
    width:60%;
  }

  .aroundimage{
    width:40%;
  }

  .reviewdescription p{
    margin-top: 0;
    padding-left: 20px;
  }
}
