/* Universal style rules */
* {
	/* Fallback font for Lato */
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-family: 'Lato', sans-serif;
}
html,
body {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	box-sizing: border-box;
	color: #747676;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#footer {
	padding: 20px calc(100% * (372.5 / 1591.2));
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: 100%;
	background-color: #222;
	color: #666;
}
#footer p {
	font-size: 15px;
	padding: 0;
	margin: 0;
	line-height: 23px;
}
form {
	background-color: #00c1f0;
	color: #fff;
	margin: auto;
	box-sizing: border-box;
}
form p {
	margin: 0;
}
form strong {
	margin: 10px 0;
	display: block;
}
input {
	padding: 10px 12px;
	width: 100%;
	box-sizing: border-box;
	line-height: 23px;
	border: 1px solid #ddd;
	font-size: 16px;
}
input[name='submit'] {
	cursor: pointer;
	grid-area: Submit;
	text-transform: uppercase;
	font-weight: bold;
	color: inherit;
	background-color: #444;
	border: none;
	-webkit-transition: all 350ms ease-in-out;
	-moz-transition: all 350ms ease-in-out;
	-o-transition: all 350ms ease-in-out;
	-ms-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out;
}
input[name='submit']:hover {
	background-color: transparent;
	border: 1px solid #fff;
}
#nav {
	position: fixed;
	width: 100%;
	height: 6vh;
	top: 0;
	left: 0;
	box-sizing: border-box;
	background-color: #fff;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	overflow: hidden;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#nav a {
	display: flex;
	align-items: center;
	color: #333;
	text-decoration: none;
	padding: 0 10px;
	height: 100%;
	box-sizing: border-box;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 13px;
}
#landing {
	flex-direction: column;
	margin-bottom: 10%;
}
#landing img {
	width: 100%;
	height: 34vh !important;
	max-width: none !important;
}
#landing h1 {
	font-size: 2.5em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	color: initial;
}
#landing h1 img {
	height: 2.5em !important;
	width: auto;
	margin-left: 30px;
}
#landing h2 {
	text-align: center;
}
#introduction li {
	margin-top: 15px;
}

#intro0 {
	font-weight: bold;
}
#intro6 span {
	font-size: 1.5em;
	font-weight: bold;
}
#intro6 .smaller {
	font-size: 1.2em;
}

/* Mobile style rules */
@media screen and (max-width: 769px) {
	#contact {
		padding: 12vh 0 12vh;
	}
	#landing h1 {
		font-size: 2em;
		text-transform: uppercase;
		display: flex;
		align-items: center;
		justify-content: space-evenly;
		padding: 0 5%;
	}
	#landing h1 img {
		height: 2em !important;
		width: auto;
	}
	#landing h2 {
		padding: 0 5%;
	}
	#nav {
		max-height: 10vh;
		height: auto;
		flex-direction: column;
		justify-content: flex-start;
		-webkit-transition: all 350ms ease-in-out;
		-moz-transition: all 350ms ease-in-out;
		-o-transition: all 350ms ease-in-out;
		-ms-transition: all 350ms ease-in-out;
		transition: all 350ms ease-in-out;
		overflow: hidden;
	}
	#introduction img {
		width: 100%;
	}
	#introduction div div {
		padding: 0 5%;
	}
	#introduction > div {
		padding: 7vh 0 1vh;
	}
	#nav > div {
		-webkit-flex: 0;
		flex: 0;
		flex-shrink: 0;
		height: 10vh;
		display: flex;
		width: 100%;
		justify-content: space-between;
		padding: 0 5%;
		box-sizing: border-box;
	}
	#nav.visible {
		max-height: 80vh;
	}
	#nav > a {
		-webkit-flex: 0;
		flex: 0;
		flex-shrink: 0;
		background-color: #f9f9f9;
		width: 100%;
		text-align: center;
		line-height: 40px;
	}
	#logo {
		justify-content: center;
		align-items: center;
		height: 100%;
		display: flex !important;
	}
	#logo img {
		height: 70%;
	}
	#burger {
		display: block;
		height: 100%;
		width: 10vh;
		box-sizing: border-box;
		padding: 2vh 1vh;
	}
	#burger div {
		box-sizing: border-box;
		border: 2px solid #444;
		background-color: #00000000;
		height: 100%;
		width: 100%;
		border-radius: 5px;
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		align-items: center;
		padding: 7%;
	}
	#burger div span {
		display: block;
		width: 70%;
		border-bottom: 2px solid #444;
	}
	form {
		display: flex;
		flex-direction: column;
		width: 90%;
		padding: 7.5%;
	}
	input {
		margin: 10px auto 0;
	}
	input[name='submit'] {
		width: 60%;
		margin-bottom: 10%;
	}
}

/* Desktop style rules */
@media screen and (min-width: 768px) {
	#contact {
		padding: 12vh 0 40vh;
	}
	#burger {
		display: none;
	}
	form {
		padding: 2%;
		width: 60%;
		max-width: 700px;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		gap: 10px;
		grid-template-areas:
			'Text Text'
			'Name Email'
			'Tel Company'
			'Team-count Submit';
	}

	.name-error {
		grid-area: Name;
	}
	.email-error {
		grid-area: Email;
	}
	.phone-error {
		grid-area: Tel;
	}
	.company-error {
		grid-area: Company;
	}
	input[name='team-count'] {
		grid-area: Team-count;
	}
	.name-error,
	.count-error,
	.email-error,
	.company-error,
	.phone-error {
		display: flex;
		flex-direction: column;
	}
	.name-error p,
	.count-error p,
	.email-error p,
	.company-error p,
	.phone-error p {
		color: #f00;
		margin: 0;
		padding: 0;
		line-height: 20px;
		font-size: 14px;
	}
	#nav {
		padding: 0 15px 0 100px;
	}
	#nav img {
		height: 60%;
		position: absolute;
		left: 15px;
	}
	#nav a:hover {
		color: #00c1f0;
	}
	#introduction div {
		color: #5c5c5c;
		max-width: 40%;
		font-size: 27.5px;
	}
	#introduction div:nth-child(2n) {
		flex-direction: row-reverse;
	}
	#introduction > div {
		max-width: 100%;
		display: block;
		width: 100%;
		overflow: hidden;
		display: flex;
		justify-content: space-evenly;
		align-items: center;
		padding: 7vh 0 1vh;
	}
	#introduction div img {
		height: 100%;
		max-width: 45%;
		max-height: 92vh;
	}
	#intro2 li,
	#intro3 li {
		font-size: 20px;
	}
	#intro4 li,
	#intro5 li,
	#intro6 li {
		font-size: 24px;
	}
	#landing {
		padding: 6vh 0 2vh !important;
	}
}
