body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #181a1b;
    color: #e8e6e3;
}

h1 {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: #5B88f1;
    text-decoration: none;
}

table {
    table-layout: fixed;
    border-collapse: collapse;
    margin: auto;
    width: 80%;
}

td,
th {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 4px;
}
td {
  
}
th {
    font-size: 18px;
    border: none;
}

tr:nth-child(even) {
    background-color: #0f1010;
}

.container {
    display: flex;
    align-items: center;
    justify-content: left;
}

.box {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    text-align: left;
}

#header {
    font-size: 18px;
}

#sessions {
    margin-top: 18px;
    margin-bottom: 18px;
}

.list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: auto;
    padding: 20px;
    overflow: auto;
}

.list-item {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}

#host_gamertag {
    font-weight: bold;
    font-size: 16px;
}

#game_title {
    font-weight: bold;
    font-size: 18px;
}

#host_item {
    font-weight: bold;
}

button {
    background-color: #202124;
    color: #e8e6e3;
    cursor: pointer;
    border: 1px solid white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.copy-xuid-btn {
    transition: border 0.3s ease;
    border-radius: 2px;
    border: 2px solid white;
    padding: 5px 15px;
    font-size: 14px;
    margin-left: 7px;
}

.entry {
    margin: 3px;
    display: table-cell;
}

#server_details_btn {
    background-color: #2b2f31;
    color: #e8e6e3;
    border-radius: 2px;
    cursor: pointer;
    border: none;
    text-align: center;
    text-decoration: none;
    display: flex;
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 20px;
}

#server_details {
    display: none;
}

ul, li {
    padding: 2px;
}
.icon {
width: 64px;
height: 64px;

}
.xuid {
    display: inline-grid;
}
#countdown {
position: absolute;
    top: 0px;
}
@media only screen and (max-width: 600px) {
    table {
        width: 100%;
    }

    .list-container {
        grid-template-columns: repeat(2, 1fr);
    }

    th {
        font-size: 16px;
    }

    .container {
        flex-direction: column;
    }

    .box {
        width: 100%;
        text-align: center;
        padding: 5px;
    }

    .copy-xuid-btn {
        display: none;
    }
    .entry {
        display: flow;
    }
}
