body {
    /* background: url('zenji.jpg') no-repeat center center fixed, linear-gradient(to right, #1f1f1f, #2c2c2c); */
    background-size: cover;
    color: #00ffcc;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
h1 {
    margin: 20px 0;
    font-size: 2.5em;
    color: #00ffcc;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
h1 .raspberry-icon {
    width: 40px;
    vertical-align: middle;
    margin-left: 10px;
}
.clock-weather-widget {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 2px solid #00ffcc;
    border-radius: 50px;
    padding: 15px;
    margin: 20px auto;
    max-width: 900px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.5s ease-in;
}
.clock-weather-widget:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}
#analog-clock {
    width: 150px;
    height: 150px;
    border: 3px solid #00ffcc;
    border-radius: 50%;
    position: relative;
    flex: 1;
    background: linear-gradient(45deg, #1e1e2f, #2a2a4a);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}
.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    z-index: 10;
}
.hour {
    width: 4px;
    height: 40px;
    margin-left: -2px;
    background: #00ccff;
    box-shadow: 0 0 5px #00ccff;
}
.minute {
    width: 3px;
    height: 55px;
    margin-left: -1.5px;
    background: #00ccff;
    box-shadow: 0 0 5px #00ccff;
}
.second {
    width: 2px;
    height: 65px;
    margin-left: -1px;
    background: #ff007a;
    box-shadow: 0 0 5px #ff007a;
}
.numbers {
    position: absolute;
    width: 100%;
    height: 100%;
}
.tick {
    position: absolute;
    width: 2px;
    height: 8px;
    background: #00ffcc;
    left: 50%;
    top: 8px;
    transform-origin: center 67px;
    box-shadow: 0 0 3px #00ffcc;
}
.date-window {
    position: absolute;
    width: 50px;
    height: 30px;
    background: #fff;
    border: 2px solid #00ffcc;
    border-radius: 5px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    z-index: 5;
	text-shadow: none;
}
.day-window {
    position: absolute;
    width: 25px;
    height: 15px;
    background: #fff;
    border: 2px solid #00ffcc;
    border-radius: 5px;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    z-index: 5;
	text-shadow: none;
}
.current-weather {
    flex: 2;
    text-align: left;
    font-size: 0.9em;
    padding: 0 10px;
    color: #00ffcc;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
.current-weather .condition-icon {
    font-size: 1.5em;
    margin-right: 5px;
    vertical-align: middle;
}
.forecast {
    flex: 3;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: #00ffcc;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
.forecast-item {
    text-align: center;
    font-size: 0.8em;
}
.forecast-item .condition-icon {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(5, 164px);
    gap: 20px;
    padding: 0;
    width: 900px;
    margin: 20px auto;
}

.tile {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    border: 2px solid #00ffcc;
    border-radius: 50px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    text-decoration: none;
    color: #00ffcc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 130px; /* Stała szerokość kafelka */
    height: 130px; /* Dla kwadratowych kafelków */

    animation: fadeIn 0.5s ease-in;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
.tile::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.2;
    pointer-events: none;
}
.tile:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}
.tile:active {
    transform: scale(0.95);
    filter: brightness(0.9);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}
.tile i {
    font-size: 2em;
    margin-bottom: 10px;
    color: #00ffcc;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}
.tile span {
    font-weight: bold;
    font-size: 1.1em;
}
.footer {
    margin: 20px 0;
    font-size: 0.9em;
    color: #00ffcc;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    border: 2px solid #00ffcc;
    border-radius: 50px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    animation: fadeIn 0.5s ease-in;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    width: 900px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.footer:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.7);
}
.footer img {
    width: 20px;
    vertical-align: middle;
    margin: 0 5px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}