/* Base styling for base.html template */
* {
	font-family: "Source Sans 3", sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	background: #fafafc;
}

/* Header styling */
header {
	width: 100%;
	min-height: 580px;
	min-width: 752px;
}

#header_top {
	max-width: 900px;
	height: 80px;
	margin: auto;
	display: flex;
	align-items: center;
}

#header_company_logo {
	flex: 1;
	height: 80px;
	padding: 5px 0 0 4px;
	display: flex;
	align-items: center;
}

#header_company_logo img {
	max-height: 70px;
	max-width: 240px;
}

#header_company_phone {
	flex: 1;
	height: 80px;
	padding: 4px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#header_company_phone p {
	margin: 0;
	font-family: "Work Sans";
	font-size: 22px;
	font-weight: 500;
}

#header_company_phone p a {
	color: #ff8300;
	text-decoration: none;
}

#header_company_phone p a:hover {
	text-decoration: underline;
}

#header_background {
	width: 100%;
	min-height: 500px;
	background: linear-gradient(110deg, #00542d 0%, #00542d 100%);
	display: table;
}

header h1 {
	text-align: center;
	color: #fff;
	padding: 35px 10px 0 10px;
	margin: 0 0 20px 0;
	font-family: "Work Sans";
	font-size: 45px;
	font-weight: 300;
	letter-spacing: -0.4px;
	line-height: 1.2;
}

#header_content {
	max-width: 900px;
	min-height: 430px;
	margin: auto;
}

#header_left {
	float: left;
	width: 45%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 350px;
}

#header_left img {
	width: 400px;
	max-height: 300px;
}

#header_right {
	float: left;
	width: 55%;
	height: 370px;
	max-width: 350px;
	margin-left: 100px;
	padding-top: 10px;
	display: table;
	position: relative;
}

/* About company styling */
article {
	max-width: 990px;
	margin: auto;
}

#about_company {
	width: 100%;
	margin: auto;
	height: 335px;
	margin-bottom: 30px;
}

#about_company_info {
	float: left;
	width: 30%;
	margin-top: 50px;
	height: 350px;
	order: 1;
}

#about_company_logo {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	height: 165px;
}

#about_company_logo img {
	width: 50%;
}

.about_company_phone {
	width: 100%;
	margin-top: 20px;
	height: 50px;
}

.about_company_phone p {
	text-align: center;
	color: #000;
	font-family: "Lato";
	font-size: 22px;
	font-weight: bold;
	width: fit-content;
	margin: auto;
	padding: 6px 30px;
	border-radius: 20px;
	border: 1px solid #ff8300;
}

.about_company_phone p a {
	color: #ff8300;
	text-decoration: none;
	font-weight: 600;
}

.about_company_phone p a:hover {
	text-decoration: underline;
}

.thanks_company_phone {
	width: 100%;
	margin-top: 40px;
	height: 50px;
}

.thanks_company_phone p {
	text-align: center;
	color: #000;
	font-family: "Lato";
	font-size: 22px;
	font-weight: bold;
	width: fit-content;
	margin: auto;
	padding: 6px 30px;
	border-radius: 20px;
	border: 1px solid #ff8300;
	background-color: #fff;
}

.thanks_company_phone p a {
	color: #ff8300;
	text-decoration: none;
	font-weight: 600;
}

.thanks_company_phone p a:hover {
	text-decoration: underline;
}

#company_text {
	float: left;
	width: 70%;
	height: 400px;
	order: 2;
	margin-top: 3rem;
}

#company_text h2 {
	text-align: left;
	color: #333;
	font-family: "Work Sans";
	font-size: 36px;
	font-weight: 500;
	margin-top: 30px;
	margin-bottom: 20px;
}

#company_text p {
	text-align: left;
	color: #333;
	font-family: "Lato";
	font-size: 16px;
	font-weight: normal;
	line-height: 1.6;
	padding-right: 10px;
}

/* Reviews styling */
#reviews {
	max-width: 700px;
	width: 100%;
	margin: auto;
	padding: 5px 20px 35px 20px;
}

#reviews h3 {
	text-align: center;
	color: #5c5d5f;
	font-family: "Work Sans";
	font-size: 36px;
	font-weight: 500;
	margin-top: 30px;
	margin-bottom: 20px;
}

.review {
	width: 100%;
	padding: 25px 0;
}

p.review_name {
	color: #000;
	font-family: "Work Sans";
	font-size: 14px;
	font-weight: 500;
}

p.review_text {
	color: #5c5d5f;
	font-family: "Work Sans";
	font-weight: 300;
	font-size: 20px;
	padding: 5px 0;
	font-style: italic;
}

.review_stars {
	float: right;
	color: #333;
	font-family: "Work Sans";
	font-size: 14px;
	font-weight: 500;
}

.review_stars img {
	display: inline-block;
}

/* Mobile responsive */
@media (max-width: 480px) {
	header {
		min-width: 320px;
	}

	#header_top {
		height: auto;
		padding: 10px 0;
	}

	#header_company_logo {
		margin-bottom: 10px;
	}

	#header_company_logo img {
		max-height: 60px;
		max-width: 160px;
	}

	#header_company_phone p {
		text-align: center;
		font-size: 20px;
	}

	#header_left {
		width: 100%;
	}

	#header_right {
		width: 100%;
		display: contents;
	}

	#header_content {
		display: flex;
		flex-direction: column;
	}

	#header_left {
		order: 2;
	}

	#header_right {
		order: 1;
	}

	#about_company {
		display: grid;
		height: auto;
	}

	#about_company_info {
		width: 100%;
		height: auto;
		order: 2;
		margin-top: 0;
	}

	#about_company_logo {
		margin-top: 10px;
		height: auto;
	}

	#company_text {
		width: 100%;
		order: 1;
		height: auto;
	}

	#company_text h2 {
		text-align: center;
		font-size: 28px;
		font-weight: 500;
		color: #5c5d5f;
	}

	#company_text h2,
	#company_text p {
		padding: 0 10px;
	}

	#reviews {
		padding: 5px 10px 25px 10px;
	}

	#reviews h3 {
		margin-top: 20px;
		font-size: 28px;
		font-weight: 500;
	}

	p.review_text {
		font-size: 16px;
	}

	p.review_name {
		font-size: 15px;
	}
}
