
:root {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-size: 1rem;
	color-scheme: dark;
}

body {
	margin: 0;
	background-color: rgb(70, 0, 0);
	background: url("./background.webp");
	background-position: center;
	background-size: cover;

	color: white;
}

a {
	color: inherit;
}

* {
	box-sizing: border-box;
}

.page {
	min-height: 100dvh;

	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-rows: 1fr auto 3fr auto;
}

.cards {
	padding: 2rem;
	grid-area: 2 / 2;

	display: grid;
	grid-template-columns: repeat(3, auto);
	column-gap: 3rem;
	row-gap: 3rem;
}

.footer {
	grid-area: 4 / 2;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	padding-bottom: 1rem;
}

.footer-link {
	font-size: .8rem;
}

.card {
	text-align: center;
	display: flex;
	flex-direction: column;
	padding: 2rem 3rem;
	background-color: rgba(0, 0, 0, 0.5);
	min-width: 28rem;
	row-gap: 1rem;
}

.card-logo {
	position: relative;
	display: flex;
	flex-direction: row;
	margin-bottom: 1rem;
	aspect-ratio: calc(300 / 102);
}

.card-logo img {
	max-width: 100%;
}

.card-btn {
	display: block;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background-color: #c01c1c;
	border-radius: .2rem;
	padding: .7rem 1rem .78rem;
}

.card-btn:hover,
.card-btn:focus {
	background-color: #ff5353;
	outline: none;
}

@media (max-width: 96rem) {
	.cards {
		grid-template-columns: auto;
		grid-template-rows: repeat(3, auto);
	}
}

@media (max-width: 40rem) {
	.page {
		grid-template-columns: 0 auto 0;
		grid-template-rows: 2rem auto 1fr;
	}
	.card {
		min-width: unset;
	}
}
