body {
  background-color: #c69c6d;
  margin: 0;
}

#bgdiv {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  width: 100%;
  background-image: url('gfx/ss.jpg');
  background-repeat: no-repeat;
  opacity: 0.08;
}

#ssbg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
}

#content {
  position: relative;
  text-align: center;
  font-family: "Racing Sans One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2vw;
  color: white;
  line-height: 80%;
}

#logofx, #introdiv, #ldbdiv {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#logofx {
  max-width: 40vw;
}

#introdiv, #ldbdiv {
  width: 75vw;
  border: 0.2vw solid white;
  background-color: #8c6239;
  padding: 2.8vw;
  height: auto;
}

#ldbdiv::after {
  content: "";
  display: table;
  clear: both;
}

#signup {
  background-color: #f7931e;
  border: 0.2vw solid white;
  padding: 0.4vw;
  position: relative;
  text-align: center;
  font-family: "Racing Sans One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2vw;
  color: white;
  text-decoration: none;
}

h1 {
  font-size: 3vw;
}

table {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: "Racing Sans One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2vw;
  color: white;
  line-height: 85%;
  width: 45%;
  float: clear;
}

td {
  padding: 0.4vw;
}

.ltd {
  text-align: right;
  padding-right: 0.4vw;
}

.rtd {
  text-align: left;
  padding-left: 0.4vw;
}

#leaderboardgfx {
  float: left;
  width: 30vw;
}

/* Podium Styles */
.podium-container {
  display: flex;
  justify-content: center;
  align-items: end;
  margin: 2vw 0;
  gap: 1vw;
}

.podium-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 15vw;
}

.podium-medal {
  font-size: 3vw;
  margin-bottom: 1vw;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.podium-place.first {
  order: 2;
}

.podium-place.second {
  order: 1;
}

.podium-place.third {
  order: 3;
}

.podium-base {
  padding: 1vw;
  text-align: center;
  min-height: 4vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.podium-place.first .podium-base {
  background-color: #FFD700; /* Gold */
  background: linear-gradient(180deg, #FFD700 0%, #8c6239 100%);

  color: #ffffff;
  height: 16vw;
}

.podium-place.second .podium-base {
  background-color: #C0C0C0; /* Silver */
  background: linear-gradient(180deg, #C0C0C0 0%, #8c6239 100%);
  color: #ffffff;
  height: 12vw;
}

.podium-place.third .podium-base {
  background-color: #CD7F32; /* Bronze */ 
  background: linear-gradient(180deg, #CD7F32 0%, #8c6239 100%);
  color: #ffffff;
  height: 8vw;
}

.podium-name {
  font-size: 2.5vw;
  margin-bottom: 0.5vw;
}

.podium-amount {
  font-weight: bold;
}

.podium-prize {
  margin-top: 0.3vw;
  font-style: italic;
  color: #0079CA;
}

.podium-prizez {
  margin-top: 0.3vw;
  font-style: italic;
  color: #39b0ff;
}

/* Regular leaderboard styles */
.regular-leaderboard {
  margin-top: 3vw;
}

.regular-leaderboard h2 {
  font-size: 2.5vw;
  margin-bottom: 1vw;
}

#header_w_images {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  margin-bottom: 2vw;
  width: 100%;
}

.header-logo {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: end;
}

.header-fp-image {
  height: 15vw;
  width: auto;
  border-radius: 2vw;
  margin: 1vw
}

.fp-top-left {
  grid-column: 1;
  grid-row: 1;
}

.fp-bottom-left {
  grid-column: 1;
  grid-row: 2;
}

.fp-top-right {
  grid-column: 3;
  grid-row: 1;
}

.fp-bottom-right {
  grid-column: 3;
  grid-row: 2;
}

/* Countdown Timer Styles */
.countdown-container {
  margin-top: 3vw;
}

.countdown-container h2 {
  font-size: 2.5vw;
  margin-bottom: 1vw;
}

#countdown-display {
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

.countdown-unit {
  display: inline-block;
  width: 60px;
  text-align: center;
}

.countdown-unit.milliseconds {
  width: 80px;
}

.countdown-label {
  margin-right: 8px;
}