* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inconsolata', monospace;
}

/* Obraz dopasowany do wolnej przestrzeni */
.bottom-image {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* nic nie wystaje */
  padding: 1vh;
}

.bottom-image img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain; /* zachowanie proporcji */
}
body {
  background-color: #ffffff; /* całkowicie białe tło */
  color: #222;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

/* Kontener – szerokość kafelków i obrazka */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
/*21.08.25*/
html, body {
    margin: 3px;
    padding: 3px;
    height: 100%;
    overflow: hidden; /* blokuje przewijanie */
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh; /* zawsze dokładnie wysokość ekranu */
    text-align: center;
    box-sizing: border-box;
}

header {
    flex: 0 0 auto;
}

.bottom-image img {
    max-height: 40vh; /* obrazek dopasowany, żeby się zmieścił */
    max-width: 90vw;
    height: auto;
    width: auto;
}

footer {
    flex: 0 0 auto;
    margin-bottom: 0.9rem;
}


/* Nagłówki */
h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* Menu kafelków */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 20px;
  padding: 15px;
  border: 2px solid #999;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links a:hover {
  background-color: #333;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Ikona SoundCloud */
.social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 20px;
}

.social-icons a {
  font-size: 36px;
  color: #222;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #555;
}

/* Zdjęcie – zawsze tej samej szerokości co kafelki */
.bottom-image {
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
}

.bottom-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Footer dopasowany szerokością */
footer {
  width: 100%;
  max-width: 400px;
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;   /* starsze przeglądarki */
    height: 100dvh;  /* nowsze przeglądarki – działa poprawnie na telefonach */
    text-align: center;
    box-sizing: border-box;
}
:focus {
    outline: none;
}

body {
    caret-color: transparent; /* ukrywa migający kursor tekstowy */
}