@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap");

:root {
	--ff-primary: "Outfit", sans-serif;
	--ff-accent: "Newsreader", serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Outfit", sans-serif;
}

body {
}

h1,
h2,
h3,
h4,
h5 {
	line-height: 1.1;
	font-family: var(--ff-accent);
}

p {
	line-height: 1.8;
}

img {
	width: 100%;
}

.footer__wrapper,
.contact__wrapper,
.businesses__main,
.about__main {
	max-width: 1200px;
	margin: auto;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1em 1.5em;
	background-color: white;
}

nav a {
	text-decoration: none;
	color: rgb(1, 1, 15);
}

nav a:hover {
	color: orangered;
}

.logo {
	font-size: 2rem;
	font-weight: 700;
}

.burger {
	cursor: pointer;
	display: none;
}

.bar {
	display: block;
	width: 25px;
	height: 2px;
	background-color: rgb(1, 1, 15);
	margin: 5px;
	transition: all 0.3s ease-in-out;
}

nav ul li {
	list-style: none;
}

nav ul {
	display: flex;
	gap: 2em;
}

header {
	background: linear-gradient(45deg, black, transparent),
		url(../img/sebastian-herrmann-O2o1hzDA7iE-unsplash.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-size: cover;
}

.home,
.home__wrapper {
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
}

.home__heading {
	background-image: linear-gradient(120deg, orangered 0%, orangered 100%);
	background-repeat: no-repeat;
	background-size: 100% 50%;
	background-position: 0 88%;
	transition: background-size 0.25s ease-in;
}

/* .home__heading::after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: orangered;
    display: block;
    margin: auto;
    transition: .5s;
} */

.home__description {
	text-align: center;
	line-height: 1.5;
	margin: 1.5em auto;
}

.founders h3,
.founder__title {
	color: orangered;
}

.home__link {
	text-decoration: none;
	color: orangered;
	text-transform: uppercase;
	padding: 0.7em 1.2em;
	background-color: white;
	transition: scale 0.3s ease-in-out;
}

.home__link:hover {
	color: white;
	background-color: orangered;
	scale: 0.9;
}

.about__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	width: min(90%, 70rem);
	margin-inline: auto;
	padding-block: 5rem;
}

.about__text {
	display: grid;
	gap: 1rem;
}

.about__heading {
	color: orangered;
	font-size: 3rem;
}

.about__description {
	color: rgb(1, 1, 15);
}

.wrapper__title,
.businesses__heading {
	padding: 1em 0;
	font-size: 2rem;
	text-align: center;
	color: rgb(1, 1, 15);
}

.businesses {
	background-color: rgb(233, 231, 231);
	padding: 3em 1.5rem;
}

.businesses__wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2em;
	padding: 2em 0;
}

.business {
	background-color: white;
	margin-bottom: 2em;
}

.bus__desc {
	padding: 1.5em;
}

.business__heading {
	color: orangered;
}

.business__description {
	margin: 1em 0;
}

.bus__link {
	text-decoration: none;
	padding: 0.3em 1em;
	color: orangered;
	border: 1px solid orangered;
}

.business:hover .business__image {
	filter: grayscale(0%);
}

.bus__link:hover {
	color: white;
	background-color: orangered;
}

.business__image {
	filter: grayscale(100%);
	transition: filter 0.5s ease;
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 1em 0;
	gap: 2em;
}

.contact__form .form-control input,
.contact__form .form-control textarea {
	width: 100%;
	outline: none;
	border: none;
	border-bottom: 1px solid rgb(1, 1, 15);
	padding: 1em;
	font-size: 1rem;
}

.sbt-btn {
	padding: 0.5em 1em;
	margin: 1em 0;
	color: orangered;
	border: 1px solid orangered;
	background-color: white;
	cursor: pointer;
}

.sbt-btn:hover {
	color: white;
	background-color: orangered;
}

footer {
	background-color: rgb(1, 1, 15);
	color: white;
	padding: 1em;
}

.footer__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
}

.newletter__form {
	padding: 1em 0;
}

.newletter__form input {
	background-color: rgb(1, 1, 15);
	color: white;
	outline: none;
	border: 1px solid white;
	padding: 0.5em;
}

.sub-btn {
	padding: 0.5em;
	border: 1px solid orangered;
	color: white;
	background-color: orangered;
}

.business__links ul li {
	list-style: none;
}

.business__links ul li a {
	color: white;
	text-decoration: none;
}

.business__links ul li a:hover {
	color: orangered;
}
