﻿body {
    font-family: 'Inter', sans-serif;
    margin: 0;
	box-sizing: border-box;
	line-height: 20px;
	color: whitesmoke;
	text-shadow: 0px 0px 2px #000;
	background: no-repeat center center fixed; 
	height: 100vh;
}

a {
	text-decoration: none;
	color: #fff;
}

h1 {
	font-weight: 800;
	font-size: 1.75rem;
	margin: 0;
	color: #fff;
}

h2 {
	font-weight: 900;
	font-size: 1.5rem;
	margin: 0;
	color: goldenrod;
	line-height: 1.1em;
}

h3 {
	font-weight: 700;
	font-size: 1rem;
	margin: 0;
	color: #000;
}

header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 .5rem;
}

hr {
	width: 160px;
	margin: 0;
	padding: 0;
}

img {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
	margin: 1.25rem; 
	font-weight: 500;
	font-size: 1.25rem;
}

li:hover {
	color: #dadada;
	scale: 1.01;
}

main {
	height: 100vh;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

p {
	margin: 0;
	line-height: 1.25em;
	font-weight: 800;
}

ul {
	margin: .5rem 0;
}

.bottom-message {
	font-size: 1rem;
}
 
.center-section {
	text-align: center;
	justify-content: end;
}

.city{
	font-size: 1.5rem;
	padding: 0;
	margin-top: -10px;
}

.close-btn {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	color: whitesmoke;
	font-size: 1.5rem;
}
	
.crypto {
	color: #fff;
	font-weight: 800;
	width: 180px;
}

.crypto-info {
	font-size: 1rem;
	display: flex;
	gap: .25rem;
	margin-bottom: .75rem;
	flex-direction: column;
	align-items: start;
}

.crypto-img {
	height: 26px;
	filter: drop-shadow(0px 0px 1px #fff);
	margin: 0;
	padding: 0;
}

.degree {
	margin: .25rem;
}

.footer {
	display: flex;
	justify-content: space-between;
	margin: 0 1.5rem;
}

.header-info {
	display: flex;
	margin-top: 1rem;
	margin-bottom: 1rem;
	align-items: center;
	width: 180px;
}

.headline {
	margin-right: .5rem;
	display: flex;
	flex-direction: column;
	width: 160px;
}

.headline_title {
	font-size: 1rem;
}

.headlines {
	font-size: .75rem;
}

.header_section {
	display: flex;
	justify-content: space-between;
}

.hidden {
	display: none;
}

.icon {
	width: 24px;
	height: 20px;
	padding-top: 4px;
	filter: drop-shadow(0px 0px 2px #000);
	margin-right: .5rem;
}

.image-description {
	font-size: 1rem;
	margin: 0 .75rem;
	border-bottom: 5px solid blue;
}

.nav {
    position: fixed;
    background: #000;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 300ms;
	z-index: 1;
	overflow-y: scroll;
	display: block;
}

.navigation-open {
    transform: translateX(0);
}

.open-btn {
	margin-right: .5rem;
}

.photographer {
	margin: .5rem;
	font-size: 1rem;
}

.search-icon {
	margin-left: .75rem;
}

.theme {
	margin: .5rem;
	font-size: 1rem;
}

.time {
	font-size: 1.75rem;
	font-weight: 800;
}

.quote {
	font-size: .75rem;
	margin: 0 auto;
	margin: 0 .75rem;
	font-weight: 800;
	border-bottom: 5px solid blue;
}

.temperature {
	font-size: 1.5rem;
	justify-content: flex-end;
	padding: 0;
	margin: 0;
}

.weather {
	margin-right: 1rem;
	display: flex;
	flex-direction: column;
}

.weather-data {
	display: flex;
	align-items: center;
}

.weather-icon {
	filter: drop-shadow(0px 0px 2px #000);
	width: 50px;
	height: 50px;
	margin-left: -10px
}

.weather-info {
	align-self: end;
}

@media (min-width: 800px) {
	header {
		margin: 0 1.5rem;
	}
	hr {
		width: 380px;
	}		
	.author {
		font-size: 2rem;
	}
	.bottom-message {
		font-size: 1.25rem;
	}
	.city {
		font-size: 2.5rem;
	}
	.crypto-info {
		font-size: 1.5rem;
		display: flex;
		gap: .25rem;
		margin-bottom: 1rem;
	}
	.crypto {
		width: 350px; 
	}
	.crypto-img {
		height: 32px;
	}
	.header-info {
		width: 350px;
	}	
	.headline {
		width: 380px;
	}
	.headline_title {
		font-size: 2rem;
	}	
	.headlines {
		font-size: 1.5rem;
	}
	.icon {
		width: 36px;
		height: 30px;
		margin-top: .5rem;
		margin-right: .75rem;
	}
	.temperature {
		font-size: 2.5rem;
		padding-right: .5rem;
		margin-top: 20px;
	}
	.image-description {
		font-size: 2rem;
		margin: 0 1.5rem;
	}
	.theme {
		font-size: 1.25rem;
	}
	.quote {
		font-size: 1.5rem;
		margin: 0 1.5rem;
	}
	.photographer {
		font-size: 1.25rem;
	}
	.time {
		font-size: 2.5rem;
		margin-top: .5rem;
	}
	.weather {
		flex-direction: row;
		align-items: end;
	}
	.weather-icon {
		padding-top: 20px;
	}
}

