body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 2em;
  background: #f4f4f4;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-button {
  text-decoration: none;
  background: #333;
  color: white;
  padding: 0.5em 1em;
  border-radius: 5px;
}
form {
  background: white;
  padding: 1em;
  border-radius: 8px;
  max-width: 500px;
  margin: auto;
}
label {
  display: block;
  margin-top: 1em;
}
input, select, textarea {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.5em;
}
button {
  margin-top: 1em;
  padding: 0.5em 1.5em;
}
.entry {
  background: #fff;
  padding: 1em;
  margin: 1em auto;
  border-radius: 8px;
  max-width: 600px;
}
.status {
  display: inline-block;
  padding: 0.3em 1em;
  border-radius: 12px;
  margin-top: 0.5em;
}
.gray { background-color: #ccc; }
.green { background-color: #6fbf73; color: white; }
.red { background-color: #e57373; color: white; }
.error-msg {
  color: red;
}
/* Tło strony */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('img/giphy3.gif') no-repeat center center fixed;
  background-size: cover;
}

/* Półprzezroczyste tło dla treści */
.overlay {
  background-color: rgba(0, 0, 0, 0.6); /* przyciemnienie */
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  color: white;
}

/* Formularz i przyciski */
form {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  color: #000;
  max-width: 500px;
  margin: 0 auto;
}

/* Nagłówek i przycisk admina */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.admin-button {
  text-decoration: none;
  background: #ffffff;
  color: #000000;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #0077ff;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #005fd1;
}
main h2 {
  text-align: center;
  color: orange;
  font-weight: 600;
}
.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  color: white;
  font-size: 1.2em;
  pointer-events: none;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}
/* Mały przycisk w lewym górnym rogu */
#toggleMusicBtn {
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

#toggleMusicBtn:hover {
  background: rgba(255, 255, 255, 0.5);
}


