* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: #eef1f4;
  color: #061e3b;
  font:
    16px/1.6 Arial,
    sans-serif;
}
header {
  background: #061e3b;
  color: white;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a {
  color: #ffda00;
  font-weight: 900;
  text-decoration: none;
}
header form {
  margin: 0;
}
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 22px;
}
h1 {
  font-size: 36px;
  line-height: 1.1;
}
h2 {
  margin-top: 0;
}
section {
  padding: 32px;
  background: white;
  border: 1px solid #d7dfe6;
  border-top: 4px solid #ffda00;
  margin: 25px 0;
  border-radius: 4px;
}
.auth {
  max-width: 540px;
  margin: 50px auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #a9b6c4;
  border-radius: 3px;
  font: 16px Arial;
  margin-top: 6px;
  background: #fff;
  color: #061e3b;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
}
.check input {
  width: auto;
  margin: 0;
}
button {
  background: #ffda00;
  color: #061e3b;
  padding: 12px 22px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}
button:hover {
  background: #ffe65d;
}
.danger {
  background: #ffe7e7;
  color: #9b1515;
  margin-top: 12px;
}
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tabs a {
  background: #061e3b;
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 3px;
}
fieldset {
  border: 1px solid #cfd8df;
  margin: 20px 0;
  padding: 15px;
}
legend {
  font-weight: 700;
}
.entries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.entries article {
  border: 1px solid #cbd7e2;
  padding: 20px;
}
.entries h3 {
  margin-top: 0;
}
.thumb {
  max-width: 230px;
  max-height: 150px;
  object-fit: cover;
  display: block;
}
hr {
  border: 0;
  border-top: 1px solid #dde3e8;
  margin: 35px 0;
}
.error,
.success {
  padding: 16px;
  border-left: 5px solid #b00020;
  background: #ffe8ed;
}
.success {
  border-color: #176b3a;
  background: #e0f7e9;
}
footer {
  text-align: center;
  padding: 35px;
  color: #586b7b;
  font-size: 13px;
}
a {
  color: #164f8a;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8d6b00;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .grid,
  .entries {
    grid-template-columns: 1fr;
  }
  section {
    padding: 22px;
  }
  header {
    flex-wrap: wrap;
  }
  header span {
    display: none;
  }
  h1 {
    font-size: 30px;
  }
}
select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #a9b6c4;
  border-radius: 3px;
  font: 16px Arial;
  margin-top: 6px;
  background: #fff;
  color: #061e3b;
}
select:focus-visible {
  outline: 3px solid #8d6b00;
  outline-offset: 3px;
}
#sponsorzy .thumb {
  background: #fff;
  object-fit: contain;
  margin-bottom: 16px;
}
#zdjecia .entries article {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
