body {
    margin: 0;
    font-family: Arial, sans-serif;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color:  rgb(180, 180, 180);
}

img {
    max-width: 100%;
    height: auto;
}

.srodek {
    background-image: url(kawa\ z\ tła.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 800px;

    display: grid;
    place-items: center;
}

.kontener {
    display: flex;
    align-items: center;
    align-self: center;
}
.okienko {
    background: rgba(0, 165, 14, 0.4);
    padding: 20px;
    border-radius: 10px;
}

.button {
    background-color: black;
    color: white;
    height: 40px;
    cursor: pointer;
    width: 80px;
    text-align: center;
}

.logo {
    cursor: pointer;
    height: 75px;
    width: 100px;
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #606060;
    position: fixed;
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background-color: black;
    width: 25px;
    height: 3px;
    margin: 2px;
}

#menu-toggle {
    display: none;
}

html {
    scroll-behavior: smooth;
}

main {
    position: static;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: rgb(0, 155, 0, 0.3);
    color: black;
    text-align: center;
    margin: 0;
    padding: 5px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    align-items: top;
}

main h2 {
    font-size: 40px;
    grid-column: 1 / 4;
}

main div {
    border-color: 1px black;
    background-color: rgb(0, 155, 0, 0.3);
    padding: 5px;
    font-size: 20px;
    text-align: center;
    display: grid;
    grid-row: 2;
    margin: 5%;
    font-family: "Iosevka Charon Mono", monospace;
    font-style: normal;
}

.nav-links {
    margin: 0;
    padding: 0;
    display: flex;
    box-sizing: border-box;
    list-style: none;
    position: absolute;
    width: 100vw;
    height: auto;
    left: -100%;
    top: 50px;
    transition: 500ms;
    flex-direction: column;
    align-items: center;
}

#menu-toggle:checked ~ .nav-links {
    left: -80%;
    gap: 35px;
    padding-top: 35px;
    background-color: #606060;
    color: white;
    padding-left: 80%;
}

#menu-toggle:checked ~ .nav-links {left: 0;}
#menu-toggle:checked ~ .hamburger {position: relative; justify-content: center;}
#menu-toggle:checked ~ .hamburger span {position: absolute; right: 0;}
#menu-toggle:checked ~ .hamburger span:first-child {display: none;}
#menu-toggle:checked ~ .hamburger span:nth-child(2) {rotate: 45deg;}
#menu-toggle:checked ~ .hamburger span:nth-child(3) {rotate: -45deg;}

.nav-links li {
    margin: 10px;
}

.nav-links li a {
    text-decoration: none;
    color: black;
    
}

.mrożona {
    background: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2)),
    url(Kawa\ mrożona.png);
    background-size: cover;
}

.espresso {
    background: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2)),
    url(Kawa\ espresso.png);
    background-size: cover;
}

.latte {
    background: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2)),
    url(Kawa\ latte.png);
    background-size: cover;
}

footer {
    position: static;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #606060;
    width: 100%;
}

.listakontaktowa {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
    #main-nav {
        display: flex;
        flex-direction: row;
    }
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
    }
}