:root {
	--bg-body: #1976D2;
	--bg-container: #0956A2;
	--text-normal: #FFFFFF;
	--border: #FFFFFF;
}

/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: local(''), url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-300italic - latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: local(''), url('../fonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-italic - latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: local(''), url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: local(''), url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500italic - latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: local(''), url('../fonts/roboto-v30-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700italic - latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: local(''), url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		url('../fonts/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-weight: 300;
}

body {
    font-family: Roboto,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-normal);
    background-color: var(--bg-body);
}
table {
    border-collapse: collapse;
	width: 100%;
}
strong {
	font-weight: 500;
}


#wetterheute {
	display: flex;
    flex-direction: column;
    align-items: center;
}

#wetterheute > header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 98%;
	max-width: 62rem;
	margin-top: 1rem;
}
#wetterheute h1 {
	font-weight: 300;
	font-size: 2.5rem;
	color: var(--text-invers);
}
.search {
	display: flex;
	justify-content: end;
	gap: 1rem;
	align-items: center;
	flex-grow: 0.3;
}
.search input,
.search select {
	padding: 0.5rem 0.5rem;
	border: 1px solid black;
	border-radius: 0.25rem;	
	background-color: #eeeeff;
	width: 100%;
}
.search input:focus,
.search select:focus {
	background-color: #ffffff;
}
.search button {
	padding: 0.2rem 0.2rem;
	background: transparent;
	border: none;	
	border-radius: 0.33rem;
}
.search button img {
	width: 2rem;
	filter: invert(100%);
}
.search button:hover,
.search button:focus {
	background: rgba(255,255,255, 0.5);
}

.container {
	background-color: var(--bg-container);
	transition: opacity 0.75s;
	padding: 1.5rem 1rem;
	border-radius: 1rem;
	margin: 1rem 0;
	max-width: 64rem;
	width: 98%
}

#info {
	margin-bottom: 1rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	max-width: 62rem;
}
#info > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
}
#info > div:last-child {
	align-items: end;
}
#info a.coordinates {
	color: white;
}
#info a.coordinates:hover,
#info a.coordinates:focus {
	color: yellow;
}
#info .name {
	font-size: 1.25rem;
	font-weight: 500;
}


thead > tr {
	border-bottom: 2px solid var(--border);
}
thead th {
	padding: 0.5rem; 1rem;
	font-weight: 500;
	word-break: break-all;
}

tbody > tr {
	border-bottom: 1px dotted var(--border);
}
tr.current {
	background-color: rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid var(--border);
}
tr.daily {
	background-color: rgba(0, 0, 0, 0.2);
	border-top: 1px solid var(--border);
}
tr.confidence-g > td:first-child {
	border-left: 2px solid #0f0;
}
tr.confidence-y > td:first-child {
	border-left: 2px solid #ff0;
}
tr.confidence-o > td:first-child {
	border-left: 2px solid #f00;
}

tbody td {
	padding: 0.5rem; 1rem;
}


.value-main {
	font-size: 1.25rem;
	font-weight: 500;
}
.value-main:after {
	font-size: 0.75rem;
	margin-left: 0.5rem;
	opacity: 0.8;
}
.value-add {
	font-size: 1rem;
}


.time {
}

.situation {
	display: flex;
	align-items: center;
	column-gap: 1rem;
	flex-wrap: wrap;
}
.situation .summary {
}
.situation img {
	width: 3rem;
	height: auto;
}

.temperature {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 0.5rem;
}
	.temperature .value-main:after {
		content: "°C";
	}

.precipitation {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 0.5rem;
}
.precipitation .value-main:after {
	content: "mm";
}

.cover {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 0.5rem;
}
.cover .value-main:after {
	content: "%";
}

.wind {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 0.5rem;
}
.wind .value-main:after {
	content: "km/h";
}


tr.minutely {
	background-color: rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid var(--border);
}
.minutely-container {
	display: flex;
	justify-content: center;
	align-items: end;
	padding-bottom: 1.5rem;
	height: 5rem;
}
.prec-minutely {
	background-color: #02a;
	width: 1.6%;
	padding: 0;	
	position: relative;
	border-bottom: 1px solid rgba(255,255,128, 0.5);
	height: 100%;
}
.prec-minutely > span {
	display: none;
	position: absolute;
	font-size: 12px;
	top: 3.75rem;
	left: 0;
}
.prec-minutely:nth-child(4n+1) > span {
	display: inline-block;
}



@media (max-width: 620px) {
	body {
		font-size: 0.95rem;
	}
	#wetterheute h1 {
		font-size: 1.75rem;
	}
	.container {
		padding: 1rem 0.5rem;
	}
}
@media (max-width: 480px) {
	body {
		font-size: 0.85rem;
	}
	.container {
		padding: 0.5rem 0.1rem;
	}
}