
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url("images/tlor.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
h2 {
    text-align: center;
}


header, footer {
    background-color: #470a29;
    color: white;
    text-align: center;
    padding: 1em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
nav ul li {
    display: inline;
    margin: 0 10px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.kafelki {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.kafelek {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5b3a57cc;
    padding: 20px 40px;
    text-decoration: none;
    color: #f5f3f3;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 200px;
    height: 150px;
    text-align: center;
}

.kafelek:hover {
    transform: scale(1.05);
    background-color: #3d1f36;
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.galeria img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid rgb(137, 48, 100);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.galeria img:hover {
    transform: scale(1.05);
}

.link-zewnetrzny {
    background-color: #fff2f5;
    border: 2px solid #cc787f;
    padding: 20px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 1.2em;
}

.link-zewnetrzny a {
    color: #470a17;
    text-decoration: none;
    font-weight: bold;
}

.link-zewnetrzny a:hover {
    color: #cc787f;
    text-decoration: underline;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
}

thead {
    background: linear-gradient(90deg, #724274, #3d274e);
    color: white;
}

th, td {
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

tbody tr:hover {
    background-color: #f0f8ff;
    cursor: default;
}

tbody tr:last-child td {
    border-bottom: none;
}
section {
    margin-bottom: 60px;
}
