body {
	font-family: "Roboto", Helvetica, sans-serif;
	background-color: #5d5d5d;
	box-sizing: border-box;
	color: #ffffff;
}

h1 {
	font-size: 60px;
	padding: 16px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 21px;
	padding-top: 8px;
}

h4 {
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
}

li {
	cursor: pointer;
	padding: 8px 10px;
}

.delete-btn {
	display: none;
	color: white;
	border: 1px solid #ff7a5e;
	border-radius: 2px;
	padding: 5px;
	margin-right: 10px;
	font-size: 10px;
	background-color: #ff7a5e;
}

li:hover {
	background-color: rgb(10, 66, 101);
}

li:hover .delete-btn {
	display: inline-block;
}

.delete-btn:hover {
	transform: scale(1.15);
}

p {
	font-size: 12px;
}

.navbar {
	margin: 16px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.cities-wrapper {
	text-align: right;
	overflow: scroll;
}

#cities-btn,
#search-btn {
	font-size: 14px;
	background-color: rgb(41, 138, 198);
	color: white;
	border: 1px solid white;
	border-radius: 5px;
	padding: 10px;
	cursor: pointer;
	margin-left: 10px;
}

#city-list {
	display: none;
	position: absolute;
	right: 16px;
	background-color: rgb(41, 138, 198);
	padding-top: 10px;
	padding-bottom: 10px;

	max-height: 450px;
	min-width: 150px;
	font-size: 18px;
	z-index: 1;
	overflow: scroll;
}

#city-input {
	padding: 8px;
	font-size: 16px;
	border-radius: 5px;
}

.cities-wrapper:hover #city-list,
#city-list:hover {
	display: block;
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

.main-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 352px;
	margin: auto;
	justify-content: center;
	align-items: center;
	padding-top: 1em;
	padding-bottom: 1em;
	background-size: cover;
	text-shadow: 1px 1px 4px #000000;
}

#current-weather-div {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.forecast-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 1.5em;
}

.forecast-card {
	display: block;
	margin: 0 1.5em;
}

.weather-wrapper {
	float: right;
	text-align: center;
}

#current-uv {
	width: 200px;
	text-align: center;
}

.uv-low {
	background-color: greenyellow;
}

.uv-mid {
	background-color: orange;
}

.uv-high {
	background-color: orangered;
}

.footer {
	margin-top: 10px;
	text-align: center;
}

.footer a,
.footer a:active {
	color: white;
	text-decoration: none;
}

.modal {
	display: none;
	width: 200px;
	position: absolute;
	left: calc(50vw - 120px);
	top: 180px;
	margin: auto;
	padding: 20px;
	z-index: 2;
	background: #fff46d;
	text-align: center;
	box-shadow: 10px 10px 16px 5px rgba(0, 0, 0, 0.3);
}

.modal p {
	font-size: 24px;
	color: #000000;
}

.close {
	float: right;
	color: #000000;
	font-size: 24px;
	cursor: pointer;
}

@media (min-width: 768px) {
	.forecast-wrapper {
		flex-direction: row;
		justify-content: space-around;
		align-items: stretch;
	}

	.forecast-card {
		width: 20%;
		margin: 0;
		padding: 10px;
	}

	.forecast-card:nth-child(odd) {
		background-color: rgb(41, 138, 198);
	}

	.forecast-card:nth-child(even) {
		background-color: rgb(10, 66, 101);
	}
}

@media (min-width: 992px) {
	body {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}

	.navbar {
		width: 20%;
		height: 518px;
		display: flex;
		flex-direction: column;
		background-color: rgb(41, 138, 198);
		justify-content: flex-start;
		align-items: flex-end;
	}

	.add-city {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		flex-wrap: wrap;
	}

	.main-wrapper {
		width: 80%;
		margin: 16px;
		height: 552px;
	}

	.cities-wrapper {
		max-height: inherit;
		overflow: scroll;
		width: 100%;
	}

	#city-list {
		display: block;
		position: static;
		padding-top: 0;
		font-size: 20px;
		box-shadow: none;
		max-height: inherit;
	}

	#cities-btn {
		border: none;
		background-color: rgb(41, 138, 198);
		padding-right: 10px;
		text-decoration: underline;
		cursor: none;
	}

	#search-btn {
		background-color: rgb(41, 138, 198);
		margin-top: 10px;
		margin-right: 10px;
		margin-left: 0px;
	}

	#city-input {
		margin-top: 10px;
		width: 145px;
		text-align: right;
		margin-right: 10px;
	}
}
