@font-face {
    font-family: Minecraft;
    src: url(Minecraft.ttf);
}
body {
    font-family: Minecraft, Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: #100000;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #250000;
    padding: 20px;
    box-shadow: #780e00 0px 4px 8px;
    gap: 20px;
}
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #250000;
    padding: 20px;
    box-shadow: #780e00 0px 4px 8px;
}
.title {
    margin-left: 15px;
    margin-right: 25px;
    font-size:2em;
    color:#ff3300;
}
.ip {
    margin-left: 30px;
    font-size:1.5em;
    color:#ffdd01;
}
.status {
    margin-left: 30px;
    font-size:1.5em;
    color:#ffffff;
}
.server-info {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    align-items: center;
}
#menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ff3300;
    font-size: 1.6em;
    cursor: pointer;
}

/* Layout nav so it centers on wide screens */
nav {
    display: flex;
    gap: 10px;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    /* enable transitions for responsive dropdown */
    transition: max-height 300ms ease, opacity 300ms ease, transform 300ms ease;
}

/* Dropdown style when nav is shown on small screens */
@media (max-width: 900px) {
    nav {
        /* switched from display:none to collapsible animated container */
        position: absolute;
        top: 80px;
        right: 20px;
        background-color: #250000;
        padding: 12px;
        border-radius: 8px;
        flex-direction: column;
        box-shadow: #780e00 0px 6px 12px;
        z-index: 200;
        min-width: 200px;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }
    nav.open {
        max-height: 600px; /* large enough for the menu items */
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    nav a {
        display: block;
        margin: 8px 0;
    }
    #menu-toggle {
        display: block;
    }
}
#click-event {
    cursor: pointer;
}
a {
    color: #ffffff;
    background-color: #ff3300;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 15px;
    transition: ease-in-out 0.5s;
}
footer a {
    text-decoration: underline;
    color: #ff3300;
    padding: auto;
    background-color: transparent;
    border-radius: 0;
    transition: ease-in-out 0.2s;
    margin: 0;
    padding: 0;
}
a:hover {
    background-color: #ff9602;
    text-decoration: underline;
    transition: ease-in-out 0.5s;
}
footer a:hover {
    background-color: transparent;
    color: #ff9602;
    transition: ease-in-out 0.2s;
}
.current-page {
    background-color: #ff9602;
    pointer-events: none;
}
h1 {
    color: #e1d4d4;
    font-size: 2.5em;
    margin-top: 55px;
    margin-bottom: 20px;
}
h2 {
    color: #ae8383;
    font-size: 2em;
    margin-bottom: 25px;
}
p {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 35px;
}
footer p {
    color: #888888;
    font-size: 0.5em;
    margin-bottom: 10px;
}
ul, ol {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 35px;
    text-align: left;
    display: inline-block;
}
li {
    margin-bottom: 15px;
}
.community-link {
    margin-left: 20px;
    font-size: 1.5em;
    color: #ffffff;
}
.discord-icon, .tiktok-icon, .twitch-icon, .instagram-icon {
    width:50px;
    height:50px;
    vertical-align:middle;
}
.youtube-icon {
    width:75px;
    height:50px;
    vertical-align:middle;
}
.twitter-icon {
    width:60px;
    height:50px;
    vertical-align:middle;
}
h3 {
    color: #ce7b7b;
    font-size: 1.7em;
    margin-bottom: 20px;
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    min-height: 63vh;
}
@media (max-width: 600px) {
    /* On small screens show only logo+title and the menu toggle */
    .title {
        margin: 0;
        font-size: 1.2em;
    }
    .logo {
        max-width: 50px;
        max-height: 50px;
    }
    h1 {
        font-size: 1.5em;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    h3 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    p, ul, ol {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .community-link {
        margin-left: 10px;
        font-size: 1em;
    }
    .discord-icon, .tiktok-icon, .twitch-icon, .instagram-icon {
        width:30px;
        height:30px;
    }
    .youtube-icon {
        width:45px;
        height:30px;
    }
    .twitter-icon {
        width:36px;
        height:30px;
    }
    .server-info {
        display: none;
    }
    nav {
        /* switched from display:none to collapsible animated container */
        position: absolute;
        top: 70px;
        right: 10px;
        left: 10px;
        background-color: #250000;
        padding: 12px;
        border-radius: 8px;
        flex-direction: column;
        box-shadow: #780e00 0px 6px 12px;
        z-index: 200;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }
    nav.open {
        max-height: 800px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    nav a {
        display: block;
        margin: 8px 0;
    }
    #menu-toggle {
        display: block;
    }
}