.container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, #fce3f0, #ff89ba);
    border-radius: 20px;
    padding: 20px;
    flex-wrap: wrap;
}
.info-box {
    background: linear-gradient(to bottom, #ffcbe7, #fdc6dd);
    border-radius: 20px;
    padding: 25px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.intro-text {
    flex: 1 1 60%;
}

.intro-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.intro-text p {
    font-size: 18px;
}

.intro-image {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
}

.intro-image img {
    width: 300px;
    border-radius: 20px;
}
.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: space-between;
}

.games, .interests, .links {
    flex: 1 1 30%;
}

.gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery img {
    width: 100px;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.interests ul {
    list-style-type: none;
    padding: 0;
}

.interests li {
    background-color: #ff9ccf;
    margin: 8px 0;
    padding: 10px;
    border-radius: 10px;
}

.links a {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #df6f9c;
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.links a img {
    width: 24px;
    height: 24px;
}
/*format tekstu*/
h2{ 
    font-family: 'Segoe Script';
    font-family: 45px;
}
h3{
    font-size: 25px;
    font-family: 'Segoe UI';
}
p, li {
    font-family: 'Segoe UI';
    font-size: 16px;
    

 }

/* Podstawowe ustawienia strony */
html, body {
    height: 100%;
    margin: 0;
    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;
}
/* 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;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    margin: 10px;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin: 5px 0;
    font-size: 18px;
  }

  .container, .content, .main {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}