/* --- Vars ----------------------------------------------------- */
:root {
	--color-red: #a80903;
}


/* --- General --------------------------------------------------- */
body {
	position: relative;
	margin: 0;
	padding: 0;
	height: 100%;
	min-height: 100%;
	overflow-x: hidden;
}

a {
	text-decoration: none;
}

main {
	height: 100vh;
}


/* --- Home ----------------------------------------------------- */
.links {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
	align-items: stretch;
  justify-items: stretch;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}
.links a {
	display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
	font-family: sans-serif;
}
.links a:first-child {
	background-color: #000;
}
.links a:last-child {
	background-color: #ddd;
}
.links a img {
  width: 500px;
	max-width: 80%;
	height: auto;
}
.links a .link-button {
	padding: 20px;
	width: 400px;
  text-align: center;
  border: 2px solid #555;

	border-radius: 6px;
}
.links a span {
  font-size: 1.45rem;
}
.links a:first-child span {
	color: #fff;
}
.links a:last-child span {
	color: #2e616e;
}
.links a:last-child .link-button {
	border-color: #aaa;
}
.links a small {
	display: block;
  margin-top: 15px;
  font-size: 0.9rem;
}
.links a:first-child small {
	color: #666;
}
.links a:last-child small {
	color: #999;
}




/* --- Responsive Styles ---------------------------------------- */
@media all and (max-width: 1220px) {

.links a .link-button {
  padding: 20px;
  width: auto;
  min-width: 330px;
}
.links a span {
  font-size: 1.2rem;
}

}


@media all and (max-width: 980px) {

.links {
  grid-template-columns: 100%;
}
.links a .link-button {
  position: relative;
  padding: 12px;
  top: -20px;
}

}


@media all and (max-height: 768px) {

.links a img {
  max-width: 300px;
}
.links a .link-button {
	top: 0;
  min-width: 274px;
}
.links a span {
  font-size: 1rem;
}
.links a small {
  margin-top: 7px;
  font-size: 0.8rem;
}

}


@media all and (max-width: 490px) {

.links a span {
  font-size: 1rem;
}

}


@media all and (max-width: 390px) {

.links a .link-button {
  min-width: 220px;
}
.links a span {
  font-size: 0.8rem;
}

}