:root {
	--color-light: #ececec;
	--color-dark: #2f3037;
	--color-border: #50525e;
}

header {
	display: flex;
	align-items: center;
	background-color: white;
	flex-direction: row;
	justify-content: space-between;
	border-bottom: 1px solid var(--color-border);
	padding-bottom: 10px;
}

.about-img {
	height: auto;
}

body {
	margin: 0;
	font-family: "DM Sans", sans-serif;
}

main {
	padding: 0.5rem;
	background-color: white;
	color: var(--color-dark);
}

hr {
	border: none;
	height: 1px;
	background: linear-gradient(
		to right,
		transparent,
		var(--color-dark),
		transparent
	);
}

nav {
	display: flex;
	align-items: center;
}

.nav-link {
	margin: 0 1rem;
	white-space: nowrap;
	margin: 0.5rem;
}

.nav-link:link {
	text-decoration: none;
	color: var(--color-dark);
}

.nav-link:visited {
	text-decoration: none;
	color: var(--color-dark);
}

.nav-link:hover,
.nav-link:active {
	font-size: 1rem;
}

.carousel-img {
	width: 100%;
	height: 600px;
	object-fit: cover;
	object-position: center;
}

footer {
	height: 3.125rem;
	display: flex;
	flex-direction: column;
	padding: 0.5rem;
	color: var(--color-dark);
	border-top: 1px solid var(--color-border);
	padding-top: 10px;
}

.footer-link {
	color: var(--color-dark);
	margin-top: 0.938rem;
	padding: 0 0.5rem;
	height: 1.563rem;
	width: 1.563rem;
}

object {
	pointer-events: none;
}

#copyright {
	display: flex;
	justify-content: flex-end;
	font-size: 0.625rem;
}

.carousel-container {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
}

.carousel {
	display: flex;
}

.carousel-slide {
	min-width: 100%;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	justify-content: center;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	font-size: 18px;
	z-index: 1;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}

.carousel-dots {
	text-align: center;
	padding-top: 10px;
}

.dot {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin: 0 5px;
	background-color: #bbb;
	border-radius: 50%;
	cursor: pointer;
}

.dot:hover {
	background-color: #717171;
}

.active {
	background-color: #717171;
}

address p {
	margin: 0;
	font-size: 0.8em;
	color: var(--color-dark);
}

img {
	border-radius: 50px;
}

#logo {
	border-radius: 0;
}

@media (max-width: 767px) {
	html {
		font-size: 0.75rem;
	}

	.about-img {
		width: 100%;
	}
	#logo {
		width: 40%;
	}
}

@media (min-width: 768px) and (max-width: 1439px) {
	html {
		font-size: 1rem;
	}
	header {
		padding: 1rem;
	}

	.about {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-bottom: 4rem;
	}
	.about-img {
		width: 100%;
	}
	#logo {
		width: 40%;
	}
}

@media (min-width: 1440px) and (max-width: 2559px) {
	html {
		font-size: 1.25rem;
	}

	#logo {
		width: 40%;
	}
	.about {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-bottom: 4rem;
	}
	.about-img {
		width: 70%;
	}
}

@media (min-width: 2560px) {
	html {
		font-size: 2rem;
	}

	#logo {
		width: 25%;
	}

	.about {
		display: flex;
		flex-direction: row;
		align-items: center;
		margin-bottom: 4rem;
	}
	.about-img {
		width: 50%;
	}
}
