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(35,0,0,0.55),rgba(35,0,0,0.55)),
				url("../img/back2.jpg") no-repeat center center fixed;
	background-size: cover;
	font-family: Helvetica;
}

p {
	margin: 0;
	padding: 3px;
}

.container {
	text-align: center;
}

.logo img {
	width: 250px;
	animation-name: logo;
	animation-duration: 8s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes logo {
	0% {
		transform: rotate(3deg);
	}
	50% {
		transform: rotate(-3deg);
	}
	100% {
		transform: rotate(3deg);
	}
}

.playercount {
	display: inline-block;
	padding: 3px;
	border: 2px solid grey;
	box-shadow: 0 3px 10px;
	font-size: 1.2em;
	color: white;
	text-align: center;
}

.playercount span {
	color: tomato;
}

.items {
	display: flex;
	justify-content: space-around;
	flex-basis: 100px;
	padding: 18px 0 20px 0;

}

.item img {
	transition: all 0.3s ease;
}

.item img:hover {
	transform:scale(1.25);
}

.img {
	width: 100%;
}

@media(min-width: 600px) {
	.logo img {
		width: 600px;
	}
	.img {
		width: 100%;
	}
	.items {
		padding: 30px 0 55px 0;
	}
}

@media(min-width: 1000px) {
	.items {
		justify-content: center;
	}

	.item:not(:first-child) {
		margin-left: 90px;
	}
}


.image-lobby{
	position: relative;
	top: 15px;
	margin-right: 15px;
}

li{
	display: inline;
	margin-left: 50px;
	margin-right: 50px;
}
.ul-list{
	list-style: none;
}
.show-player-lobby{
	display: none;
	position: absolute;
	background-color: white;
	height: auto !important;
	min-width: 150px !important;
	z-index: 10;
	border-radius: 15px;
	padding: 9px;
	text-align: left;
	-webkit-animation: fadein 2s;
          animation: fadein 2s;
}
.show-player-survival{
	display: none;
	position: absolute;
	background-color: white;
	height: auto !important;
	min-width: 150px !important;
	z-index: 10;
	border-radius: 15px;
	padding: 9px;
	text-align: left;
	-webkit-animation: fadein 2s;
          animation: fadein 2s;
}
.show-player-skyblock{
	display: none;
	position: absolute;
	background-color: white;
	height: auto !important;
	min-width: 150px !important;
	z-index: 10;
	border-radius: 15px;
	padding: 9px;
	text-align: left;
	-webkit-animation: fadein 1s;
          animation: fadein 1s;
}


h1,h2{
  font-weight:400;
  letter-spacing:-2px
}
.card {
 
  margin: 0 auto;
  padding: 0;
  width: 100%;
  min-width: 50%;
  background: #ffffff80;
  border-radius: 5px;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.3);
  -webkit-animation: fadein 1s;
          animation: fadein 1s;
  overflow:hidden;
}

.header {
  position: relative;
  z-index:1;
  width: 100%;
  height: 180px;
  border-bottom: 3px solid #aaa;
  overflow: hidden;
}

.image {
  width: 100%;
  height: 180px;
  cursor:crosshair;
  overflow:hidden;
}

.image:hover img{
  -webkit-transform: scale(1.2, 1.2);
          transform: scale(1.2, 1.2);
}

.header h2{
  position:absolute;
  bottom:0;
  margin:0;
  width:100%;
  padding:0 10px;
  color:#fff;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
}
.icon {
  position: absolute;
  right: 10px;
  top: 135px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow:hidden;
  border:3px solid #fff;
  box-shadow:0 4px 0 #aaa;
  z-index:9
}
#rest,#rest2,#rest3 {
	padding: 30px 15px;
	line-height: 30px;
	color: #4a6d62;
	position: relative;
	top: -15px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	
}


