body {
  background-color: #101e3b;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #f5f5f5;
  font-family: "Montserrat", sans-serif;
}

.czcionka {
  font-family: "Montserrat", sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  background-color: #fff;
  border-bottom: 2px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 20px 20px;
}

.logo img {
  max-width: 30%;
  height: auto;
  display: block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

h1 {
  flex-grow: 1;
  text-align: center;
  font-size: 28px;
  color: #e88302;
  text-shadow: 2px 2px #fff;
}

.main_top {
  padding: 10px;
  max-width: 90%;
  margin: 1vh auto;
  text-align: center;
}

.main_top img {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 8px;
  display: inline-block;
}

@media (max-width: 600px) {
  .main_top {
    padding: 5px;
  }
  .main_top img {
    max-width: 100%;
  }
  h1 {
    font-size: 20px;
  }
  .logo img {
    max-width: 40%;
  }
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#form-imiona {
  margin-bottom: 20px;
  background-color: transparent;
  width: 100%;
}

label {
  margin-right: 10px;
  font-weight: bold;
  display: inline-block;
  width: 150px;
  vertical-align: middle;
}

input[type="text"],
#color-picker,
#emotikon-select {
  width: calc(100% - 160px);
  max-width: 200px;
  padding: 10px;
  margin-top: 5px;
  height: 40px;
  box-sizing: border-box;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.reset-btn,
.butto {
  background-color: #e88302;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: background-color 0.3s;
}

.reset-btn:hover,
.butto:hover {
  background-color: #d99740;
}

#podglad-osob {
  width: 100%;
}

#lista-osob {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

#lista-osob li {
  padding: 5px 0;
  color: #000;
}

#wyniki-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  border: 2px solid red;
}

#wyniki-table th,
#wyniki-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #fa3d00;
}

#wyniki-table th {
  background-color: #e88302;
  color: white;
}

#wyniki-table thead {
  display: none;
}

#wyniki-body tr:nth-child(even) {
  background-color: #f2f2f2;
}

#wyniki-body tr:hover {
  background-color: #ffe4e1;
}

#wyniki-body td {
  background-color: white;
  color: black;
}

.footer-section {
  margin-top: 8vh;
  color: black;
  padding: 20px;
  background-color: #101e3b;
}

.footer-block {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-left: 10%;
  margin-right: 10%;
}

.reset-btn {
  background-color: rgba(200, 200, 200, 0.5);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.button-container button {
  flex: 1;
  margin: 0 5px;
}

@media (max-width: 768px) {
  input[type="text"],
  #color-picker,
  #emotikon-select {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .button-container button {
    margin: 10px 5px;
  }
}
