@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
		a {
        	text-decoration: none;
        	color: #e0e0e0;
    	}
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            overflow-x: hidden; /* Zapobiega przewijaniu w poziomie */
        }
        body {
            background-color: #1e1e1e;
            color: #e0e0e0;
            font-family: 'Roboto', sans-serif;
        }
        .container {
            flex: 1;
            width: 100%;
            max-width: 1300px;
            margin: auto;
            padding: 30px 0;
            box-sizing: border-box;
        }
        header {
            background: #333;
            color: #fff;
            padding: 10px 0;
            text-align: center;
            position: relative;
	    	box-shadow: 0 2px 4px rgba(0,0,0,0.4);
            box-sizing: border-box;
            display: flex;
    		justify-content: space-between;
    		align-items: center;
        	justify-content: center;
        	height: 120px;
        }
    	header h1 {
            text-align: center;
    		flex-grow: 1;
        	max-width: 750px;
       		margin: 0 auto;
    	}   
        header::before {
            left: 0;
        }
        header::after {
            right: 0;
        }
        .dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
            gap: 40px;
            margin: 0 10px;
        }
        .box {
            background: #282828;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: center;
            transition: background 0.3s, box-shadow 0.3s;
            box-sizing: border-box;
            height: 180px; /* Zwiększona wysokość kafelków */
            position: relative;
        }
        .box:hover {
            background: #333;
            box-shadow: 0 6px 12px rgba(0,0,0,0.5);
        }
        h2 {
            border-bottom: 2px solid #444;
            margin: 0;
            font-size: 19px;
            text-align: center;
            padding-bottom: 10px;
            height: 40px; /* Ustalona wysokość dla każdego nagłówka */
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .value {
            font-size: 36px;
            font-weight: bold;
            margin: 20px 0;
        }
        .unit {
            color: #888;
            font-size: 28px;
        }     
        .footer {
            background: #333;
            color: #fff;
            text-align: center;
            padding: 10px;
            width: 100%;
            box-shadow: 0 -2px 4px rgba(0,0,0,0.4);
            box-sizing: border-box;
        }
        /* Nowe style dla kafelka z buforem oraz innych elementów */
        .buffer-section, .single-section {
        	display: flex;
        	justify-content: space-around;
        	align-items: center;
        	margin-top: 10px;
	    	flex-direction: column;
	    	text-align: center;
  	    	height: 100%
        }
        .temperature {
	    	margin: 0;
            text-align: center;
        }
        .value {
            margin: 10px 0;
        }
		.desc {
			max-width: 120px;
			justify-content: center;
			text-align: center;
    		font-size: 20px;
		}
		.timestamp {
	    	text-align: center;
	    	font-size: 20px;
	    	color: #e0e0e0;
	    	margin: 10px 0;
		}
		.box.neon::after {
    		content: '';
    		position: absolute;
    		bottom: 0;
    		left: 0;
    		width: 100%; /* Szerokość paska neonowego */
    		height: 10px; /* Wysokość paska */
    		background: rgba(0, 255, 0, 0.9); /* Jasny neonowy zielony */
    		box-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.6); /* Efekt świecenia */
    		border-radius: 0 0 12px 12px; /* Zaokrąglenie tylko na dole */
    		z-index: 1; /* Pasek na wierzchu */
        	animation: blink-green 2.5s infinite; /* Efekt mrugania */
		}
    	@keyframes blink-green {
    		0% { box-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.6); /* Efekt świecenia */ }
    		25% { box-shadow: 0 0 9px rgba(0, 255, 0, 0.8), 0 0 19px rgba(0, 255, 0, 0.6); /* Efekt świecenia */ }
    		50% { box-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.6); /* Efekt świecenia */ }
    		75% { box-shadow: 0 0 8px rgba(0, 255, 0, 0.8), 0 0 18px rgba(0, 255, 0, 0.6); /* Efekt świecenia */ }
    		100% { box-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.6); /* Efekt świecenia */ }
		}
    	.box.warning::after {
    		content: '';
    		position: absolute;
    		bottom: 0;
    		left: 0;
    		width: 100%; /* Szerokość paska neonowego */
    		height: 10px; /* Wysokość paska */
    		background: rgba(255, 255, 0, 0.9); /* Jasny neonowy żółty */
    		box-shadow: 0 0 10px rgba(255, 255, 0, 0.8), 0 0 20px rgba(255, 255, 0, 0.6); /* Efekt świecenia */
    		border-radius: 0 0 12px 12px; /* Zaokrąglenie tylko na dole */
    		z-index: 1; /* Pasek na wierzchu */
    		animation: blink-yellow 1s infinite; /* Efekt mrugania */
		}
		@keyframes blink-yellow {
    		0%, 100% { opacity: 1; }
    		50% { opacity: 0.2; } /* Zmniejsza przezroczystość zamiast znikać */
		}
    	.box.alarm::after {
   			content: '';
    		position: absolute;
    		bottom: 0;
    		left: 0;
    		width: 100%; /* Szerokość paska neonowego */
    		height: 10px; /* Wysokość paska */
    		background: rgba(255, 0, 0, 0.9); /* Jasny neonowy czerwony */
    		box-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 20px rgba(255, 0, 0, 0.6); /* Efekt świecenia */
    		border-radius: 0 0 12px 12px; /* Zaokrąglenie tylko na dole */
    		z-index: 1; /* Pasek na wierzchu */
    		animation: blink-red .5s infinite; /* Efekt mrugania */
		}
		@keyframes blink-red {
    		0%, 100% { opacity: 1; }
    		50% { opacity: 0.2; } /* Zmniejsza przezroczystość zamiast znikać */
		}
		.buffer-section {
			display: flex;
    		flex-direction: column; /* Ustawia dzieci w kolumnie */
    		align-items: center; /* Wyśrodkowuje dzieci */
    		justify-content: space-around; /* Równo rozmieszcza temperatury i opisy */
    		text-align: center; /* Wyśrodkowuje tekst */
    		width: 100%;
		}
		.buffer-box {
			grid-column: 2;
			grid-row: 1 / span 2;
			height:100%;
			display: flex;
			justify-content: space-around; /* Równo rozmieszcza dzieci w poziomie */
    		padding: 20px; 
		}
		.no_margin {
			margin: 0px;
		}
		.czas {
			width: 280px;
    		margin: 0 auto; /* Centrowanie */
            position: absolute;
    		right: 20px;
		}
		.czas h2 {
			padding-bottom: 5px;
        	height: 30px;
		} 
		#data-czas {
			font-size: 26px;
			margin: 6px 0px 0;
            text-align: center;
        	font-weight: bold;
		}
		.buffer-icon {
    		width: 170px;
        	height: 240px;
    		border: 5px solid #606060;
    		border-radius: 25px; /* Zaokrąglenie rogów */
    		display: flex;
    		justify-content: space-around;
    		flex-direction: column;
    		align-items: center;
		}
		/* Open button */
		.trigger {
			background: #ffa500;
			outline: 0;
			padding: 8px 15px;
			color: #fff;
			border: 0;
			border-radius: 5px;
			font-size: 2em;
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
			transition: 0.15s ease-in-out;
			cursor: pointer;
			position: absolute;
			left: 20px;
		}
		.trigger:hover {
			box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
		}

		/* Nav position and opening class */
		.full-screen-nav {
			position: absolute;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			transition: 0.2s ease-in-out;
			display: none;
			z-index: 99999;
		}
		.open-nav {
			display: flex;
			justify-content: center;
			align-items: center;
		}

		/* Backgroup position and animation */
		.backdrop {
			position: absolute;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.92);
			cursor: pointer;
			animation: fadeIn 0.2s ease-in-out forwards;
		}
		@keyframes fadeIn {
			from {
				opacity: 0;
			}
			to {
				opacity: 1;
			}
		}

		/* List item styling & animation */
		ul {
			z-index: 9999;
			position: relative;
			padding: 0;
		}
		ul li {
			list-style: none;
			text-align: center;
			margin-bottom: 50px;
			animation: 0.25s ease-in-out animateList forwards;
		}
		ul li:last-child {
			margin-bottom: 0;
		}
		@keyframes animateList {
			from {
				margin-top: -60px;
				opacity: 0;
			}
			to {
				margin-top: 0;
				opacity: 1;
			}
		}

		/* Item links styles and hover effect*/
		ul li a {
			text-decoration: none;
			color: #ccc;
			font-size: 3em;
			font-weight: 900;
			text-transform: uppercase;
			transition: 0.15s ease-in-out;
		}
		ul li a:hover,
		ul li a i {
			color: #ffa500;
		}
    	@media (max-width: 1400px) {
			header h1 {
        		max-width: 550px;
        	}
        	.czas {
        		width: 250px;
        	}
        	.czas h2 {
        	    height: 25px;
        	}
        	#data-czas {
        		font-size: 24px;
            	margin: 4px 0px 0;
        	}
		}
		@media (max-width: 1200px) {
        	.trigger {
            	left: 10px;
        	}
        	header {
            	height: 140px;
        	}
			header h1 {
        		max-width: 350px;
        	}
        	.czas {
        		width: 210px;
    			right: 10px;
        	}
        	.czas h2 {
        		font-size: 17px;
            	height: 20px;
        	}
        	#data-czas {
        		font-size: 20px;
        	}
		}
		@media (max-width: 890px) {
			header h1 {
            	max-width: 260px;
        		font-size: 26px;
        	}
        	.czas {
        		width: 190px;
        	}
        	.czas h2 {
        		font-size: 15px;
            	height: 17px;
        	}
        	#data-czas {
        		font-size: 18px;
                margin: 3px 0px 0;
        	}
		}
		@media (max-width: 750px) {
        	header h1 {
            	max-width: 410px;
        		font-size: 32px;
        	}
        	header {
        		height: 160px;
            	flex-direction: column;
        	}
        	.czas h2 {
        		font-size: 16px;
            	height: 18px;
        	}
        	.no_margin {
        		justify-content: normal;
        	}
			.czas {
            	align-items: flex-end;
        		right: 36.5%;
            	position: static;
        	}
		}
		@media (max-width: 605px) {
			header h1 {
            	max-width: 260px;
        		font-size: 26px;
        	}
        	header {
        		height: 180px;
        	}
		}
		@media (max-width: 550px) {
        	ul li a {
        		font-size: 1.5em;
        	}
        }
		@media (max-width: 420px) {
			.trigger {
        		padding: 4px 9px;
            	font-size: 1.2em;
        	}
			.czas {
				padding-top: 10px;
			}		
		}