:root {
  --tekst: #8a5a3c;
  --niebo-gora: #fdf1e4;
  --niebo-dol: #fbf8f1;
  --slonce: rgba(255, 224, 186, 0.75);
  --wzgorze-1: #e3ecd9;
  --wzgorze-2: #d2e1c9;
}

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

html,
body {
  height: 100%;
}

body {
  color: var(--tekst);
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(55vmin 55vmin at 50% 40%, var(--slonce), transparent 70%),
    linear-gradient(var(--niebo-gora), var(--niebo-dol));
  overflow: hidden;
}

main {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vh, 1.5rem);
  padding: 2rem 2rem 8vh;
}

.logo {
  width: clamp(200px, 40vw, 380px);
  height: auto;
  animation: oddech 7s ease-in-out infinite;
}

h1 {
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
  text-align: center;
  animation: pojawienie 1.8s ease-out both;
}

.wzgorza {
  position: fixed;
  inset: auto 0 0 0;
  height: 30vh;
  pointer-events: none;
}

.wzgorze {
  position: absolute;
  border-radius: 50%;
}

.wzgorze-1 {
  left: -25%;
  bottom: -26vh;
  width: 90%;
  height: 40vh;
  background: var(--wzgorze-1);
}

.wzgorze-2 {
  right: -30%;
  bottom: -30vh;
  width: 100%;
  height: 42vh;
  background: var(--wzgorze-2);
}

@keyframes oddech {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pojawienie {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  h1 {
    animation: none;
  }
}
