/* ------------------------------------------------- */
.card-disable-events {
  pointer-events: none;
  opacity: 0.4;
}

.flip-card-container .emoji_logo {
  padding: 0px !important;
  margin: 0px !important;
  font-size: 70px !important;
}

.playing_cards-set {
  width: 240px !important;
  height: 340px !important;
}

.normal_cards-set {
  width: 350px !important;
  height: 530px !important;
}
.playing_cards_set_card_details {
  padding: 0px !important;
}
.normal_cards_set_card_details {
  padding: 0px !important;
}

.playing_cards_set_card_details_ul {
  padding: 10px !important;
}
.normal_cards_set_card_details_ul {
  padding: 3px !important;
}

.flip-card-container {
  max-width: 1200px !important;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  /* display: flex;
  flex-wrap: wrap;
  justify-content: space-between; */
}
/* --------------------------------------------- */
/* Reset */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.card-board {
  display: flex;
  flex-basis: 25%;
  justify-content: center;
  /*flex-direction: column;
  margin: 1%;*/
  /* width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row;
  height: 100%;
  position: relative; */

  /* width: 32%;
  height: 100%;
  padding-bottom: 2%;
  margin-bottom: 2%;
  position: relative; */
}
@media (max-width: 37.5em) {
  .card-board {
    padding: 10px;
  }
}

.card {
  cursor: pointer;
  position: relative;
  height: 500px;
  width: 400px;
  perspective: 200rem;
  margin: 8%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  /* flex: initial;
  position: relative;
  height: 300px;
  width:100%;
  -moz-perspective: 200rem;
  perspective: 200rem;
  margin: 2rem; */
}
.card__side {
  height: 100%;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
  /* We don't want to see the back part of the element. */
  backface-visibility: hidden;
  /* We don't want to see the back part of the element. */
  border-radius: 3px;
  overflow: hidden;
  /* The image is overflowing the parent. */
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
}
.card__side--front {
  background-image: linear-gradient(
      to right bottom,
      rgba(30, 11, 54, 0.65),
      rgba(202, 55, 130, 0.7)
    ),
    url(https://cdn.spacetelescope.org/archives/images/screen/heic0406a.jpg);
}
.card__side--back {
  background-color: #fff;
  transform: rotateY(180deg);
}
.card-flip-rotateY {
  transform: rotateY(0);
}

.card-flip-font-rotateY {
  transform: rotateY(-180deg);
}
/* .card:hover .card__side--back {
  transform: rotateY(0);
} */
/* .card:hover .card__side--front {
  transform: rotateY(-180deg);
} */
.card__theme {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
}

.card__details {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 5px;
}
.card__details ul {
  list-style: none;
  padding: 10px;
	margin: 0;
	width: 100%;
	height: 100%;
}
.card__details ul li {
  text-align: center;
  font-size: 1.8rem;
  padding-bottom: 1rem;
}
.card__details ul li:last-child {
  padding-bottom: 0px !important;
}
@media only screen and (max-width: 947px), only screen and (hover: none) {
  .card-board {
    display: flex;
    flex-basis: 35%;
    justify-content: center;
  }
  /* ------------------------------- */
  .card__theme-box {
    padding: 10px;
  }
  .card-flip-rotateY {
    display: block !important;
  }
  .card-flip-font-rotateY {
    display: none !important;
  }
  .flip-and-win-card-logo {
    width: 160px;
  }
  /* ------------------------------------------- */
  .card {
    margin: 10px;
	  height: 500px;
    width: 400px;
/*     height: 310px;
    width: 230px; */
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
  }
  .card__side {
    height: auto;
    position: relative;
    box-shadow: none;
  }
  .card__side--front {
    /* clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%); */
  }
  .card__side--back {
    display: none;
    transform: rotateY(0);
  }
  .card:hover .card__side--front {
    transform: rotateY(0);
  }
  .card__details {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 5px;
  }

  .playing_cards_set_card_details {
    padding: 5px 5px !important;
  }
  .normal_cards_set_card_details {
    padding: 3px 3px !important;
  }
  .card__theme {
    position: relative;
    /* top: 0; */
    /* left: 0; */
    /* transform: translate(0); */
    /* width: 100%;
    padding: 20px; */
    text-align: center;
  }

  .card__title {
    font-size: 4rem;
  }
}

/* ------------------------------------ */
@media only screen and (max-width: 700px) and (min-width: 400px) and (hover: none) {
  .card-board {
    display: flex;
    flex-basis: 35%;
    justify-content: center;
  }

  .card-board {
    display: flex;
    flex-basis: 35%;
    justify-content: center;
  }

  .card {
    margin: 0%;
/*     height: 267px; */
	    height: 500px;
  width: 400px;
    margin: 15px;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 2rem 6rem rgb(0 0 0 / 15%);
  }
  .card__side {
    height: 100%;
    /* transition: all 0.8s ease; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* width: 100%; */
    /* -webkit-backface-visibility: hidden; */
    backface-visibility: hidden;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2rem 6rem rgb(0 0 0 / 15%);
  }
}

@media (max-width:480px)  {
	.playing_cards-set {
		width: 170px !important;
    	height: 270px !important;
	}
  .playing_cards-set {
    width: 180px !important;
      height: 300px !important;
  }
	.card__details ul {
		display: flex;
    flex-direction: column;
    justify-content: space-between;
	}
	.card__details ul li {
		position: relative !important;
		margin: 0 !important;
    line-height: 15px;
		left: 0 !important;
	}
	.card__details ul li img {
		width: 50px;
	}
	.card__details ul li:first-child {
		margin-top: 0;
	}
}
.card-board {
    flex-basis: 33%;
}
@media only screen and (max-width: 600px) {
	.card-board {
  padding: 5px;
}
    .playing_cards-set {
        width: 155px !important;
        height: 265px !important;
    }
    .normal_cards-set {
        width: 160px !important;
        height: 240px !important;
    }
}
@media only screen and (max-width: 400px) {
	.card-board {
  padding: 2px;
}
    .playing_cards-set {
        width: 145px !important;
    	height: 255px !important;
    }
    .normal_cards-set {
        width: 140px !important;
      height: 220px !important;
    }
}

@media only screen and (max-width: 375px) {
	.card-board {
  padding: 2px;
}
    .playing_cards-set {
        width: 130px !important;
    	height: 230px !important;
    }
    .playing_cards-set {
        width: 140px !important;
      height: 250px !important;
    }
}