body {
    margin: 0;
    font-family: sans-serif;
}

/* ten kwadracik od checkboxa zeby byl i dzialal, ale niewidoczny */
#menu-toggle {
    display: none;
}

#main-nav {
    display: flex;
    padding: 15px 5px;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(38, 38, 38);
    color: white;
}

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* to jest style od kresek menu burger */
.hamburger > span {
    background-color: white;
    width: 30px;
    height: 4px;
    display: block;
    border-radius: 20%;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 60px;
    left: -150%;
    height: calc(100vh - 65px);
    background-color: #444;
    padding: 20px 15px;
    box-sizing: border-box;
    width: 100vw;
    transition: all 0.3s;
    z-index: 9999;
}
.nav-links li { margin: 15px 0;}
.nav-links a{ color: rgb(201, 199, 199); text-decoration: none; font-size: 1rem; display: block; width: 100%;}

#menu-toggle:checked ~ .nav-links {left: 0}
#menu-toggle:checked ~ label span:first-child{display: none;}
#menu-toggle:checked ~ label span:nth-child(2){rotate: -45deg; top: 5px;}
#menu-toggle:checked ~ label span:nth-child(3){rotate: 45deg; top: -5px}


@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        height: auto;
        width: auto;
        flex-direction: row;
        position: static;
        background-color: transparent;
        z-index: 9999;
        
    }
    .nav-links li { margin: 0 15px;}
    .nav-links a { font-size: 1.2rem;}
}

#tlo {
    background-image: url("kawa.jpg");
    aspect-ratio: 16/9;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.content {
    background-color: rgba(154, 75, 7, 0.5);
    color: rgb(255, 255, 255);
    padding: 20px;
    max-width: 300px;
    max-height: 23  0px;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    margin-left: 20px;

    justify-content: space-between;
    position: absolute;
    font-family: "Georgia", "Times New Roman", serif;
    
}

.btn{
    border-radius: 12%; 
    background-color: rgb(208, 141, 74);
    text-align: center;
    font-weight: bold;
    font-family: "Georgia", "Times New Roman", serif;
}

.text {
    font-size: 2rem;
    font-weight: 600;
    margin: 40px 0 20px;
    text-align: center;
    color: rgb(60, 40, 20);
    font-family: "Georgia", "Times New Roman", serif;
}


.produkty {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 20px;
}

.produkt {
    background-color: rgba(208, 141, 74, 0.826);
    color: rgb(0, 0, 0);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: transform 0.25s, box-shadow 0.25s;
    font-size: 1.3rem;
    font-weight: 600;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    font-style: italic  ;
    aspect-ratio: 4 / 3;
}

.produkt i {
    font-size: 2.5rem;
}

.produkt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

.footer {
    background-color: rgb(38, 38, 38);
    color: white;
    text-align: center;
    padding: 15px 5px;
}
.produkt img {
    width: 80px;          /* stały rozmiar – zawsze działa */
    height: 80px;
    object-fit: cover;    /* ładne przycięcie */
    border-radius: 15px;  /* zaokrąglenie */
    display: block;
    margin: 0 auto;
}