* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.apple-logo {
    width: 60px;
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::before {
    transform: scaleX(1);
}

nav ul li a:hover {
    color: rgb(255, 0, 200);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

main {
    padding: 20px;
    text-align: center;
}

.intro {
    text-align: center;
    padding: 150px 20px;
    color: #fff;
    background: url('img/produkty.png') no-repeat center center/cover;
}

.intro-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    
}

.intro p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product {
    text-align: center;
    max-width: 300px;
    flex: 1 1 calc(33.333% - 40px);
}

.product h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-bottom: 10px;
}

.product h3 img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
    display: block;
    margin: 0 auto;
}

.product img:hover {
    transform: scale(1.1);
}

.product p {
    margin-top: 10px;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    .burger {
        display: flex;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: -100%;
        background-color: #000;
        width: 100%;
        transition: left 0.3s ease-in-out;
    }

    nav ul.show {
        left: 0;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .product {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .apple-logo {
        width: 50px;
        height: 50px;
    }

    .product {
        flex: 1 1 100%;
    }
}
