body {
	background: linear-gradient(rgba(20, 27, 36, 0.1),rgba(20, 27, 36, 0.1)), url("../img/fondo.jpg") repeat;
	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);
	}
}

.playercount {
	display: inline-block;
	margin: 20px 15px 0 15px;
	padding: 2px 0;
	font-size: 1em;
    background: rgba(0,0,0,0.4);
	color: white;
	text-align: center;
	border-radius: 5px 5px 5px 5px;
	line-height: 27px;
}

.playercount > p > span {
	font-weight: bold;
	color: #ef4343;
	padding: 1px 4px;
	border-radius: 1px;
	margin: 0 2px;
}

.extrapad {
	padding: 0;
}

.ip {
	cursor: pointer;
	font-size: 0.8em;
    transition: 120ms all ease-in-out;
}


.ip:hover {
    color: #ed6f6f;
}

.port {
	cursor: pointer;
	font-size: 0.8em;
    transition: 120ms all ease-in-out;
}


.port:hover {
    color: #ed6f6f;
}

.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: 70%;
	}
	.items {
		padding: 30px 0 20px 0;
	}
	.playercount {
		font-size: 1.22em;
		padding: 10px;
	}

	.extrapad {
		padding: 0 42.5px;
	}

	.playercount > p > span {
		padding: 4px 2px;
	}
}

@media(min-width: 1000px) {
	.items {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.item:not(:first-child) {
		margin-left: 90px;
	}
}

/* .ip {
	--tooltip-color: rgba(51, 51, 51, 90%);
	--font-color: rgba(240, 241, 243, 60%);
	--font-size: 14px;
	--arrow-size: calc(var(--font-size) / 2);
	--distance: -120%;
	--distance-arrow: calc(var(--distance) - calc(var(--arrow-size) * -4) - 1px);
	position: relative;
}

.ip::before,
.ip::after {
	position: absolute;
	left: 0;
	right: 0;
	display: block;
	margin: 0 auto;
	pointer-events: none;
	width: max-content;
	max-width: 100%;
	opacity: 0;
	transition: .4s opacity;
}

.ip::before {
	bottom: var(--distance-arrow);
	content: '';
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 var(--arrow-size) var(--arrow-size) var(--arrow-size);
	border-color: transparent transparent var(--tooltip-color);
}

.ip::after {
	bottom: var(--distance);
	content: attr(data-tooltip);
	background-color: var(--tooltip-color);
	padding: 0 5px;
	border-radius: 5px;
	color: var(--font-color);
	font-size: var(--font-size);
}

.ip:hover::before,
.ip:hover::after {
	opacity: 1;
} */
