:root {
	--active-color: #f43f5e;
	--active-color-hover: #f43f5e;
}

/* native elements */

* {
	font-family: 'Inter', sans-serif;
	box-sizing: border-box;
}

body {
	padding: 20px 40px;
	max-width: 1280px;
	margin: auto;
}

@media (max-width: 1024px) {
	body {
		padding: 10px 20px;
	}
}

h1 {
	font-size: 18px;
	font-weight: normal;
}

video {
	height: 100%;
}

header ul {
	display: block;
	list-style-type: none;
}

header li,
footer li {
	display: inline;
	font-size: 12px;
}

a {
	text-decoration: none;
	color: black;
}

a:hover {
	color: var(--active-color-hover);
	transition: color .3s;
}

a[active] {
	color: var(--active-color);
}

img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	object-position: bottom;
}

/* body header */

body>header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body>header h1 {
	font-weight: normal;
}


@media (max-width: 768px) {
	body>header {
		display: block;
		text-align: center;
	}

	body>header>ul>li {
		display: block;
		margin: 5px 0;
	}
}

body>header>ul {
	padding: 0;
}


body>header>ul>li {
	margin-left: 3px;
}

section,
footer {
	margin-top: 100px;
}

.content {
	margin: inherit auto;
}

.content p {
	margin-bottom: 30px;
}

.content h2 {
	font-size: 13px;
}

details {
	margin-bottom: 10px;
}

summary {
	font-weight: bold;
	font-size: 13px;
	margin: 0;
	cursor: pointer;
}

section header h1,
footer h1 {
	font-size: 14px;
	margin-bottom: 30px;
	text-align: center;
}

.social-icon {
	width: 44px;
	height: 44px;
	opacity: 0.7;
}

.social-icon:hover {
	opacity: 1;
}

footer ul {
	padding: 0;
	margin-left: -7px;
	text-align: center;
}


footer h2 {
	margin-top: 60px;
	font-size: 12px;
	font-weight: normal;
	color: rgba(0, 0, 0, 0.7);
	text-align: center;
}

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 20px;
}

@media (max-width: 1280px) {
	.grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 1024px) {
	.grid {
		grid-template-columns: 1fr;
	}
}

.grid>* {
	background: lightgrey;
	aspect-ratio: 16/9;
}

.grid div {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.grid div div {
	position: absolute;
}


.offer>div {
	display: flex;
}

.offer>div>div {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.offer>div>div>div {
	width: 100%;
	height: 100%;
	padding: 10px 20px;
	color: rgba(255, 255, 255, 0.9);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.offer header h1 {
	font-weight: bold;
	font-size: 16px;
}

.offer p {
	font-size: 14px;
	text-align: center;
}

.gears h1 {
	margin-bottom: 0;
	font-weight: bold;
}

.gears>div {
	padding: 10px 20px;
}

.gears > div:nth-child(1) {
	background: #fef2f2;
}

.gears > div:nth-child(2) {
	background: #fff7ed;
}

.gears > div:nth-child(3) {
	background: #fefce8;
}

.gears > div:nth-child(4) {
	background: #f7fee7;
}

.gears > div:nth-child(5) {
	background: #ecfdf5;
}

.gears > div:nth-child(6) {
	background: #f0fdfa;
}

.about {
	max-width: 600px;
	text-align: justify;
	font-size: 14px;
	color: rgba(0, 0, 0, .7);
}

.content ul {
	padding: 10px;
	margin: 0;
}

.content ul li  {
	font-weight: normal;
	font-size: 12px;
	margin: 3px 0;
}

.spacer {
	list-style: none;
	height: 4px;
}
