body{
    position: relative;
    margin:0px;
    padding:0px;
    background-color: #F5E6D3;
    font-family: 'Nunito', sans-serif;
    background-image: url(light-table.png);
    background-size: cover;
}

.craft{
    background-image: url(craft.png) !important;
    background-blend-mode: multiply;
    background-size: cover !important;
}

#floating-finger {
  position: absolute;
  width: 50px;
  pointer-events: none;
  opacity: 0;
  transition: top 0.2s, left 0.2s, opacity 0.1s;
  z-index: 1000;
}

.hand-sensitive-ui{
    cursor: none;
}

.animate-wiggle {
  animation: wiggle 0.5s infinite ease-in-out;
}

.container{
    max-width: 1000px;
    margin: auto;
    padding: 24px;
    flex-direction: column;
}


.chocolat-background {
    background-color:#b06b36;
}

.latte-background {
    background-color:#f8e3c5;
}

.coffee-background {
    background-color:#F5E6D3;
}

.lemon-background {
    background-color:#FDDF93;
}

.orange-background {
    background-color:#F6C080;
}

.azur-background {
    background-color:#80BBDE;
}

.pink-background {
    background-color:#F7C9C9;
}

.leaf-background {
    background-color:#b6c647;
}

.red-background {
    background-color: #db653d;
}

.purple-background {
    background-color: #DACBEC;
}


.chocolat-color {
    color:#fff1cd;
}


.dark-chocolat-color {
    color:#623514;
}

.latte-color {
    color:#f8e3c5;
}

.coffee-color {
    color:#F5E6D3;
}

.grid-background {
    border-radius: 20px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FEF9F6;
    background-image: url(diagonal-grid.png);
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-animation: bg-scrolling-reverse 4s infinite;
    -moz-animation:    bg-scrolling-reverse 4s infinite;
    -o-animation:      bg-scrolling-reverse 4s infinite;
    animation:         bg-scrolling-reverse 4s infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function:    linear;
    -o-animation-timing-function:      linear;
    animation-timing-function:         linear;
    box-shadow: 0 5px 0 #92572c, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 0 0 7px #eeca9a inset !important;
}

.whiteboard-background{
    background:#FEF9F6;
    border-radius: 20px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-leaderboard{
    margin: 48px 30%;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.leaderboard-item{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.list-leaderboard-left{
    margin-right: auto;
    display: flex;
    gap: 4px;
    text-shadow: none;
}

.list-leaderboard-left .player-card-button{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.list-leaderboard-rank{
    height: 55px;
    width: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border-radius: 20px;
    font-weight: bold;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.list-leaderboard-right{
    margin-left: auto;
    display: flex;
    gap: 24px;
    text-shadow: none;
}

.list-leaderboard-score{
    display: flex
    ;
    flex-direction: column;
    justify-content: center;
}

.list-leaderboard-right i{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 26px;
}



.game-board, .key-board {
}

.game-board-header{
    display: flex;
    justify-content: space-between;
}

.round-counter-container{
    margin: auto 0;
    font-weight: bolder;
}

.round-counter{
    font-weight: bolder;
}

.section {
    margin: 12px 0;
    position: relative;
}

.word-board {
}

.game-status {
    display: flex;
    gap: 12px;
}

.coffee-icon-button{
    display: flex;
    /*cursor: pointer;*/
    border-radius: 20px;
    margin-bottom: 12px;
    margin-top: auto;
    height: 64px;
    width: 64px;
    min-height: 64px;
    min-width: 64px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    font-weight: bold;
}

.button-craft {
    width: calc(100% - 24px);
    padding: 16px 12px;
}

.small-button{
    height: 52px;
    width: 52px;
    min-height: 52px;
    min-width: 52px;
    padding: 0px;
}

.coffee-icon-button > i {
    font-weight: bold;
}

.coffee-button {
    /*cursor: pointer;*/
    border-radius: 20px;
    padding: 16px;
    margin: 12px 0px;
    width: fit-content;
}

.coffee-button.chocolat-background, .player-card-button.chocolat-background, .coffee-icon-button.chocolat-background{
    box-shadow: 0 0 0 7px #CDAB8E inset;
}

.coffee-button.latte-background, .player-card-button.latte-background, .coffee-icon-button.latte-background{
    box-shadow: 0 0 0 7px #FEF9F6 inset;
}

.coffee-button.coffee-background, .player-card-button.coffee-background, .coffee-icon-button.coffee-background{
    box-shadow: 0 0 0 7px #F5E6D3 inset;
}

.coffee-button.lemon-background, .player-card-button.lemon-background, .coffee-icon-button.lemon-background{
    box-shadow: 0 0 0 7px #FDDF93 inset;
}

.coffee-button.orange-background, .player-card-button.orange-background, .coffee-icon-button.orange-background{
    box-shadow: 0 0 0 7px #F6C080 inset;
}

.coffee-button.azur-background, .player-card-button.azur-background, .coffee-icon-button.azur-background{
    box-shadow: 0 0 0 7px #80BBDE inset;
}

.coffee-button.pink-background, .player-card-button.pink-background, .coffee-icon-button.pink-background{
    box-shadow: 0 0 0 7px #F7C9C9 inset;
}

.coffee-button.leaf-background, .player-card-button.leaf-background, .coffee-icon-button.leaf-background{
    box-shadow: 0 0 0 7px #b6c647 inset;
}

.coffee-button.red-background, .player-card-button.red-background, .coffee-icon-button.red-background{
    box-shadow: 0 0 0 7px #db653d inset;
}

.coffee-button.purple-background, .player-card-button.purple-background, .coffee-icon-button.purple-background{
    box-shadow: 0 0 0 7px #DACBEC inset;
}



.coffee-button:hover, .player-card-button:hover, .coffee-icon-button:hover{
    background-image: url(diagonal-grid.png);
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-animation: bg-scrolling-reverse 1.5s infinite;
    -moz-animation:    bg-scrolling-reverse 1.5s infinite;
    -o-animation:      bg-scrolling-reverse 1.5s infinite;
    animation:         bg-scrolling-reverse 1.5s infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function:    linear;
    -o-animation-timing-function:      linear;
    animation-timing-function:         linear;
}

.player-card-button.active{
    transform: rotateZ(-4deg);
    background-image: url(diagonal-grid.png);
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-animation: bg-scrolling-reverse 1.5s infinite;
    -moz-animation:    bg-scrolling-reverse 1.5s infinite;
    -o-animation:      bg-scrolling-reverse 1.5s infinite;
    animation:         bg-scrolling-reverse 1.5s infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function:    linear;
    -o-animation-timing-function:      linear;
    animation-timing-function:         linear;
}

.input-container {
    /*cursor: pointer;*/
    border-radius: 20px;
    padding: 16px;
    margin: 12px 0px;
    width: fit-content;
}

.input-container input, #game-round, #computer-number{
    outline: none;
    border:none;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color:#623514;
    padding: 0px;
    background:none;
}

.input-container input::placeholder{
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color:#623514;
}

#game-round, #computer-number{
    padding: 12px 0;
    border: none;
    text-align: right;
}

#game-round::placeholder, #computer-number::placeholder{
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    color:#CDAB8E;
}

#word-definition{
    position: absolute;
    right: 100px;
    background: #a4d597;
    padding: 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 24px;
    text-align: justify;
    display: none;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  /*cursor: pointer;*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F5E6D3;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #CDAB8E;
  -webkit-transition: .4s;
  transition: .4s;
}

.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9;
  background: rgb(0 0 0 / 60%);
}

.modal-inner{
  background: #F5DBAC;
  border-radius: 20px;
  padding: 12px 24px;
  max-width: 500px;
  width: 100%;
  margin: 24px;
  color: #623514;
  box-shadow: 0 5px 0 #92572c, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
  border-top: 2px solid #c7834a;
}

.modal-header-menu{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #623514;
  padding-bottom: 12px;
}

.modal-label{
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
}

.modal-close-btn{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  min-width: 48px;
  min-height: 48px;
}

.modal-close-btn i{
  margin: auto;
}

.modal-content{
  margin: 24px 0;
  overflow-y: auto;
  max-height: 50vh;
  scrollbar-color: #CDAB8E transparent;
}


.modal-footer{
  display: flex;
  justify-content: right;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #623514;
}

.modal-footer-btn{
  /*padding: 12px;
  border-radius: 10px;*/
}

.modal-footer-btn.active{
  background: #CDAB8E;
}

input:checked + .slider:before {
  background-color: #623514;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.settings-section {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.settings-item{
    margin: 12px 0;
}

#players-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    height: 150px;
    margin: 24px;
}

.player-card {
    border-radius: 20px;
    height: 55px;
    display: flex;
    justify-content: center;
    text-align: center;
    width: fit-content;
    padding: 0px 12px;
    transition: all 0.5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 8px 17px 2px rgba(0, 0, 0, 0.1), 0 3px 14px 2px rgba(0, 0, 0, 0.1), 0 5px 5px -3px rgba(0, 0, 0, 0.1);*/
    /*cursor: pointer;*/
}

.player-card:hover {
    transform: scale(1.1) rotateZ(0deg) !important;
}

.player-card img {
    width: 42px;
    height: 42px;
    margin: auto 12px auto 0;
}


.player-card-button {
    border-radius: 20px;
    height: 55px;
    display: flex;
    justify-content: center;
    text-align: center;
    width: fit-content;
    padding: 0px 12px;
    opacity: 1;
    /*cursor: pointer;*/
    transition: transform 0.2s;
}

.player-card-button img {
    width: 42px;
    height: 42px;
    margin: auto 12px auto 0;
}

.player-card .player-name {
    margin: auto 0;
    text-shadow: none;
}


.player-card-winner {
    border-radius: 20px;
    height: 55px;
    display: flex;
    justify-content: center;
    text-align: center;
    width: fit-content;
    padding: 0px 12px;
    transform: rotateZ(-8deg) translate(-12px, 0px);
    animation: winner-pulse 1s infinite ease-in-out;
}

.player-card-winner img {
    width: 42px;
    height: 42px;
    margin: auto 12px auto 0;
}

.player-card-winner .player-name {
    margin: auto 0;
}


.section-title {
    text-align: center;
}

#custom-avatar {
    position: relative;
}

#custom-avatar > img {
    transition: transform 0.2s;
    /*cursor: pointer;*/
}

#custom-avatar > img:hover {
    transform: scale(1.1);
}

.color-picker {
    transition: transform 0.2s;
    width: 36px;
    height: 36px;
    border-radius: 50px;
    position: absolute;
    right: -48px;
    /*cursor: pointer;*/
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.color-picker:hover {
    transform: scale(1.1);
}

.color-picker > i {
    pointer-events: none;
}

.square-button {
    /*cursor: pointer;*/
    border-radius: 20px;
    margin: 12px;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    text-shadow: none;
    color:#f8e3c5;
}

.icon-align-right {
    position: relative;
    top: 2px;
}

.key-vowel, .key-consonant {
    cursor: pointer;
    width: 55px;
    height: 55px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    box-sizing: border-box;
    transform: translate(0px, 0px) rotateZ(0deg);
    transition: 0.2s transform;
}


.key-consonant > img{
    width: 40px;
    height: 40px;
    margin: auto;
}

.key-tiny{
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
    transform: translate(0px, 0px) rotateZ(0deg);
    transition: 0.2s transform;
    border: 3px solid #CDAB8E;
    color: #CDAB8E;
}

.key-vowel:hover {
   /*transform: translate(5px, -8px) rotateZ(20deg);*/
   transform: translate(0px, -10px);
}

.key-consonant:hover {
    /*transform: translate(-5px, -8px) rotateZ(-20deg);*/
    transform: translate(0px, -10px);
}
.key-tiny:hover {
    transform: translate(-5px, -8px) rotateZ(-20deg);
}

.key-tiny.active{
    border: 3px solid #A4D597;
    color: #A4D597;
    transform: translate(0px, 0px) rotateZ(0deg);
}

.keys{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: calc(10* 55px + 9* 12px);
    margin: auto;
    justify-content: center;
}

.key-vowel {
    border: 4px solid #FEF9F6;
    color: #FEF9F6;
} 

.key-consonant {
    border: 4px solid #CDAB8E;
    color: #CDAB8E;
}

.small-text {
    font-size: 16px;
    font-weight: bold;
}

.medium-text {
    font-size: 26px;
    font-weight: bold;
}

.large-text {
    font-size: 40px;
    font-weight: bold;
}

.small-picture {
    border-radius: 200px !important;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 0 #6e4121, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}

.large-picture {
    border-radius: 48px;
    width: 148px;
    height: 148px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.user-picture.large-picture img {
    width: 98px;
    height: 98px;
    object-fit: cover;
    margin: auto;
}

.user-picture.small-picture img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    margin: auto;
}

.capitalize-text {
    text-transform: uppercase;
}

.coffee-menu-button{
    width: 230px;
    text-align: center;
}

.game-word, .game-instruction {
   text-shadow: 2px 0 #FEF9F6, -2px 0 #FEF9F6, 0 2px #FEF9F6, 0 -2px #FEF9F6,
   1px 1px #FEF9F6, -1px -1px #FEF9F6, 1px -1px #FEF9F6, -1px 1px #FEF9F6;
   margin: 16px;

   text-shadow: none;
   color:#623514;
}

.player-button{
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.player-button > .button-craft{
    width: fit-content;
}

.special-card-container{
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: hwb(0deg 0% 100% / 30%);
    border-radius: 20px;
}

.flip-card {
    background-color: transparent;
    width: 125px;
    height: 125px;
    perspective: 1000px;
    margin: auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
    border-radius: 50%;
    box-shadow: 0 5px 0 #6e4121, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    display: flex;
    /*outline: #FEF9F6 8px solid;*/
    background-image: url(diagonal-grid.png);
    background-repeat: repeat;
    background-position: 0 0;
    -webkit-animation: bg-scrolling-reverse 1.5s infinite;
    -moz-animation:    bg-scrolling-reverse 1.5s infinite;
    -o-animation:      bg-scrolling-reverse 1.5s infinite;
    animation:         bg-scrolling-reverse 1.5s infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function:    linear;
    -o-animation-timing-function:      linear;
    animation-timing-function:         linear;

}

.flip-card-front img, .special-card img{
    width: 100px;
    height: 100px;
    margin: auto;
}

.flip-card-back {
    display: flex;
    /*outline: #FEF9F6 8px solid;*/
    transform: rotateY(180deg);

        border-radius: 10px;
    background-color: #ECB772;
    color: #623514;
    font-weight: bold;
    border: none;
    box-shadow: 0 5px 0 #A95D19, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    justify-content: center;
    text-align: center;
    flex-direction: column;
    border-top: 2px solid #F5CA87;
    background-image: url(craft.png);
    background-blend-mode: multiply;
    background-size: cover;
}

.special-card {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
}

.wavy-circle {
    position: absolute;
    z-index: 0;
    cursor: pointer;
    animation: rotate-scale 3s infinite linear;
    text-shadow: none;
    --s: 55px;
    width: var(--s); 
    aspect-ratio: 1;
    --g:/calc(var(--s)*0.261) calc(var(--s)*0.261) radial-gradient(50% 50%,#000 99%,#0000 101%) no-repeat;
    mask: calc(50% + var(--s)*0.341) calc(50% + var(--s)*0) var(--g),calc(50% + var(--s)*0.241) calc(50% + var(--s)*0.241) var(--g),calc(50% + var(--s)*0) calc(50% + var(--s)*0.341) var(--g),calc(50% + var(--s)*-0.241) calc(50% + var(--s)*0.241) var(--g),calc(50% + var(--s)*-0.341) calc(50% + var(--s)*0) var(--g),calc(50% + var(--s)*-0.241) calc(50% + var(--s)*-0.241) var(--g),calc(50% + var(--s)*0) calc(50% + var(--s)*-0.341) var(--g),calc(50% + var(--s)*0.241) calc(50% + var(--s)*-0.241) var(--g),radial-gradient(calc(var(--s)*0.433),#000 99%,#0000 101%) subtract,calc(50% + var(--s)*0.5) calc(50% + var(--s)*0.207) var(--g),calc(50% + var(--s)*0.207) calc(50% + var(--s)*0.5) var(--g),calc(50% + var(--s)*-0.207) calc(50% + var(--s)*0.5) var(--g),calc(50% + var(--s)*-0.5) calc(50% + var(--s)*0.207) var(--g),calc(50% + var(--s)*-0.5) calc(50% + var(--s)*-0.207) var(--g),calc(50% + var(--s)*-0.207) calc(50% + var(--s)*-0.5) var(--g),calc(50% + var(--s)*0.207) calc(50% + var(--s)*-0.5) var(--g),calc(50% + var(--s)*0.5) calc(50% + var(--s)*-0.207) var(--g);
}

#popup-keyboard, #popup-player-keyboard{
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0px;
}

.dictionary{
    border-radius: 20px;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dictionary-words{
    display: flex;
    justify-content: center;
    text-align: center;
    opacity: 1;
    transition: transform 0.2s;
    margin: auto 0;
    /*cursor: pointer;*/
    border-radius: 20px;
    padding: 16px;
    width: fit-content;
    height: fit-content;
}

.dictionary-words:hover{
    transform: scale(1.1) rotateZ(0deg) !important;
}

.lobby-section{
    margin: 86px 0 12px 0;
    display: flex;
    justify-content: space-between;
}

#word-area{
    min-height: 55.2px;
}

.game-menu{
    margin: 66px 0px 66px 0px;
    display: flex;
    justify-content: center;
    gap:24px
}

.game-winner{
    display: flex;
    justify-content: center;
    margin: 24px 0px;
}

.floating-space {
    /*animation: floating 4s infinite ease-in-out;
    transition: transform 0.5s ease-out, animation 0.5s ease-out;*/
}

/*.floating-space:hover {
    animation: none;
    transform: translateY(0) translateX(0) rotate(0deg);
}*/

.swiper {
    height: 320px;
    border-radius: 20px;
    padding: 12px 24px !important;
    max-width: 548px;
    width: 100%;
    margin: 24px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.swiper-button-next {
    color: white;
}

.swiper-button-prev {
    color: white;
}

.swiper-slide:nth-child(1n) {
  background-color: rgb(206, 17, 17);
}

.swiper-slide:nth-child(2n) {
  background-color: rgb(0, 140, 255);
}

.swiper-slide:nth-child(3n) {
  background-color: rgb(10, 184, 111);
}

.swiper-slide:nth-child(4n) {
  background-color: rgb(211, 122, 7);
}

.swiper-slide:nth-child(5n) {
  background-color: rgb(118, 163, 12);
}

.swiper-slide:nth-child(6n) {
  background-color: rgb(180, 10, 47);
}

.swiper-slide:nth-child(7n) {
  background-color: rgb(35, 99, 19);
}

.swiper-slide:nth-child(8n) {
  background-color: rgb(0, 68, 255);
}

.swiper-slide:nth-child(9n) {
  background-color: rgb(218, 12, 218);
}

.swiper-slide:nth-child(10n) {
  background-color: rgb(54, 94, 77);
}

#waiting-room-display{
    padding: 14px;
    display: flex;
    gap: 6px;
    flex-direction: row;
}

.icon-align-right {
    position: relative;
    top: 2px;
}

#room-id-code{
    margin: auto;
}

.container-craft {
    border-radius: 20px;
    background-color: #EECA9A;
    color: #f8e3c5;
    font-weight: bold;
    border: none;
    box-shadow: 0 5px 0 #92572c, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    border-top: 2px solid #F5DBAC;
    text-shadow: -1px 0 #92572c, 0 1px #92572c, 1px 0 #92572c, 0 -1px #92572c;
    margin: 12px 0px;
}

.button-craft {
    border-radius: 20px;
    font-weight: bold;
    border: none;
    box-shadow: 0 5px 0 #92572c, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    border-top: 2px solid #c7834a;
    text-shadow: -1px 0 #92572c, 0 1px #92572c, 1px 0 #92572c, 0 -1px #92572c;
    margin: 12px 0px;
}

.button-craft:hover {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #92572c, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2)
}



/*.button-craft:active {
    transform: translateY(0);
    box-shadow: 0 2px 0 #92572c, 0 1px 4px rgba(0, 0, 0, 0.1);
}*/

.key-vowel.scrabble, .key-consonant.scrabble {
    width: 55px;
    height: 55px;
    font-size: 26px;
    box-sizing: border-box;
    transform: translate(0px, 0px) rotateZ(0deg);
    border-radius: 10px;
    background-color: #ECB772;
    color: #623514;
    font-weight: bold;
    border: none;
    box-shadow: 0 5px 0 #A95D19, 0 2px 8px rgba(0, 0, 0, 0.15), 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    border-top: 2px solid #F5CA87;
    background-image: url(craft.png);
    background-blend-mode: multiply;
    background-size: cover;

}

.key-vowel.scrabble::after, .key-consonant.scrabble::after {
  /*content: attr(data-score);*/
  content: '2';
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 12px;
  color: #5C4033;
  opacity: 0.8;
}

.scrabble:hover {
   /*transform: translate(5px, -8px) rotateZ(20deg);*/
   transform: translate(0px, -10px);
}

.align-left {
    margin-right: auto;
}

.align-right {
    margin-left: auto;
}

.align-center {
    margin-right: auto;
    margin-left: auto;
}

.align-vertical-center {
    margin-top: auto;
    margin-bottom: auto;
}



@media only screen and (max-width: 600px) {

    .swiper{
        max-width: calc(100% - 48px);
    }

    .lobby-section{
        flex-direction: column;
    }

    .coffee-button{
        width: 100%;
        padding: 16px 12px;
        text-align: center;
    }

    .coffee-menu-button{
        width: 100%;
        padding: 16px 0px;
    }

    .button-craft {
        width: calc(100% - 24px);
        padding: 16px 12px;
    }

    .keys{
        width: 100%;
    }

    .section {
        margin: 24px 0px;
        flex-direction: column;
    }

    .key-board{
        display: flex;
        gap: 24px;
        flex-direction: column;
        margin: 48px 0px;
    }

    .container{
        height: calc(100vh - 48px);
        justify-content: space-between;
    }

    .game-menu{
        margin: 66px 0px 66px 0px;
        flex-direction: column;
        gap:0px;
    }

    .game-board-header {
        flex-direction: row;
    }

    .player-card-winner {
        padding: 0px 12px;
        margin: 12px auto;
        transform: rotateZ(0deg) translate(0px, 0px);
        animation: winner-pulse-mb 1s infinite ease-in-out;
    }

    .game-winner{
        text-align: center;
        flex-direction: column;
    }

    .list-leaderboard {
        margin: 48px 12px;
        gap: 24px;
    }

    .list-leaderboard-left {
        gap: 4px;
    }

    .list-leaderboard-rank {
        height: 55px;
        width: 40px;
        border-radius: 20px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .list-leaderboard-left .player-card-button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    #waiting-room-display{
        padding: 14px;
        display: flex;
        gap: 6px;
    }

    .icon-align-right {
        position: relative;
        top: 2px;
        font-weight: bold;
    }

    #room-id-code{
        margin: auto;
    }

    #players-list{
        height: 250px;
    }

    #floating-finger{
        display: none !important;
    }

    .small-button{
        height: 52px;
        width: 52px;
        min-height: 52px;
        min-width: 52px;
        padding: 0px;
    }

}


@keyframes wiggle {
  0%, 100% {
    transform: translateX(0);
}
50% {
    transform: translateX(5px);
}
}

@keyframes winner-pulse {
    0% {
        -webkit-transform: scaleX(1) rotateZ(-8deg) translate(-12px, 0px);
        transform: scaleX(1) rotateZ(-8deg) translate(-12px, 0px);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05) rotateZ(-8deg) translate(-12px, 0px);
        transform: scale(1.05) rotateZ(-8deg) translate(-12px, 0px);
    }
    100% {
        -webkit-transform: scaleX(1) rotateZ(-8deg) translate(-12px, 0px);
        transform: scaleX(1) rotateZ(-8deg) translate(-12px, 0px);
    }
}

@keyframes winner-pulse-mb {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale(1.05);
    }
    100% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@keyframes rotate-scale {
    0% {
        transform: rotate(0deg) scale(1);
    }
    20% {
        transform: rotate(72deg) scale(1.2);
    }
    40% {
        transform: rotate(144deg) scale(1);
    }
    60% {
        transform: rotate(216deg) scale(1);
    }
    80% {
        transform: rotate(288deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-webkit-keyframes bg-scrolling-reverse {
  100% { background-position: 100px 100px; }
}
@-moz-keyframes    bg-scrolling-reverse {
  100% { background-position: 100px 100px; }
}
@-o-keyframes      bg-scrolling-reverse {
  100% { background-position: 100px 100px; }
}
@keyframes         bg-scrolling-reverse {
  100% { background-position: 100px 100px; }
}

@-webkit-keyframes bg-scrolling {
  0% { background-position: 100px 100px; }
}
@-moz-keyframes    bg-scrolling {
  0% { background-position: 100px 100px; }
}
@-o-keyframes      bg-scrolling {
  0% { background-position: 100px 100px; }
}
@keyframes         bg-scrolling {
  0% { background-position: 100px 100px; }
}


@keyframes bg-button {
  0% {
    background-position: 0 0;
}
100% {
    background-position: 400px 0;
}
}

.wavy {
  animation-name: wavy;
  animation-duration: 4s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  position: relative;
  top: 0;
  left: 0;
}

@keyframes wavy {
  0% {
    top: 0px;
}
20% {
    top: -15px;
}
40% {
    top: 0px;
}
100% {
    top: 0px;
}
}

@keyframes floating {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) translateX(2px) rotate(1deg);
    }
    50% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) translateX(-2px) rotate(-1deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
}




