* {
	box-sizing: border-box;
}

body {
	/*Want to change background image?*/
	/*Upload a new one to the img folder.*/
	/*Make sure you name it 'minecraft.jpg'*/
	background: linear-gradient(rgba(20, 26, 35,0.55),rgba(20, 26, 35, 0.55)),
				url("../img/minecraft.jpg") no-repeat center center fixed;
	background-size: cover;
	font-family: "Open Sans", Helvetica;
	margin: 0;
	position: relative;
}

html, body {
	width: 100vw;
	height: 100vh;
	overflow-x: hidden;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

a {
	text-decoration: none;
}

p {
	margin: 0;
	padding: 3px;
}

.container {
	text-align: center;
}

.logo img {
	width: 225px; /* Change image size for mobile */
	-webkit-animation-name: logo;
	        animation-name: logo;
	-webkit-animation-duration: 5s;
	        animation-duration: 5s;
	-webkit-animation-iteration-count: infinite;
	        animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	        animation-timing-function: ease-in-out;
}


@-webkit-keyframes logo {
	0% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
	50% {
		-webkit-transform: scale(1.07);
		        transform: scale(1.07);
	}
	100% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
}

@keyframes logo {
	0% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
	50% {
		-webkit-transform: scale(1.07);
		        transform: scale(1.07);
	}
	100% {
		-webkit-transform: scale(1);
		        transform: scale(1);
	}
}

.store {
	position: relative;
}

.modal-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
}

.modal-content {
	background: #1a1f2b;
	border-radius: 12px;
	padding: 30px;
	max-width: 860px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
	position: absolute;
	top: 12px;
	right: 18px;
	font-size: 28px;
	color: #aaa;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.modal-close:hover {
	color: #fff;
}

.modal-body {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	color: #e0e0e0;
	font-size: 15px;
	line-height: 1.8;
	padding: 10px 0;
}

.modal-tutorial {
	flex: 1;
	min-width: 0;
}

.modal-tutorial h1 {
	color: #fff;
	font-size: 22px;
	margin: 0 0 16px;
	text-align: center;
}

.modal-tutorial img {
	max-width: 180px;
	width: 100%;
	height: auto;
	display: block;
	margin: 16px auto;
	border-radius: 8px;
}

.modal-tutorial p {
	margin: 0 0 10px;
	padding: 0;
	font-size: 14px;
	color: #c8c8c8;
}

.modal-tutorial p:first-of-type {
	color: #ff6b6b;
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 16px;
	text-align: center;
}

.modal-tutorial .ps {
	margin-top: 16px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.06);
	border-left: 3px solid #0fc7d1;
	border-radius: 4px;
	font-size: 13px;
	color: #a0a0a0;
	line-height: 1.7;
}

.modal-faq {
	width: 260px;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 16px;
}

.modal-faq h2 {
	color: #0fc7d1;
	font-size: 16px;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-faq ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.modal-faq li {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-faq li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.modal-faq strong {
	color: #e0e0e0;
	font-size: 13px;
	display: block;
	margin-bottom: 4px;
}

.modal-faq p {
	margin: 0;
	font-size: 12px;
	color: #999;
	line-height: 1.6;
}

@media (max-width: 720px) {
	.modal-body {
		flex-direction: column;
	}
	.modal-faq {
		width: 100%;
	}
}

.playercount {
	display: inline-block;
	margin: 20px 15px 0 15px;
	padding: 2px 0;
	background-color: rgba(15, 199, 209, 0.75);
	font-size: 1em;
	color: white;
	text-align: center;
	border-radius: 5px 0 5px 0;
	line-height: 27px;
}

.playercount > p > span {
	font-weight: bold;
	padding: 1px 4px;
	border-radius: 3px;
	background: rgba(9, 150, 158, 0.7);
	margin: 0 2px;
}

.extrapad {
	padding: 0;
}

.ip {
	cursor: pointer;
}

.items {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-ms-flex-preferred-size: 100px;
	    flex-basis: 100px;
	padding: 18px 0 10px 0;

}

.item img {
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	margin-bottom: 7px;
}

.item img:hover {
	-webkit-transform:scale(1.1);
	    -ms-transform:scale(1.1);
	        transform:scale(1.1);
}

.img {
	width: 80%;
}

.title {
	font-weight: bold;
	font-size: 17px;
	color: white;
}

.subtitle {
	color: #cfcfcf;
	font-size: 12px;
}

.title,
.subtitle {
	margin: 0;
	padding: 0;
}


@media(min-width: 400px) {
	.logo img {
		width: 290px; /* Change image size for mid sized devices */
	}

	.playercount {
		margin-top: 30px;
		padding: 5px;
	}

	.playercount > p > span {
		padding: 2px 7px;
	}
}

@media(min-width: 1250px) {
	.title {
		font-size: 24px;
	}

	.subtitle {
		font-size: 15px;
	}

	.logo img {
		width: 470px; /* Change image size for desktop */
	}

	.logo {
		margin-bottom: 28px;
	}
	.img {
		width: 100%;
	}
	.items {
		padding: 30px 0 20px 0;
	}
	.playercount {
		font-size: 1.22em;
		padding: 10px;
	}

	.extrapad {
		padding: 0 42.5px;
	}

	.playercount > p > span {
		padding: 4px 7px;
	}
}

@media(min-width: 1000px) {
	.items {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.item:not(:first-child) {
		margin-left: 90px;
	}
}
