/* Styling START BODY AND MAIN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

html,
body {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  padding: 0;
  margin: 0;
}
#popup{
  margin-top: 5px;
  position: absolute;
}

i {
  color: rgb(57, 255, 47);
}

.main {
  position: relative;
  gap: 4vh;
  height: 100vh;
  width: 100%;
  max-width: 768px;
  background-color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* Styling END for BODY AND MAIN */

/* Styling start for card */
.card {
  height: 20%;
  width: 95%;
  display: flex;
  overflow: hidden;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.15);
  margin-top: 30px;
}

.cardimg {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  padding: 10px;
  width: 40%;
  height: 100%;
  background-color: white;
  background-position: center;
  background-size: cover;
}

.cardimg img {
  max-width: 90%;
  max-height: 90%;
  aspect-ratio: 1/1;
  border-radius: 5px;
}

.cardinfo {
  padding: 10px;
  width: 60%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 5px;
}

.cardinfo h5 {
  text-align: left;
}

.card button {
  width: 100%;
}

/* Styling START for BUTTON */
.button {
  width: 90%;
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, #80D4FF 0, #80D4FF 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 4vw;
  text-align: center;
}

.button:focus {
  box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
}

.button:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button:active {
  box-shadow: #3c4fe0 0 3px 7px inset;
  transform: translateY(2px);
}

/* Styling END BUTTON */
/* Styling START for Popup Overlay */
.popup-overlay {
  display: flex;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 45vh;
  max-width: 700px;
  text-align: center;
}

.popup-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  background-color: white;
  padding: 40px;
  border-radius: 5px;
  font-size: 4.2vw;
  height: 100%;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 1px 6px rgba(0, 0, 0, 0.7);
}

#closePopup {
  margin-top: 10px;
}

/* Styling for END FOR POPUP */
/* Styling start for input */
.coolinput {
  display: flex;
  flex-direction: column;
  width: fit-content;
  position: static;
  width: 90%;
}

.coolinput label.text {
  font-size: 0.75rem;
  color: #80D4FF;
  font-weight: 700;
  position: relative;
  top: 0.5rem;
  margin: 0 0 0 7px;
  padding: 0 3px;
  background: #ffffff;
  width: fit-content;
}

.coolinput input[type=number].input {
  padding: 11px 10px;
  font-size: 0.75rem;
  border: 2px #80D4FF solid;
  border-radius: 5px;
  background: #ffffff;
}

.coolinput input[type=text].input:focus {
  outline: none;
}

/* Styling end for input */
/* Styling start for game card */
.cardgame {
  width: 90%;
  height: 22vh;
  border-radius: 20px;
  padding: 5px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  background-image: linear-gradient(144deg, #80D4FF, #EA80FF 50%, #80D4FF);
}

.card__contentgame {
  background: #fff;
  border-radius: 17px;
  width: 100%;
  height: 100%;
  color: black;
  padding: 20px;
  font-size: 14px;
}

.card__contentgame h2 {
  margin-bottom: 10px;
}

/* Styling end for game card */