* {
    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: url("https://stream.accentry.cn:1145/ACWEBBG1.mp4") no-repeat center center center;
    background-size: cover;
    background-position: center center;
    text-align: center;
    background-color: rgba(0, 0, 0);
    font-family: "Open Sans", Helvetica;
    margin: 0;
    position: relative;
}

html,
body {
    width: 100vw;
    height: 1250px;
    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: 200px;
    /* Change image size for mobile */
    margin-top: 50px;
    -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;
    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: 280px;
        /* 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;
    }
}

.footer {
    display: inline-block;
    margin: 0px 15px 0 15px;
    padding: 2px 0;
    background-color: rgba(0, 0, 0, 0);
    font-size: 1em;
    color: transparent;
    text-align: center;
    border-radius: 5px 0 5px 0;
    line-height: 18px;
    margin-bottom: 20px;
}

.footer-text {
    color: white;
    text-align: center;
}

.footer-text a {
    color: rgb(159, 239, 243);
    padding: 0 5px;
    text-align: center;
}

.footer-text a:hover {
    color: rgb(113, 203, 238);
    padding: 0 5px;
    text-align: center;
}

video#bgvid {
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
    object-fit: fill;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    opacity: 0.5;
    background-size: cover;
}

.videocontainer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
}