/*
	TEA DESIGN overrides.
	Keep this file uploaded after main.css so hosting cache cannot hide the custom theme.
*/

body {
	background: #1d2528;
	color: #2d2a28;
}

#wrapper > .bg,
#wrapper > .bg.fixed {
	background-image: url("../../images/overlay.png"), linear-gradient(180deg, rgba(18, 26, 29, 0.28), rgba(18, 26, 29, 0.86)), url("../../images/hero-bg.jpg") !important;
	background-position: center, center, center 72% !important;
	background-repeat: repeat, no-repeat, no-repeat !important;
	background-size: auto, auto, auto 100vh !important;
	background-attachment: scroll, scroll, fixed !important;
	transform: none !important;
}

#intro {
	justify-content: center;
	min-height: 92vh;
	padding-bottom: 4rem;
}

#intro h1 {
	color: #ffffff;
	font-size: 5rem;
	letter-spacing: 0.08em;
	text-shadow: 0 0.65rem 2rem rgba(0, 0, 0, 0.45);
	text-transform: uppercase;
}

#intro p {
	color: rgba(255, 255, 255, 0.92);
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 1.05rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 2.1;
	margin-bottom: 0.35rem;
	text-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.45);
	text-transform: uppercase;
}

#intro .intro-tagline {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.95rem;
	margin-bottom: 2rem;
}

#header .logo {
	border-color: rgba(255, 255, 255, 0.75);
	border-radius: 999px;
	letter-spacing: 0.16em;
	padding: 0.8rem 1.7rem;
}

#nav {
	background: rgba(244, 241, 234, 0.9);
	backdrop-filter: blur(10px);
	color: #37312f;
}

#main {
	background: #fbf8f1;
}

.service-area {
	border: solid 1px rgba(127, 103, 66, 0.28);
	border-radius: 999px;
	color: #7f6742;
	display: inline-block;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	margin: 0 0 2rem 0;
	padding: 0.45rem 1rem;
	text-transform: uppercase;
}

.profile-intro {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.profile-photo {
	border: solid 8px #ffffff;
	border-radius: 999px;
	box-shadow: 0 1rem 2.5rem rgba(42, 38, 34, 0.18);
	height: 12rem;
	margin: 0.5rem 0 2.25rem 0;
	object-fit: cover;
	width: 12rem;
}

.software-list {
	color: #314d48 !important;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	margin-top: -0.5rem;
	text-transform: uppercase;
}

.image.main img,
.image.fit img {
	object-fit: cover;
	width: 100%;
}

.image.main img {
	aspect-ratio: 16 / 9;
}

.image.fit img {
	aspect-ratio: 4 / 3;
}

#main > .posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

#main > .posts > article {
	background: #fffdf8;
	border-left-width: 2px;
	border-top-width: 0;
	width: auto;
}

#main > .posts > article:first-child {
	border-left-width: 0;
}

#main > .posts > article p {
	color: #5c5550;
	text-align: left;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	border-radius: 999px;
	box-shadow: inset 0 0 0 2px #7f6742;
	color: #66512f !important;
	letter-spacing: 0.12em;
}

#intro .button {
	box-shadow: inset 0 0 0 2px #ffffff;
	color: #ffffff !important;
}

.footer-note {
	color: #625c57;
	font-style: italic;
	margin: 0;
	text-align: center;
}

#footer {
	background: #ece7dc;
	color: #37312f;
}

#footer h3,
#footer label {
	color: #51413d;
}

#copyright {
	color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 980px) {
	#main > .posts {
		display: block;
	}

	#main > .posts > article {
		border-left-width: 0 !important;
		border-top-width: 2px !important;
	}

	#main > .posts > article:first-child {
		border-top-width: 0 !important;
	}

	#main > .posts > article .image {
		max-width: 36rem;
		margin-left: auto;
		margin-right: auto;
	}

	#main > .posts > article p {
		text-align: center;
	}
}

@media screen and (max-width: 736px) {
	#intro h1 {
		font-size: 3rem;
	}

	#intro p {
		font-size: 0.82rem;
	}

	#main > .post.featured {
		padding-top: 3rem;
	}

	.profile-photo {
		height: 9rem;
		width: 9rem;
	}
}
