@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');


body {
    background-color: #111;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden !important;
    font-family: Poppins;
}

a{
  text-decoration: none;
}

#greeting{
  font-family: Poppins;
  font-weight: 900;
  color: white;
  font-size: 1.2em;
  text-transform: uppercase;
  margin: 10px auto 1em auto !important;
}

#background{
  display: none;
    z-index:-1;
    opacity: 0.2;
    
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 720px;
  	
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
  	
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}

#totalPoints{
  font-size: 1em;
  color: #EB601B;
  margin: 0 !important;
  margin-right: 10px !important;
}

nav{
    height: fit-content;
    width: 100%;
    background-color: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

nav #logo{
    width: 150px;
    margin-top: 10px;
    margin-right: -85px;
}

.main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    max-width: 100vw;
    margin-top: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 20%;
}

.row{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

/* CARDS */
:root {
  --card-height: 45vh;
  --card-width: calc(var(--card-height) / 1.5);
}

.card {
  background: #111;
  width: var(--card-width);
  height: var(--card-height);
  padding: 3px;
  margin: 5px;
  position: relative;
  border-radius: 10px;
  display: flex;
  font-size: 1.2em;
  color: rgb(88 199 250 / 0%);
  cursor: pointer;
  font-family: Poppins !important;
  font-weight: 900;
  line-height: 25px;
  transition: all 250ms ease-in-out;
  text-transform: uppercase;
  overflow: hidden;
  border: 2px #C0C0C0 solid;
}

@media screen and (max-height: 667px) {
      .card {
        font-size: 1.1em;
      }
      
      .textLeft{
        bottom: 6px !important;
        left: 10px !important;
      }
      
      .textRight{
        bottom: 6px !important;
        right: 10px !important;
      }
      
      .main{
          margin-top: 0;
      }
}

.textLeft{
  color: white;
  text-align: left !important;
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 1;
}

.textRight{
  color: white;
  text-align: right !important;
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 1;
}

.card:hover {
  color: white;
  background: #582207;
  transition: color 1s;
  transform: scale(1.05);
  transition: all 250ms ease-in-out;
  z-index: 10;
}

#game1 img{
  position: absolute;
  width: 180%;
  height: 60%;
  top: 50px;
  left: -90px;
  transform: rotate(-30deg);
  opacity: 0.4;
  overflow: hidden;
  transition: all 250ms ease-in-out;
}

#game2 img{
  position: absolute;
  width: 180%;
  top: 20px;
  left: -80px;
  transform: rotate(-30deg);
  opacity: 0.4;
  transition: all 250ms ease-in-out;
}

#game3 img{
  position: absolute;
  height: 100%;
  top: -2px;
  left: 35px;
  opacity: 0.4;
  transition: all 250ms ease-in-out;
}

#game4 img{
  position: absolute;
  width: 130%;
  top: -30px;
  left: -60px;
  opacity: 0.4;
  transition: all 250ms ease-in-out;
}

#game1:hover img{
  opacity: 1;
  transform: rotate(-30deg);
}

#game2:hover img{
  opacity: 1;
  transform: rotate(-30deg);
}

#game3:hover img{
  opacity: 1;
}

#game4:hover img{
  opacity: 1;
}

#botButton{
  width: 100%;
  height: fit-content;
  position: absolute;
  bottom: 20px;
}

.backBtn{
  font-family: Poppins;
  font-weight: 600;
  border-radius: 5px;
  font-size: 1.5em;
  color: #C0C0C0;
  width: fit-content;
  text-align: center;
  margin: 0 !important;
  margin-left: 20px !important;
}

.feedbackBtn{
  font-family: Poppins;
  font-weight: 600;
  padding: 7px 17px;
  border-radius: 5px;
  font-size: 1em;
  background-color: #C0C0C0;
  color: #111;
  width: fit-content;
  margin: 20px auto 0px auto;
  text-align: center;
}

@media screen and (max-width: 445px) {
  nav #logo{
    width: 120px;
    margin-right: -65px;
  }
  
  #totalPoints{
    font-size: 0.8em;
  }
}