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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
background: rgb(254,0,78);
background: linear-gradient(90deg, rgba(254,0,78,1) 0%, rgba(27,27,27,1) 50%, rgba(254,0,78,1) 100%);
color: white;
    padding: 20px;
    text-align: center;
}

.logo img {
    max-width: 150px;
}

h1 {
    margin-top: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.tile {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tile h2 {
    color: #007BFF;
}

.tile p {
    font-size: 0.9em;
    color: #666;
}

/* Stylizacja kafelka powrotu */
.return-tile {
    background: #28a745;
    color: white;
    margin-top: 20px; /* Odstęp od górnych kafelków */
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.return-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.animation-container {
    display: none;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #e7f3fe;
    border: 1px solid #b8daff;
}

footer {
    text-align: center;
    padding: 10px;
background: rgb(27,27,27);
background: linear-gradient(90deg, rgba(27,27,27,1) 25%, rgba(254,0,78,1) 50%, rgba(27,27,27,1) 75%);
color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}
