@font-face {
    font-family: ralewayMedium;
    src: url("resources/Raleway-Medium.ttf") format("truetype");
}

@font-face {
    font-family: minecraftRegular;
    src: url("resources/mc-font.otf") format("opentype");
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    background: url(resources/background.png) center center no-repeat fixed;
    background-size: cover;
    font-family: ralewayMedium;
    color: black;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

#title {
    width: 100%;
    height: 100vh;
    text-align: center;
}

#title img{
    position: absolute;
    width: 50%;
    max-width: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* for span in #title */
@keyframes oscillation {
    from {top: 70%;}
    to {top: 73%;}
}

#title span {
    position: absolute;
    top: 70%;
    font-size: 100%;
    color: white;
    text-shadow: 0px 0px 10px black;
    animation: oscillation 1s infinite alternate;
}

#content {
    text-align: center;
    display: inline-block;
    padding: 5%;
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    max-width: 100vw;
    margin: 0 auto;
    line-height: 2;
    font-size: 21px;
}

#content img {
    max-width: 100vw;
    width: 100%;
}

button {
	background-color: transparent;
	border:5px solid #ffffff;
	display: inline-block;
	cursor: pointer;
	color: white;
	font-size: 24px;
	padding: 16px 31px;
	text-decoration: none;
    font-family: ralewayMedium;
}

#wrapper {
    text-align: center;
    margin: 0 auto;
}

#visitor-action {
    display: inline-block;
}

#visitor-action span{
    margin: 32px;
}

h2 {
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: cyan;
}

a:hover {
    text-decoration: underline;
}

#tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #646464;
}

#tab button {
    background-color: inherit;
    float: center;
    border: none;
    outline: none;
    cursor: pointer;
    width: 49.5%;
    transition: 0.3s;
}

#tab button:hover {
    background-color: #ddd;
}
  
#tab button.active {
    background-color: #ccc;
    color: black;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent img {
    display: block;
    transform: scale(80%);
}

@media (max-width: 1200px) {
    .tabcontent img {
        transform: scale(100%);
    }
}

.game-button-java {
    height: 45px;
    outline: 2px solid black;
    position: relative;
    margin: 0;
    display: inline-block;
    background: url("resources/button_center.png") repeat;
    padding-left: 10px;
    padding-right: 10px;
    font-family: minecraftRegular;
    text-align: center;
    letter-spacing: 1px;
    color: white;
    text-shadow: 3px 3px #2c2c2c;
    border-bottom: 4px solid #565656;
    border-right: 2px solid #565656;
    border-left: 2px solid #AAA;
    border-top: 2px solid #AAA;
    box-sizing: border-box;
    font-size: 20px;
}

.game-button-bedrock {
    height: 45px;
    outline: 2px solid black;
    position: relative;
    margin: 0;
    display: inline-block;
    background: rgb(216, 216, 216);
    padding-left: 10px;
    padding-right: 10px;
    font-family: minecraftRegular;
    text-align: center;
    letter-spacing: 0.5px;
    color: rgb(65, 65, 65);
    border-bottom: 4px solid #565656;
    border-right: 2px solid #565656;
    border-left: 2px solid #AAA;
    border-top: 2px solid #AAA;
    box-sizing: border-box;
    font-size: 20px;
}