/*beloved reset*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	list-style-type: none;
	text-decoration: none;
	font-family: "Roboto", Sans-serif;
}
*::selection {
	background: var(--black);
	color: var(--lt);
}
/*vars*/
:root {
	--max-size: 1200px;
	--white: #f6fcff;
	--lt: #ebf9ff;
	--md: #bfe1fb;
	--dk: #2e87c2;
	--dkr: #1b425d;
	--black: #070810;
}

a {
	color: var(--dk);
}
a:hover {
	color: var(--dkr);
}

/*basic*/
body {
	background: var(--white);
}
#wrapper {
	max-width: var(--max-size);
	margin: 0 auto;
	display: flex;
	flex-flow: column nowrap;
	box-shadow: 3px 3px 10px var(--md);
	border-radius: 3px;
	border-width: 0px;
	background: linear-gradient(17.5deg, var(--white), var(--md));
}
header {
	width: 100%;
	max-width: var(--max-size);
	display: flex;
	flex-direction: column;
}
header img {
	width: 100%;
	max-width: var(--max-size);
}
nav {
	padding: 5px;
	font-size: 1.4em;
	position: relative;
	border: 1px solid var(--lt);
	background: linear-gradient(17.5deg, var(--md), var(--white));
}
nav ul {
	display: flex;
}
nav ul li {
	flex-grow: 1;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
}
nav ul li a {
	border-radius: 5px;
	border-width: 0px;
	color: var(--dkr);
	font-weight: bold;
	padding: 20px;
}
nav ul li a:hover {
	color: var(--lt);
	background: linear-gradient(125deg, var(--md), var(--dk));
}
nav ul li .current {
	color: var(--dkr);
	background: var(--md);
}

main {
	flex-grow: 1;
	width: 100%;
	max-width: var(--max-size);
	font-size: 1.3em;
}
section {
	padding: 20px;
}

main section h1 {
	margin-bottom: 20px;
}
main section h2 {
	margin-bottom: 20px;
}
main section h3 {
	margin-bottom: 14px;
}
main section p {
	margin-bottom: 20px;
}
.bodyimage {
	max-width: 350px;
	float: right;
	margin: 30px;
}
.heroimg {
	object-fit: cover;
	object-position: 50% 45%;
	max-height: 350px;
	filter: grayscale(1);
}

footer {
	position: sticky;
	bottom: 0;
	width: 100%;
	max-width: var(--max-size);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}
.card {
	text-align: left;
	background: linear-gradient(17.5deg, var(--lt), var(--lt));
	color: var(--black);
	margin: 10px 10px;
	padding: 20px;
	font-size: 1.2em;
	border-radius: 3px;
	box-shadow: 3px 3px 10px var(--md);
	display: flex;
	flex-direction: column;
}
.card h3,
.card h5 {
	margin-bottom: 10px;
}
.contactcard {
	width: fit-content;
	line-break: loose;
}
.card .insta {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	font-size: 0.8em;
	pointer-events: initial;
}

form {
	display: flex;
	flex-flow: column;
}
.contactForm {
	background: linear-gradient(45deg, var(--md), var(--lt));
	flex-grow: 1;
	margin: 10px 20px;
	padding: 30px;
	font-size: 1.2em;
	border-radius: 5px;
	border-width: 0px;
	box-shadow: 3px 3px 10px var(--md);
}
.contactFormInner {
	flex-flow: row wrap;
}
.contactForm label {
	font-style: italic;
	line-height: 2em;
	padding: 3px;
}
.contactForm input {
	font-style: italic;
	font-size: 1.2em;
	width: 100%;
	padding: 3px;
	border-radius: 3px;
	border-width: 0px;
	box-shadow: 3px 3px 10px var(--md);
}
.contactForm textarea {
	font-style: italic;
	font-size: 1.2em;
	width: 100%;
	padding: 3px;
	min-height: 7em;
	border-radius: 3px;
	border-width: 0px;
	box-shadow: 3px 3px 10px var(--md);
}
.contactForm button {
	background: var(--md);
	padding: 10px;
	margin: 10px 0;
	border-radius: 3px;
	border-width: 0px;
	font-weight: bold;
	font-size: 1.2em;
	box-shadow: 3px 3px 10px var(--md);
}
.contactForm button:hover {
	background: var(--lt);
}
.contactForm button:active {
	background: var(--dk);
}
.contactForm input:focus,
.contactForm textarea:focus {
	font-style: normal;
}

.contactLower {
	display: flex;
	flex-flow: row nowrap;
	flex-grow: 1;
}
.contactLower p,
.contactLower h2 {
	width: fit-content;
}

.textsize {
	display: flex;
	flex-flow: row nowrap;
	gap: 10px;
	justify-content: end;
	align-items: center;
}
.textsize * {
	height: 32px;
	width: 32px;
	margin: 0;
}
.textsize p {
	justify-content: center;
}
.textsizesml,
.textsizemed,
.textsizelrg {
	object-fit: contain;
	background-color: var(--md);
	border-radius: 3px;
	border-width: 0px;
	box-shadow: 3px 3px 10px var(--md);
	border: 1px solid var(--dkr);
	background-size: 80%;
	background-position: center;
	background-repeat: no-repeat;
}
.textsizesml:hover,
.textsizemed:hover,
.textsizelrg:hover {
	background-color: var(--white);
}
.textsizesml:active,
.textsizemed:active,
.textsizelrg:active {
	background-color: var(--dkr);
}

.textsizesml {
	background-image: url("./img/textsizesml.png");
}
.textsizemed {
	background-image: url("./img/textsizemed.png");
}
.textsizelrg {
	background-image: url("./img/textsizelrg.png");
}

@media (max-width: 1200px) {
	#wrapper {
		flex-flow: column;
		margin: 0;
		padding: 0;
	}
	h1,
	h2,
	h3,
	h4,
	h5 {
		text-align: center;
	}
	.section {
		flex-flow: column;
		margin: 0;
		padding: 0;
	}
	.logo {
		display: none;
	}
	.textsize {
		justify-content: center;
	}
	.contactLower {
		flex-flow: column nowrap;
		margin: 0;
		padding: 0;
	}
	.contactForm {
		width: 100%;
		margin: 0;
	}
	.card {
		padding: 15px;
		margin: 15px 0;
	}
	.contactcard {
		width: 100%;
	}
	.bodyimage {
		display: block;
		width: 100%;
		margin: 15px auto;
		float: none;
	}
	footer {
		flex-direction: column;
		position: initial;
	}
}
