/* ===================== RESET / BASE ===================== */

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

body {
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
	overflow-x: hidden; /* prevents accidental horizontal scroll */
}

/* ===================== HERO / BACKGROUNDS ===================== */

.bg {
	background: black url('../img/bg_black.svg') no-repeat center / cover;
	min-height: 750px;
	width: 100%;
}

.head_bg,
.primary_menu_bg {
	min-height: 750px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.portfolio_bg {
	padding-bottom: 3em;
	margin-bottom: 8em;
}

.linear_bg {
	background:
		linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
		url('../img/bg_black2.svg') no-repeat center / cover;
	padding-top: 10em;
}

/* ===================== FONTS ===================== */

@font-face {
	font-family: 'Ostrich-regular';
	src: url('../fonts/ostrich-sans/ostrich-regular.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'Amatic';
	src: url('../fonts/amatic/AmaticSC-Regular.ttf') format('truetype');
	font-display: swap;
}

/* ===================== NAVIGATION ===================== */

.navbar {
	height: 70px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: white;
	border-bottom: 1px solid lightgray;
	z-index: 1000;
	display: none; /* shown via JS if needed */
}

ul {
	margin: 0;
	padding: 0;
}

ul li {
	list-style: none;
	display: inline-block;
	padding: 0 20px;
}

li a {
	text-decoration: none;
	color: black;
	letter-spacing: 3px;
	font-size: 12px;
}

.top_menu_icon {
	width: 32px;
	height: 30px;
}

/* ===================== SVG ===================== */

.svg_container {
	width: 100%;
	max-width: 600px;
}

.svg_content_logo,
.svg_content_menu {
	width: 100%;
	height: auto; /* 🔴 critical fix */
	max-height: 600px;
}

.all_fill_white {
	fill: #fff;
}

/* ===================== SVG ANIMATIONS ===================== */

@keyframes wobble {
	from { transform: rotate(-0.2deg); }
	to   { transform: rotate(0.2deg); }
}

a:hover {
	cursor: pointer;
	color: tomato;
	text-decoration: none;
	animation: wobble 0.2s infinite alternate;
}

.logo_stroke {
	fill: none;
	stroke-width: 1.5px;
	stroke: darkgray;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: dash 5s linear infinite alternate;
}

@keyframes dash {
	to {
		stroke-dashoffset: 0;
	}
}

/* ===================== TYPOGRAPHY ===================== */

h1 {
	font-family: 'Ostrich-regular', Arial, sans-serif;
	font-size: 4rem;
	margin-top: 0;
	margin-bottom: 15px;
	letter-spacing: 17px;
}

h3 {
	font-family: 'Amatic', cursive;
	font-size: 3rem;
	margin: 2em 0 1em;
	color: #636363;
}

.heading_span {
	font-size: 11px;
	letter-spacing: 10px;
	line-height: 3;
	font-family: Arial, sans-serif;
}

/* ===================== CONTENT ===================== */

.p_about {
	max-width: 800px;
	margin: auto;
	padding: 1em 15px 10em;
	font-size: 15px;
}

.team {
	width: 100vw;
	margin: 5em 0 7em;
	padding: 0 1rem;       /* keeps content from touching edges */
	text-align: center;
}

.teamphoto {
	display: inline-block;
	margin: 1em;
	padding: 2em;
	background-color: #f3f3f3;
	box-shadow: lightgray 1px 4px 5px;
}

.photo_resize {
	width: 155px;
	height: 185px;
	object-fit: cover;
	margin: 1em;
}

.inline_block {
	display: inline-block;
	padding: 18px;
	font-size: 13px;
}

.service_icon {
	width: 20px;
	height: 20px;
	margin-right: 6px;
}

.app_icon {
	width: 50px;
	height: 50px;
	margin-right: 6px;
}

/* ===================== CONTACT FORM ===================== */

.form_bg {
	background-color: tomato;
	color: white;
	padding: 4em 1em;
}

.form {
	max-width: 1100px;
	margin: auto;
}

.form_field,
.form_field_msg {
	display: inline-block;
	width: 100%;
	max-width: 500px;
	margin: 10px;
	padding: 10px;
	color: black;
}

.form_field_msg {
	max-width: 1025px;
}

.form_label {
	color: white;
}

.input_field {
	width: 100%;
	height: 50px;
	border: none;
	padding-left: 15px;
	letter-spacing: 1px;
}

.msg {
	height: 200px;
	margin-bottom: 1em;
}

.button {
	background-color: white;
	border: 3px solid #fcfcfc;
	cursor: pointer;
	border-radius: 8px;
	width: 100px;
	height: 50px;
	margin: 20px;
}

/* ===================== FOOTER ===================== */

.footer {
	background: black url('../img/bg_black.svg') no-repeat center / cover;
	color: white;
	height: 200px;
}

.social_media {
	margin: 4em 5px 3em;
	display: inline-block;
}

.sm_icon {
	width: 40px;
	height: 40px;
}

.copy_right {
	font-size: 0.7em;
	letter-spacing: 2px;
}

/* ===================== MEDIA QUERIES ===================== */

/* Tablets */
@media screen and (max-width: 992px) {

	.primary_menu_bg {
		display: none;
	}

	h1 {
		font-size: 2.5rem;
		letter-spacing: 10px;
	}

	.svg_content_logo {
		max-height: 450px;
	}
}

/* Phones */
@media screen and (max-width: 576px) {

	.bg {
		min-height: 400px;
	}

	h1 {
		font-size: 1.5rem;
		letter-spacing: 6px;
	}

	.heading_span {
		font-size: 10px;
	}

	.inline_block {
		width: 100%;
	}

	.form_field,
	.form_field_msg {
		max-width: 300px;
	}
}