body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A1C30;
    color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.wrapper {
    max-width: 1300px;
    margin: 40px auto;
    padding: 30px;
    margin-top: 5px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

#logo {
    font-weight: 700;
    font-size: 24px;
    color: #f8f9fa;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #f8f9fa;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

nav ul li a:hover {
    opacity: 1;
}

.main {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.box, .projektZdalna {
    background-color: #bfdfff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    height: 120px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5px solid #ffffff;
}

.box:hover, .projektZdalna:hover {
    transform: scale(1.05);
}

.box a, .projektZdalna a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;

}

.box a:hover, .projektZdalna a:hover {
    color: #015fd2;
}

.sklep {
    background-color: #98ccff;
    grid-column: span 3; /* Czyli kafelek "Sklep" będzie rozciągnięty przez całą szerokość */
    margin-bottom: 30px;
    height: 80px;
}

footer {
    margin-top: 20px;
    padding-top: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    font-size: 16px;
    color: #f8f9fa;
}

/* ... (Twój obecny kod CSS) ... */

/* Styl dla tabletów i mniejszych ekranów */
@media only screen and (max-width: 768px) {

    .wrapper {
        padding: 20px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 20px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Zmieniamy na dwie kolumny */
        gap: 15px;
    }

    .sklep {
        grid-column: span 2; /* Dostosowujemy kafelek "Sklep" */
        margin-bottom: 15px;
    }
     

    .box, .projektZdalna {
        height: auto; /* Aby dostosować wysokość kafelków do zawartości */
        padding: 15px;
    }

}

/* Styl dla telefonów komórkowych i mniejszych ekranów */
@media only screen and (max-width: 480px) {

    .grid-container {
        grid-template-columns: 1fr; /* Teraz mamy tylko jedną kolumnę */
        gap: 15px;
    }

    .sklep {
        grid-column: span 1; /* Dostosowujemy kafelek "Sklep" */
        margin-bottom: 15px;
    }

    .box, .projektZdalna {
        padding: 10px;
    }

}
