body{
    margin: 0%;
    font-family: 'JetBrainsMono Nerd Font Mono', Arial,sans-serif;
    background-color: #181825;
    color: aliceblue;
}
*{
    padding: 0%;
    margin: 0%;
}
#main-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #CBA6F7;
}
.hamburger{
    display: flex;
    flex-direction: column;
}
.hamburger span.kreska{
    background-color: aliceblue;
    width: 25px;
    height: 3px;
    margin: 2px;
    cursor: pointer;
}
#menu-toggle{
    display: none;
}
main{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav-links{
    border: 2px solid #CBA6F7;
    margin: 0;
    margin-left: 12.5%;
    margin-top: 5%;
    margin-right: auto;
    padding: 0;
    display: flex;
    list-style: none;
    position: absolute;
    box-sizing: border-box;
    width: 75vw;
    height: calc(25vh);
    background-color: #1E1E2E;
    left: -1000%;
    top: 52px;
    align-items: center;
    flex-direction: column;
    transition: 0.5s;
    border-radius: 7.5%;
    z-index: 10;
}
.nav-links li a {
    text-decoration: none;
    color:white
}
.nav-links li{
    margin: 10px;
}
.X{
    display: flex;
    flex: row;
    width: 95%;
    justify-content: flex-end;
    text-decoration: none;
    color:white
}
#hero_coś_tam{
    background-image: url(tocadamanu-coffee-3868124_1920.jpg);
    background-size: cover;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-bottom: 25px solid #CBA6F7;
}
#hero_coś{
    width: 70%;
    height: 50%;
    background-color: rgba(203, 166, 247, 0.5);
    border-radius: 5%;
    text-align: center;
    align-content: center;
    position: relative;
}
#hero_coś p{
    color: bisque;
    font-size: large;
    font-weight: bold;
}
#gatunki_kawy{
    margin: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5%;
}
.cudo{
    text-align: center;
    align-content: center;
    background-color: #1E1E2E;
    height: 150px;
    border: 4px solid #CBA6F7;
    border-radius: 7.5%;
    transition: 0.5s;
    padding: 25px;
}
.cudo:hover{
    transform: translate(0px,-7px);
    box-shadow: 0px 6px black;
}
#onas{
    text-align: center;
}
div img{
    width: 100%;
    height: 90%;
}
footer{
    margin: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* selector ~ wybiera rodzeństwo czyli inne elementy na tym samym poziomie gdy warumek jest spełniony */
#menu-toggle:checked ~ .nav-links {left: 0;}
    /* media działa na duży rozmiar ekranu */
    @media (min-width: 768px) {
        .hamburger span.kreska{
            display: none;
        }
        .X{
            display: none;
        }
        .nav-links{
            width: auto;
            height: auto;
            position:static;
            background: none;
            flex-direction: row;
            margin: 0px;
            border: 0px;
        }
        #gatunki_kawy{
            margin-right: 0%;
            margin-left: 0%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            width: 100%;
            justify-self: center;
            grid-template-columns: repeat(3, 1fr);
        }
        .cudo{
            width: 250px;
        }
        #hero_coś{
            width: 400px;
            right: 10%;
        }
        #onas{
            width: 80%;
        }
    }