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

body, html {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Arial', sans-serif;
  background-color: #87CEEB;
}

header {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav a {
  text-decoration: none;
  color: #ff6347;
}

h1 {
  margin: 10px 0;
  font-size: 3rem; /* Zvýšení velikosti písma */
  color: #ff6347; /* Barva nadpisu */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Přidání stínu */
}

#mainContent {
  flex: 1;
  max-width: 600px;
  margin: auto;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-title {
  font-size: 2.5rem; /* Zvětšení velikosti písma pro nadpis */
  color: #ff6347; /* Barva nadpisu */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Přidání stínu */
  margin: 20px 0; /* Vzdálenost nadpisu od ostatních prvků */
}

.start-button {
  padding: 12px 25px; /* Zvětšení paddingu pro tlačítko */
  background-color: #4CAF50; /* Zelená barva pro tlačítko */
  color: white;
  border: none;
  border-radius: 10px; /* Zaoblení rohů tlačítka */
  font-size: 20px; /* Zvýšení velikosti písma */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s; /* Přidání transformace pro efekt */
}

.start-button:hover {
  background-color: #45a049; /* Mírné ztmavení barvy při hoveru */
  transform: scale(1.05); /* Mírné zvětšení při hoveru */
}

.infoSection {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  margin: 15px 0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.screen {
  text-align: center;
}

.hidden {
  display: none;
}

canvas {
  display: block;
  background-color: #7CFC00; /* Zelená tráva */
  border: 2px solid #000;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#winnerImage {
  max-width: 80%;
  height: auto;
  margin-top: 15px;
}

footer {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.socials a {
  margin: 0 5px;
}
