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

body {
    /* Want to change background image? */
    /* Upload a new one to the img folder. */
    /* Make sure you name it 'hytale.jpg' */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                url("../img/hytale.png") no-repeat center center fixed;
    background-size: cover;
    font-family: Helvetica, sans-serif;
    overflow-x: hidden;
}

p {
    margin: 0;
    padding: 3px;
}

.container {
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo img {
    width: 150px;
    animation: logo 4s infinite ease-in-out;
}

@keyframes logo {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.items {
    display: flex;
    justify-content: space-around;
    padding: 18px 0 10px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.items div img {
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.items div:hover img {
    transform: scale(1.3);
}

.playercount {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: rgba(169, 28, 209, 0.65);
    font-size: 1.2rem;
    color: white;
    text-align: center;
    border-radius: 4px;
}

.playercount span {
    font-weight: bold;
}

/* Desktop Styles */
@media (min-width: 600px) {
    .logo img {
        width: 250px;
    }

    .items {
        padding: 40px 0 10px 0;
    }

    .items .item {
        flex: 1 1 200px;
        max-width: 220px;
    }
}

@media (min-width: 1000px) {
    .items {
        justify-content: center;
    }

    .items .item:not(:first-child) {
        margin-left: 90px;
    }
}

/* Main Banner */
.main {
    max-height: 550px;
    background-color: #292c2f;
    color: white;
    font-size: 38pt;
    text-align: center;
    line-height: 550px;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-distributed {
    background-color: #292c2f;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px sans-serif;
    padding: 55px 50px;
    margin-top: 80px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
}

.footer-distributed .footer-left {
    width: 40%;
}

.footer-distributed h3 {
    color: #ffffff;
    font: bold 50px sans-serif;
    margin: 0;
}

.footer-distributed h3 span {
    color: #A91CD1;
}

.footer-distributed .footer-links {
    color: #ffffff;
    margin: 20px 0 12px;
    padding: 0;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
}

.footer-distributed .footer-company-name {
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-center {
    width: 35%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer-distributed .footer-center p a {
    color: #5383d3;
    text-decoration: none;
}

.footer-distributed .footer-right {
    width: 20%;
}

.footer-distributed .footer-company-about {
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Responsive Footer */
@media (max-width: 880px) {
    .footer-distributed {
        font: bold 14px sans-serif;
        padding: 30px 20px;
    }

    .footer-distributed .footer-left,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-distributed .footer-center i {
        margin-left: 0;
    }

    .main {
        line-height: normal;
        font-size: 28pt;
        padding: 20px 10px;
    }
}
