/* fonts from  https://fonts.google.com/ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&family=Zilla+Slab:wght@400;600&display=swap');

:root {
    --color1: rgb(0, 0, 0);
    --color2: rgb(89, 103, 83);
    --color3: rgb(255, 255, 255);
}
  
body{
    background-color: var(--color3);
}

#background-green{
    background-color: #4ec252;
}

#background-red{
    background-color: red;
}

.game-heading {
  font-size: 5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 10px #FFD700;
  background: linear-gradient(90deg, #FFD700, #FF8C00, #FF1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowing 3s infinite alternate;
}

@keyframes glowing {
  0% {
    text-shadow: 0px 0px 5px #FFD700, 0px 0px 10px #FF8C00, 0px 0px 15px #FF1493;
  }
  100% {
    text-shadow: 0px 0px 20px #FFD700, 0px 0px 30px #FF8C00, 0px 0px 40px #FF1493;
  }
}

.container {
    display: flex;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

#spacing {
    margin-top: 50px;
    margin-bottom: 50px;
}

.podium-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.left-panel {
    flex: 1;
    background-color: #f4f4f4;
    border-right: 1px solid #ddd;
}

.right-panel {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.title {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f2f2f2;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

th {
    background-color: #c38552;
    color: white;
}

.image-container {
  display: flex;
  position: relative;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: auto;
}

.text-box {
  position: relative;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  height: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#first {
  top: -30px; 
  right: 300px; 
}

#second {
    top: 70px; 
    right: 400px; 
  }

  #third {
    top: 100px; 
    right: 85px; 
  }

#top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
}

#top-left {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
}

.center-text .playername-box {
    border: 2px solid black;
    margin: 50px auto;
    padding: 10px;
    width: 50%;
    box-sizing: border-box;
}

.statements-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.statement-box {
    border: 2px solid black;
    text-align: center;
    padding: 20px;
    width: 150px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: #333;
}

.row {
    display: flex;
    margin-left: 80px;
    margin-right: 80px;
}

.dropdown {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.text-box {
    flex: 1;
    padding: 10px;
    height: 12px;
    font-size: 16px;
    margin-right: 20px;
}

.blue-container {
    width: 50px;
    height: 50px;
    background-color: blue;
}

.submit-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Container for the toggle button */
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Toggle switch styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide the default checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4CAF50;
    transition: 0.4s;
    border-radius: 34px;
}

/* The circle inside the slider */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* When the toggle is checked */
input:checked + .slider {
    background-color: #d84a4a;
}

/* Move the circle inside the slider to the right */
input:checked + .slider:before {
    transform: translateX(26px);
}