html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
}

#boardContainer {
  width: 100%;
  height: calc(100vh - 250px);
  margin-top: 200px;
  overflow: hidden;
  position: relative;
}

#buttonContainer {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  background-color: black;
}


#slidesContainer {
  display: flex; 
  flex-direction: column; 
  margin-left: 50px;  
}

.slider {
  display: flex; 
  flex-direction: row; 
  margin-bottom: 10px;
}


.sound-icon {
  position: absolute;
  top: 25px;
  right: 15px;
  font-size: 32px;
  cursor: pointer;
  z-index: 1000;
  user-select: none;
}

#counterContainer {
  position: fixed;
  top: 120px;
  right: 100px;
  z-index: 1000;
}

#scoreContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.3); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050; /* boven de meeste content */
}

.scoreContent {
  width: 400px;
  color: black;
  background-color: white;
  padding: 20px;
  margin-bottom: 1rem;  
  border: 1px solid transparent;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
}

#highScoreContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.3); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050; /* boven de meeste content */
}

.highScoreContent {
  width: 450px;
  height: auto;
  color: black;
  background-color: white;
  padding: 20px;
  margin-bottom: 1rem;  
  border: 1px solid transparent;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center; 
  background-image: url('/static/images/achtergrond4.jpg');
  background-size: cover;
}


#endGameContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.3); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050; /* boven de meeste content */
}

.endGameContent {
  width: 350px;
  height: 340px;
  color: black;
  background-color: white;
  padding: 20px;
  margin-bottom: 1rem;  
  border: 1px solid transparent;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  background-image: url('/static/images/achtergrond.jpg');
}

.endGameText{
  font-size: 24px;
  font-weight: normal;
  font-family: 'Luckiest Guy', cursive;
  color: orange;
}

#startContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
}

.startContent {
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  text-align: center;
}

#playerContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 1050;
}

.playerContent {
  width: 350px;
  height: 200px;
  color: black;
  background-color: white;
  padding: 20px;
  margin-bottom: 1rem;  
  border: 1px solid transparent;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  background-image: url('/static/images/achtergrond3.jpg');
  background-size: cover;
}

.inputPlayer {
  font-size: 24px;
  font-weight: normal;
  font-family: 'Luckiest Guy', cursive;
  color: royalblue;
  background-color: transparent;
  text-align: center;
  caret-color: black;
  border: none;
  outline: none;
}

input::placeholder {
  color: #99999981;
}

.inputPlayer:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

#endGameScore{
    display: inline-block;
    width: 150px;
    height: 150px;
    line-height: 150px;
    font-size: 62px;
    font-weight: normal;
    font-family: 'Luckiest Guy', cursive;
    border: 5px solid yellow;
    border-radius: 50%;

    background: linear-gradient(135deg, #FFD700, #FF4500);

    color: white;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.button {
  padding: 12px 24px;
  font-size: 24px;
  font-weight: normal;
  font-family: 'Luckiest Guy', cursive;
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.play-button {
    background: linear-gradient(145deg, #6dde81, #28a745);
}

.order-button {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.highscore-button {
    background: linear-gradient(135deg, #FFD700, #FF4500);
}

button:disabled {
    color: #6c757d;
    background-color: #e0e0e0;
    cursor: default;
    opacity: 0.65;
    transform: none;
    transition: none;
    animation: none;
}

.start-button {
  width: 250px;
  padding: 12px 24px;
  font-size: 62px;
  font-weight: normal;
  font-family: 'Luckiest Guy', cursive;
  border: none;
  border-radius: 50px;
  color: white;
  background: linear-gradient(145deg, #6dde81, #28a745);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.options-text {
  color: white;
  background-color: black; 
  margin-top: 1px;
  width: 60px;
  font-size: 14px;
  font-weight: normal;
  font-family: 'Luckiest Guy', cursive;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.counter {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 52px;
    font-weight: normal;
    font-family: 'Luckiest Guy', cursive;
    border: 5px solid yellow;
    border-radius: 50%;

    background: linear-gradient(135deg, #00c6ff, #0072ff);

    color: white;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.titel {
  font-size: 32px;
  font-weight: normal;
  font-family: 'Luckiest Guy', cursive;
  color: orange;
}

.image-wrapper {
  position: relative;
  width: 376px;
  height: 539px;
}

.image-wrapper img {
  width: 376px;
  height: 539px;
  display: block;  
}

.scoreOverlay {
  position: absolute;
  font-family: Arial, sans-serif;
  font-size: 18px;
  width: 30px;
  height: 20px;
  text-align: right;
  cursor: pointer;
}

.scoreOverlay-done {
  font-family: Arial, sans-serif;
  font-size: 18px;
  width: 30px;
  height: 20px;
  text-align: right;
  cursor: none;
}

.scoreUnused {
  color: limegreen;
}
.scoreUsed {
  color: black;
  cursor: none;
}
.scoreNone {
  color: red;
}

.enen-pos {
  top: 125px;
  left: 156px;
}
.tweeen-pos {
  top: 145px;
  left: 156px;
}
.drieen-pos {
  top: 165px;
  left: 156px;
}
.vieren-pos {
  top: 185px;
  left: 156px;
}
.vijven-pos {
  top: 206px;
  left: 156px;
}
.zessen-pos {
  top: 226px;
  left: 156px;
}
.deel1_subtot-pos {
  top: 246px;
  left: 156px;
  color: black;
}
.bonus-pos {
  top: 266px;
  left: 156px;
  color: black;
}
.deel1_tot-pos {
  top: 286px;
  left: 156px;
  color: black;
}
.dezelfde3-pos {
  top: 331px;
  left: 156px;
}
.carre-pos {
  top: 352px;
  left: 156px;
}
.fullhouse-pos {
  top: 372px;
  left: 156px;
}
.kleine_straat-pos {
  top: 392px;
  left: 156px;
}
.grote_straat-pos {
  top: 413px;
  left: 156px;
}
.yahtzee-pos {
  top: 433px;
  left: 156px;
}
.kans-pos {
  top: 453px;
  left: 156px;
}
.deel2_tot-pos {
  top: 473px;
  left: 156px;
  color: black;
}
.deel1b_tot-pos {
  top: 494px;
  left: 156px;
  color: black;
}
.tot_gen-pos {
  top: 514px;
  left: 156px;
  color: black;
}


/* media */
@media (max-width: 768px) {

  .sound-icon {
    display: none;
  }

  .button {
    width: 150px;
    margin-bottom: 5px;
  }

  #buttonContainer {
    top: 10px;
    left: 10px;
  }

  #counterContainer {
    top: 140px;
    right: 70px;
  }

  #slidesContainer {
    margin-left: 10px;
  }

  .slider input[type="range"] {
    width: 100px;
  }
}
