/* === Fonts === */

@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");

/* === Reset all elements to provide a consistent baseline === */

a {
	color: #252429;
}

a:hover,
a:focus {
	color: #1340c1;
}

a:focus-visible {
	outline: 2px dashed #1340c1;
	outline-offset: 2px;
}

p {
	margin: 0;
}

h1,
h2,
h3,
a,
ul,
li {
	margin: 0;
	padding: 0;
	font-weight: 400;
	font-size: clamp(1.4rem, 1vw, 1.6rem);
	line-height: 150%;
}
ul {
	list-style-type: none;
}

/* UTILITIES - Visibility, Accessibility */
.visually-hidden {
	position: absolute;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	margin: -1px;
	border: 0;
	padding: 0;
	width: 1px;
	height: 1px;
	white-space: nowrap;
}

body {
	background-color: #fff;
	min-width: 100vw;
	min-height: 100vh;
	color: #252429;
	font-style: normal;
	font-weight: 400;
	font-size: clamp(1.4rem, 8.33vw, 1.6rem);
	line-height: 150%;
	font-family: "Source Code Pro", monospace;
	font-optical-sizing: auto;
	letter-spacing: -0.02em;
}
@supports (height: 100dvh) {
	html,
	body {
		height: 100dvh;
		overflow: hidden;
	}
}

.container {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	margin: 0;
	padding: 0;
	padding: 2.8rem;
	width: 100%;
	min-width: unset;
	max-width: unset;
	height: 100%;
}

.header {
	display: flex;
	flex: 0.15;
	justify-content: space-between;
}
.logo__img {
	width: auto;
	height: clamp(4rem, 4vw, 7rem);
}

.main {
	display: flex;
	flex: 1;
	overflow: hidden;
}

.main__pic,
.main__text {
	flex: 1;
}
.main__pic {
	flex: 0.618;
	overflow: hidden;
}
.main__text {
	flex: 0.382;
}

.pic__img {
	border-radius: 0.5px;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.main__text {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.text__content {
	padding-inline: 4rem;
}
.content__h2 {
	margin: 0;
	min-width: 36rem;
	max-width: 55rem;
}
.content__h2 strong span {
	font-weight: 900;
	font-family: Arial, Helvetica, sans-serif;
}
.sub-line {
	display: block;
	margin-top: 1em;
}

.main__mail {
	margin-top: 1em;
}

.footer {
	position: absolute;
	right: 0;
	bottom: 0;
	margin-right: 2.8rem;
	margin-bottom: 2.8rem;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
}

.nav__social {
	display: flex;
	gap: 1.5em;
}

.social__facebook,
.social__twitter {
	max-height: 2rem;
}

/* Responsive adjustments for viewports < 1645px */
@media (max-width: 1646px) {
	.content__h2 {
		width: 100%;
	}
}

/* Responsive adjustments for viewports < 1025px */
@media (max-width: 1025px) {
	.container {
		gap: 0;
	}
	.header {
		flex: unset;
		margin-bottom: 2rem;
	}
	.main {
		flex-direction: column;
		gap: 2rem;
	}
	.main__pic {
		flex: 0.9;
	}
	.main__text {
		display: flex;
		flex: 0.1;
		flex-direction: column;
		justify-content: flex-start;
	}

	.text__content {
		padding: 0;
	}
	.content__h2 {
		width: 100%;
		min-width: unset;
		max-width: unset;
	}

	.pic__img {
		width: 100%;
	}

	.footer {
		display: flex;
		position: static;
		flex: unset;
		justify-content: flex-end;
		margin: 0;
		margin-top: 1.5rem;
	}
	.nav__social {
		display: flex;
		align-items: flex-end;
	}
}

/* Responsive adjustments for viewports < 425px */
@media (max-width: 426px) {
	.container {
		padding: 2rem;
	}
	.tel {
		display: none;
	}
}

/* Responsive adjustments for viewports < 345px */
@media (max-width: 344px) {
	body {
		min-height: 100%;
	}
	@supports (height: 100dvh) {
		html,
		body {
			height: 100%;
			overflow-y: auto;
		}
	}
	.container {
		gap: 2.5rem;
	}

	.header__tel {
		display: none;
	}
	.main {
		gap: 3rem;
	}
	.pic__img {
		height: 100%;
	}
}

/* Responsive adjustments for viewports < 245px */
@media (max-width: 245px) {
	body {
		min-height: unset;
	}
	@supports (height: 100dvh) {
		html,
		body {
			height: unset;
			overflow-y: auto;
		}
	}

	body {
		font-size: 2vw;
	}

	h1,
	h2,
	h3,
	a,
	ul,
	li {
		font-size: 6vw;
	}
	.container {
		padding: 8vw;
	}
}
