#landing-page {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding-top: 90px;
}

#landing-logo {
	position: relative;
}

#landing-logo img {
	max-width: min(420px, 90vw);
	height: auto;
}

#landing-logo-shadow {
	position: absolute;
	inset: 0;
	background: black;
	z-index: -1;
	border-radius: 50px;
	filter: blur(80px);
}

#landing-index {
	margin-top: 60px;
	display: flex;
	list-style: none;
	width: 80%;
	max-width: 1920px;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 1.1rem;
	gap: 24px;
}

#landing-index li a {
	position: relative;
	display: block;
	color: white;
	text-decoration: none;
	background-color: rgb(0 0 0 / 74%);
	padding: 15px 17px 15px 90px;
	border-radius: 8px;
	font-size: 1.5rem;
	width: 200px;
	cursor: pointer;
	border: 1px solid var(--border-color-icon);
	box-shadow: black 0 0 10px;
	text-shadow: black 0 0 12px;
}

#landing-index .landing-icon {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%) rotate(-6deg);
	width: 80px;
	height: 80px;
	background-size: 100%;
	background-repeat: no-repeat;
	transition: transform 0.2s;
}

#landing-index li a:hover .landing-icon {
	transform: translateY(-50%) scale(1.1);
}

.tools-page {
	padding-bottom: 70px;
}

#tools-heading {
	margin: 45px 0 0;
	font-size: 2rem;
	text-transform: uppercase;
	color: var(--text-color-header);
	text-shadow: black 0 0 12px;
}

.tools-page #landing-index {
	margin-top: 35px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(max-content, 1fr);
	width: max-content;
	max-width: 100%;
}

.tools-page #landing-index li a {
	width: auto;
	min-width: 200px;
	white-space: nowrap;
}

@media (max-width: 1550px) {
	.tools-page #landing-index {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(max-content, 1fr));
	}
}

@media (max-width: 800px) {
	.tools-page #landing-index {
		grid-template-columns: minmax(max-content, 1fr);
	}
}

#landing-news {
	margin-top: 70px;
	margin-bottom: 40px;
	width: 90%;
	max-width: 1400px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.news-post {
	position: relative;
	width: 300px;
	border-radius: 10px;
	text-decoration: none;
	background-color: rgb(0 0 0 / 74%);
	border: 1px solid var(--border-color-icon);
	box-shadow: black 0 0 10px;
	overflow: hidden;
}

.news-post .news-background {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-size: 175%;
	background-position-x: center;
	mask-image: linear-gradient(to bottom, rgb(0 0 0), transparent 65%);
	-webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0), transparent 65%);
	transition: transform 0.3s;
}

.news-post:hover .news-background {
	transform: scale(1.05);
}

.news-post .news-wrapper {
	position: relative;
	z-index: 2;
	padding: 200px 22px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.news-post .news-title {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 14px;
	text-transform: uppercase;
	color: var(--text-color-header);
	text-shadow: black 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-post:hover .news-title {
	color: var(--primary-hover);
}

.news-post .news-description {
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0;
	color: var(--text-color-normal);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1350px) {
	#landing-page {
		padding-top: 35px;
	}
}