* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

body a {
    color: #333
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    width: 125px;
    height: auto;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a,
.social-links a,
.big-part a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px
}

.nav-links a:hover,
.social-links a:hover, {
    color: #39b549;
}

.social-links {
    display: flex;
    gap: 0.25rem;
}

.social-links i {
    font-size: 2rem;
    transition: all 0.3s ease
}

.big-part {
    padding: 7.5px 20px;
    background-color: #39b349;
    border-radius: 50px;
    border: 1px solid #39b349;
    transition: all 0.3s ease
}

.big-part i {
    margin-right: 5px;
    font-size: 1.25rem;
    color: white
}

.big-part a {
    color: white;
    align-items: center;
    display: flex
}

.big-part:hover {
    background-color: #2ea03b
}

.social-links i:hover,
.nav-links a:hover {
    color: #39b349;
}

@media (max-width: 1100px) {
  nav {
    flex-wrap: wrap;
    gap: 1rem;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
  }

  .nav-links,
  .social-links,
  .big-part {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
    
    .big-part {
        flex-basis: 50%;
    }

  .big-part {
    justify-content: center;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo {
    align-self: center;
  }
}

@media (max-width: 600px) {
  .nav-links a,
  .social-links a,
  .big-part a {
    font-size: 0.9rem;
  }

  .social-links i {
    font-size: 1.75rem;
  }

  .big-part {
    padding: 6px 16px;
  }

  .logo img {
    width: 125px;
  }
 
  .big-part {
        flex-basis: 90%;
    }
}

/* blog */

.wpisy-wszystkie a {
    text-decoration: none
}

.wpis-kafelek {
    display: flex;
    width: 80%;
    position: relative;
    flex-direction: row;
    margin: auto auto 20px;
    padding: 30px;
    -webkit-box-shadow: 8px 8px 24px 0px rgba(51, 51, 51, 1);
    -moz-box-shadow: 8px 8px 24px 0px rgba(51, 51, 51,0,3);
    box-shadow: 8px 8px 24px 0px rgba(51, 51, 51, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpis-kafelek:hover {
    transform: translateY(-10px);
    box-shadow: 8px 12px 28px 0px rgba(51, 51, 51, 0.5);
}

.wpis-kafelek img {
    display: flex;
    align-items: center;
    align-content: center
}

.img-wpisu {
    width: 450px;
    height: 270px;
    margin-right: 25px;
    margin: auto 25px auto 0
}

.img-wpisu img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    align-content: center
}

.data-czas-wpisu {
    font-weight: 300; font-style: italic; font-size: 0.9rem; margin: auto 0
}

.text-wpisu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.text-wpisu h2 {
    font-size: 2.25rem;
    margin-bottom: 15px
}

.text-wpisu p {
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}

@media (max-width:1025px) {
    .img-wpisu {
    width: 300px;
    height: 300px;
    margin-right: 25px;
    margin: auto 25px auto 0
    }
    
    .text-wpisu h2 {
    font-size: 1.75rem;
    margin-bottom: 10px
    }
    
    .text-wpisu p {
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}
}

@media (max-width:750px) {
    .img-wpisu {
    width: 200px;
    height: 250px;
    margin-right: 25px;
    margin: auto 25px auto 0
    }
    
    .text-wpisu h2 {
    font-size: 1.5rem;
    margin-bottom: 10px
    }
    
    .text-wpisu p {
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}
}

@media (max-width:500px) {
    .wpis-kafelek {
    display: flex;
    width: 95%;
    position: relative;
    flex-direction: column;
    margin: auto auto 10px;
    padding: 20px;
    }
    
    .img-wpisu {
    width: 300px;
    height: 220px;
    margin: auto auto 10px
    }
    
    .text-wpisu h2 {
    font-size: 1.5rem;
    margin-bottom: 10px
    }
    
    .text-wpisu p {
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}
}

@media (max-width:500px) {
    .wpis-kafelek {
        display: flex;
        width: 95%; /* super, że tu jest wartość procentowa */
        position: relative;
        flex-direction: column;
        margin: auto auto 15px; /* delikatnie większy margines dolny */
        padding: 15px; /* odrobinę mniejszy padding, żeby zostawić więcej miejsca na tekst/zdjęcie na małym ekranie */
    }
    
    .img-wpisu {
        width: 100%; /* ZMIANA: Zdjęcie zajmie 100% dostępnej szerokości kafelka */
        height: auto; /* Wysokość dopasuje się sama... */
        aspect-ratio: 16 / 9; /* ...utrzymując ładne, panoramiczne proporcje */
        margin: 0 auto 15px auto;
    }
    
    .text-wpisu h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .text-wpisu p {
        line-height: 1.5;
        margin-bottom: 10px;
        color: #555;
    }
}

/* Styl dla footera */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px 20px;
    text-align: left;
    margin-top: 50px
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-container div {
    flex: 1;
    min-width: 200px;
}

.footer-container h4 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-container p, 
.footer-container ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-container a {
    text-decoration: none;
    color: #39b549;
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: #fff;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
}

.footer-navigation ul li {
    margin-bottom: 10px;
}

.footer-map iframe {
    width: 90%;
    height: 200px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.footer-map p {
    margin-bottom: 15px
}

.footer-socials {
    display: 
}

.footer-socials i {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #39b349;
    transition: color 0.3s ease;
}

.footer-socials i:hover {
    color: #fff;
}

.socialek {
    margin: 10px 0
}

.socialek a{
    align-items: center;
    margin-left: auto;
    display: flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #aaa;
    width: 60%;
    margin: auto
}

.footer-bottom p{
    color: #fff
}

.footer-bottom a {
    color: #39b349;
    text-decoration: none;
    
}

.orl img {
    width: 100px;
    margin-top: 25px
}