h1{
    background-color: rgb(255, 139, 185);
    margin-left: 150px;
    margin-right: 150px;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: solid 2px #fff;
    font-size: 40;
    font-family: 'Segoe Script';
}
h2{
    font-size: 35px;
    font-family: 'Segoe Script';
}
h3{
    font-size: 25px;
    font-family: 'Segoe Script';
}
hr{
    background-color: white;
    border: none;
    margin-left: 10px;
    margin-right: 10px;
    height: 2px;
}
section{
    background-color: rgb(255, 139, 185);
    margin-left: 150px;
    margin-right: 150px;
    border-radius: 20px;
    padding-top: 10px;
    border: solid 2px #fff;
}
article{
    overflow: hidden; /*obrazek się nie rozjedzie poza pudełko */
    padding-left: 20px;
    padding-right: 20px; 
    padding-top: 10px;
    text-align: justify; 
    text-indent: 20px;
}
.plakat{
    width: 300px; 
    height: 400px;
    float: right; 
    margin-left: 20px; 
    margin-top: 20px;
    margin-bottom: 20px; 
    border-radius: 8px; 
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    
}
/* Stopka */
footer {
    background-color: rgb(255, 139, 185);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    z-index: 1000;
}

/* Podstawowe ustawienia strony */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI';
    background-image: url("../img/tlo.png");
    background-size: cover; 
    background-repeat: repeat; 
    background-position: center;
    display: flex;
    flex-direction: column;
}

/* Główna belka z nazwą + nawigacja */
header {
    background-color: rgb(255, 139, 185);
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #fff;
}

header p {
    font-weight: 500;
    margin: 0;
    font-size: 16px;
}

/* Nawigacja główna – pozioma lista */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

/* Linki menu */
nav ul li a {
    text-decoration: none;
    color: #000;
    padding: 8px 12px;
    border-radius: 12px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
/* Tekst w stopce */
footer p {
    margin: 8px 0;
}

.stópka {
    font-size: 12px;
    margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .game-card {
    width: 100%;
    margin-bottom: 20px;
  }

  .category-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h2 {
    font-size: 1.3em;
  }
}
