body {
  font-family: Arial, sans-serif;
  padding: 40px;
  background-color: rgb(5, 5, 116);
}

h1 {
  color: #333;
}
nav{
background-color: rgb(11, 11, 80);
width: 100%;
height:5rem;
margin-bottom: 100px;
display: flex;
  align-items: center;
  /* wyrównuje pionowo */
  gap: 20px;
  /* odstęp między logo a linkiem */
justify-content: space-between;
}
.navigacja{
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* żeby nawigacja była nad innymi elementami */

      display: flex;
      align-items: center;
      /* wyrównuje pionowo */
      gap: 20px;
      /* odstęp między logo a linkiem */
    
  
}
.logo{
width: 100px;
height: 100px;
}
.linknav{
text-decoration: none;
color: white;
font-size: 2rem;
transition: color 0.2s ease, border-bottom 0.2s ease;
}

.linknav:hover{
border-bottom: 3px solid gray;
color: gray;
}


.Powiadomienie {
  
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #05078f;
  padding: 30px 50px 60px;
  /* więcej paddingu na dole dla guzika */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.5rem;
  transition: top 0.5s ease;
  z-index: 1000;
  max-width: 80%;
  text-align: center;
  position: relative;
}

#closePowiadomienie {
  position: absolute;
  bottom: 15px;
  /* na dole powiadomienia */
  left: 50%;
  transform: translateX(-50%);
  /* wyśrodkuj guzik */
  background-color: #1422a7;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#closePowiadomienie:hover {
  background-color: #072780;
}

#closePowiadomienie:active {
  background-color: #02112c;
}
.pfp{
height: 75px;
width: 75px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 kolumny o równej szerokości */
  gap: 20px;
  /* odstępy między obrazkami */
  max-width: 900px;
  /* maksymalna szerokość grida */
  margin: 50px auto;
  /* wyśrodkowanie i odstęp od góry */
}

.grid-container img {
  width: 100%;
  /* obrazki wypełniają kolumnę */
  border-radius: 10px;
  /* zaokrąglone rogi */
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 50px auto;
}

.grid-item {
  text-align: center;
  /* wyśrodkuj zawartość */
}

.grid-item img {
  width: 100%;
  border-radius: 10px;
}

.price {
  background-color: #04034b;
  color: white;
  padding: 8px;
  border-radius: 6px;
  margin-top: 8px;
  font-weight: bold;
  font-size: 1.2rem;
}