@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/**color palette **/
/** #ca8892 #fefafd 
#d1d5db #9ca3af #4b5563 #521212 #cbb8a9 #333333
**/
body {
	background-color: #fefafd;
	/**font-family: Verdana, Tahoma, sans-serif;**/
	font-family: 'Roboto', sans-serif;
	margin: 0;
	padding: 0;
}
.first {
	background-image:
		linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.5) 60%,
			rgba(254, 250, 253, 0.8) 85%,
			#fefafd 100%
		),
		url('images/sechrist_masonry.png');
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 100vh;
	position: relative;
	align-items: center;
}

.about {
	padding: 1rem 2rem;
}
.about p {
	text-align: left;
}
.first h1 {
	color: #fefafd;
	text-align: center;
	padding: 0 2rem;
	font-size: 3rem;
	text-shadow: 2px 2px 4px #000000;
	position: relative;
	z-index: 2;
	align-items: center;
	justify-content: center;
}
.first h1:nth-of-type(1) {
	padding-top: 10rem;
	font-size: 2.5rem;
}
nav,
footer {
	width: 100%;
	box-sizing: border-box;
	font-size: 1.2rem;
}

.logosvg {
	color: inherit;
}
nav {
	color: #000000;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 3;
	position: relative;
	background: rgba(255, 255, 255, 0.35);
	border: none;
	border-bottom: #fff solid 2px;
	backdrop-filter: blur(12px);
}
nav img {
	height: 5rem;
	width: auto;
	padding: 0;
	margin: 0;
}
.navlinks {
	margin: auto;
	text-align: center;
	width: auto;
}

nav ul {
	list-style: none;
	padding: 0;
	display: flex;
	margin: 0;
}

nav ul li {
	margin: 0 2rem;
}

nav ul li a {
	color: black;
	text-decoration: none;
	transition: all 0.3s ease;
}
nav ul li a:hover {
	font-size: larger;
	color: #521212;
}

hr {
	border: 1px solid #fefafd;
	width: 85%;
	margin: 0 auto;
	padding: 0;
}
h2 {
	font-weight: 500;
	font-size: 1.7rem;
}
.services {
	display: flex;
	justify-content: space-around;
	text-align: center;
	padding: 0 2rem;
}
.left,
.right,
.center {
	width: 30%;
	text-align: left;
	padding: 2rem;
	margin: 0 1rem;
	border: 2px solid #521212;
	border-radius: 16px;
	transition: all 0.3s ease;
}
.left:hover,
.right:hover,
.center:hover {
	background-color: #521212;
	color: #fefafd;
	border: 2px solid #521212;

	scale: 1.05;
}
.left:hover i,
.right:hover i,
.center:hover i {
	color: #fefafd;
	transition: 0.3s;
}
i {
	font-size: 4rem;
	color: #521212;
	margin-bottom: 1rem;
}

.second {
	margin: 2rem;
}

.third {
	padding: 2rem 2rem 2rem 2rem;
}

.fourth {
	display: flex;
	position: relative;
	background-color: #521212;
	align-items: center;
	height: auto;
}
.fourth ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.fourth ul li i {
	font-size: 2rem;
	color: #fefafd;
	margin-right: 1rem;
}
.fourth h2 {
	text-align: center;
	padding-bottom: 1rem;
}
.fourthcontent {
	width: 70%;
	background-color: #521212;
	color: #fefafd;
	padding: 2rem;
	margin: auto;
}

.fourthright {
	margin-right: 10%;
	width: 20%;
	text-align: left;
	padding: 2rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
	position: relative;
	background: #fefafd;
	height: 80%;
}
form {
	font-family: 'Roboto', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: fit-content;
}
form textarea {
	font-family: 'Roboto', sans-serif;
	width: auto;
}

/** grid **/
.grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2rem;
	vertical-align: center;
	align-items: stretch;
}

.grid section {
	flex: 1;
	min-width: 200px;
	background-color: #fff;
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	align-items: center;
	vertical-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: left;
}

.grid section h3 {
	margin-top: 0;
	align-items: center;
	vertical-align: center;
}

.grid section figure {
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	align-items: center;
	vertical-align: center;
	width: 100%;
}

.grid section p {
	width: 100%;
	align-self: center;
}

.grid section img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	align-items: center;
	vertical-align: center;
}

.aboutcontent {
	display: flex;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
}

.aboutleft {
	flex: 1;
}

.aboutright {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.aboutright img {
	max-width: 100%;
	max-height: 400px;
	width: auto;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

@media (max-width: 900px) {
	nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		padding: 0.5rem 1rem;
	}

	nav ul {
		flex-wrap: wrap;
		justify-content: center;
	}

	nav ul li {
		margin: 0.5rem 1rem;
	}

	.services {
		flex-direction: column;
		padding: 0 1rem;
		gap: 1rem;
	}

	.left,
	.center,
	.right {
		width: 100%;
		margin: 0;
		padding: 1.25rem;
		box-sizing: border-box;
	}

	.grid {
		margin: 1rem;
	}

	.aboutcontent {
		flex-direction: column;
	}

	.first h1 {
		font-size: 2.2rem;
	}
	.first h1:nth-of-type(1) {
		padding-top: 7rem;
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	nav ul li a {
		display: inline-block;
		padding: 0.5rem 0.25rem;
	}

	.second {
		margin: 1rem;
	}

	.third {
		padding: 1rem;
	}

	.fourthcontent {
		width: 100%;
		padding: 1.5rem 1rem;
		box-sizing: border-box;
	}

	.about {
		padding: 1.5rem 1rem;
	}
}
.fourthcontent a,
.fourthcontent a:visited,
.fourthcontent a:hover,
.fourthcontent a:active {
	color: #fefafd;
	text-decoration: none;
}
