@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Palanquin+Dark:wght@400;500;600;700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: linear-gradient(to top, #efefefee, #ffffffee), url('./assets/background.jpg');
	background-size: cover;
	background-attachment: fixed;
	filter: blur(5px);
	z-index: -1;
}

#content {
	margin: 40px 200px 0;
	/* width: 1200px; */
}

h1 {
	margin-bottom: .5rem;
	font-family: 'Ubuntu', sans-serif;
	display: flex;
	align-items: center;
	gap: 1rem;
}

h1 > i {
	font-size: 1.7rem;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.grid > div {
	padding: .75rem 1rem;
	background: #fff;
	border: 2px solid #eaeaea;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, .075);
	border-radius: 8px;
}

.grid > div > p {
	margin: 0;
	font-family: 'Palanuin Dark', sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
}

.grid > div > span {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	color: #555;
}

.podujatia {
	grid-template-columns: repeat(4, 320px);
	/* width: 1000px; */
	overflow-x: scroll;
}

.podujatia img {
	margin-bottom: 1rem;
	width: 100%;
}

.doprava {
	grid-template-columns: 2fr 1fr;
}

.doprava p {
	margin: 1rem 0 0 !important;
}

.doprava ul {
	margin: 0;
}

.mhd-row {
	margin-top: .35rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: 'Ubuntu', sans-serif;
}

.mhd-row span:first-child, .mhd-row .bg {
	padding: .2rem .4rem;
	background: #ccc;
	color: #333;
	border-radius: 50px;
	font-weight: 600;
}

.mhd-row span:last-child {
	margin-top: -1px;
	font-weight: 500;
}

.weather ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.weather ul li {
	display: flex;
	gap: 1rem;
}

.weather ul li svg {
	width: 24px;
}

.zony-flex {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 1rem;
}

th, td {
	border: 1px solid black;
	border-collapse: collapse;
}

th, td {
	padding: .5325rem .5rem;
}

#news-flex {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 1rem;
}

footer {
	padding: 2rem 0;
	font-family: 'Palanquin Dark', sans-serif;
	text-align: center;
}

footer a {
	color: darkblue;
	text-decoration: none;
	font-weight: 600;
	transition: opacity .25s;
}

footer a:hover {
	opacity: .7;
}

@media only screen and (max-width: 1150px) {
	#content {
		margin: 40px 70px 0;
	}
}

@media only screen and (max-width: 860px) {
	#content {
		margin: 25px 30px 0;
	}
}

@media only screen and (max-width: 760px) {
	.grid.doprava, .zony-flex {
		grid-template-columns: 1fr;
	}

	.grid.doprava > div:last-child {
		overflow-y: hidden !important;
	}

	.zony-flex > img {
		height: 400px !important;
	}

	.grid.weather {
		grid-template-columns: 1fr !important;
	}
}

@media only screen and (max-width: 600px) {
	.zony-flex > img {
		height: 330px !important;
	}
}