/* Copyright (c) 2024 Dante Passalacqua */

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: white;
	font-family: 'Karla', sans-serif;
	text-shadow: 0px 0px 10px #1a1a1a;
	font-weight: 400;
	line-height: 1.6;
}

.author-text {
	opacity: 0.8;
	display: flex;
	align-items: end;
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh;
	padding: 15px;
	background-image: linear-gradient(
		0deg,
		rgba(0, 0, 0, 0.6) 8%,
		rgba(0, 0, 0, 0) 20%
	);
}

.top-section {
	display: flex;
	justify-content: flex-end;
}

.bottom-section {
	display: flex;
	justify-content: space-between;
}

.time {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0 auto;
	text-align: center;
	font-size: 6rem;
}

.weather {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-self: flex-start;
}

.weather-placeholder {
	max-width: 200px;
}

.weather-placeholder a,
.weather-placeholder a:visited {
	color: rgb(0, 217, 255);
	font-weight: 600;
	text-decoration: none;
}

.weather-placeholder a:hover {
	color: rgb(0, 172, 202);
	transition: all 300ms;
}

.weather-temp {
	margin: 0;
	font-size: 2.25rem;
	margin-left: -10px;
	margin-bottom: -10px;
}

.weather img {
	width: 70px;
	margin-right: 0.5em;
}

.weather-city {
	width: 100%;
	font-size: 1.25rem;
	text-align: right;
	margin: 0;
}

.quote {
	font-size: 1rem;
	max-width: 30rem;
}
