/* Ajout d'un numéro de version pour forcer le rafraîchissement du cache navigateur */

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: url('/img/fond.png') repeat;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

header {
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.logo {
  display: block;
  max-width: 350px;
  width: 80%;
  height: auto;
  margin: 20px auto 10px;
}

.slogan {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px #000;
}

h1 {
  text-align: center;
  font-size: 2em;
  margin: 10px 0 20px;
}

.vote-box, .result-box, form.vote-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  margin-top: 15px;
  padding: 12px 20px;
  background: #0078d7;
  color: white;
  border: none;
  border-radius: 5px;
  width: 100%;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background: #005bb5;
}

p {
  text-align: center;
  font-size: 1em;
}

@media (max-width: 600px) {
  .slogan {
    font-size: 1em;
  }
  h1 {
    font-size: 1.5em;
  }
}
