/* Global */
*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #305b83;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #305b83;
  border-radius: 5px;
}

html,
body {
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100% !important;
  font-family: "Arla InterFace";
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
button {
  max-width: 100%;
  width: 30%;
  margin-top: 2rem;
  background-color: transparent;
  border: unset;
  cursor: pointer;
  outline: unset;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 1000s ease-in-out 0s;
}

.unvalidated {
  animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}

/* Scrollbar */
body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

body::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background-color: #f90;
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
}

/* Modal Section */
#startGameModal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
}

#startGameModal.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

#startGameModal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  padding: 155px 60px;
  width: 24rem;
  border-radius: 0.5rem;
  text-align: center;
  line-height: 31px;
}

#startGameModal .close-button {
  position: absolute;
  top: 46px;
  right: 53px;
  width: 33px;
  text-align: center;
  cursor: pointer;
  color: #fff;
  border-radius: 50%;
  background-color: #5a2d20;
}

#startGameModal .close-button:hover {
  background-color: darkgray;
}

/* Portrait */
#portrait {
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/start-background.png");
}

#portrait .portrait-content {
  text-align: center;
  position: relative;
  padding: 15px;
  font-size: 35px;
  line-height: 1.1;
}

/* Board Start */
#boardStart {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/start-background.png");
}

#boardStart .boardStart-content {
  text-align: center;
  position: relative;
  padding: 15px;
}

#boardStart .boardStart-content .game-logo {
  width: 95%;
  animation: bounce-top 0.9s both;
}

#boardStart .boardStart-content .game-form.rotate-left {
  position: absolute;
  left: 15%;
  font-size: 27px;
  line-height: 25px;
  padding: 15px 55px;
  bottom: calc(0px - 78px);
  animation: bounce-bottom 0.9s both;
  transform: rotate(-4deg) !important;
}

#boardStart .boardStart-content .game-form.rotate-right {
  position: absolute;
  right: 15%;
  font-size: 27px;
  line-height: 25px;
  padding: 15px 55px;
  bottom: calc(0px - 78px);
  animation: bounce-bottom 0.9s both;
  transform: rotate(4deg) !important;
}

#boardStart .boardStart-content .game-form:hover {
  transform: scale(1.1) !important;
}

/* Start Section */
#start {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/start-background.png");
}

#start .start-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#start .start-content .game-logo {
  width: 64%;
  animation: bounce-top 0.9s both;
}

#start .start-content .game-form {
  animation: bounce-bottom 0.9s both;
  transform: rotate(-4deg) !important;
}

#start .start-content .game-form:hover {
  transform: scale(1.1) !important;
}

/* Login Section */
#login {
  display: none;
  min-height: 100vh;
  position: relative;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-image: url("../images/login-background.png");
}

#login .login-content {
  text-align: center;
  /* padding: 15px; */
}

#login .login-content .building-a {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  animation: bounce-left 1s linear alternate both;
}

#login .login-content .building-b {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  animation: bounce-right 1s linear alternate both;
}

#login .login-content form {
  position: relative;
  min-width: 100%;
  max-width: 100%;
  z-index: 5;
  animation: bounce-top 0.9s both;
}

#login .login-content form h1 {
  color: #fcd165;
  font-size: 55px;
  margin-bottom: 36px;
  text-transform: uppercase;
  text-shadow: 4px 4px #523314;
}

#login .login-content form .form-content {
  display: flex;
  position: relative;
  width: 100%;
}

#login .login-content form .form-content .input-group {
  position: absolute;
  top: 1%;
  left: 0;
  right: 0;
  margin: 0 auto;
  /* padding: 90px 60px; */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#login .login-content form .form-content .input-group .grid-row {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 2rem;
}

#login .login-content form .form-content .input-group .grid-row > * {
  position: relative;
}

#login .login-content form .form-content .input-group .grid-row input {
  display: block;
  width: 100%;
  height: 60%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.375rem 1.4rem;
  font-size: 1.4rem;
  color: #fff !important;
  font-family: "Arla InterFace";
  font-weight: normal;
  background-color: transparent;
  border: none;
  outline: unset;
  z-index: 1;
}
#login .login-content form .form-content .input-group .grid-row #email {
  height: 88%;
}
.name_container {
  position: relative;
  max-width: 100%;
  width: 84%;
  height: 100%;
  margin: 0 auto;
  margin-top: 3rem;
}
.email_container {
  position: relative;
  max-width: 100%;
  width: 90%;
  height: 100%;
  margin: 0 auto;
}
#login
  .login-content
  form
  .form-content
  .input-group
  .grid-row
  input::placeholder {
  color: #fff;
  font-family: "Arla InterFace";
  font-weight: bold;
  text-transform: capitalize;
  font-size: 3rem;
  text-align: center;
}
#login
  .login-content
  form
  .form-content
  .input-group
  .grid-row
  .invalid-feedback {
    font-family: "Arla InterFace";
  position: absolute;
  font-size: 11px;
  color: #b00016;
  display: none;
}
.registered_before{
  font-family: "Arla InterFace";
  position: absolute;
  font-size: 11px;
  color: #b00016;
  display: none;
}
#login
  .login-content
  form
  .form-content
  .input-group
  .grid-row
  .invalid
  .invalid-feedback {
  display: block;
}

#login .login-content form .form-content .input-group .game-start:hover {
  transform: scale(1.1) !important;
}

/* Game Section */
#theGame {
  display: flex;
  min-height: 100vh;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

#theGame .game-head {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 102;
  display: flex;
  animation: bounce-top 0.9s both;
  width: 25%;
}
#theGame .game-head .score,
#theGame .game-head .timer {
  position: relative;
  max-width: 100%;
  width: 50%;
  height: 100%;
}
#theGame .game-head .timer{
  margin-right: .5rem;
}

#countdown{
  position: absolute;
  top: 28%;
  left: 0;
  width: 100%;
  height: 50%;
  text-align: center;
  color: #fff;
  font-family: 'Arla InterFace';
  font-weight: 900;
  font-size: 1.5rem;
}
#score{
  position: absolute;
  top: 33%;
  left: 0;
  width: 100%;
  height: 30%;
  text-align: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
}

#theGame .game-head .data-section img {
  position: absolute;
  left: -20px;
  width: 40px;
  top: -5px;
}

.person{
  position: absolute;
  max-width: 15vw;
  /* width: 100%; */
  bottom: 13%;
  left: 10%;
  z-index: 6;
}
.person_board{
  position: absolute;
  max-width: 11.6vw;
  width: 100%;
  bottom: 12%;
  left: 6%;
  z-index: 3;
}
.clock{
  position: absolute;
  max-width: 5.7vw;
  width: 100%;
  top: 32%;
  left: 31.5%;
  z-index: 2;
}
.calender{
  position: absolute;
  max-width: 27.3vw;
  width: 100%;
  top: 16%;
  left: 31%;
  z-index: 2;
}
.chairs{
  position: absolute;
  max-width: 35.4vw;
  width: 100%;
  bottom: 17%;
  right: 28%;
  z-index: 2;
}
.chars{
  position: absolute;
  max-width: 45.5vw;
  width: 100%;
  bottom: 13%;
  right: 30%;
  z-index: 4;
}

.window{
  position: absolute;
  max-width: 16vw;
  width: 100%;
  top: 18%;
  left: 8%;
  z-index: 2;
}
#theGame .game-area {
  width: 100%;
  display: flex;
  position: relative;
}

#theGame .game-area .game-image {
  width: 100%;
  height: 100vh;
  position: relative;
}

#theGame .game-area .hidden-items {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* z-index: 9; */
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

/* #theGame .game-area .hidden-items:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("../images/main-vector.png");
} */

#theGame .game-area .buttons-list {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 101;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

#theGame .game-area .hidden-items li,
#theGame .game-area .buttons-list li {
  position: absolute;
  z-index: 23;
}

#theGame .game-area .hidden-items li.back-item {
  /* z-index: 98; */
}

#theGame .game-area .hidden-items li.animated {
  z-index: 100;
  animation: scale-in-center 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

#theGame .game-area .hidden-items li img {
  width: 100%;
}

#theGame .game-area .hidden-items li.img-icon1,
#theGame .game-area .buttons-list li#icon1 {
  width: 2vw;
  height: 38px;
  top: 47%;
  left: 9%;
  z-index: 5;
}

#theGame .game-area .hidden-items li.img-icon2,
#theGame .game-area .buttons-list li#icon2 {
  width: 2vw;
  height: 37px;
  top: 34.7%;
  left: 36%;
  z-index: 1;
}

#theGame .game-area .hidden-items li.img-icon3,
#theGame .game-area .buttons-list li#icon3 {
  width: 4vw;
  height: 21px;
  top: 29%;
  right: 40.7%;
  z-index: 1;
}

#theGame .game-area .hidden-items li.img-icon4,
#theGame .game-area .buttons-list li#icon4 {
  width: 2vw;
  height: 54px;
  bottom: 35%;
  right: 29.7%;
  z-index: 3;
}

#theGame .game-area .hidden-items li.img-icon5,
#theGame .game-area .buttons-list li#icon5 {
  width: 1vw;
  height: 45px;
  top: 33.7%;
  left: 23.3%;
  z-index: 1;
}

#theGame .game-area .hidden-items li.img-icon6,
#theGame .game-area .buttons-list li#icon6 {
  width: 2vw;
  height: 41px;
  top: 62%;
  left: 5.3%;
  z-index: 1;
}

#theGame .game-area .hidden-items li.img-icon7,
#theGame .game-area .buttons-list li#icon7 {
  width: 47px;
  height: 46px;
  top: 29%;
  left: 7.8%;
}

#theGame .game-area .hidden-items li.img-icon8,
#theGame .game-area .buttons-list li#icon8 {
  width: 9px;
  height: 9px;
  top: 57.7%;
  left: 38%;
}

#theGame .game-area .hidden-items li.img-icon9,
#theGame .game-area .buttons-list li#icon9 {
  width: 13px;
  height: 13px;
  top: 55%;
  right: 17%;
}

#theGame .game-area .hidden-items li.img-icon10,
#theGame .game-area .buttons-list li#icon10 {
  width: 36px;
  height: 32px;
  top: 55%;
  left: 23.5%;
}

#theGame .game-area .hidden-items li.img-icon11,
#theGame .game-area .buttons-list li#icon11 {
  width: 37px;
  height: 28px;
  top: 53%;
  right: 37.3%;
}

#theGame .game-area .hidden-items li.img-icon12,
#theGame .game-area .buttons-list li#icon12 {
  width: 35px;
  height: 34px;
  top: 22.7%;
  left: 34.5%;
}

#theGame .game-area .hidden-items li.img-icon13,
#theGame .game-area .buttons-list li#icon13 {
  width: 31px;
  height: 32px;
  top: 56%;
  left: 0.9%;
  opacity: 0.2;
}

#theGame .game-area .hidden-items li.img-icon14,
#theGame .game-area .buttons-list li#icon14 {
  width: 21px;
  height: 16px;
  top: 75%;
  left: 13.1%;
}

#theGame .game-area .hidden-items li.img-icon15,
#theGame .game-area .buttons-list li#icon15 {
  width: 41px;
  height: 41px;
  top: 15.4%;
  right: 21.3%;
}

#theGame .game-area .hidden-items li.img-icon16,
#theGame .game-area .buttons-list li#icon16 {
  width: 44px;
  height: 44px;
  top: 47.5%;
  left: 5.6%;
}

#theGame .game-area .hidden-items li.img-icon17,
#theGame .game-area .buttons-list li#icon17 {
  width: 35px;
  height: 35px;
  top: 38.8%;
  right: 51.2%;
}

#theGame .game-area .hidden-items li.img-icon18,
#theGame .game-area .buttons-list li#icon18 {
  width: 33px;
  height: 27px;
  top: 70%;
  right: 0.8%;
  opacity: 0.22;
}

#theGame .game-area .hidden-items li.img-icon19,
#theGame .game-area .buttons-list li#icon19 {
  width: 46px;
  height: 42px;
  top: 24.3%;
  left: 13.63%;
}

#theGame .game-area .hidden-items li.img-icon20,
#theGame .game-area .buttons-list li#icon20 {
  width: 23px;
  height: 18px;
  top: 57%;
  right: 26%;
}

#theGame .game-area .buttons-list li#wrong1 {
  width: 24px;
  height: 24px;
  top: 42.2%;
  left: 2%;
}

#theGame .game-area .buttons-list li#wrong2 {
  width: 30px;
  height: 30px;
  top: 18.5%;
  left: 18%;
}

#theGame .game-area .buttons-list li#wrong3 {
  width: 55px;
  height: 55px;
  top: 16.5%;
  left: 38.6%;
}

#theGame .game-area .buttons-list li#wrong4 {
  width: 52px;
  height: 52px;
  top: 8%;
  left: 47.4%;
}

#theGame .game-area .buttons-list li#wrong5 {
  width: 52px;
  height: 52px;
  top: 11%;
  left: 50%;
}

#theGame .game-area .buttons-list li#wrong6 {
  width: 32px;
  height: 39px;
  top: 23.5%;
  left: 51%;
}

#theGame .game-area .buttons-list li#wrong7 {
  width: 45px;
  height: 45px;
  top: 26.5%;
  right: 27.5%;
}

#theGame .game-area .buttons-list li#wrong8 {
  width: 45px;
  height: 45px;
  top: 54%;
  right: 9%;
}

#theGame .game-area .buttons-list li#wrong9 {
  width: 21px;
  height: 19px;
  top: 55.3%;
  right: 52.2%;
}

#theGame .game-area .buttons-list li#wrong10 {
  width: 32px;
  height: 32px;
  top: 75.5%;
  left: 29.6%;
}

#theGame #listItems {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#theGame .list-items {
  position: fixed;
  bottom: 0px;
  width: 60%;
  height: 18%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style: none;
  padding: 4px 11px;
  z-index: 102;
  left: 0;
  right: 0;
  margin: 0 auto;
  animation: bounce-bottom 0.9s both;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url("../images/bar.png");
}

#theGame .list-items li {
  width: 17%;
  display: flex;
  margin: 3px 0 0;
  padding: 0 5px;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

#theGame .list-items li img {
  width: 17%;
  margin: 0 auto 5px;
  filter: grayscale(100%);
}

#theGame .list-items li.active img {
  filter: grayscale(0%);
}

#theGame .list-items li p {
  font-size: 0.6rem;
  line-height: 10px;
  font-family: "Roboto", sans-serif;
}
#theGame .list-items .icon1 img {
  width: 25%;
}
#theGame .list-items .icon2 img {
  width: 32%;
}
#theGame .list-items .icon3 img {
  width: 48%;
}
/* Game Over */
#gameOver {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/go-background.png");
}

#gameOver .gameOver-content {
  max-width: 100%;
  width: 50%;
  margin: auto;
}

/* Game Win */
#gameWin {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/go-background.png");
}

#gameWin .gameWin-content {
  max-width: 100%;
  width: 50%;
  margin: auto;
}

/* Game Score */
#gameScores {
  display: flex;
  min-height: 100vh;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: end;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../images/last-background.png");
}

#gameScores .gameScores-content {
  /* text-align: center; */
  position: relative;
  margin-left: 70px;
  width: 38%;
  max-height: 96vh;
  height: 100%;
  margin-right: auto;
}
#gameScores .gameScores-content .leader_img {
  width: 90%;
}
#gameScores .gameScores-content .table_head {
    z-index: 1;
    font-size: 4rem;
    line-height: 1.1;
    position: absolute;
    margin-bottom: 25px;
    color: #fff;
    top: 8%;
    width: 89%;
    text-align: center;
  }
#gameScores .gameScores-content .table_container {
  width: 85%;
  height: 68%;
  overflow: hidden;
  overflow-y: scroll;
  position: absolute;
  top: 22%;
  left: 2%;
}

#gameScores .gameScores-content table {
  display: flex;
  width: 100%;
}
#gameScores .gameScores-content table tbody {
  display: block;
  width: 100%;
  padding-right: .2rem;
}
#gameScores .gameScores-content table .first_td {
  display: block;
  background-color: #87878791;
  width: 14%;
  border-radius: 10px;
}
#gameScores .gameScores-content table .second_td {
  display: block;
  width: 16%;
}
#gameScores .gameScores-content table .third_td {
  display: block;
  width: 50%;
  background-color: #87878791;
  border-start-start-radius: 10px;
  border-end-start-radius: 10px;
}
#gameScores .gameScores-content table .fourth_td {
  display: block;
  background-color: #87878791;
  width: 20%;
  border-end-end-radius: 10px;
  border-start-end-radius: 10px;
}


#gameScores .gameScores-content .playerRow {
  z-index: 1;
  position: relative;
  width: 100%;
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  /* justify-content: space-between; */
}

#gameScores .gameScores-content .playerRow .numWinnerContent {
  border-radius: 10px;
  padding: 25px;
  font-size: 1.6rem;
  color: #fff;
  font-weight: bold;
}

#gameScores .gameScores-content .playerRow .numImage .avatar-image {
  max-width: 100%;
  width: 90%;
  margin: 0 auto;
}

#gameScores .gameScores-content .playerRow .numInfo {
  width: 100%;
  border-radius: 10px;
}

#gameScores .gameScores-content .playerRow .numInfoContent {
  border-radius: 10px;
  padding: 25px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #003974;
  font-weight: bold;
}

#gameScores .gameScores-content .playerRow .numInfoContent .playerName {
  margin-right: 30px;
}

/* Animations */
/* Bounce Top */
@keyframes bounce-top {
  0% {
    transform: translateY(-45px);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    transform: translateY(-24px);
    animation-timing-function: ease-in;
  }
  65% {
    transform: translateY(-12px);
    animation-timing-function: ease-in;
  }
  82% {
    transform: translateY(-6px);
    animation-timing-function: ease-in;
  }
  93% {
    transform: translateY(-4px);
    animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

/* Bounce Bottom */
@keyframes bounce-bottom {
  0% {
    transform: translateY(45px);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    transform: translateY(24px);
    animation-timing-function: ease-in;
  }
  65% {
    transform: translateY(12px);
    animation-timing-function: ease-in;
  }
  82% {
    transform: translateY(6px);
    animation-timing-function: ease-in;
  }
  93% {
    transform: translateY(4px);
    animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

/* Bounce Left */
@keyframes bounce-left {
  0% {
    transform: translateX(-300px);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    transform: translateX(-180px);
    animation-timing-function: ease-in;
  }
  65% {
    transform: translateX(-70px);
    animation-timing-function: ease-in;
  }
  82% {
    transform: translateX(-30px);
    animation-timing-function: ease-in;
  }
  93% {
    transform: translateX(-10px);
    animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87%,
  98% {
    transform: translateX(0px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateX(0px);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

/* Bounce Right */
@keyframes bounce-right {
  0% {
    transform: translateX(300px);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    transform: translateX(180px);
    animation-timing-function: ease-in;
  }
  65% {
    transform: translateX(70px);
    animation-timing-function: ease-in;
  }
  82% {
    transform: translateX(30px);
    animation-timing-function: ease-in;
  }
  93% {
    transform: translateX(10px);
    animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87%,
  98% {
    transform: translateX(0px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateX(0px);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

/* Shake Horizontal */
@keyframes shake-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60% {
    transform: translateX(10px);
  }
  80% {
    transform: translateX(8px);
  }
  90% {
    transform: translateX(-8px);
  }
}

/* Scale In */
@keyframes scale-in-center {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(3);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1400px) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 54%;
  }
  #theGame .list-items li p {
    font-size: 0.3rem;
    line-height: 4px;
  }
}

@media (max-width: 1400px) {
  #gameScores .gameScores-content .playerRow {
    margin-bottom: 15px;
  }
  #gameScores .gameScores-content h1 {
    font-size: 3rem;
  }
  #gameScores .gameScores-content .playerRow .numWinnerContent {
    padding: 0.9rem;
    font-size: 1rem;
  }
  #gameScores .gameScores-content .playerRow .numImage .avatar-image {
    width: 64%;
  }
  #gameScores .gameScores-content .playerRow .numInfoContent {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  #theGame .game-area .hidden-items li img {
    width: 70%;
  }
}

/* Internet Explorer */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  button {
    border: none;
    border-radius: 0;
    outline: none;
    padding: 20px 30px;
    background-size: 100% 100%;
  }
  input {
    border: none;
    border-radius: 0;
    outline: none;
  }
  #boardStart .boardStart-content,
  #start .start-content,
  #login .login-content {
    margin-top: 8%;
  }
  #login .login-content form .form-content .input-group .grid-row .email {
    width: 100%;
  }

  #theGame .list-items li img {
    filter: none;
    opacity: 0.4;
  }
  #theGame .list-items li.active img {
    filter: none;
    opacity: 1;
  }
  #theGame .list-items li {
    flex: none;
    width: 5%;
    display: block;
    position: relative;
  }
}

@media (max-width: 1370px) {
  #start .start-content,
  #login .login-content{
    margin-top: 4%;
  }
  #gameScores .gameScores-content .table_head {
    font-size: 3rem;
}
#countdown{
  top: 21%;
  left: 0;
  font-size: 1rem;
}
#score{
  top: 27%;
  left: 0;
  font-size: 1rem;
}
#theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
  width: 25px;
  height: 21px;
  top: 50%;
}
#theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
  width: 22px;
  height: 37px;
  left: 35.8%;
}
#theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
  width: 43px;
  height: 14px;
  top: 27%;
}
#theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
  width: 14px;
  height: 24px;
  bottom: 35%;
  right: 29.4%;
}
#theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
  width: 12px;
  height: 26px;
  top: 33.7%;
  left: 23.4%;
}
#theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
  width: 20px;
  height: 29px;
  top: 67%;
}
}
@media (max-width: 1050px)  and (orientation: landscape) {
    #gameScores .gameScores-content {
        width: 50%;
    }
    #theGame .game-head {
      width: 32%;
  }
  #login .login-content form .form-content {
    width: 70%;
    margin: 0 auto;
}
.name_container {
  width: 60%;
  margin-top: 3rem;
}
.email_container {
  width: 61%;
}
#login .login-content form .form-content .input-group .grid-row #email {
  height: 84%;
}
#login .login-content form .form-content .input-group .grid-row input {
  width: 100%;
  font-size: 1.2rem;
  height: 60%;
  margin: 0 auto;
}
#login
  .login-content
  form
  .form-content
  .input-group
  .grid-row
  input::placeholder {
  font-size: 1.6rem;
}
    #countdown{
      top: 19%;
      left: 0;
      font-size: 0.9rem;
    }
    #score{
      top: 23%;
      left: 0;
      font-size: 0.9rem;
    }
    #theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
      width: 25px;
      height: 21px;
      top: 53%;
    }
    #theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
      width: 22px;
      height: 37px;
      left: 35.8%;
    }
    #theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
      width: 43px;
      height: 14px;
      top: 26%;
    }
    #theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
      width: 14px;
      height: 24px;
      bottom: 35%;
      right: 29.4%;
    }
    #theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
      width: 12px;
      height: 26px;
      top: 33.7%;
      left: 23.4%;
    }
    #theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
      width: 20px;
      height: 29px;
      top: 67%;
    }
}
@media (max-width: 1024px) and (orientation: landscape) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 70%;
  }
  #login .login-content form .form-content {
    width: 70%;
    margin: 0 auto;
  }
  .name_container {
    width: 60%;
    margin-top: 3rem;
  }
  .email_container {
    width: 61%;
  }
  button {
    width: 30%;
    margin-top: 1rem;
  }
  #login .login-content form .form-content .input-group .grid-row #email {
    height: 84%;
  }
  #login .login-content form .form-content .input-group .grid-row input {
    width: 100%;
    font-size: 1.2rem;
    height: 60%;
    margin: 0 auto;
  }
  #login
    .login-content
    form
    .form-content
    .input-group
    .grid-row
    input::placeholder {
    font-size: 1.6rem;
  }
  #gameScores .gameScores-content .table_head {
    font-size: 3rem;
}
#theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
  width: 25px;
  height: 21px;
  top: 60%;
}
#theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
  width: 33px;
  height: 37px;
  left: 35.8%;
}
#theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
  width: 43px;
  height: 14px;
  top: 24%;
}
#theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
  width: 20px;
  height: 24px;
  bottom: 30%;
  right: 28.7%;
}
#theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
  width: 12px;
  height: 26px;
  top: 31.7%;
  left: 23.6%;
}
#theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
  width: 20px;
  height: 29px;
  top: 72%;
}

}
@media (max-width: 992px) and (orientation: landscape) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 36%;
  }
  #login .login-content form .form-content {
    width: 70%;
    margin: 0 auto;
  }
  .name_container {
    width: 53%;
    margin-top: 0rem;
  }
  .email_container {
    width: 61%;
  }
  button {
    width: 25%;
    margin-top: 1rem;
  }
  #login .login-content form .form-content .input-group .grid-row #email {
    height: 84%;
  }
  #login .login-content form .form-content .input-group .grid-row input {
    width: 100%;
    font-size: 1.2rem;
    height: 84%;
    margin: 0 auto;
  }
  #login
    .login-content
    form
    .form-content
    .input-group
    .grid-row
    input::placeholder {
    font-size: 1rem;
  }
  #gameScores .gameScores-content {
    width: 38%;
}

  #gameScores .gameScores-content .table_head {
    font-size: 2rem;
}
  #gameScores .gameScores-content table {
    width: 99%;
    top: 10%;
    left: 10%;
  }
  #theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
    width: 25px;
    height: 21px;
    top: 54%;
  }
  #theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
    width: 22px;
    height: 37px;
    top: 34.7%;
    left: 36.2%;
  }
  #theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
    width: 43px;
    height: 14px;
    top: 26%;
  }
  #theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
    width: 14px;
    height: 24px;
    bottom: 33%;
    right: 29%;
  }
  #theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
    width: 12px;
    height: 26px;
    top: 34.7%;
    left: 23.4%;
  }
  #theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
    width: 20px;
    height: 29px;
    top: 65%;
  }
}
@media (max-width: 927px) and (orientation: landscape) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 36%;
  }
  #login .login-content form .form-content {
    width: 70%;
    margin: 0 auto;
  }
  .name_container {
    width: 53%;
    margin-top: 0rem;
  }
  .email_container {
    width: 61%;
  }
  button {
    width: 25%;
    margin-top: 1rem;
  }
  #login .login-content form .form-content .input-group .grid-row #email {
    height: 84%;
  }
  #login .login-content form .form-content .input-group .grid-row input {
    width: 100%;
    font-size: 1.2rem;
    height: 84%;
    margin: 0 auto;
  }
 
  #login
    .login-content
    form
    .form-content
    .input-group
    .grid-row
    input::placeholder {
    font-size: 1rem;
  }
  #gameScores .gameScores-content {
    width: 38%;
}

  #gameScores .gameScores-content .table_head {
    font-size: 2rem;
}
  #gameScores .gameScores-content table {
    width: 99%;
    top: 10%;
    left: 10%;
  }
  #theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
    width: 25px;
    height: 21px;
    top: 43%;
  }
  #theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
    width: 22px;
    height: 37px;
    top: 34.7%;
    left: 36.2%;
  }
  #theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
    width: 43px;
    height: 14px;
    top: 29%;
  }
  #theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
    width: 14px;
    height: 24px;
    bottom: 37%;
    right: 29%;
  }
  #theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
    width: 12px;
    height: 26px;
    top: 34.7%;
    left: 23.4%;
  }
  #theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
    width: 20px;
    height: 29px;
    top: 65%;
  }
}
@media (max-width: 900px) and (orientation: landscape) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 36%;
  }
  #login .login-content form .form-content {
    width: 70%;
    margin: 0 auto;
  }
  .name_container {
    width: 53%;
    margin-top: 0rem;
  }
  .email_container {
    width: 61%;
  }
  button {
    width: 25%;
    margin-top: 1rem;
  }
  #score {
    top: 19%;
    left: 0;
    font-size: 0.9rem;
}
#countdown {
  top: 15%;
  left: 0;
  font-size: 0.9rem;
}
  
  #login .login-content form .form-content .input-group .grid-row #email {
    height: 84%;
  }
  #login .login-content form .form-content .input-group .grid-row input {
    width: 100%;
    font-size: 1.2rem;
    height: 84%;
    margin: 0 auto;
  }
  #login
    .login-content
    form
    .form-content
    .input-group
    .grid-row
    input::placeholder {
    font-size: 1rem;
  }
  #gameScores .gameScores-content {
    width: 38%;
}

  #gameScores .gameScores-content .table_head {
    font-size: 2rem;
}
  #gameScores .gameScores-content table {
    width: 99%;
    top: 10%;
    left: 10%;
  }
  #theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
    width: 25px;
    height: 21px;
    top: 43%;
  }
  #theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
    width: 22px;
    height: 37px;
    top: 34.7%;
    left: 36.2%;
  }
  #theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
    width: 43px;
    height: 14px;
    top: 29%;
  }
  #theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
    width: 14px;
    height: 24px;
    bottom: 38%;
    right: 29%;
  }
  #theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
    width: 12px;
    height: 26px;
    top: 38.7%;
    left: 23.4%;
  }
  #theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
    width: 20px;
    height: 29px;
    top: 65%;
  }
}
@media (max-width: 768px) and (orientation: landscape) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 42%;
  }
  #login .login-content form .form-content {
    width: 70%;
    margin: 0 auto;
  }
  #countdown{
    top: 19%;
    left: 0;
    font-size: 0.9rem;
  }
  #score{
    top: 23%;
    left: 0;
    font-size: 0.9rem;
  }
  .name_container {
    width: 46%;
    margin-top: 0rem;
  }
  .email_container {
    width: 58%;
  }
  button {
    width: 28%;
    margin-top: 1rem;
  }
  #login .login-content form .form-content .input-group .grid-row #email {
    height: 84%;
  }
  #login .login-content form .form-content .input-group .grid-row input {
    width: 100%;
    font-size: 1.2rem;
    height: 84%;
    margin: 0 auto;
  }
  #login
    .login-content
    form
    .form-content
    .input-group
    .grid-row
    input::placeholder {
    font-size: 1rem;
  }
  #gameScores .gameScores-content {
    margin-left: 3rem;
    width: 43%;
  }
  #gameScores .gameScores-content .leader_img {
    width: 100%;
  }
  #gameScores .gameScores-content .table_head {
    font-size: 1.6rem;
    width: 100%;
}
  #gameScores .gameScores-content .table_container {
    width: 100%;
}
  #gameScores .gameScores-content table {
    width: 96%;
    top: 10%;
    left: 2%;
  }
  #gameScores .gameScores-content .playerRow .numWinnerContent {
    padding: 0.7rem;
    font-size: 0.6rem;
  }
  #gameScores .gameScores-content .playerRow .numImage .avatar-image {
    width: 88%;
  }
  #gameScores .gameScores-content .playerRow .numInfoContent {
    padding: 0.9rem;
    font-size: 0.6rem;
  }
  #theGame .game-head {
    width: 30%;
  }
  #countdown {
    top: 6%;
    left: 0;
    font-size: 0.8rem;
}
  #score {
    top: 13%;
    left: 0;
    font-size: .8rem;
}
#theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
  width: 25px;
  height: 21px;
  top: 50%;
}
#theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
  width: 22px;
  height: 37px;
  left: 35.8%;
}
#theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
  width: 43px;
  height: 14px;
  top: 26%;
}
#theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
  width: 14px;
  height: 24px;
  bottom: 35%;
  right: 28.7%;
}
#theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
  width: 12px;
  height: 26px;
  top: 33.7%;
  left: 23.4%;
}
#theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
  width: 20px;
  height: 29px;
  top: 67%;
}
}
@media (max-width: 500px) and (orientation: landscape) {
  #boardStart .boardStart-content .game-logo,
  #start .start-content .game-logo {
    width: 62%;
  }
  #login .login-content form .form-content {
    width: 95%;
    margin: 0 auto;
  }
  .name_container {
    width: 50%;
    margin-top: 0rem;
  }
  .email_container {
    width: 60%;
  }
  button {
    width: 34%;
    margin-top: 1rem;
  }
  #login .login-content form .form-content .input-group .grid-row #email {
    height: 70%;
  }
  #login .login-content form .form-content .input-group .grid-row input {
    width: 100%;
    font-size: 0.7rem;
  }
  #login
    .login-content
    form
    .form-content
    .input-group
    .grid-row
    input::placeholder {
    font-size: 1rem;
  }
  #gameScores .gameScores-content {
    margin-left: 3rem;
    width: 50%;
}
  #gameScores .gameScores-content table .first_td {
    border-radius: 5px;
}
#theGame .game-head {
  width: 42%;
}
#theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
  width: 25px;
  height: 21px;
  top: 55%;
}
#theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
  width: 22px;
  height: 37px;
  top: 33%;
  left: 35.4%;
}
#theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
  width: 43px;
  height: 14px;
  top: 23%;
}
#theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
  width: 14px;
  height: 24px;
  bottom: 28%;
  right: 28%;
}
#theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
  width: 12px;
  height: 26px;
  top: 30%;
  left: 22.8%;
}
#theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
  width: 20px;
  height: 29px;
}
}
@media (device-width: 1366px) and (device-height: 1024px) {

#theGame .game-area .hidden-items li.img-icon1, #theGame .game-area .buttons-list li#icon1 {
  top: 60%;
}
#theGame .game-area .hidden-items li.img-icon2, #theGame .game-area .buttons-list li#icon2 {
  top: 34%;
  left: 36.3%;
}
#theGame .game-area .hidden-items li.img-icon3, #theGame .game-area .buttons-list li#icon3 {
  top: 24.4%;
  right: 42%;
}
#theGame .game-area .hidden-items li.img-icon4, #theGame .game-area .buttons-list li#icon4 {
  bottom: 30%;
  right: 29.6%;
}
#theGame .game-area .hidden-items li.img-icon5, #theGame .game-area .buttons-list li#icon5 {
  top: 30%;
  left: 23.6%;
}
#theGame .game-area .hidden-items li.img-icon6, #theGame .game-area .buttons-list li#icon6 {
  top: 72%;
  left: 5.6%;
}
}