@font-face {
	font-family: 'Luciole';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/Luciole-Regular.woff2") format("woff2");
}

@font-face {
	font-family: 'Luciole';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/Luciole-Bold.woff2") format("woff2");
}

:root {
	--color-primary: #CE0E6A;
	--color-secondary: #282F63;
	--color-gray: #C2C2C2;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Luciole', sans-serif;
	height: 100%;
}

p {
	margin: 0;
}

.text-primary {
	color: var(--color-primary);
}

.text-secondary {
	color: var(--color-secondary);
}

.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	justify-items: center;
}

@media (min-width: 768px) {
	.grid {
		gap: 2rem 5rem;
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1280px) {
	.grid {
		gap: 2rem 5rem;
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.card {
	height: 320px;
	width: 288px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	border: 3px solid var(--color-primary);
	border-radius: 25px;
}

.card a {
	text-decoration: none;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3rem;
}

.card__icon {
	height: 140px;
}
.card__title {
	color: var(--color-secondary);
	font-weight: 700;
	font-size: 1.5rem;
	text-align: center;
	line-height: 1.2;
}

.header {
	height: 172px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary);
	margin-bottom: 3rem;
}

.header .logo {
	height: 130px;
}

.container {
	min-height: calc(100vh - 322px);
}

@media (min-width: 768px) {
	.container {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
	}

	.container .grid {
		grid-column: 2 / 3;
	}

}

.footer {
	height: 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--color-gray);
	font-size: 10px;
	text-align: center;
	line-height: 1.3;
	margin-top: 2rem;
}

.footer a {
	text-decoration: none;
	color: inherit;
}

.footer a:hover {
	text-decoration: underline;
}