:root {
	--c-primary: #406989;
	--c-secondary: #B7D1DA;
	--c-tertiary: #E2E8DD;
	--c-quaternary: #CB958E;
	--c-quinary: #E36588;
	--c-text-primary: #94ced8;
	--c-text-secondary: #2e4246;
}

body {
	background-color: var(--c-white);
	color: black;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

header {
	/* background-color: var(--c-tertiary); */
	display: flex;
	height: 60px;
	min-width: 100%;
	width: 100%;
	place-items: center;
	gap: 1%;
	margin-left: 1%;
	margin-top: 1%;
}
header h1 {
	padding-left: 1%;
	width: 400px;
}
.title-effect {
	color: var(--c-primary);
}

header ul {

	display: flex;
	width: 100%;
	height: 60px;
	align-items: center;
	justify-content: end;
	gap: 0.5%;
	padding-right: 2%;

}

header ul li {
	list-style-type: none;
	text-align: center;
	line-height: 50px;
	height: 50px;
	width: 10%;
	text-decoration: none;
	border: var(--c-quinary) 2px solid;
	color: var(--c-quinary);

 	transition: 0.5s;
}

.link-alt {
	border: var(--c-secondary) 2px solid;
	background-color: var(--c-secondary);
	transition-duration: 0.3s;
}

header ul li a {
	color: var(--c-quinary);
	text-decoration: none;
}

header ul li:hover {
	color: white;
	background-color: var(--c-quinary);
}


.link-alt a {
	color: black;
}
.link-alt:hover {
	border: var(--c-primary) 2px solid;
	background-color: var(--c-primary);
	color: white;
}

main {
	min-height: 800px;
	margin-left: 3%;
	margin-top: 1%;
	margin-right: 2%;
}

main h2 {
	font-size: 32px;
}

main p {
	font-size: 20px;
}

#main-home {
	text-align: left;
	margin-right: 3%;
	margin-top: 1%;
}

#main-about {
	text-align: left;
}

#main-about p {
	max-width: 50%;
}

#services-container ul p {
	max-width: 50%;
}

#intro {
	font-size: large;
}

#home-stats {
	display: flex;
	justify-content: space-evenly;
	font-size: larger;
}
#home-stats span {
	font-size: x-large;
}
#home-stats p { transition: 0.25s; }
#home-stats p:hover {
	font-size: larger;
	color: var(--c-quinary);
}

.stats {
	color: var(--c-quinary);
	font-weight: bold;
}

#services-container {
	height: 2200px;
}

#main-blog {
	height: 1000px;
}

#blog-container {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

#blog-container section {
	background-color: var(--c-secondary);
	padding: 2%;
	border: 1px solid var(--c-quinary);
	border-radius: 5px;
	transition: 0.3s;
	max-width: 60%;
}

#blog-container section:hover {
	filter: brightness(1.1);
}

#contact-form {
	display: flex;
	flex-direction: column;
}

#contact-form input:not(#contact-submit-btn) {
	max-width: 20%;
	padding: 1%;
	border: 2px solid var(--c-quinary);
  	border-radius: 8px;
	transition: 0.3s;
}

#contact-message {
	max-width: 30%;
	padding: 1%;
	border: 2px solid var(--c-quinary);
  	border-radius: 8px;
	transition: 0.3s;
}

#contact-message:focus {
	max-width: 40%;
	padding: 2%;
	border: 2px solid var(--c-quinary);
  	border-radius: 8px;
}


#contact-submit-btn {
	text-align: center;
	line-height: 50px;
	height: 50px;
	width: 200px;
	text-decoration: none;
	border-radius: 8px;
	border: var(--c-quinary) 2px solid;
	color: var(--c-quinary);

 	transition: 0.5s;	
}

#contact-submit-btn:hover {
	color: white;
	background-color: var(--c-quinary);
}

footer {
	background-color: var(--c-tertiary);
	/* position: absolute; */
	/* bottom: 0; */
	height: 120px;
	min-width: 100%;
	display: flex;
	gap: 5%;
	align-items: center;
	justify-content: end;
}

footer h1 {
	padding-right: 3%;
}

h1 { transition: 0.3s; }
h2 { transition: 0.3s; }

h1:hover {
	color: var(--c-primary);
}
h2:hover {
	color: var(--c-primary);
}

@media (max-width: 700px) {
	header img {
		display: none;
	}
	header {
		flex-direction: column;
		height: 390px;
		width: 100%;
		align-items: center;
		place-items: center;
		justify-content: center;
		margin: 0;
		gap: 0;
	}
	header h1 {
		text-align: center;
		padding: 0;
	}
	header ul {
		display: flex;
		min-width: 100%;
		height: 340px;
		align-items: center;
		justify-content: center;
		place-content: center;
		flex-direction: column;
		padding-right: 0;
	}
	header ul a {
		text-align: center;
		line-height: 50px;
		height: 50px;
		width: 100%;
	}
	main {
		border-top: 0;
		margin-left: 5%;
		margin-right: 5%;
		text-align: start;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		place-content: start;
		height: 700px;
		text-align: center;
	}
	#main-about p {
		max-width: 90%;
	}
	#home-stats {
		flex-direction: column;
	}
	#intro {
		padding-left: 5%;
		padding-right: 15%;
	}
	#services-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	#main-about p {
		text-align: center;
	}
	#services-container ul p {
		max-width: 90%;
	}
	#blog-container {
		align-items: center;
		gap: 1em;
	}
	#blog-container section {
		max-width: 100%;
	}
	#contact-form input:not(#contact-submit-btn) {
		max-width: 80%;
		padding: 12px;
		border: 2px solid var(--c-quinary);
		border-radius: 8px;
		transition: 0.3s;
	}

	#contact-message {
		max-width: 80%;
		padding: 12px;
		border: 2px solid var(--c-quinary);
		border-radius: 8px;
		transition: 0.3s;
	}

	#contact-message:focus {
		max-width: 80%;
		padding: 12px;
		border: 2px solid var(--c-quinary);
		border-radius: 8px;
	}
	main img {
		display: none;
	}
	footer {
		display: none;
	}
	
}