/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

:root {
	--color-black: #14191F;
	--color-white: #F2F7FA;
  	--color-tan: #E0E1DD;
	--color-blue: #2274A5;
	--color-gray: #415A77;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family: 'Roboto Condensed', sans-serif;
	box-sizing: border-box;
	color: var(--color-black);
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	background-color: #F2F7FA;
}
ul {
	padding-left: 16px;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.wrapper {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

.header {
  display: flex;
  flex-direction: column;
  row-gap: 36px;
  justify-content: space-between;
  align-items: center;
  padding: 48px 16px;
}

.logo-image {
	width: 300px;
}

.header__breadcrumb-btn {
    text-align: right;
    display: flex;
    flex-direction: column;
    row-gap: .25rem;
    align-items: end;
    width: fit-content;
    padding: 12px 11px;
    background: var(--green);
    border-radius: 50%;
}

.header__breadcrumb-btn span {
    display: inline-block;
    height: 2px;
    width: 1rem;
    background-color: var(--color-black);
    transition: transform .5s;
}

.header__breadcrumb {
	display: none;
}

.nav-list {
  display: flex;
  gap: 64px;
}

.nav-list li {
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-black);
}

.nav-link--active {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 2px;
}

.hero {
	height: 480px;
	margin-bottom: 40px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: multiply;
	filter: grayscale(100%);
}

.hero--home {
	background-image: url('../static/images/hero-home.png');
}

.hero--about,
.hero--contact,
.hero--terms-of-use {
	background-color: transparent;
	height: 300px;
	background-image: url('../static/images/code.png');
	background-position: center;
	background-size: contain;
	background-repeat: repeat-x;
	filter: none;
}

.hero-content {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-direction: column;
	height: 100%;
	row-gap: 56px;
	color: var(--color-white);
	padding-right: 56px;
}

.hero--about .hero-content,
.hero--contact .hero-content,
.hero--terms-of-use .hero-content {
	padding-right: 0;
	align-items: center;
	background-image: url('../static/images/code.png');
}

.hero-title {
	font-size: 96px;
	font-weight: 500;
	color: var(--color-white);
}

.hero-description {
	font-size: 48px;
	font-weight: 500;
	max-width: 530px;
	text-align: right;
	color: var(--color-white);
	line-height: 1.2;
}

.divider {
	border: 1px solid var(--color-black);
	margin: 24px 0;
}

.divider--small {
	max-width: 824px;
	margin: 0 auto;
}

.image-container {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1024px;
	margin: 0 auto;
	height: 340px;
	border-radius: 5px;
	position: relative;
}

.image--decor {
	position: absolute;
	top: -30px;
	left: -120px;
	width: 180px;
	height: 180px;
	z-index: 1;
}

.image--decor-2 {
	position: absolute;
	bottom: -80px;
	right: -30px;
	width: 180px;
	height: 180px;
	z-index: 1;
}

.image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	z-index: 2;
}

.section {
	margin: 56px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	row-gap: 32px;
}

.body--terms-of-use .section,
.body--privacy-policy .section {
	align-items: flex-start;
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
}

.grid-item .section {
	align-items: flex-start;
}

.section--bordered {
	border: 1px solid var(--color-gray);
	padding: 48px 0;
	border-radius: 10px;
}

.section-title {
	font-size: 40px;
	font-weight: 500;
}

.grid-item .section-title {
	width: 100%;
	border-bottom: 2px solid var(--color-gray);
	max-width: 500px;
}

.section-description {
	max-width: 1040px;
	text-align: center;
	font-size: 20px;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	row-gap: 24px;
}

.body--terms-of-use .section-description,
.body--privacy-policy .section-description {
	align-items: flex-start;
	text-align: left;
}

.grid-item .section-description {
	text-align: left;
}

.section-description small {
	font-size: 13px;
	max-width: 220px;
	font-family: 'Roboto Condensed', sans-serif;
}

.section-description strong {
	font-weight: 700;
}

.section-description h3 {
	font-size: 24px;
	font-weight: 600;
}

.section-description--bordered {
	border: 1px solid var(--color-gray);
	padding: 16px;
	border-radius: 10px;
	font-weight: 500;
}

.section-description--small {
	max-width: 580px;
}

.section-description * {
	font-family: 'Montserrat', sans-serif;
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 24px;
	row-gap: 96px;
	margin: 96px 0 160px;
}

.grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	row-gap: 24px;
	position: relative;
}

.grid-item--full {
	grid-column: span 3;
}

.grid-item-title {
	font-size: 24px;
	font-weight: 500;
}

.grid-item-image {
  width: 100%;
  height: 328px;
  object-fit: cover;
  border-radius: 6px;
  z-index: 2;
}

.grid-item--description .grid-item-image {
	object-fit: contain;
}

.grid-item-description {
	max-width: 460px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	line-height: 1.2;
}

.grid--cols-3 .grid-item-description {
	max-width: 380px;
}

.grid-item-image--ai-now {
	height: 60px;
}

.grid-item-image--reset-tech {
	height: 60px;
}

.grid-item-image--epic-org {
	height: 100px;
}

.grid-item-image--consumer-federation {
	height: 100px;
}

.footer {
  background-color: var(--color-tan);
  padding: 56px 0;
  margin-top: 72px;
}

.footer-content {
  max-width: 784px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 48px;
}

.footer-text {
  font-size: 16px;
  text-align: center;
  line-height: 1.2;
  max-width: 600px;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-logo-icon {
  object-fit: contain;
}

.footer-logo-icon--ai-now {
  width: 120px;
}

.footer-logo-icon--consumer-federation {
  width: 90px;
}

.footer-logo-icon--epic-org {
  width: 162px;
}

.footer-logo-icon--reset-tech {
  width: 176px;
}

.footer-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.footer-link {
	font-size: 13px;
	text-decoration: none;
	color: var(--color-black);
}

.button {
	background-color: var(--color-blue);
	color: var(--color-white);
	padding: 16px 24px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
	transition: background-color 0.3s ease;
	outline: none;
	border: none;
	text-decoration: none;
}

.button:hover {
	background-color: var(--color-white);
	color: var(--color-blue);
	cursor: pointer;
	outline: 1px solid var(--color-blue);
}

@media (max-width: 1024px) {
	.wrapper {
		max-width: 100%;
	}
	.section--bordered {
		padding: 32px;
	}
	.image--decor {
		left: -30px;
	}
}

@media (max-width: 480px) {
	.nav-list {
		display: none;
	}
	.header {
		flex-direction: row;
	}
	.header__breadcrumb {
		display: flex;
	}
	.header__breadcrumb-btn.is-open {
		z-index: 100;
		position: relative;
	}
	.header__breadcrumb-btn.is-open span:nth-of-type(1) {
		transform: rotate(45deg) translate(4px, 4.5px);
	}
	.header__breadcrumb-btn.is-open span:nth-of-type(2) {
		opacity: 0;
	}
	.header__breadcrumb-btn.is-open span:nth-of-type(3) {
		transform: rotate(-45deg) translate(4px, -4px);
	}
	.nav-bar--mobile {
		transform: translateX(120%);
		width: 100vw;
		height: 100vh;
		position: fixed;
		top: 0;
		background-color: var(--color-white);
		z-index: 99;
		transition: transform .5s;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.nav-bar--mobile.is-open {
		transform: translateX(0);
		left: 0;
	}
	.nav-list--mobile {
		display: flex;
		flex-direction: column;
		row-gap: 3.5rem;
		font-size: 1.5rem;
		text-align: center;
		padding-inline-start: 0;
		list-style: none;
		text-align: left;
	}
	.hero-content {
		justify-content: center;
		row-gap: 16px;
		padding-right: 8px;
	}
	.hero-title {
		font-size: 48px;
	}
	.hero-description {
		font-size: 24px;
		max-width: 280px;
	}
	.divider--small {
		max-width: 75vw;
	}
	.section {
		row-gap: 16px;
		margin: 36px 0;
	}
	.section-title {
		font-size: 24px;
		text-align: center;
	}
	.section-description {
		font-size: 16px;
	}
	.section--bordered {
		padding: 32px 16px;
	}
	.image-container {
		height: 200px;
	}
	.grid {
		grid-template-columns: repeat(1, 1fr);
		row-gap: 48px;
		margin: 48px 0;
	}
	.grid-item .section {
		padding: 0;
		margin: 0;
	}
	.grid-item .section-title {
		text-align: left;
		padding-bottom: 2px;
	}
	.logo-image {
		width: 160px;
	}
	.footer-content {
		padding: 0 16px;
	}
	.footer-logos {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		column-gap: 16px;
		row-gap: 16px;
	}
	.footer-logo {
		text-align: center;
	}
	.grid-item-image {
		height: 210px;
		border-radius: 5px;
	}
	.grid-item--description {
		margin-bottom: 16px;
	}
	.grid-item-image--ai-now {
		height: 40px;
	}
	.grid-item-image--reset-tech {
		height: 40px;
	}
	.grid-item-image--epic-org {
		height: 80px;
	}
	.grid-item-image--consumer-federation {
		height: 80px;
	}
	.footer-logo-icon--ai-now,
	.footer-logo-icon--consumer-federation,
	.footer-logo-icon--epic-org,
	.footer-logo-icon--reset-tech {
		width: 120px;
	}
}