/* Base styles */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--clr-primary: #ed7748;
	--clr-secondary: #324574;
	--clr-light: #fff5ed;
	--clr-green: #27ae60;
	--clr-red: #c0392b;
	--fw-normal: 400;
	--fw-bold: 700;
	--fw-black: 900;
}

body,
input,
textarea {
	margin: 0;
	padding: 0;
	font-family: "Nunito", sans-serif;
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--clr-secondary);
	background: var(--clr-light);
}

img {
	max-width: 100%;
	display: block;
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1;
}

a {
	text-decoration: none;
	color: var(--clr-light);
}

input,
textarea {
	border: none;
	padding: 0.5em;
	font-size: inherit;
	color: var(--clr-secondary);
}

textarea {
	min-height: 150px;
}

section {
	padding: 2em 0;
}

.hidden {
	display: none !important;
}

/* Layout  */
.container {
	width: 80%;
	max-width: 1000px;
	margin: 0 auto;
}

.text-emp {
	color: var(--clr-secondary);
	font-weight: var(--fw-bold);
}

.center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.row {
	display: flex;
	justify-content: space-between;
}

.flex {
	display: inherit;
}

.col {
	width: 100%;
	padding: 1rem 0.5rem;
}

.col:nth-of-type(2) {
	border: 3px solid var(--clr-primary);
	border-radius: 10px;
	color: var(--clr-secondary);
}

.col + .col {
	margin-top: 1em;
}

.btn {
	cursor: pointer;
	display: inline-block;
	width: 72%;
	margin-bottom: 0.75em;
	padding: 0.5em 1.5em;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	text-align: center;
	font-weight: var(--fw-bold);
}

.btn--primary,
.btn--primary-alt {
	background-color: var(--clr-primary);
	color: var(--clr-secondary);
}

.btn--primary:hover,
.btn--primary:focus {
	background-color: var(--clr-secondary);
	color: var(--clr-primary);
}

.btn--primary-alt:hover,
.btn--primary-alt:focus {
	background-color: var(--clr-light);
	color: var(--clr-primary);
}

.btn--secondary {
	background-color: var(--clr-secondary);
	color: var(--clr-primary);
}

.btn--secondary:hover,
.btn--secondary:focus {
	background-color: var(--clr-light);
	color: var(--clr-secondary);
}

.btn--outline {
	outline: 3px solid var(--clr-primary);
	outline-offset: -3px;
	color: var(--clr-secondary);
}

.btn--outline:hover,
.btn--outline:focus {
	background-color: var(--clr-secondary);
	outline-color: var(--clr-secondary);
	color: var(--clr-primary);
}

/* Header section */
.nav {
	width: 100%;
	background-color: var(--clr-light);
	margin-top: 1em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.logo {
	display: inline-block;
	vertical-align: middle;
	width: 100%;

	object-fit: cover;
}

.logo__link {
	display: inline-block;
	width: 72%;
}

.nav__list {
	margin-top: 1em;
	background-color: var(--clr-primary);
}

/* Make items vertical */
.nav__item {
	display: block;
	width: 100%;
	padding: 0.5em;
	text-decoration: none;
	text-align: center;
}

.nav__item--active {
	color: var(--clr-primary);
	background-color: var(--clr-secondary);
	margin: 0;
}

.nav__item + .nav__item {
	border-top: 1px solid var(--clr-light);
}

.nav__item:hover,
.nav__item:focus {
	background-color: var(--clr-secondary);
}

/* Show Hamburger Icon */
.nav label {
	cursor: pointer;
	display: inline-block;
	padding: 0.5em 0.8em;
	color: var(--clr-light);
	background-color: var(--clr-primary);
	font-style: normal;
	font-size: 1.5em;
}

#nav__hamburger {
	display: none;
}

/* toggle */
.nav__list {
	display: none;
}

.nav input:checked ~ .nav__list {
	display: block;
	width: 100%;
}

@media screen and (min-width: 700px) {
	a {
		color: var(--clr-primary);
	}

	.logo__link {
		width: 25%;
	}

	.nav label {
		display: none;
	}

	/* Horizontal desktop nav */
	.nav__list {
		display: flex;
		font-size: 1.2rem;
		background-color: var(--clr-light);
		border-bottom: 3px solid var(--clr-primary);
	}

	.nav__item {
		width: 100%;
	}

	.nav__item:hover,
	.nav__item:focus {
		background-color: var(--clr-secondary);
		color: var(--clr-light);
	}

	.nav__item--active {
		background-color: var(--clr-light);
		color: var(--clr-secondary);
	}

	.nav__item--active:hover {
		background-color: var(--clr-light);
		color: var(--clr-secondary);
	}
}

/* Hero section */
.hero {
	padding: 2.5em 0;
}

.hero p {
	margin: 2rem 0;
}

.hero__emp {
	color: var(--clr-primary);
}

@media screen and (min-width: 700px) {
	.hero {
		padding: 8em 0;
		min-height: 60vh;
	}

	.hero__text {
		width: 55%;
	}

	.hero .btn {
		width: 35%;
		margin-left: 2em;
	}
}

/* Main section */
.main {
	background-color: var(--clr-secondary);
	padding: 0.75em 0;
	color: var(--clr-light);
}

.main__emp {
	color: var(--clr-primary);
}

.main__link {
	cursor: pointer;
	display: inline-block;
	padding: 0.1em 0.1em;
	border-bottom: 1px solid var(--clr-primary);
	color: var(--clr-primary);
	font-size: 1.1rem;
}

.main__link:hover,
.main__link:focus {
	padding: 0.1em 0.1em;
	background-color: var(--clr-primary);
	color: var(--clr-light);
}

.main__link-alt {
	cursor: pointer;
	display: inline-block;
	padding: 0.1em 0.1em;
	border-bottom: 2px solid var(--clr-secondary);
	color: var(--clr-secondary);
	font-size: 1.1rem;
	font-weight: var(--fw-bold);
}

.main__link-alt:hover,
.main__link-alt:focus {
	padding: 0.1em 0.1em;
	background-color: var(--clr-secondary);
	color: var(--clr-light);
}

.three-col {
	padding: 2em 0;
	text-align: center;
}

.three-col__title {
	font-weight: var(--fw-bold);
	font-size: 1.2rem;
}

.col:last-child {
	padding-bottom: 0;
}

@media screen and (min-width: 700px) {
	.main .overview {
		padding: 3em 0;
		text-align: center;
		width: 50%;
		margin: 0 auto;
	}

	.flex {
		display: flex;
		justify-content: space-evenly;
		align-items: center;
	}

	.col {
		width: 33%;
	}

	.col + .col {
		margin-top: 0;
	}

	.three-col {
		padding: 4em 0;
	}
}

/* Services */
.process {
	margin-bottom: 1.5em;
}

.process .faq__title-container {
	margin-top: 1.5em;
	margin-bottom: 1em;
}

.step-one .service {
	padding-bottom: 1em;
	border-bottom: 3px solid var(--clr-primary);
}

.process__step-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 1.5em 0 1em;
}

.number {
	display: inline-block;
	padding: 0 0.5em;
	font-size: 1.8rem;
	border: 3px solid var(--clr-secondary);
	border-radius: 3em;
}

.step-one__title,
.step-two__title,
.step-three__title,
.step-four__title {
	flex-grow: 1;
	text-align: center;
}

.number,
.step-one__title,
.step-two__title,
.step-three__title,
.step-four__title {
	margin: 0;
}

@media screen and (min-width: 700px) {
	.process {
		margin: 2em auto;
		width: 40%;
	}

	.step-one__title,
	.step-two__title,
	.step-three__title,
	.step-four__title {
		text-align: unset;
		margin-left: 1em;
	}
}

/* Item Cards */
.items-accepted__list,
.items-denied__list {
	list-style: none;
	padding: 0 0.5em;
	line-height: 2;
}

.items-accepted__list li::before {
	content: "✔ ";
	margin-right: 0.25em;
}

.items-denied__list li::before {
	content: "✖ ";
	margin-right: 0.25em;
}

.items-accepted + .items-denied {
	margin: 1em 0 2em;
}

.items-accepted {
	border: 3px solid var(--clr-green);
	border-radius: 5px;
	text-align: left;
	color: var(--clr-green);
	padding: 0;
}

.items-accepted .text-emp {
	color: var(--clr-green);
}

.items-denied .text-emp {
	color: var(--clr-red);
}

.items-denied {
	border: 3px solid var(--clr-red);
	border-radius: 5px;
	text-align: left;
	color: var(--clr-red);
	padding: 0;
}

.items-accepted__title,
.items-denied__title {
	margin: 0;
	padding: 0.5em 0;
	text-align: center;
	color: var(--clr-light);
}

.items-accepted__title {
	background-color: var(--clr-green);
}

.items-denied__title {
	background-color: var(--clr-red);
}

.items-accepted__list,
.items-denied__list {
	padding-left: 1em;
}

.faq-section {
	padding: 1em;
	text-align: center;
	border: 2px solid var(--clr-primary);
	border-radius: 5px;
}

@media screen and (min-width: 700px) {
	.items {
		display: flex;
		justify-content: space-between;
	}

	.items-accepted + .items-denied {
		margin: 0;
	}

	.items-accepted,
	.items-denied {
		width: 48%;
	}
}

/* Listings */
.overview {
	margin: 1.5em 0;
}

.overview--small {
	padding: 0;
	margin-bottom: 0;
}

.overview-title {
	text-align: center;
}

.card {
	margin-bottom: 1em;
	padding: 1em 0.5em;
	text-align: center;
	border: 3px solid var(--clr-secondary);
	border-radius: 10px;
}

.card:nth-child(odd) {
	border: none;
}

@media screen and (min-width: 700px) {
	.overview--small {
		margin: 0 auto;
		margin-top: 2em;
		width: 50%;
	}

	.flex {
		flex-wrap: wrap;
		justify-content: center;
		align-items: stretch;
	}

	.card {
		width: 30%;
		padding: 1em 1em;
		margin-top: 1em;
		margin-left: 1em;
	}

	.card:nth-child(odd) {
		border: 3px solid var(--clr-secondary);
	}

	.card .btn {
		width: 80%;
		background-color: var(--clr-primary);
		color: var(--clr-secondary);
	}
}

/* Contact form */
.contact {
	background-color: var(--clr-primary);
	padding: 0.5em 0 1em;
	margin-top: 0.9em;
}

.contact__form {
	width: 100%;
	text-align: center;
}

.contact__title {
	margin: 0.75em 0;
}

.contact__group + input {
	margin-top: 2em;
}

.contact__group + .contact__group {
	margin-top: 1.5em;
}

.label-container {
	display: flex;
}

.contact__email-label,
.contact__msg-label,
.newsletter__email-label {
	font-size: 1.1rem;
	color: var(--clr-light);
}

.contact__email-input,
.contact__msg-input,
.newsletter__email-input {
	width: 100%;
	margin-top: 0.5em;
}

@media screen and (min-width: 700px) {
	.contact {
		padding: 3em 0;
	}

	.contact__group {
		width: 60%;
		margin: 0 auto;
	}

	.contact .btn,
	.newsletter .btn {
		width: 60%;
	}
}

/* Newsletter */
.newsletter {
	background-color: var(--clr-secondary);
	color: var(--clr-light);
	text-align: center;
	padding: 2em 0;
}

.newsletter__title {
	margin-top: 0;
}

.newsletter__email-input + input {
	margin-top: 2em;
}

input + .checkbox-container {
	margin-top: 0.75em;
}

.checkbox-container + .checkbox-container {
	margin-bottom: 1em;
}

/* Map section */
.address {
	margin: 2em 0;
}

.address__map-container {
	width: 48%;
	display: flex;
	align-items: center;
}

.address__text {
	width: 50%;
	display: flex;
	text-align: center;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}

.address__text h3 {
	margin: 0.5em 0 0;
	font-size: 1rem;
}

.address__text p {
	margin: 0;
	font-size: 0.9rem;
}

@media screen and (min-width: 700px) {
	.newsletter {
		padding: 3em 0;
	}

	.address__text h3 {
		font-size: 1.5rem;
		margin-bottom: 0.25em;
	}

	.address__text p {
		font-size: 1.2rem;
	}
}

/* FAQ */
.faq {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.faq__title-container {
	text-align: center;
}

.faq__entry {
	margin-top: 1.5em;
	border-bottom: 3px solid var(--clr-primary);
}

.faq__entry-group {
	padding: 0.1em 1em;
}

.question {
	background-color: var(--clr-secondary);
	color: var(--clr-light);
	font-size: 1.2rem;
	border-radius: 1em;
}

/* Pref items */
.pref-items,
.deprec-items {
	margin-top: 1.5em;
	margin-bottom: 1em;
}

@media screen and (min-width: 700px) {
	.items__card-container {
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		flex-wrap: wrap;
	}

	.deprec-items .items__card-container {
		width: 80%;
		margin: 0 auto;
	}

	.pref-items__group {
		width: 30%;
	}
	.deprec-items__group {
		width: 48%;
	}
}

/* Footer section */
.footer {
	background-color: var(--clr-primary);
	padding: 2em 0 0.25em 0;
	text-align: center;
	font-size: 1rem;
}
