/* =======================
bloomtechworld.com
Bloom Techworld - Custom software, built plainly
Palette: white, mint, navy blue, dark grey, black
==========================*/

:root {
	--white: #ffffff;
	--mint: #4ed3a6;
	--mint-light: #b3f2da;
	--mint-deep: #0a6648;
	--mint-line: #12a37c;
	--mint-soft: #d5f6ea;
	--navy: #16243d;
	--navy-deep: #0e1830;
	--grey: #3d4450;
	--grey-soft: #f2f4f6;
	--black: #0b0d12;
}

/* [Base]
-------------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	overflow-x: hidden;
}

img {
	border: 0;
	max-width: 100%;
	height: auto;
}

section {
	margin-bottom: 2em;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.top {
	display: block;
	width: auto;
	margin: 0 auto 0.9em;
	border-bottom: none;
	background-color: transparent;
}
.top:hover,
.top:focus {
	border-bottom: none;
}
.top:focus-visible {
	outline: 2px solid var(--mint);
	outline-offset: 4px;
}

.logo {
	display: block;
	margin: 0 auto;
	width: 150px;
	height: auto;
}

.brand {
	margin: 0.4em 0 3em;
	text-align: center;
	font-family: 'Noto Serif', Georgia, serif;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--white);
}

.nav {
	list-style: none;
	padding: 0;
	text-align: center;
}
.nav li {
	margin-bottom: 1.5em;
}

.nav a,
header a {
	color: var(--mint);
	border-bottom: none;
}
.nav a:hover,
.nav a:focus,
header a:hover,
header a:focus {
	color: var(--white);
	border-bottom: 1px dotted var(--mint);
}

.btn {
	display: inline-block;
	padding: 1% 3%;
	background-color: var(--mint);
	color: var(--navy);
	border-bottom: 0;
	border-radius: 2px;
	transition: all 0.2s linear;
}
.btn:hover {
	background-color: var(--mint-deep);
	color: var(--white);
}

.columns {
	list-style: none;
	padding: 0;
	column-count: 3;
	column-gap: 2em;
}

/* [Grid/Layout]
-------------------------------------------------------------------*/
body {
	margin: 0 auto 2em auto;
	box-sizing: border-box;
	background-color: var(--white);
}

header {
	position: fixed;
	left: 0;
	top: 0;
	width: 25%;
	height: 100%;
	max-width: 300px;
	padding: 2%;
	background-color: var(--black);
	border-right: 1px solid rgba(110, 231, 192, 0.18);
}

main {
	max-width: 570px;
	margin-left: 35%;
	margin-right: 5%;
}

/* [Typography]
-------------------------------------------------------------------*/
body {
	line-height: 1.6;
	color: var(--grey);
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-transform: uppercase;
	color: var(--navy);
	letter-spacing: 0.02em;
}

h2 {
	border-bottom: 2px solid var(--mint-line);
	padding-bottom: 0.25em;
	padding-top: 20px;
  margin-top: -20px;
}

h3 {
	color: var(--navy-deep);
	margin-bottom: 0.3em;
}

.lead {
	font-size: clamp(1.15rem, 1rem + 1.6vw, 1.6rem);
	line-height: 1.4;
	margin-bottom: 2em;
	color: var(--navy);
	font-weight: 500;
}

a {
	color: var(--mint-deep);
	text-decoration: none;
	border-bottom: 1px dotted var(--mint-deep);
	overflow-wrap: break-word;
}
a:hover {
	color: var(--navy);
	border-bottom-color: var(--navy);
	border-bottom-style: solid;
}
a:focus {
	color: var(--mint-deep);
}
a:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 2px;
}

li {
	margin-bottom: 0.8em;
}

footer {
	margin-top: 3em;
	color: var(--black);
}

/* [Responsive]
-------------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
	header {
		position: static;
		width: 100%;
		max-width: 100%;
		height: auto;
		padding: 1.5em 1.25em 1.75em;
		border-right: 0;
		border-bottom: 1px solid rgba(110, 231, 192, 0.18);
	}

	.top {
		margin-bottom: 0.75em;
	}

	.logo {
		width: 104px;
	}

	.brand {
		margin: 0.3em 0 1.25em;
	}

	.nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5em 0.6em;
		margin: 0;
	}

	.nav li {
		margin-bottom: 0;
	}

	.nav a {
		display: inline-block;
		padding: 0.55em 0.9em;
		font-size: 0.85rem;
		text-transform: uppercase;
		letter-spacing: 0.02em;
		background-color: rgba(78, 211, 166, 0.12);
		border-radius: 999px;
	}

	.nav a:hover,
	.nav a:focus {
		background-color: rgba(78, 211, 166, 0.28);
		border-bottom: none;
	}

	main {
		width: auto;
		max-width: 100%;
		margin: 1.25em 1.25em 1em;
	}

	.columns {
		column-count: 2;
		column-gap: 1.25em;
	}

	section {
		margin-bottom: 1.5em;
	}

	footer {
		margin-top: 2em;
	}
}

@media only screen and (max-width: 360px) {
	.nav a {
		font-size: 0.78rem;
		padding: 0.5em 0.7em;
	}

	.brand {
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
