@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Karla:ital,wght@0,200..800;1,200..800&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::selection{
  background-color: orangered;
  color: white;
}
body {
  background-color: rgb(12, 12, 12);
}
/*parent of the web page */
.container {
  width: 100vw;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  color: white;
}
/*Name of the website*/
.heading {
  width: 90%;
  height: 8em;
  border-radius: 1em;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.516);
  text-align: center;
  align-content: center;
  margin-top: 2em;
  position: relative;
}
.heading > h1 {
  font-family: "Ubuntu", sans-serif;
  font-size: 3em;
}
/*Cards main parent*/
.mainContainer {
  width: 90%;
  height: 32em;
  border: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
  font-family: "Host Grotesk", sans-serif;
}
.mainContainer > p {
  margin-bottom: 0.8em;
  color: grey;
}
/*Cards Parent*/
.cards {
  width: 100%;
  height: auto;
  padding: 1em 0em 2em 0em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5em;
}
/*Particular cards*/
.game {
  width: 20em;
  height: 28em;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border: none;
  border-radius: 1em;
  box-shadow: 0px 0px 10px orangered;
  &:hover {
    box-shadow: 0px 0px 30px orangered;
    border: 2px solid orangered;
  }
}
/*Images of the game*/
.gameImages {
  width: 12em;
  height: auto;
}
.images2 {
  width: auto;
  height: 15.5em;
}
/*About the game*/
.description > p {
  text-align: center;
  width: 13em;
}
/*parent of the buttons*/
.btns {
  width: 80%;
  height: auto;
  display: flex;
  justify-content: space-around;
}
.gameName {
  font-size: 1.1em;
}
.buttons {
  width: 6em;
  height: 2.3em;
  border-radius: 0.5em;
  color: whitesmoke;
  cursor: pointer;
  transition: all 0.2s linear;
  font-size: 1em;
}
/*Rules Buttons*/
.RulesBtn {
  background-color: rgba(255, 70, 3, 0.996);
  border: 2px solid rgba(255, 70, 3, 0.996);
  &:hover {
    box-shadow: 0px 0px 10px rgba(255, 70, 3, 0.996);
    background-color: rgb(12, 12, 12);
  }
}
/*Play Buttons*/
.playBtn {
  background-color: rgb(25, 25, 232);
  border: 2px solid rgb(25, 25, 232);
  &:hover {
    box-shadow: 0px 0px 10px rgb(25, 25, 232);
    background-color: rgb(12, 12, 12);
  }
}
.gameImages {
  border-radius: 1em;
}
/*For the Responsiveness*/
@media screen and (width<750px) {
  .heading {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .heading > h1 {
    font-size: 2.5em;
  }
  .cards {
    gap: 3em;
  }
}
