@import url("https://fonts.googleapis.com/css2?family=Bungee&family=Mozilla+Text:wght@200..700&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --background: #1e1034;
  --text: #ffffff;
  --secondary: #8169a8;
  --aesthetic: #fb837b;
  --auxiliary: #feb402;
  --font: Ubuntu, ghaithSans, sans-serif;
}

@font-face {
  font-family: "ghaithSans";
  src: url(../src/GHAITHSANS-Bold.otf);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  position: relative;
}

body {
  background-color: #190e2c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
   font-family: ghaithSans, sans-serif;
   gap: 30px 0;
}
.headDiv {
  /* position: absolute; */
  /* background-color: #892b24; */
  width: 98vw;
  height: 16vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  margin-top: 30px;
}
.gameTitle {
  position: absolute;
  color: #cf762d;
  font-family: ghaithSans, sans-serif;
  font-size: 3.5vw;
  font-weight: 900;
}
.overlay {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #190e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  /* animation: shrinking 0.7s ease-in 1 normal forwards; */
}
@keyframes shrinking {
  from {
    width: 100vw;
  height: 100vh;
  opacity: 1;
  }
  to {
  width: 0;
  height: 100vh;
  opacity: 0;
  display: none;
  }
}
.ddoverlay {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 115vh;
  background-color: #190e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ovdd 2s ease-in 1 normal forwards;
}
@keyframes ovdd {
  from {
  width: 100vw;
  height: 100vh;
  opacity: 1;
  }
  to {
  width: 100vw;
  height: 0;
  opacity: 0;
  display: none;
  }
}
.gameSetupOverlay {
  pointer-events: none;
}
@keyframes formAppear {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}
.ketEnteringContainer {
   background-color: #a12c26;
  width: 35%;
  height: 36%;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #b7b5b5; */
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.hostInfo {
  width: 100vw;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2vw;
  margin-top: 50px;
}
.hostInput {
  width: 40%;
  height: 10vh;
  /* background-color: #cfc5e0; */
  background-color: var(--aesthetic);
  border: none;
  border-radius: 1.7vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  
  font-size: 2vw;
  text-align: center;
}
.hostInput::placeholder {
  color: #6a3eb0;
}
.creditLeft {
  width: 10%;
  height: 10vh;
  background-color: var(--aesthetic);
  border-radius: 1.7vw;
  color: var(--background);
  font-size: 1.55vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.categoryInput {
  width: 400px;
  height: 30px;
  background-color: #190e2c;
  border: none;
  /* -webkit-appearance: none;
  appearance: none; */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}
.chooseCateCont {
  background-color: var(--aesthetic);
  width: 85vw;
  height: 5vh;
  transform: translateY(19px);
  border-radius: 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chooseCateText {
  color: #190e2c;
  text-align: center; 
  font-size: 3vh;
}
.cardsContainer {
  /* background-color: rgba(178, 178, 255, 0.35); */
  width: 85vw;
  /* height: 110vh; */
  /* max-width: 85vw; */
  /* max-height: 110vh; */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px 15px;
  box-sizing: border-box;
  padding: 2px;
  /* align-self: flex-end; */
}
.card {
  background-color: var(--aesthetic);
  /* box-shadow: 0 10px 50px 10px inset #fb958e; */
  border-radius: 1.3vw;
  /* width: 230px;
  height: 160px; */
  /* max-width: 250px; */
  /* max-height: 180px; */
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor:pointer;
  container-type: inline-size;
}
.unified:checked + .card { 
  animation: cardAni 0.3s ease-out 1 normal forwards;
}
@keyframes cardAni {
  from {

  }
  to {
  scale: 1.05;
  box-shadow: 0 10px 50px 10px inset #a12c26be;
  }
}
.cornerIcon {
  /* background-color: #892b24; */
  position: absolute;
  right: -17%;   
  bottom: -25%; 
  width: 55%;
}
.wordOverlay {
  background-color: #fa7169;
  width: 86%;
  height: 60%;
  border-radius: 10px;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardWord {
  color: var(--text);
  text-align: center;
  font-weight: 500;
  /* transform: translateY(-23px); */
  font-size: 17cqw;
  font-family: var(--font);
}
.unlimited {
  background-color: #8f49ff;
  position: absolute;
  right: 0;
  top: -2%;
  width: 25%;
  height: 15%;
  padding: 0 3%;
  border-radius: 50% 0 0 50%;
  color: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7cqw;
  text-align: center;
}
.sendFormCont {
  background-color: var(--auxiliary);
  width: 40vw;
  height: 7vh;
  border-radius: 1.3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* margin-bottom: 20px; */
}
.sendNames {
  width: 100%;
  height: 90%;
  background-color: var(--aesthetic);
  border: none;
  border-radius: 1.3vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 1.6vw;
  text-align: center;
  cursor: pointer;
}
.categoryError {
  background-color: var(--auxiliary);
  width: 100%;
  height: 40%;
  border-radius: 0 0 15px 15px;
  color: #892b24;
  font-family: ghaithSans, sans-serif;
  font-size: 1vw;
  margin: 0;
  text-align: center;
}
.reenteringKey {
  background-color: var(--background);
  position: absolute;
  width: 16%;
  height: 33%;
  transform: translateX(15vw);
  padding: 5px 10px;
  border-radius: 1.3vw;
  color: #d8c4c3;
  font-family: ghaithSans, sans-serif;
  font-size: 1vw;
  margin: 0;
  text-align: center;
  cursor: pointer;
}
/* .cateOp {
  border-radius: 15px;
} */
.hidden {
  display: none;
}
.keyForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.keyInput {
  width: 400px;
  height: 30px;
  background-color: #190e2c;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 1.2vw;
  text-align: center;
}
.keySubmit {
  width: 100%;
  height: 30px;
  background-color: #cf762d;
  border: none;
  border-radius: 0 0 15px 15px;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  position: absolute;
  bottom: 0;
  cursor: pointer;
}
.keyError {
  width: 100%;
  border-radius: 0 0 15px 15px;
  color: #bebdbd;
  font-family: ghaithSans, sans-serif;
  font-size: 1.5vw;
  margin: 0;
  text-align: center;
  /* transform: translateY(10px); */
}
@media (max-width: 767px) {
  html {
    position: relative;
  }
  .headDiv {
  /* position: absolute; */
  /* background-color: #892b24; */
  width: 98vw;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  margin-top: 30px;
}
.gameTitle {
  position: absolute;
  color: #cf762d;
  font-family: ghaithSans, sans-serif;
  font-size: 8vw;
  font-weight: 900;
}
.overlay {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #190e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  /* animation: shrinking 0.7s ease-in 1 normal forwards; */
}
@keyframes shrinking {
  from {
    width: 100vw;
  height: 100vh;
  opacity: 1;
  }
  to {
  width: 0;
  height: 100vh;
  opacity: 0;
  display: none;
  }
}
.ddoverlay {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 115vh;
  background-color: #190e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ovdd 2s ease-in 1 normal forwards;
}
@keyframes ovdd {
  from {
  width: 100vw;
  height: 100vh;
  opacity: 1;
  }
  to {
  width: 100vw;
  height: 0;
  opacity: 0;
  display: none;
  }
}
.gameSetupOverlay {
  pointer-events: none;
}
@keyframes formAppear {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}
.hostInfo {
  /* background-color: #8169a8; */
  width: 100vw;
  height: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2vw;
  margin-top: 20px;
}
.hostInput {
  width: 60%;
  height: 95%;
  /* background-color: #cfc5e0; */
  background-color: var(--aesthetic);
  border: none;
  border-radius: 2.5vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 3.5vw;
  text-align: center;
}
.creditLeft {
  width: 20%;
  height: 100%;
  background-color: var(--aesthetic);
  border-radius: 2.5vw;
  color: var(--background);
  font-size: 2.9vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.categoryInput {
  width: 400px;
  height: 30px;
  background-color: #190e2c;
  border: none;
  /* -webkit-appearance: none;
  appearance: none; */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}
.chooseCateCont {
  background-color: var(--aesthetic);
  width: 85vw;
  height: 3vh;
  transform: translateY(19px);
  border-radius: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chooseCateText {
  color: #190e2c;
  text-align: center; 
  font-size: 1.8vh;
}
.cardsContainer {
  /* background-color: rgba(178, 178, 255, 0.35); */
  width: 85vw;
  /* height: 110vh; */
  /* max-width: 85vw; */
  /* max-height: 110vh; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 15px 15px;
  box-sizing: border-box;
  padding: 2px;
  /* align-self: flex-end; */
}
.card {
  background-color: var(--aesthetic);
  /* box-shadow: 0 10px 50px 10px inset #fb958e; */
  border-radius: 3vw;
  /* width: 230px;
  height: 160px; */
  /* max-width: 250px; */
  /* max-height: 180px; */
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor:pointer;
}
.unified:checked + .card { 
  animation: cardAni 0.3s ease-out 1 normal forwards;
}
@keyframes cardAni {
  from {

  }
  to {
  scale: 1.05;
  box-shadow: 0 10px 50px 10px inset #a12c26be;
  }
}
.cornerIcon {
  /* background-color: #892b24; */
  position: absolute;
  right: -17%;   
  bottom: -25%; 
  width: 55%;
}
.wordOverlay {
  background-color: #fa7169;
  width: 86%;
  height: 60%;
  border-radius: 10px;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardWord {
  color: var(--text);
  text-align: center;
  font-weight: 500;
  /* transform: translateY(-23px); */
  font-size: 17cqw;
  font-family: var(--font);
}
.sendFormCont {
  background-color: var(--auxiliary);
  width: 60vw;
  height: 4vh;
  border-radius: 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* margin-bottom: 20px; */
}
.sendNames {
  width: 100%;
  height: 90%;
  background-color: var(--aesthetic);
  border: none;
  border-radius: 2vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 4vw;
  text-align: center;
  cursor: pointer;
}
.categoryError {
  background-color: var(--auxiliary);
  width: 100%;
  height: 50%;
  border-radius: 0 0 15px 15px;
  color: #892b24;
  font-family: ghaithSans, sans-serif;
  font-size: 2.5vw;
  margin: 0;
  text-align: center;
}
.reenteringKey {
  background-color: var(--background);
  position: absolute;
  width: 22%;
  height: 30%;
  transform: translateX(20vw);
  padding: 3px 5px;
  border-radius: 1.3vw;
  color: #d8c4c3;
  font-family: ghaithSans, sans-serif;
  font-size: 2.2vw;
  margin: 0;
  text-align: center;
  cursor: pointer;
}
/* .cateOp {
  border-radius: 15px;
} */
.hidden {
  display: none;
}
.ketEnteringContainer {
   background-color: #a12c26;
  width: 90vw;
  height: 40vh;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #b7b5b5; */
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.keyForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.keyInput {
  width: 90%;
  height: 10%;
  background-color: #190e2c;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 4vw;
  text-align: center;
}
.keySubmit {
  width: 100%;
  height: 30px;
  background-color: #cf762d;
  border: none;
  border-radius: 0 0 15px 15px;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  position: absolute;
  bottom: 0;
  cursor: pointer;
}
.keyError {
  width: 100%;
  border-radius: 0 0 15px 15px;
  color: #bebdbd;
  font-family: ghaithSans, sans-serif;
  font-size: 4vw;
  margin: 0;
  text-align: center;
  /* transform: translateY(10px); */
}
}
@media (max-height: 500px) and (orientation: landscape) {
  body {
    gap: 10px 0;
  }
 .headDiv {
  /* position: absolute; */
  /* background-color: #892b24; */
  width: 98vw;
  height: 16vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  margin-top: 30px;
}
.gameTitle {
  position: absolute;
  color: #cf762d;
  font-family: ghaithSans, sans-serif;
  font-size: 4.5vw;
  font-weight: 900;
}
.teamsNmsContainer {
  width: 60%;
  height: 0;
  border-radius: 30px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  bottom: calc(30vh + 6px);
  /* left: 51.4%;
  transform: translateX(-51.4%); */
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
@keyframes containerGrow {
  from {
    height: 0;
    opacity: 1;
  }
  to {
    height: calc(40vh - 21px);
    opacity: 1;
  }
}
.teamsForm{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.hostInfo {
  width: 100vw;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2vw;
  margin-top: 50px;
}
.hostInput {
  width: 40%;
  height: 7vh;
  /* background-color: #cfc5e0; */
  background-color: var(--aesthetic);
  border: none;
  border-radius: 1.4vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 2vw;
  text-align: center;
}
.creditLeft {
  width: 12%;
  height: 7vh;
  background-color: var(--aesthetic);
  border-radius: 1.4vw;
  color: var(--background);
  font-size: 1.5vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.categoryInput {
  width: 400px;
  height: 30px;
  background-color: #190e2c;
  border: none;
  /* -webkit-appearance: none;
  appearance: none; */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}
.chooseCateCont {
  background-color: var(--aesthetic);
  width: 85vw;
  height: 7vh;
  transform: translateY(0px);
  border-radius: 1.3vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chooseCateText {
  color: #190e2c;
  text-align: center; 
  font-size: 4vh;
}
.cardsContainer {
  /* background-color: rgba(178, 178, 255, 0.35); */
  width: 85vw;
  /* height: 110vh; */
  /* max-width: 85vw; */
  /* max-height: 110vh; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px 15px;
  box-sizing: border-box;
  padding: 2px;
  /* align-self: flex-end; */
}
.card {
  background-color: var(--aesthetic);
  /* box-shadow: 0 10px 50px 10px inset #fb958e; */
  border-radius: 1.7vw;
  /* width: 230px;
  height: 160px; */
  /* max-width: 250px; */
  /* max-height: 180px; */
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor:pointer;
}
.unified:checked + .card { 
  animation: cardAni 0.3s ease-out 1 normal forwards;
}
@keyframes cardAni {
  from {

  }
  to {
  scale: 1.05;
  box-shadow: 0 10px 50px 10px inset #a12c26be;
  }
}
.cornerIcon {
  /* background-color: #892b24; */
  position: absolute;
  right: -17%;   
  bottom: -25%; 
  width: 55%;
}
.wordOverlay {
  background-color: #fa7169;
  width: 86%;
  height: 60%;
  border-radius: 10px;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardWord {
  color: var(--text);
  text-align: center;
  font-weight: 500;
  /* transform: translateY(-23px); */
  font-size: 17cqw;
  font-family: var(--font);
}
.sendFormCont {
  background-color: var(--auxiliary);
  width: 40vw;
  height: 7vh;
  border-radius: 1.3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* margin-bottom: 20px; */
}
.sendNames {
  width: 100%;
  height: 90%;
  background-color: var(--aesthetic);
  border: none;
  border-radius: 1.3vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 1.6vw;
  text-align: center;
  cursor: pointer;
}
.categoryError {
  background-color: var(--auxiliary);
  width: 100%;
  height: 50%;
  border-radius: 0 0 15px 15px;
  color: #892b24;
  font-family: ghaithSans, sans-serif;
  font-size: 1.3vw;
  margin: 0;
  text-align: center;
}
.reenteringKey {
  background-color: var(--background);
  position: absolute;
  width: 16%;
  height: 33%;
  transform: translateX(15vw);
  padding: 5px 10px;
  border-radius: 1.3vw;
  color: #d8c4c3;
  font-family: ghaithSans, sans-serif;
  font-size: 1vw;
  margin: 0;
  text-align: center;
  cursor: pointer;
}
/* .cateOp {
  border-radius: 15px;
} */
.hidden {
  display: none;
}
.ketEnteringContainer {
   background-color: #a12c26;
  width: 60%;
  height: 50%;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #b7b5b5; */
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.keyForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.keyInput {
  width: 80%;
  height: 30px;
  background-color: #190e2c;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 2vw;
  text-align: center;
}
.keySubmit {
  width: 100%;
  height: 30px;
  background-color: #cf762d;
  border: none;
  border-radius: 0 0 15px 15px;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  position: absolute;
  bottom: 0;
  cursor: pointer;
}
.keyError {
  width: 100%;
  border-radius: 0 0 15px 15px;
  color: #bebdbd;
  font-family: ghaithSans, sans-serif;
  font-size: 1.7vw;
  margin: 0;
  text-align: center;
  /* transform: translateY(10px); */
}
}
@media screen and (min-width: 1024px) and (orientation: landscape) and (pointer: coarse) {
.headDiv {
  /* position: absolute; */
  /* background-color: #892b24; */
  width: 98vw;
  height: 16vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  margin-top: 30px;
}
.gameTitle {
  position: absolute;
  color: #cf762d;
  font-family: ghaithSans, sans-serif;
  font-size: 4.5vw;
  font-weight: 900;
}
.teamsNmsContainer {
  width: 60%;
  height: 0;
  border-radius: 30px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  bottom: calc(30vh + 6px);
  /* left: 51.4%;
  transform: translateX(-51.4%); */
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
@keyframes containerGrow {
  from {
    height: 0;
    opacity: 1;
  }
  to {
    height: calc(40vh - 21px);
    opacity: 1;
  }
}
.teamsForm{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.hostInfo {
  width: 100vw;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2vw;
  margin-top: 50px;
}
.hostInput {
  width: 40%;
  height: 6vh;
  /* background-color: #cfc5e0; */
  background-color: var(--aesthetic);
  border: none;
  border-radius: 1.7vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 2vw;
  text-align: center;
}
.creditLeft {
  width: 12%;
  height: 6vh;
  background-color: var(--aesthetic);
  border-radius: 1.7vw;
  color: var(--background);
  font-size: 1.6vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.categoryInput {
  width: 400px;
  height: 30px;
  background-color: #190e2c;
  border: none;
  /* -webkit-appearance: none;
  appearance: none; */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}
.chooseCateCont {
  background-color: var(--aesthetic);
  width: 85vw;
  height: 5vh;
  transform: translateY(19px);
  border-radius: 1.4vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chooseCateText {
  color: #190e2c;
  text-align: center; 
  font-size: 3vh;
}
.cardsContainer {
  /* background-color: rgba(178, 178, 255, 0.35); */
  width: 85vw;
  /* height: 110vh; */
  /* max-width: 85vw; */
  /* max-height: 110vh; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px 15px;
  box-sizing: border-box;
  padding: 2px;
  /* align-self: flex-end; */
}
.card {
  background-color: var(--aesthetic);
  /* box-shadow: 0 10px 50px 10px inset #fb958e; */
  border-radius: 1.7vw;
  /* width: 230px;
  height: 160px; */
  /* max-width: 250px; */
  /* max-height: 180px; */
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor:pointer;
}
.unified:checked + .card { 
  animation: cardAni 0.3s ease-out 1 normal forwards;
}
@keyframes cardAni {
  from {

  }
  to {
  scale: 1.05;
  box-shadow: 0 10px 50px 10px inset #a12c26be;
  }
}
.cornerIcon {
  /* background-color: #892b24; */
  position: absolute;
  right: -17%;   
  bottom: -25%; 
  width: 55%;
}
.wordOverlay {
  background-color: #fa7169;
  width: 86%;
  height: 60%;
  border-radius: 10px;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardWord {
  color: var(--text);
  text-align: center;
  font-weight: 500;
  /* transform: translateY(-23px); */
  font-size: 17cqw;
  font-family: var(--font);
}
.sendFormCont {
  background-color: var(--auxiliary);
  width: 40vw;
  height: 7vh;
  border-radius: 1.3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* margin-bottom: 20px; */
}
.sendNames {
  width: 100%;
  height: 90%;
  background-color: var(--aesthetic);
  border: none;
  border-radius: 1.3vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 2vw;
  text-align: center;
  cursor: pointer;
}
.categoryError {
  background-color: var(--auxiliary);
  width: 100%;
  height: 50%;
  border-radius: 0 0 15px 15px;
  color: #892b24;
  font-family: ghaithSans, sans-serif;
  font-size: 1.5vw;
  margin: 0;
  text-align: center;
}
.reenteringKey {
  background-color: var(--background);
  position: absolute;
  width: 23%;
  height: 33%;
  transform: translateX(13vw);
  padding: 5px 10px;
  border-radius: 1.3vw;
  color: #d8c4c3;
  font-family: ghaithSans, sans-serif;
  font-size: 1.3vw;
  margin: 0;
  text-align: center;
  cursor: pointer;
}
/* .cateOp {
  border-radius: 15px;
} */
.hidden {
  display: none;
}
.ketEnteringContainer {
   background-color: #a12c26;
  width: 60%;
  height: 50%;
  border: none;
  border-radius: 15px;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #b7b5b5; */
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.keyForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.keyInput {
  width: 80%;
  height: 10%;
  background-color: #190e2c;
  border: none;
  border-radius: 1.5vw;
  font-family: Ubuntu, ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 1.8vw;
  text-align: center;
}
.keySubmit {
  width: 100%;
  height: 50px;
  background-color: #cf762d;
  border: none;
  border-radius: 0 0 15px 15px;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 2vw;
  text-align: center;
  position: absolute;
  bottom: 0;
  cursor: pointer;
}
.keyError {
  width: 100%;
  border-radius: 0 0 15px 15px;
  color: #bebdbd;
  font-family: ghaithSans, sans-serif;
  font-size: 1.5vw;
  margin: 0;
  text-align: center;
  /* transform: translateY(10px); */
}
}
@media screen and (min-height: 969px) and (max-width: 1032px) {
  body {
  background-color: #190e2c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
   font-family: ghaithSans, sans-serif;
   gap: 70px 0;
}
    .headDiv {
  /* position: absolute; */
  /* background-color: #892b24; */
  width: 98vw;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  margin-top: 50px;
}
.gameTitle {
  position: absolute;
  color: #cf762d;
  font-family: ghaithSans, sans-serif;
  font-size: 6vw;
  font-weight: 900;
}
.overlay {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #190e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  /* animation: shrinking 0.7s ease-in 1 normal forwards; */
}
@keyframes shrinking {
  from {
    width: 100vw;
  height: 100vh;
  opacity: 1;
  }
  to {
  width: 0;
  height: 100vh;
  opacity: 0;
  display: none;
  }
}
.ddoverlay {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 115vh;
  background-color: #190e2c;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ovdd 2s ease-in 1 normal forwards;
}
@keyframes ovdd {
  from {
  width: 100vw;
  height: 100vh;
  opacity: 1;
  }
  to {
  width: 100vw;
  height: 0;
  opacity: 0;
  display: none;
  }
}
.gameSetupOverlay {
  pointer-events: none;
}
@keyframes formAppear {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}
.hostInfo {
  /* background-color: #8169a8; */
  width: 100vw;
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 2vw;
  margin-top: 80px;
}
.hostInput {
  width: 60%;
  height: 95%;
  /* background-color: #cfc5e0; */
  background-color: var(--aesthetic);
  border: none;
  border-radius: 2.5vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 3.5vw;
  text-align: center;
}
.creditLeft {
  width: 20%;
  height: 100%;
  background-color: var(--aesthetic);
  border-radius: 2.5vw;
  color: var(--background);
  font-size: 2.9vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.categoryInput {
  width: 400px;
  height: 30px;
  background-color: #190e2c;
  border: none;
  /* -webkit-appearance: none;
  appearance: none; */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}
.chooseCateCont {
  background-color: var(--aesthetic);
  width: 85vw;
  height: 4vh;
  transform: translateY(59px);
  border-radius: 1.9vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chooseCateText {
  color: #190e2c;
  text-align: center; 
  font-size: 2.3vh;
}
.cardsContainer {
  /* background-color: rgba(178, 178, 255, 0.35); */
  width: 85vw;
  /* height: 110vh; */
  /* max-width: 85vw; */
  /* max-height: 110vh; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 15px 15px;
  box-sizing: border-box;
  padding: 2px;
  /* align-self: flex-end; */
}
.card {
  background-color: var(--aesthetic);
  /* box-shadow: 0 10px 50px 10px inset #fb958e; */
  border-radius: 3vw;
  /* width: 230px;
  height: 160px; */
  /* max-width: 250px; */
  /* max-height: 180px; */
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor:pointer;
}
.unified:checked + .card { 
  animation: cardAni 0.3s ease-out 1 normal forwards;
}
@keyframes cardAni {
  from {

  }
  to {
  scale: 1.05;
  box-shadow: 0 10px 50px 10px inset #a12c26be;
  }
}
.cornerIcon {
  /* background-color: #892b24; */
  position: absolute;
  right: -17%;   
  bottom: -25%; 
  width: 55%;
}
.wordOverlay {
  background-color: #fa7169;
  width: 86%;
  height: 60%;
  border-radius: 10px;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cardWord {
  color: var(--text);
  text-align: center;
  font-weight: 500;
  /* transform: translateY(-23px); */
  font-size: 17cqw;
  font-family: var(--font);
}
.sendFormCont {
  background-color: var(--auxiliary);
  width: 60vw;
  height: 4vh;
  border-radius: 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* margin-bottom: 20px; */
}
.sendNames {
  width: 100%;
  height: 90%;
  background-color: var(--aesthetic);
  border: none;
  border-radius: 2vw;
  font-family: ghaithSans, sans-serif;
  color: var(--background);
  font-size: 3vw;
  text-align: center;
  cursor: pointer;
}
.categoryError {
  background-color: var(--auxiliary);
  width: 100%;
  height: 50%;
  border-radius: 0 0 15px 15px;
  color: #892b24;
  font-family: ghaithSans, sans-serif;
  font-size: 2vw;
  margin: 0;
  text-align: center;
}
.reenteringKey {
  background-color: var(--background);
  position: absolute;
  width: 22%;
  height: 33%;
  transform: translateX(15vw);
  padding: 5px 5px;
  border-radius: 1.3vw;
  color: #d8c4c3;
  font-family: ghaithSans, sans-serif;
  font-size: 1.4vw;
  margin: 0;
  text-align: center;
  cursor: pointer;
}
/* .cateOp {
  border-radius: 15px;
} */
.hidden {
  display: none;
}
.ketEnteringContainer {
   background-color: #a12c26;
  width: 75%;
  height: 45%;
  border: none;
  border-radius: 2vw;
  font-family: Ubuntu, ghaithSans, sans-serif;
  font-weight: 700;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #b7b5b5; */
  gap: 20px;
  /* display: flex;
  justify-content: center;
  text-align: center; */
}
.keyForm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.keyInput {
  width: 80%;
  height: 10%;
  background-color: #190e2c;
  border: none;
  border-radius: 2vw;
  font-family: Ubuntu, ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 3vw;
  text-align: center;
}
.keySubmit {
  width: 100%;
  height: 50px;
  background-color: #cf762d;
  border: none;
  border-radius: 0 0 2vw 2vw;
  font-family: ghaithSans, sans-serif;
  color: #ffffff;
  font-size: 2.5vw;
  text-align: center;
  position: absolute;
  bottom: 0;
  cursor: pointer;
}
.keyError {
  width: 100%;
  border-radius: 0 0 15px 15px;
  color: #bebdbd;
  font-family: ghaithSans, sans-serif;
  font-size: 2.5vw;
  margin: 0;
  text-align: center;
  /* transform: translateY(10px); */
}
}