@font-face {
    font-family: 'burbank';
    src: url(fonts/burbankbigcondensed_black.otf);
}

body {
    background-color: #101014;
    color: #e8e6e3;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    padding-top: 60px;
    margin: 0;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1 {
    text-align: center;
}

.footer {
    margin-top: auto;
    background-color: #111314;
    color: #e8e6e3;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
    -webkit-user-drag: none;
    user-drag: none;
}

.email-link {
    display: contents;
    color: #007BFF
}

.topnav {
    background-color: #111314;
    height: 60px; /* Adjust the height as needed */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;    
    position: fixed; /* Make the nav bar fixed */
    top: 0; /* Position it at the top */
    width: 100%;
    z-index: 1000; /* Ensure it stays above other content */
}

.topnav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust the height as needed */
    /* margin: 5px; */
    align-items: center;
}

.logo h1 {
    font-family: 'burbank';
    font-size: 30px;
    margin: 0 10px;
    margin-top: 5px;
    line-height: 1;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 1s ease;
}

.logo h1:hover {
    background: linear-gradient(180deg, rgba(28,54,89,1) 0%, rgba(166,251,251,1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-items {
    display: flex;
    gap: 0px; /* Adjust the gap as needed */
    margin-left: auto;
}

.nav_item {
    display: flex;
    align-items: center;
}

.nav-items a {
    display: block;
    color: rgb(167, 159, 147);
    text-align: center;
    padding: 16px 20px;
    text-decoration: none;
    /* font-family: sans-serif; */
    font-family: 'burbank';
    font-weight: 1;
    font-size: 22.5px;
}

.nav-items a:hover {
    color: #f1ad9d;
    /* text-decoration: underline; */
}

.nav-items .selected a {
    color: #f1ad9d;
    /* font-weight: bold; */
}

.nav-items .fortnite_profile a {
    background-color: #78ccfa;
    font-family: 'burbank';
    color: black;
    font-size: 25px;
    padding: 5px 10px;
    border-radius: 5px 0px 0px 5px;
}

.nav-items .fortnite_profile a:hover {
    background-color: #f1ad9d;
    text-decoration: none;
}

/* .nav-items .fortnite_profile {
    margin-right: 40px;
} */

.nav-items .fchq_profile a {
    background-color: #fffb00;
    font-family: 'burbank';
    color: black;
    font-size: 25px;
    padding: 5px 10px;
    border-radius: 0px 5px 5px 0px;
}

.nav-items .fchq_profile a:hover {
    background-color: #f1ad9d;
    text-decoration: none;
}

.nav-items .fchq_profile {
    margin-right: 40px;
}

.button.yellow {
    background-color: #fbd731;
    color: black;
}
.button.yellow:hover {
    background-color: #f9c80e;
}

.button.red {
    background-color: #ff0000;
    color: white;
}
.button.red:hover {
    background-color: #ff4d4d;
}

.button.gray {
    background-color: #888888;
    color: black;
}
.button.gray:hover {
    background-color: #a9a9a9;
}

.button.disabled {
    pointer-events: none;
}

.button {
    font-family: 'burbank';
    font-size: 25px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    letter-spacing: 0.75px;
    /* Can't select text */
    -webkit-user-select: none;
    user-select: none;
    z-index: 1;
}

.button:hover {
    background-color: #0056b3;
}

.nav-toggle {
    display: none;
    margin-left: auto;
}

@media screen and (max-width: 800px) {
    .nav-items {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-items.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        margin-right: 20px;
    }

    .nav-toggle .icon {
        font-size: 30px;
        cursor: pointer;
    }

    .topnav ul {
        flex-direction: row;
        align-items: flex-start;
    }

    .topnav a {
        padding: 10px 20px;
        width: 100%;
        text-align: left;
    }

    .logo {
        /* Move to center */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* Hide the text content of the buttons while keeping the icon */
    .map-content .button {
        text-indent: -9999px; /* Move text far off-screen */
        white-space: nowrap; /* Prevent text from wrapping and breaking text-indent */
        overflow: hidden; /* Hide the overflowing text */
        padding: 10px; /* Adjust padding to only accommodate the icon */
        width: auto; /* Allow button width to shrink to fit just the icon's container */
        min-width: 44px; /* Maintain touch target size */
        min-height: 44px; /* Maintain touch target size */
        border-radius: 5px; /* Ensure consistent border-radius */
    }

    /* Bring the icon back into view within the button */
    .map-content .button i {
        text-indent: 0; /* Reset text-indent for the icon itself */
        font-size: 25px; /* Ensure the icon's font size is set */
        /* You might need to adjust margin for icon spacing if any */
        margin: 0; /* Remove margin to center the icon if it's the only content */
        display:inline;
    }

    /* If you have a specific margin on the .button class itself,
       you might need to adjust it here if it pushes the buttons too far. */
    .map-content .button.yellow {
        border-radius: 5px; /* Re-apply radius for the "Play" button if it had specific one */
    }

}

a:visited { 
    text-decoration: none; 
    color: #e8e6e3; 
}

a:link { 
    /* text-decoration: none;  */
    color: #e8e6e3; 
}

.player-count {
    display: inline-flex;
    align-items: center;
    background-color: #1e1e1e;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: white;
    gap: 6px;
    float: left;
    width: fit-content;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot.gray {
    background-color: #888;
}

.dot.green {
    background-color: #00ff00;
}

.dot.red {
    background-color: #ff0000;
}

.player-counter {
    font-family: "burbank";
    font-weight: 10;
    font-size: large;
    margin-right: 2px;
}

/* .centered {
    float: center;
} */