@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700&display=swap');

.header {
    background-color: #1c1c1c;
    color: white;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    z-index: 1000;
    height: auto;
}

body {
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
}

/* Nagłówek */
.header h1 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.header p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    font-weight: 400;
}

.header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.header nav a:hover {
    text-decoration: underline;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}


.logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6c757d;
    background-image: url('images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
}


/* Kafelki */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.card-container a {
    text-decoration: none;
    color: inherit;
}

.card-container a:hover {
    text-decoration: none;
}

.card {
    width: 250px;
    height: 250px;
    border-radius: 15px;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.card div {
    color: white;
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #0056b3;
}

/* Urządzenia mobilne */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        height: auto;
        padding: 20px;
    }
}

/* Stopka */
.footer {
    background-color: #1c1c1c;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

/* Opis przed kafelkami */
.description-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.description-box p {
    margin: 0 0 15px 0;
}

.description-box ul {
    padding-left: 20px;
}

.description-box li {
    margin-bottom: 10px;
}
