@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Import nunito font */

/* cyrillic-ext */
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 200 1000;
  src: url(fonts/Nunito-Italic.ttf) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 200 1000;
  src: url(fonts/Nunito-Italic.ttf) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 200 1000;
  src: url(fonts/Nunito-Italic.ttf) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
    U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 200 1000;
  src: url(fonts/Nunito-Italic.ttf) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 200 1000;
  src: url(fonts/Nunito-Italic.ttf) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  src: url(fonts/Nunito.ttf) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  src: url(fonts/Nunito.ttf) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  src: url(fonts/Nunito.ttf) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
    U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  src: url(fonts/Nunito.ttf) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  src: url(fonts/Nunito.ttf) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#root {
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

* {
  user-select: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  object-fit: contain;
}

input {
  user-select: text;
}

body {
  padding: 0;
  margin: 0;
  background: #d4d4d4;

  font-family: "Nunito", sans-serif;
}

/*
 /$$$$$$$$                                        
| $$_____/                                        
| $$        /$$$$$$   /$$$$$$   /$$$$$$   /$$$$$$ 
| $$$$$    /$$__  $$ /$$__  $$ /$$__  $$ /$$__  $$
| $$__/   | $$  \__/| $$  \__/| $$  \ $$| $$  \__/
| $$      | $$      | $$      | $$  | $$| $$      
| $$$$$$$$| $$      | $$      |  $$$$$$/| $$      
|________/|__/      |__/       \______/ |__/      
*/

.somethingWentWrongDiv {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  gap: 10px;

  z-index: 10000;
  background: rgba(0, 0, 0, 1);
  color: #fff;
}

#trollImage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10%;
}

#trollImage img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 30vw;
  object-fit: contain;
  border-radius: 20px;
}

.errorInfo {
  width: 100%;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.errorCode {
  font-size: 32px;
}

/*
Auction sign
*/

.auctionSign {
  width: 256px;
  height: 256px;
  background: #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: calc(50vh - 128px);
  left: calc(50vw - 128px);
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s;
  border: 8px solid #000;
  transform: translateY(-200vh);
}

.auctionSign p {
  text-align: center;
  font-weight: bold;
  font-size: 3em;
  color: #333;
  margin: 0;
}

@keyframes flyOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-200vh);
    opacity: 0;
  }
}

@keyframes flyIn {
  0% {
    transform: translateY(-200vh);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.auctionSign.fly-out {
  animation: flyOut 1s forwards;
}

.auctionSign.fly-in {
  animation: flyIn 1s forwards;
}

/*
 /$$   /$$                       /$$          
| $$  | $$                      | $$          
| $$  | $$  /$$$$$$   /$$$$$$$ /$$$$$$        
| $$$$$$$$ /$$__  $$ /$$_____/|_  $$_/        
| $$__  $$| $$  \ $$|  $$$$$$   | $$          
| $$  | $$| $$  | $$ \____  $$  | $$ /$$      
| $$  | $$|  $$$$$$/ /$$$$$$$/  |  $$$$/      
|__/  |__/ \______/ |_______/    \___/        
*/

.hostIntermission {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1002;
  background: rgba(255, 255, 255, 0.92);
  gap: 32px;
}

.hostImage {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 8px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

#hostDialogueText {
  min-height: 60px;
  max-width: 600px;
  font-family: "Nunito", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #222;
  background: #fff;
  border: 6px solid #000;
  border-radius: 18px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.18);
  padding: 28px 36px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.4;
  word-break: break-word;
  transition: background 0.2s, color 0.2s;
}

/* 
 /$$$$$$$                      /$$                                                               /$$
| $$__  $$                    | $$                                                              | $$
| $$  \ $$  /$$$$$$   /$$$$$$$| $$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$   /$$ /$$$$$$$   /$$$$$$$
| $$$$$$$  |____  $$ /$$_____/| $$  /$$/ /$$__  $$ /$$__  $$ /$$__  $$| $$  | $$| $$__  $$ /$$__  $$
| $$__  $$  /$$$$$$$| $$      | $$$$$$/ | $$  \ $$| $$  \__/| $$  \ $$| $$  | $$| $$  \ $$| $$  | $$
| $$  \ $$ /$$__  $$| $$      | $$_  $$ | $$  | $$| $$      | $$  | $$| $$  | $$| $$  | $$| $$  | $$
| $$$$$$$/|  $$$$$$$|  $$$$$$$| $$ \  $$|  $$$$$$$| $$      |  $$$$$$/|  $$$$$$/| $$  | $$|  $$$$$$$
|_______/  \_______/ \_______/|__/  \__/ \____  $$|__/       \______/  \______/ |__/  |__/ \_______/
                                         /$$  \ $$
                                        |  $$$$$$/
                                         \______/
*/

.background-div {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
}

.background-div img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.background-div img:nth-of-type(1) {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(calc(-100% * 0.35));
}

.background-div img:nth-of-type(2) {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateX(calc(100% * 0.35));
}

#moneyBackground {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.rain {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.7;
  z-index: -1;
}

/* 
 /$$                                 /$$ /$$                    
| $$                                | $$|__/                    
| $$        /$$$$$$   /$$$$$$   /$$$$$$$ /$$ /$$$$$$$   /$$$$$$ 
| $$       /$$__  $$ |____  $$ /$$__  $$| $$| $$__  $$ /$$__  $$
| $$      | $$  \ $$  /$$$$$$$| $$  | $$| $$| $$  \ $$| $$  \ $$
| $$      | $$  | $$ /$$__  $$| $$  | $$| $$| $$  | $$| $$  | $$
| $$$$$$$$|  $$$$$$/|  $$$$$$$|  $$$$$$$| $$| $$  | $$|  $$$$$$$
|________/ \______/  \_______/ \_______/|__/|__/  |__/ \____  $$
                                                       /$$  \ $$
                                                      |  $$$$$$/
                                                       \______/ 
*/

.loadingDiv {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: white;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1000;
  transition: opacity 500ms;
  opacity: 100%;
}

.loadingDiv.hidden {
  opacity: 0%;
  transition: opacity 500ms;
}

.loading-img {
  max-width: 50%;
  max-height: 50%;
  aspect-ratio: 5/1;

  animation: loadingSpinner 6s ease-in-out infinite;
}

@keyframes loadingSpinner {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(360deg);
  }
  50% {
    transform: rotate(720deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

/*
 /$$$$$$$  /$$                                               /$$       /$$$$$$             /$$
| $$__  $$| $$                                              | $$      |_  $$_/            | $$
| $$  \ $$| $$  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$       | $$        | $$    /$$$$$$$ /$$$$$$
| $$$$$$$/| $$ |____  $$| $$  | $$ /$$__  $$ /$$__  $$      | $$        | $$   /$$_____/|_  $$_/
| $$____/ | $$  /$$$$$$$| $$  | $$| $$$$$$$$| $$  \__/      | $$        | $$  |  $$$$$$   | $$
| $$      | $$ /$$__  $$| $$  | $$| $$_____/| $$            | $$        | $$   \____  $$  | $$ /$$
| $$      | $$|  $$$$$$$|  $$$$$$$|  $$$$$$$| $$            | $$$$$$$$ /$$$$$$ /$$$$$$$/  |  $$$$/
|__/      |__/ \_______/ \____  $$ \_______/|__/            |________/|______/|_______/    \___/
                         /$$  | $$
                        |  $$$$$$/
                         \______/
*/
.playerList {
  display: flex;
  width: 100%;
  height: 140px;
  padding: 16px 0;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-shrink: 0;

  background: rgba(255, 255, 255, 1);
  border-top: 8px solid #000;
}

.player {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  align-self: stretch;
}

.player svg {
  height: 100%;
  transition: transform 0.2s ease;
}

.player svg.bidCalled {
  transform: translateY(-210%) scale(1.4);
}

.playerNickname {
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/*
 /$$      /$$           /$$   /$$     /$$                    
| $$  /$ | $$          |__/  | $$    |__/                    
| $$ /$$$| $$  /$$$$$$  /$$ /$$$$$$   /$$ /$$$$$$$   /$$$$$$ 
| $$/$$ $$ $$ |____  $$| $$|_  $$_/  | $$| $$__  $$ /$$__  $$
| $$$$_  $$$$  /$$$$$$$| $$  | $$    | $$| $$  \ $$| $$  \ $$
| $$$/ \  $$$ /$$__  $$| $$  | $$ /$$| $$| $$  | $$| $$  | $$
| $$/   \  $$|  $$$$$$$| $$  |  $$$$/| $$| $$  | $$|  $$$$$$$
|__/     \__/ \_______/|__/   \___/  |__/|__/  |__/ \____  $$
                                                    /$$  \ $$
                                                   |  $$$$$$/
                                                    \______/ 
*/

.waitingScreenDiv {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  gap: 40px;

  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
}

.waitingText {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.flyOutDiv {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  gap: 40px;

  z-index: 1001;
  background: rgba(255, 255, 255, 0.6);
}

.flyOutCountdown {
  color: #000;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;

  background: #b2fba5;
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 20px 40px;
}

/*
 /$$      /$$           /$$                 /$$      /$$                              
| $$$    /$$$          |__/                | $$$    /$$$                              
| $$$$  /$$$$  /$$$$$$  /$$ /$$$$$$$       | $$$$  /$$$$  /$$$$$$  /$$$$$$$  /$$   /$$
| $$ $$/$$ $$ |____  $$| $$| $$__  $$      | $$ $$/$$ $$ /$$__  $$| $$__  $$| $$  | $$
| $$  $$$| $$  /$$$$$$$| $$| $$  \ $$      | $$  $$$| $$| $$$$$$$$| $$  \ $$| $$  | $$
| $$\  $ | $$ /$$__  $$| $$| $$  | $$      | $$\  $ | $$| $$_____/| $$  | $$| $$  | $$
| $$ \/  | $$|  $$$$$$$| $$| $$  | $$      | $$ \/  | $$|  $$$$$$$| $$  | $$|  $$$$$$/
|__/     |__/ \_______/|__/|__/  |__/      |__/     |__/ \_______/|__/  |__/ \______/ 
*/
.mainMenuDiv {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  gap: 40px;

  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
}

.connectionInfo {
  position: absolute;
  left: 150px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.connectionInfo p {
  padding: 0;
  margin: 0;
}

.mainMenuButtonsAndTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mainMenuButtonsAndTitle .nicknameInput {
  border: 2px solid #000;
  border-radius: 8px;
  padding: 8px;
  font-size: 20px;
}

.mainMenuButtonsAndTitle .primaryButton {
  border-radius: 12px;
  border: 5px solid #000;
  background: rgb(178, 251, 165);
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 100ms;

  color: #000;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-variant: all-small-caps;

  padding: 5px 15px;
}

.mainMenuButtonsAndTitle .primaryButton:hover {
  transition: all 100ms;
  background: rgb(122, 172, 113);
}

.mainMenuButtonsAndTitle .primaryButton:active {
  transition: all 10ms;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25), inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.mainMenuButtonsAndTitle img {
  max-width: 35%;
  object-fit: contain;
  width: 100%;
}

/*
 /$$$$$$$           /$$             /$$     /$$
| $$__  $$         |__/            | $$    |__/
| $$  \ $$ /$$$$$$  /$$ /$$$$$$$  /$$$$$$   /$$ /$$$$$$$   /$$$$$$
| $$$$$$$/|____  $$| $$| $$__  $$|_  $$_/  | $$| $$__  $$ /$$__  $$
| $$____/  /$$$$$$$| $$| $$  \ $$  | $$    | $$| $$  \ $$| $$  \ $$
| $$      /$$__  $$| $$| $$  | $$  | $$ /$$| $$| $$  | $$| $$  | $$
| $$     |  $$$$$$$| $$| $$  | $$  |  $$$$/| $$| $$  | $$|  $$$$$$$
|__/      \_______/|__/|__/  |__/   \___/  |__/|__/  |__/ \____  $$
                                                          /$$  \ $$
                                                         |  $$$$$$/
                                                          \______/
*/
.paintingDiv {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.mainPaintingScreen {
  display: flex;
  justify-content: center;
  align-self: center;
  height: 100%;
  width: 100%;
  min-height: 0;
}

.leftPart {
  padding: 20px;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.rightPart {
  width: 50%;
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: left;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.paintingAndToolset {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 0;
}

.toolSet {
  display: flex;
  width: 20%;
  height: 100%;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;

  border-radius: 12px;
  border: 8px solid #000;
  background: #fff;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
}

.colorSet {
  display: grid;
  row-gap: 10px;
  column-gap: 10px;
  flex-shrink: 0;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.color {
  width: 100%;
  flex: 1 0 0;
  aspect-ratio: 1 / 1;

  border: 3px solid #000;
  border-radius: 8px;
  cursor: pointer;
  transition: all 100ms;
  padding: 0;
}

.color:hover {
  transition: all 100ms;
  filter: brightness(85%);
}

.color:active {
  transition: all 10ms;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.colorSelector {
  flex: 1 0 0;
  align-self: stretch;
  grid-row: 5 / span 2;
  grid-column: 1 / span 3;
  aspect-ratio: 3 / 2;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.colorSelector::-webkit-color-swatch-wrapper {
  padding: 0;
}
.colorSelector::-webkit-color-swatch {
  border: none;
}

.painting {
  height: 100%;
  aspect-ratio: 4 / 5;

  border-radius: 12px;
  border: 8px solid #000;
  background: #fff;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
}

.drawingTheme {
  width: 70%;
  display: flex;
  padding: 15px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  border: 8px solid #000;
  background: #fff;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
}

.drawingTheme p:nth-of-type(1) {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.drawingTheme p:nth-of-type(2) {
  color: #000;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.timer {
  color: #000;
  font-size: 72px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;

  background: rgba(255, 255, 255, 1);
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);

  padding: 15px 30px;
}

.theToolSet {
  height: 100%;
  width: 100%;
  height: auto;
  display: grid;
  gap: 10px;
  justify-content: center;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(2, 1fr);
}

.tool {
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 1 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #fff;
  border: 4px solid #000;
  border-radius: 10px;
  box-shadow: 4px 4px 2px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 100ms, box-shadow 100ms;
}

.tool:hover {
  background: #f0f0f0;
  box-shadow: 6px 6px 4px 0 rgba(0, 0, 0, 0.22);
}

.tool:active {
  background: #e0e0e0;
  box-shadow: 2px 2px 1px 0 rgba(0, 0, 0, 0.18), inset 2px 2px 5px rgba(0, 0, 0, 0.18);
}

.tool.selected {
  background: #71ff6c;
  box-shadow: 6px 6px 4px 0 rgba(0, 0, 0, 0.22);
}

.tool.inactive {
  background: #a0a0a0;
  box-shadow: none;
  cursor: not-allowed;
}

.toolSetDivider {
  width: 100%;
  border: 2px solid #000;
}

.tool.filled img {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.opacityAndSize {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#brushSize,
#opacityRange {
  width: 100%;
  appearance: none;
  background: #e6e6e6;
  height: 12px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  border: 2px solid #000;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.1);
  margin-top: 6px;
  margin-bottom: 6px;
  transition: background 100ms;
}

#brushSize:focus,
#opacityRange:focus {
  background: #d0ffd0;
}

#brushSize::-webkit-slider-thumb,
#opacityRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b2fba5;
  border: 3px solid #000;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.18);
  transition: background 100ms;
}
#brushSize:active::-webkit-slider-thumb,
#opacityRange:active::-webkit-slider-thumb {
  background: #7aac71;
}

#brushSize::-moz-range-thumb,
#opacityRange::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b2fba5;
  border: 3px solid #000;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.18);
  transition: background 100ms;
}
#brushSize:active::-moz-range-thumb,
#opacityRange:active::-moz-range-thumb {
  background: #7aac71;
}

#brushSize::-webkit-slider-runnable-track,
#opacityRange::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 8px;
  background: #e6e6e6;
  border: 2px solid #000;
}

#brushSize:focus,
#opacityRange:focus {
  outline: none;
}

#brushSize,
#opacityRange {
  scrollbar-width: none;
}

.clearCanvas.confirmationRequest {
  background-color: #f8ff6c;
}

.clearCanvas.confirmed {
  background-color: #71ff6c;
}

.clearCanvas img {
  height: 100%;
  aspect-ratio: 1 / 1;
  color: #000;
}

.submitPaintingButton {
  width: 100%;
  padding: 6px;
  border-radius: 12px;
  border: 5px solid #000;
  background: #71ff6c;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 100ms;
  cursor: pointer;

  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.submitPaintingButton:hover {
  transition: all 100ms;
  background: rgb(122, 172, 113);
}

.submitPaintingButton:active {
  transition: all 10ms;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25), inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}

/*
  /$$$$$$                        /$$     /$$                    
 /$$__  $$                      | $$    |__/                    
| $$  \ $$ /$$   /$$  /$$$$$$$ /$$$$$$   /$$  /$$$$$$  /$$$$$$$ 
| $$$$$$$$| $$  | $$ /$$_____/|_  $$_/  | $$ /$$__  $$| $$__  $$
| $$__  $$| $$  | $$| $$        | $$    | $$| $$  \ $$| $$  \ $$
| $$  | $$| $$  | $$| $$        | $$ /$$| $$| $$  | $$| $$  | $$
| $$  | $$|  $$$$$$/|  $$$$$$$  |  $$$$/| $$|  $$$$$$/| $$  | $$
|__/  |__/ \______/  \_______/   \___/  |__/ \______/ |__/  |__/
*/

.auctionDiv {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
}

.auctionDiv > div:nth-of-type(1) {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 40px;
  padding: 20px;
}

.auctionDiv .leftPart {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  width: 50%;
  height: 100%;
  justify-content: center;
}

.auctionCanvas {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  aspect-ratio: 4 / 5;

  background: rgba(255, 255, 255, 1);
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
}

.auctionCanvas img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.countdownOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.countdownNumber {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10em;
  font-weight: bold;
  color: rgba(255, 0, 0, 0.5);
  animation: countdownFlyIn 1s ease-out;
  pointer-events: none;
}

/* Maybe redo the animation to be more of a "drop" effect? */
@keyframes countdownFlyIn {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
}

#bidButtons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

#currentBidder {
  font-size: 0.9em;
  color: #27ae60;
  margin-top: 10px;
}

.bidControlling {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;

  background: rgba(255, 255, 255, 1);
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 20px 30px;
}

.bidControlling p {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin: 0;
  color: #000;
}

.bidControlling p span {
  font-weight: 700;
  color: #2d5016;
}

.bidButton {
  border-radius: 12px;
  border: 5px solid #000;
  background: rgb(178, 251, 165);
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 100ms;
  cursor: pointer;

  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-variant: all-small-caps;

  padding: 8px 20px;
  min-width: 120px;
}

.bidButton:hover {
  transition: all 100ms;
  background: rgb(122, 172, 113);
}

.bidButton:active {
  transition: all 10ms;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25), inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.bankButton {
  border-radius: 12px;
  border: 5px solid #000;
  background: rgb(178, 251, 165);
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 100ms;
  cursor: pointer;

  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-variant: all-small-caps;

  padding: 8px 20px;
  min-width: 120px;
  margin-top: 10px;
}

.bankButton:hover {
  transition: all 100ms;
  background: rgb(122, 172, 113);
}

.bankButton:active {
  transition: all 10ms;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25), inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}

.auctionDiv .lists {
  display: flex;
  position: fixed;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: auto;
  height: auto;
  top: 20px;
  right: 20px;
  justify-content: center;
}

.hintsList {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;

  background: rgba(255, 255, 255, 1);
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 20px 30px;
}

.hintsList::before {
  content: "Art Value Hints";
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.artHint {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.artHint:last-child {
  border-bottom: none;
}

.balanceStatus {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;

  background: rgba(255, 255, 255, 1);
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 20px 30px;
}

.balanceStatus p {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin: 0;
  color: #000;
  line-height: 1.5;
}

.balanceStatus p span {
  font-weight: 700;
  color: #2d5016;
}

/*
 /$$$$$$$                      /$$      
| $$__  $$                    | $$      
| $$  \ $$  /$$$$$$  /$$$$$$$ | $$   /$$
| $$$$$$$  |____  $$| $$__  $$| $$  /$$/
| $$__  $$  /$$$$$$$| $$  \ $$| $$$$$$/ 
| $$  \ $$ /$$__  $$| $$  | $$| $$_  $$ 
| $$$$$$$/|  $$$$$$$| $$  | $$| $$ \  $$
|_______/  \_______/|__/  |__/|__/  \__/
*/

.bankDiv {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
}

.bankLogo {
  max-width: 50%;
  object-fit: contain;
}

.bankTimer {
  font-size: 2em;
  font-weight: bold;
  color: #e74c3c;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.loanButton {
  border-radius: 12px;
  border: 5px solid #000;
  background: rgb(178, 251, 165);
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 100ms;
  cursor: pointer;

  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;

  padding: 8px 20px;
  min-width: 120px;
}

.loanButton:hover {
  transition: all 100ms;
  background: rgb(122, 172, 113);
}

.loanButton:active {
  transition: all 10ms;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25), inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}

/*
 /$$$$$$$$                 /$$        /$$$$$$                                                   
| $$_____/                | $$       /$$__  $$                                                  
| $$       /$$$$$$$   /$$$$$$$      | $$  \__/  /$$$$$$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$$ 
| $$$$$   | $$__  $$ /$$__  $$      |  $$$$$$  /$$_____/ /$$__  $$ /$$__  $$ /$$__  $$| $$__  $$
| $$__/   | $$  \ $$| $$  | $$       \____  $$| $$      | $$  \__/| $$$$$$$$| $$$$$$$$| $$  \ $$
| $$      | $$  | $$| $$  | $$       /$$  \ $$| $$      | $$      | $$_____/| $$_____/| $$  | $$
| $$$$$$$$| $$  | $$|  $$$$$$$      |  $$$$$$/|  $$$$$$$| $$      |  $$$$$$$|  $$$$$$$| $$  | $$
|________/|__/  |__/ \_______/       \______/  \_______/|__/       \_______/ \_______/|__/  |__/
*/

.endScreen {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
}

.gameoverDialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 600px;
  width: 90%;

  background: rgba(255, 255, 255, 1);
  border: 8px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 40px 30px;
}

.gameoverDialog > p {
  color: #000;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  text-align: center;

  border-bottom: 3px solid #000;
}

.gameoverDialog .leaderboard-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gameoverDialog .leaderboard-title {
  color: #000;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding-bottom: 10px;
}

.gameoverDialog .leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gameoverDialog .leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 8px;
  box-shadow: 4px 4px 2px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease;
}

.gameoverDialog .leaderboard-item.player-row {
  background: #f0f8ff;
  border-color: #2d5016;
  border-width: 4px;
}

.gameoverDialog .leaderboard-rank {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.gameoverDialog .rank-number {
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gameoverDialog .rank-number.first {
  background: #ffd700;
  color: #000;
}

.gameoverDialog .rank-number.second {
  background: #c0c0c0;
  color: #000;
}

.gameoverDialog .rank-number.third {
  background: #cd7f32;
  color: #fff;
}

.gameoverDialog .player-name {
  color: #000;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.gameoverDialog .player-pnl {
  color: #2d5016;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.gameoverDialog .player-pnl.negative {
  color: #d32f2f;
}

.gameoverDialog button {
  border-radius: 12px;
  border: 5px solid #000;
  background: rgb(178, 251, 165);
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25);
  transition: all 100ms;
  cursor: pointer;

  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-variant: all-small-caps;

  padding: 12px 25px;
  min-width: 200px;
}

.gameoverDialog button:hover {
  transition: all 100ms;
  background: rgb(122, 172, 113);
}

.gameoverDialog button:active {
  transition: all 10ms;
  box-shadow: 8px 8px 4px 0 rgba(0, 0, 0, 0.25), inset 2px 2px 5px rgba(0, 0, 0, 0.25);
}
