* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
body {
  text-align: center;
  padding-top: 100px;
  /* transition: all 2s; */
}

/* ***************javascript*************** */
img {
  cursor: pointer;
}

h1,
#leftLabelNameContainer,
#rightLabelNameContainer,
#playButton,
.player_1,
.player_2 {
  visibility: hidden;
}
#leftLabelNameContainer {
  visibility: hidden;
}
/* ***************javascript end*************** */
#nameBarContainer {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
  /* transition: all 2s; */
  /* visibility: hidden; */
}
.labelNameContainer {
  position: relative;
}
input {
  outline: none;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 18px;
  font-weight: 400;
  width: 200px;
  /* transition: all 0.2s; */
}
.nameLabel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  cursor: text;
  user-select: none;
  background-color: white;
  padding: 0 3px;
  /* transition: all 0.2s; */
  border-radius: 50%;
}
.nameContainer input:focus ~ .nameLabel,
.nameContainer input:not(:placeholder-shown) ~ .nameLabel {
  top: 0;
  left: 25px;
  font-size: 14px;
  color: rgb(70, 43, 131);
}
.nameContainer input:focus,
.nameContainer input:not(:placeholder-shown) {
  border-color: rgb(97, 135, 185);
}
.nameContainer input:focus {
  box-shadow: 0 0 5px rgb(97, 135, 185);
}
#playButton {
  font-size: 25px;
  padding: 5px 30px;
  border-radius: 50px;
  border: 2px solid rgb(66, 105, 155);
  background-color: rgb(85, 132, 192);
  color: white;
  position: relative;
  top: 15px;
  /* transition: all 2s; */
}
#playButton:hover {
  box-shadow: 0 0 10px rgb(66, 105, 155);
}

/**************************
********Cards Style********
**************************/

.allCards {
  display: flex;
  justify-content: space-between;
}
#firstPlayerCards {
  position: relative;
  left: 0;
  /* visibility: hidden; */
  /* transition: all 2s; */
}
#secondPlayerCards {
  position: relative;
  right: 0;
  /* visibility: hidden; */
  /* transition: all 2s; */
}
img {
  border-radius: 15px;
}
