@font-face {
  font-family: Lato;
  font-weight: 600;
  src: url('../webfonts/Lato-Black.ttf');
}
@font-face {
  font-family: Lato;
  font-weight: 500;
  src: url('../webfonts/Lato-Bold.ttf');
}
@font-face {
  font-family: Lato;
  font-weight: 400;
  src: url('../webfonts/Lato-Regular.ttf');
}
@font-face {
  font-family: Lato;
  font-weight: 300;
  src: url('../webfonts/Lato-Light.ttf');
}
@font-face {
  font-family: Lato;
  font-weight: 200;
  src: url('../webfonts/Lato-Thin.ttf');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: 400 0.95rem/1.3rem Lato , sans-serif;
}
body {
  width: 100vw;
  min-height: 100vh;
  /* font: 200 1em Lato Helvetica, Arial, sans-serif; */
  background-color: #010118;
  background-image: url('../img/wallpaper5.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
a {
  color: #d8942f; 
  transition: all 1.5s;
}
a:hover {
  color: #fff;
  transition: all 1.5s;
}
h1 {
  color: #eee;
  font-size: 2rem;
  padding: 1vw 1vw;
  background-color: rgba(214, 139, 26, 0.95);
  border-radius: 0.5rem;
  margin-bottom: 0.3vw;
}
section {
  width: 80vw;
  display: flex;
  justify-content: center;
}
p.gamefooter {
  font-size: 2.5vh;
  background-color: rgba(255, 20, 20, 0.2);
  padding: 1vh;
  margin: 1vh;
  border-radius: 10px;
  color: #fff;
}
p.gamefooter a {
  color: #fff;
}
p.gamefooter a:hover {
  color: #000;
  transition: all 1.5s;
}
aside {
  height:50vh;
  width: 50vw;
  display: none;
  background-color: rgba(220, 25, 25, 0.8);
  color: #fff;
  position: fixed;
  z-index: 5;
  bottom: 25vh;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 3vh;
  font-weight: bold;
  border-radius: 0.5rem;
}
/* --------------------- Memory field parameters begin ---------------------*/
ul {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 0.3vw;
}
li {
  list-style: none;
  background-color: rgba(214, 139, 26, 0.95);
  border: dotted 1px #fff;
  border-radius: 0.5rem;
  width: 11vh;
  height: 11vh;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
li.memorycard.solved {
  border: none;
}

i.far {
  display: none;
  color: #fff;
  font-size: 11vh;

  z-index: -1;
  background-color: rgba(200,40,40,0.95);
  border-radius: 0.5rem;
}
/* --------------------- Memory field parameters end ---------------------*/


/* --------------------- Memory field parameters portrait ---------------------*/
@media (orientation: portrait) {
  ul {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 0.3vh;
  }
  li {
    width: 10.2vw;
    height: 10.2vw;
  }
  i.far {
    font-size: 9vw;
  }  
  aside {
    font-size: 3vw;
  }
}
/* --------------------- Memory field parameters portrait ---------------------*/
