:root {
	--text-color: #ffffff;
	--text-color-light-mode: #000000;
}

@font-face {
	font-family: 'Minecraft Emoji';
	src: url("/assets/Minecraft-Emoji/Minecraft-Emoji.eot?") format("embedded-opentype"),
	     url("/assets/Minecraft-Emoji/Minecraft-Emoji.ttf") format("truetype"),
		 url("/assets/Minecraft-Emoji/Minecraft-Emoji.woff") format("woff"),
		 url("/assets/Minecraft-Emoji/Minecraft-Emoji.woff2") format("woff2");
}

@font-face {
	font-family: 'Minecraft';
	src: url("/assets/Minecraft-Font/Minecraft.eot?") format("embedded-opentype"),
	     url("/assets/Minecraft-Font/Minecraft.ttf") format("truetype"),
		 url("/assets/Minecraft-Font/Minecraft.woff") format("woff"),
		 url("/assets/Minecraft-Font/Minecraft.woff2") format("woff2");
		 
	font-weight: normal;
}

@font-face {
	font-family: 'Minecraft';
	src: url("/assets/Minecraft-Font/Minecraft-Bold.eot?") format("embedded-opentype"),
	     url("/assets/Minecraft-Font/Minecraft-Bold.ttf") format("truetype"),
		 url("/assets/Minecraft-Font/Minecraft-Bold.woff") format("woff"),
		 url("/assets/Minecraft-Font/Minecraft-Bold.woff2") format("woff2");
		 
	font-weight: bold;
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url("/assets/Atkinson-Hyperlegible-Font/EOT/Atkinson-Hyperlegible-Regular-102.eot?") format("embedded-opentype"),
	     url("/assets/Atkinson-Hyperlegible-Font/TTF/Atkinson-Hyperlegible-Regular-102.ttf") format("truetype"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF/Atkinson-Hyperlegible-Regular-102.woff") format("woff"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF2/Atkinson-Hyperlegible-Regular-102.woff2") format("woff2"),
		 url("/assets/Atkinson-Hyperlegible-Font/SVG/Atkinson-Hyperlegible-Regular-102.svg") format("svg");
		 
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url("/assets/Atkinson-Hyperlegible-Font/EOT/Atkinson-Hyperlegible-Bold-102.eot?") format("embedded-opentype"),
	     url("/assets/Atkinson-Hyperlegible-Font/TTF/Atkinson-Hyperlegible-Bold-102.ttf") format("truetype"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF/Atkinson-Hyperlegible-Bold-102.woff") format("woff"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF2/Atkinson-Hyperlegible-Bold-102.woff2") format("woff2"),
		 url("/assets/Atkinson-Hyperlegible-Font/SVG/Atkinson-Hyperlegible-Bold-102.svg") format("svg");
		 
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url("/assets/Atkinson-Hyperlegible-Font/EOT/Atkinson-Hyperlegible-BoldItalic-102.eot?") format("embedded-opentype"),
	     url("/assets/Atkinson-Hyperlegible-Font/TTF/Atkinson-Hyperlegible-BoldItalic-102.ttf") format("truetype"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF/Atkinson-Hyperlegible-BoldItalic-102.woff") format("woff"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF2/Atkinson-Hyperlegible-BoldItalic-102.woff2") format("woff2"),
		 url("/assets/Atkinson-Hyperlegible-Font/SVG/Atkinson-Hyperlegible-BoldItalic-102.svg") format("svg");
		 
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url("/assets/Atkinson-Hyperlegible-Font/EOT/Atkinson-Hyperlegible-Italic-102.eot?") format("embedded-opentype"),
	     url("/assets/Atkinson-Hyperlegible-Font/TTF/Atkinson-Hyperlegible-Italic-102.ttf") format("truetype"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF/Atkinson-Hyperlegible-Italic-102.woff") format("woff"),
		 url("/assets/Atkinson-Hyperlegible-Font/WOFF2/Atkinson-Hyperlegible-Italic-102.woff2") format("woff2"),
		 url("/assets/Atkinson-Hyperlegible-Font/SVG/Atkinson-Hyperlegible-Italic-102.svg") format("svg");
		 
	font-weight: normal;
	font-style: italic;
}

body {
	background-color: #555555;
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/assets/background-blocks/dark-mode/deepslate_tiles.png");
	margin: 0;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	color: var(--text-color);
	text-align: center;
}

body * {
	text-align: left;
}

.wrapper {
	padding-top: 100px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 1000px;
}

.light-mode {
	color: var(--text-color-light-mode);
	background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("/assets/background-blocks/light-mode/white_concrete.png");
}

.minecraft-emoji {
	font-family: 'Minecraft Emoji';
}

/* Topbar */
.light-mode .topbar, .light-mode .topbar-small {
	background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("/assets/background-blocks/light-mode/white_concrete_powder.png");
}

.topbar, .topbar-small {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)), url('/assets/background-blocks/dark-mode/sculk.png');
	width: 100%;
	background-size: 64px;
	text-align: center;
	color: var(--text-color);
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
	text-shadow: 0.125em 0.125em #3f3f3f;
	padding: 0 0;
	position: fixed;
	box-shadow: 0 0 10px black;
	z-index: 10;
	top: 0;
}

.topbar {
	text-align: center;
	display: block;
	height: 80px;
	font-size: 300%;
}

.topbar-small {
	display: none;
	text-align: right;
	height: 70px;
}

.light-mode #topbar a, .light-mode #topbar-small a {
	color: var(--text-color-light-mode);
}

.topbar a {
	text-align: center;
	padding: 0;
	text-decoration: none;
	font-size: 18px;
    overflow: hidden;
	color: var(--text-color);
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
	position: relative;
	text-shadow: none;
	display: inline-block;
	height: 100%;
	line-height: 80px;
}

.topbar-item a {
	text-decoration: none;
}

.topbar-item:hover .topbar-text, .topbar-item:hover .topbar-icon {
	font-size: 20px;
}

.topbar img {
	text-align: center;
	text-decoration: none;
	font-size: 12px;
    overflow: hidden;
	color: #ffffff;
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
	position: relative;
}

.topbar-text, .topbar-icon {
	transition: font-size 0.5s;
}

.topbar-kyanite-logo {
	height: 50px;
	transform: translateY(-25%);
}
  
.topbar-small .topbar-kyanite-logo {
	height: 70px;
	transform: none;
	float: right;
}

.topbar-small .topbar-item {
	height: 100%;
	line-height: 70px;
}

.topbar-item {
	display: inline-block;
	text-align: center;
	width: 170px;
	height: 100%;
}

.topbar-item:hover .topbar-image {
	width: 36px;
	height: 36px;
} 

.topbar-icon {
	color: var(--text-color);
	text-shadow: none;
}

.light-mode .topbar-icon {
	color: var(--text-color-light-mode);
}

.mod-dropdown-item, .mod-dropdown-item a, .mod-dropdown-item * {
	line-height: 30px;
	text-align: center;
	font-size: 18px;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	display: none;
	transition: font-size 0.25s;
}

.mod-dropdown-box {
	position: absolute;
	width: 170px;
	margin-top: 80px;
	text-align: center;
	background-color: #000;
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/assets/background-blocks/dark-mode/sculk_stone_bricks.png');
	box-shadow: 0 0 5px #000000;
	border-radius: 5px;
}

.light-mode .mod-dropdown-box {
	background-color: #fff;
	background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url("/assets/background-blocks/light-mode/white_wool.png");
	box-shadow: 0 0 5px #555555;
}

.mods:hover .mod-dropdown-item, .mods:hover .mod-dropdown-item * {
	display: block;
}

.mod-dropdown-item:hover a, .mod-dropdown-item:hover * {
	font-size: 17px;
}

/* Headers */
h1 {
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
	color: var(--text-color);
	font-size: 40px;
	text-align: center;
	width: 100%;
	font-weight: normal;
	text-shadow: 0.05em 0.05em #3f3f3f;
}

.light-mode h1 {
	color: var(--text-color-light-mode);
	text-shadow: 0.05em 0.05em #aaaaaa;
}

h2 {
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
	font-size: 30px;
	color: #ffffff;
	text-shadow: -0.1em -0.1em #000000, 0 -0.1em #000000, 0.1em -0.1em #000000, -0.1em 0 #000000, 0.1em 0 #000000, -0.1em 0.1em #000000, 0 0.1em #000000, 0.1em 0.1em #000000;
	text-transform: uppercase;
	-webkit-font-smoothing: none;
	font-weight: normal;
}

h4 {
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
	font-size: 18px;
	color: #ffffff;
	text-shadow: 2px 2px 3px #000, 1px 1px 7px #000;
	-webkit-font-smoothing: none;
}

/* Light Mode Button */
#light-mode-button {
	position: absolute;
	background-image: url("/assets/light_mode_button.png");
	background-size: 60px;
	image-rendering: pixelated;
	cursor: pointer;
	width: 60px;
	height: 60px;
	z-index: 1;
	top: 10px;
	left: 10px;
}

#light-mode-button:hover {
	background-image: url("/assets/light_mode_button_hover.png");
}

.light-mode #light-mode-button {
	background-image: url("/assets/dark_mode_button.png");
}

.light-mode #light-mode-button:hover {
	background-image: url("/assets/dark_mode_button_hover.png");
}

/* Cards */
.card {
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/assets/background-blocks/dark-mode/sculk_stone_bricks.png');
	background-size: 64px;
	border-radius: 2px;
	padding: 5px 15px;
	margin: 10px;
	box-shadow: 0 0 5px #000000;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	color: var(--text-color);
	font-size: 20px;
	text-align: left;
	width: 800px;
}

.light-mode .card {
	background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)), url("/assets/background-blocks/light-mode/white_wool.png");
	box-shadow: 0 0 5px #555555;
}

.card img {
	float: left;
}

.mod-right img {
	float: right;
}

.mod-right .card-description {
	margin-left: 0;
	margin-right: 10px;
	text-align: right;
}

.mod-right h2 {
	text-align: right;
}

.team-member {
	width: 550px;
	display: inline-block;
}

.team-member .card-description * {
	margin-top: 0;
}

.light-mode .card {
	color: var(--text-color-light-mode);
}

.mod-left, .mod-right {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.mod-right {
	text-align: right;
}

.card-description {
	margin-left: 10px;
	padding-left: 0;
	display: inline-block;
	vertical-align: top;
}

.light-mode .card-description {
	color: var(--text-color-light-mode);
}

.card-description h3 {
	margin-bottom: 0;
}

.text-card {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 450px;
}

.mod-small {
	margin-left: auto;
	margin-right: auto;
}

.mod-small::after {
  content: "";
  clear: both;
  display: table;
}

.hide-on-small-screen {
	display: inline-block;
}

.show-on-small-screen {
	display: none;
}

/* Social Media Buttons */
.github-button, .youtube-button, .twitter-button, .discord-button, .email-button, .curseforge-button, .modrinth-button, .crowdin-button {
	display: inline-block;
	background-size: cover;
	image-rendering: pixelated;
	width: 60px;
	height: 60px;
}

.discord-button-large {
	display: inline-block;
	background-image: url("/assets/discord_button_large.png");
	background-size: cover;
	image-rendering: pixelated;
	width: 357px;
	height: 60px;
}

.discord-button-large:hover {
	background-image: url("/assets/discord_button_large_hover.png");
}

.github-button {
	background-image: url("/assets/github_button.png");
}

.github-button:hover {
	background-image: url("/assets/github_button_hover.png");
}

.youtube-button {
	background-image: url("/assets/youtube_button.png");
}

.youtube-button:hover {
	background-image: url("/assets/youtube_button_hover.png");
}

.twitter-button {
	background-image: url("/assets/twitter_button.png");
}

.twitter-button:hover {
	background-image: url("/assets/twitter_button_hover.png");
}

.discord-button {
	background-image: url("/assets/discord_button.png");
}

.discord-button:hover {
	background-image: url("/assets/discord_button_hover.png");
}

.email-button {
	background-image: url("/assets/email_button.png");
}

.email-button:hover {
	background-image: url("/assets/email_button_hover.png");
}

.curseforge-button {
	background-image: url("/assets/curseforge_button.png");
}

.curseforge-button:hover {
	background-image: url("/assets/curseforge_button_hover.png");
}

.modrinth-button {
	background-image: url("/assets/modrinth_button.png");
}

.modrinth-button:hover {
	background-image: url("/assets/modrinth_button_hover.png");
}

.crowdin-button {
	background-image: url("/assets/crowdin_button.png");
}

.crowdin-button:hover {
	background-image: url("/assets/crowdin_button_hover.png");
}

/* Minecraft Button */
.minecraft-button {
	font-family: 'Minecraft', 'Atkinson Hyperlegible', sans-serif;
    color: #ffffff;
    text-align: center;
    text-shadow: 0.125em 0.125em #3f3f3f;
    background-image: url('/assets/minecraft_button.png');
    background-size: cover;
    image-rendering: pixelated;
    width: 300px;
    height: 56px;
    line-height: 52px;
    padding-bottom: 4px;
    font-size: initial;
    display: inline-block;
}

.minecraft-button:hover {
	background-image: url("/assets/minecraft_button_hover.png");
}

/* Footer */
#footer {
	padding: 20px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	color: var(--text-color);
}

.light-mode #footer {
	color: var(--text-color-light-mode);
}

.mod-thumb {
	border: 2px solid black;
	width: 300px;
}

/* Scrollbar */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-button {
  width: 8px;
  height: 8px;
  background-color: #262626;
  border: 2px solid #4d4d4d;
  border-radius: 2px;
}

*::-webkit-scrollbar-button:hover {
  background-color: #333333;
}

*::-webkit-scrollbar-button:active {
  background-color: #404040;
}

*::-webkit-scrollbar-thumb {
  background-color: #262626;
  border: 2px solid #4d4d4d;
  border-radius: 2px;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: #333333;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #404040;
}

*::-webkit-scrollbar-track {
  background-color: #4d4d4d;
  border-radius: 2px;
}

*::-webkit-scrollbar-corner {
  background-color: #4d4d4d;
}

/* Minecraft slot */
.item-wrapper {
	display: inline;
	margin-left: 8px;
}

.item-wrapper-br {
	display: none;
}

.item-slot {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 36px;
	background-image: url('/assets/minecraft_slot.png');
	image-rendering: pixelated;
	background-size: 36px;
	vertical-align: middle;
}

.item-glow {
	position: absolute;
	background-color: rgba(255, 255, 255, 0.5);
	opacity: 0;
	width: 32px;
	height: 32px;
	top: 2px;
	left: 2px;
	z-index: 3;
}

.item-slot:hover .item-glow, .item-glow:hover {
	opacity: 1;
}

/* Minecraft Tips */
.slot-item {
  position: absolute;
  image-rendering: pixelated;
  width: 32px;
  z-index: 1;
  position: absolute;
  border: 2px solid transparent;
  top: 0px;
  left: 0px;
  pointer-events: none;
}

.minecraft-tip {
	position: fixed;
	z-index: 9999;
	display: none;
	color: #ffffff;
	left: 0;
	top: 0;
	border: 0.125em solid #2D0A63;
	border-image: -webkit-linear-gradient(rgba(80,0,255,0.31),rgba(40,0,127,0.31)) 1;
	border-image: linear-gradient(rgba(80,0,255,0.31),rgba(40,0,127,0.31)) 1;
	background-color: rgba(16,0,16,0.94);
	font-family: Minecraft,"WenQuanYi Bitmap Song",SimSun,Unifont,NISC18030,Beijing,Courier,sans-serif;
	word-spacing: 0.25em;
	margin: 0.125em 0.25em;
	padding-left: 0.375em;
	padding-bottom: 0.375em;
	padding-right: 0.25em;
	padding-top: 0;
	padding: 0 0.375em 0.375em 0.375em;
	line-height: 1.125em;
	white-space: nowrap;
	font-size: initial;
	text-align: left;
}

.minecraft-tip::before {
  content: '';
  position: absolute;
  top: -0.125em;
  right: -0.250em;
  bottom: -0.125em;
  left: -0.250em;
  border: 0.125em solid rgba(16,0,16,0.94);
  border-style: none solid;
}

.minecraft-tip::after {
  content: '';
  position: absolute;
  top: -0.250em;
  right: -0.125em;
  bottom: -0.250em;
  left: -0.125em;
  border: 0.125em solid rgba(16,0,16,0.94);
  border-style: solid none;
}

.minecraft-lore {
	color: #aaaaaa;
	text-shadow: 0.125em 0.125em #2a2a2a;
}

.shadow-line {
	color: #3f3f3f;
}

.empty-line {
  display: block;
  content: "";
  margin-top: 1.625em;
}

.break {
  display: block;
  content: "";
  margin-top: 0.25em;
}

.shadow-line .c-0 {
  color: #000000;
}

.shadow-line .c-1 {
  color: #00002a;
}

.shadow-line .c-2 {
  color: #002a00;
}

.shadow-line .c-3 {
  color: #002a2a;
}

.shadow-line .c-4 {
  color: #2a0000;
}

.shadow-line .c-5 {
  color: #2a002a;
}

.shadow-line .c-6 {
  color: #2a2a00;
}

.shadow-line .c-6-bedrock {
  color: #402a00;
}

.shadow-line .c-7 {
  color: #2a2a2a;
}

.shadow-line .c-8 {
  color: #151515;
}

.shadow-line .c-9 {
  color: #15153f;
}

.shadow-line .c-a {
  color: #153f15;
}

.shadow-line .c-b {
  color: #153f3f;
}

.shadow-line .c-c {
  color: #3f1515;
}

.shadow-line .c-d {
  color: #3f153f;
}

.shadow-line .c-e {
  color: #3f3f15;
}

.shadow-line .c-f {
  color: #3f3f3f;
}

.shadow-line .c-g {
  color: #373501;
}

.c-l {
  font-weight: bold;
}

.c-o {
  font-style: italic;
}

.c-0 {
  color: #000000;
}

.c-1 {
  color: #0000aa;
}

.c-2 {
  color: #00aa00;
}

.c-3 {
  color: #00aaaa;
}

.c-4 {
  color: #aa0000;
}

.c-5 {
  color: #aa00aa;
}

.c-6 {
  color: #ffaa00;
}

.c-6-bedrock {
  color: #ffaa00;
}

.c-7 {
  color: #aaaaaa;
}

.c-8 {
  color: #555555;
}

.c-9 {
  color: #5555ff;
}

.c-a {
  color: #55ff55;
}

.c-b {
  color: #55ffff;
}

.c-c {
  color: #ff5555;
}

.c-d {
  color: #ff55ff;
}

.c-e {
  color: #ffff55;
}

.c-f {
  color: #ffffff;
}

.c-g {
  color: #ddd605;
}

.c-m {
	position: relative;
}

.c-m:after {
    content: '';
    display: block;
    width: calc(100% + 0.125em);
    height: 0;
	margin-top: 0.925em;
    position: absolute;
    top: 0;
    left: -0.125em;
    border-bottom: 0.125em solid;
	z-index: 1;
}

.shadow-line .c-m:after {
    width: calc(100% + 0.125em);
    top: 0;
    left: -0.125em;
    border-bottom: 0.125em solid;
}

.c-m .c-0:after, .c-m .c-1:after, .c-m .c-2:after, .c-m .c-3:after, .c-m .c-4:after, .c-m .c-5:after, .c-m .c-6:after, .c-m .c-7:after, .c-m .c-8:after, .c-m .c-9:after, .c-m .c-a:after, .c-m .c-b:after, .c-m .c-c:after, .c-m .c-d:after, .c-m .c-e:after, .c-m .c-f:after, .c-m .c-g:after, .c-m .c-6-bedrock:after {
    content: '';
    display: block;
    width: calc(100% + 0.125em);
    height: 0;
	margin-top: 0.925em;
    position: absolute;
    top: 0;
    left: -0.125em;
    border-bottom: 0.125em solid;
	z-index: 2;
}

.c-n {
	position: relative;
	text-decoration: underline 0.125em;
	text-underline-offset: 0.125em;
}

.c-n .c-1, .c-n .c-2, .c-n .c-3, .c-n .c-4, .c-n .c-5, .c-n .c-6, .c-n .c-7, .c-n .c-8, .c-n .c-9, .c-n .c-a, .c-n .c-b, .c-n .c-c, .c-n .c-d, .c-n .c-e, .c-n .c-f, .c-n .c-g, .c-n .c-h {
	text-decoration: underline 0.125em;
}

.c-1, .c-2, .c-3, .c-4, .c-5, .c-6, .c-7, .c-8, .c-9, .c-a, .c-b, .c-c, .c-d, .c-e, .c-f, .c-g, .c-h {
	position: relative;
	font-family: Minecraft;
	font-size: initial;
}

.tip-line {
	display: inline-block;
	position: relative;
	margin: 0;
}

.shadow-line {
	position: absolute;
    left: 0.5em;
    top: 0.125em;
    z-index: -1;
}

/* Mod pages */
.mod-image {
	width: 400px;
	border-radius: 2px;
	image-rendering: pixelated;
	box-shadow: 0 0 5px #000000;
}

/* News posts */
.img-card {
	position: relative;
    height: 0;
    padding-top: 175px;
    width: 100%;
    overflow: hidden;
    display: inline-block;
	border-radius: 5px;
    box-shadow: 0 0 5px #000;
}

.img-card * {
	position: absolute;
    padding-top: 0;
    bottom: 0px;
    left: 10px;
    margin-top: 0;
    margin-bottom: 5px;
}

.img-card>img:first-of-type {
	position: absolute;
    top: 0;
    left: 0;
	vertical-align: middle;
    object-fit: cover;
    image-rendering: pixelated;
    width: 100%;
    height: 100%;
    z-index: -1;
	transition: ease 0.5s;
}

.img-card:hover>img:first-of-type {
	filter: brightness(1.5) contrast(0.8);
	width: 110%;
	height: 110%;
	top: -5%;
	left: -5%;
}

.news-posts {
	display: grid;
    grid-template-columns: repeat(3, 3fr);
    grid-gap: 5px;
    justify-items: center;
}

.post-image {
	width: 100%;
	border-radius: 2px;
	image-rendering: pixelated;
	box-shadow: 0 0 5px #000000;
}

.post-text {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding: 5px 0;
	margin: 0;
}

.post-text > div {
	padding-left: 15px;
	padding-right: 15px;
}

#author {
	display: block;
	margin-bottom: 7px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#author-image {
	image-rendering: pixelated;
	width: 48px;
	float: left;
}

#author-text {
	padding-left: 60px;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 48px;
	font-size: 20px;
}

/* General classes */
.grid-2-items {
	margin-left: auto;
	margin-right: auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	text-align: center;
	width: max-content;
}

.gap-5 {
	gap: 5px;
}

.gap-10 {
	gap: 10px;
}

.gap-15 {
	gap: 15px;
}

.fit-wrapper {
	width: 100%;
}

/* Compatibility with smaller screens */
@media screen and (max-width: 1100px){
	.topbar-text {
		display: none;
	}
	
	.mod-thumb {
		width: 100%;
	}
	
	.card-description {
		margin-left: 5px;
		padding-left: 0;
	}
	
	.wrapper {
		width: 90%;
	}
	
	.news-posts {
		grid-template-columns: repeat(2, 2fr);
	}
	
	.hide-on-small-screen {
		display: none;
	}

	.show-on-small-screen {
		display: inline-block;
	}
}

@media screen and (max-width: 800px) {
	#topbar {
		display: none;
	}
	
	#topbar-small {
		display: block;
	}
	
	.topbar-item {
		width: 30px;
	}
	
	#light-mode-button {
		top: 5px;
	}
	
	.grid-2-items {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	
	.news-posts {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media screen and (max-width: 600px) {
	.team-member, .text-card {
		width: 90%;
	}
}

@media screen and (max-width: 550px) {
	.item-wrapper {
		margin-left: 0;
	}
	
	.item-wrapper-br {
		display: block;
	}
	
	.item-wrapper::before {
		content: '';
		display: inline-block;
	}
}

/* .main-page-mod-description h4 {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 45px;
}

.main-page-mod-description p {
	margin-top: 0;
	margin-bottom: 10px;
}

.main-page-button {
	font-family: 'Minecraft';
	font-size: 20px;
	color: #ffffff;
	text-shadow: -0.1em -0.1em #3f3f3f, 0 -0.1em #3f3f3f, 0.1em -0.1em #3f3f3f, -0.1em 0 #3f3f3f, 0.1em 0 #3f3f3f, -0.1em 0.1em #3f3f3f, 0 0.1em #3f3f3f, 0.1em 0.1em #3f3f3f;
	width: 50%;
	background-color: #9f9f9f;
	border-color: transparent;
	height: 70px;
	line-height: 0;
	transition: .25s ease;
}

.main-page-button:hover {
	background-color: #6f6f6f;
	cursor: pointer;
} */