:root {
--main-bg-color: #faeed4;
--main-text-color: #050505;
--second-text-color: white;
--second-color: #faeed4;
--third-color: #3f8a7f;
--fourth-color: #d5622a;
--fifth-color: #facd16;
--sixth-color: #fffae8;
--hr-color: #d5622a;
}

@font-face {
	font-family: 'Open_Sans';
	src: url('static/fonts/Open_Sans/static/OpenSans-Regular.tff') format('ttf'),
}

@font-face {
	font-family: 'Lora';
	src: url('static/fonts/Lora/static/Lora-Regular.tff') format('ttf'),
}

body {
    margin: 0;
	font-family: 'Open Sans';
	background-color: var(--main-bg-color);
}

header {
	text-align: center;
	h1, p {
		margin: 0;
	}
}

.banner {
	h1, p {
		color: var(--second-text-color);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
	}
	h1 {
		margin-bottom: 0;
		margin-top: 2em;
	}
	p {
		margin-top: 0;
		margin-bottom: 5em;
	}
	border: none;
	border-radius: 0;
}

section {
	margin: auto;
	max-width: 1153px;
	padding: 2em;
}

.wide {
	max-width: 100%;
}

h1, h2, h3, h4, {
	font-family: 'Lora';
}

h5, h6{
	font-family: 'Open Sans';
}

hr {
	max-width: min(calc(100vw - 4em), 1153px);
	height: 1px;
	background-color: var(--main-text-color);
	border: none;
}

nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction:  row;
	max-width: 1153px;
	a {
		text-decoration: none;
		font-weight: 600;
		padding-left: 20px;
		color: var(--main-text-color);
	}
	img {
		max-width: 130px;
        padding: 1em 0 1em 1em;
	}
	ul {
		display: flex;
		li {
			display: block;
		}
	}
}

.number-display {
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-items: center;
	text-align: center;
	strong {
		color: #313124;
		font-size: 70px;
	}
	p {
		color: #415568;
		font-size: 17px;
		text-align: center;
	}
}

.grid4 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-auto-rows: minmax(min-content, max-content);
}

.border-between {
  border-right: 1px solid #ccc;
  padding: 20px;
}

.border-between:last-child {
  border-right: none;
}

.grid3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-rows: minmax(min-content, max-content);
}

.background-secondary-color {
	background-color: var(--fifth-color);
	padding: 20px;
	h5 {
		font-size: 18px;
	}
	p {
		font-size: 15px;
	}
}

.background-secondary-color:hover{
	background-color: #ffffff;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.banner {
	background-image: url('../images/banner.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.grid2 {
	display: grid;
    grid-template-columns: 1fr 1fr;
	h2 {
		text-align: center;
	}
	div {
		padding: 1em;
	}
	img {
		margin: auto;
		max-width: 100%;
		border-radius: 10px;
		padding: 0;
		box-shadow: 0px 15px 25px -10px rgba(0,0,0,.05);
	}
	.text {
		padding: 1rem;
	}
	.left-half, .right-half {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

.card {
	margin: auto;
	max-width: 60%;
	background-color: var(--sixth-color);
	box-shadow: 0px 15px 25px -10px rgba(0,0,0,.05);
	border-radius: 10px;
	img {
		margin: 0;
		padding: 0;
		object-fit: cover;
		border-top-left-radius: 12px;
        border-top-right-radius: 12px;
		width: 100%;
		height: 200px
	}
	div {
		padding: 2em;
	}
}

.card-wide {
	margin: 2em auto;
	background-color: var(--sixth-color);
	border-radius: 15px;
	box-shadow: 0px 15px 25px -10px rgba(0,0,0,.05);
	display: flex;
	h3 {
		font-family: Lora;
		font-size: 32px;
	}
	p {
		line-height: 20px;
	}
	img {
		max-width: 250px;
		object-fit: cover;
	}
	div {
		padding: 2em;
	}
	a {
		text-decoration: none;
		font-weight: 600;
		color: #050505;
	}
}

section {
	img {
		padding: 2em 0;
	    max-width: 100%;
	}
	border-radius: 10px;
}

.yellow-button {
	margin: auto;
	display: block;
	text-align: center;
	background-color: #facd16;
	box-shadow: 0px 15px 25px -10px rgba(0,0,0,.05);
	color: #3a3a24;
	border: none;
	padding: 13px 40px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	text-decoration: none;
	font-weight: 700;
}

.yellow-button:hover {
	background-color: #f0f0f0;
	transition: background-color 0.3s ease, color 0.3s ease;
}

h1 {
	color: #050505;
	font-size: 60px;
	line-height: 1.1em;
}

h2 {
	color: #050505;
	font-size: 42px;
	line-height: 1.1em;
	font-family: 'Lora';
}

.title-button {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	h2 {
		padding-right: 1em;
		max-width: 60%;
		min-width: 600px;
	}
}

footer {
	background-color: black;
	color: white;
	.footer-section {
		display: flex;
		flex-direction: column;
		align-items: center;

	}
	h4 {
		text-align: center;
		font-size: 20px;
		font-weight: 400;
	}
	ul li {
		list-style: none;
		a {
			color: white;
		}
	}
	.socials {
		display: flex;
		flex-direction: row;
		justify-content: center;

		a {
			padding: 0.5em;
			max-width: 50px;

		}
		svg {
			background-color: white;
			border-radius: 5px;
		}
	}
	.copyright {
		padding: 0 1em;
		font-size: 11px;
	}
}

@media(max-width: 915px) {
	.grid2 {
		grid-template-columns: 1fr;
	}
	.grid3 {
		grid-template-columns: 1fr;

	}
	.border-between:nth-child(2) {
        border-right: none;
	};
	.grid4 {
		grid-template-columns: 1fr 1fr;
	}
}

