@font-face {
    font-family: "Roboto";
    src: url(./fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: "Play";
    src: url(./fonts/Play-Regular.ttf);
}

@font-face {
    font-family: "Roboto Slab";
    src: url(./fonts/RobotoSlab-Regular.ttf);
}

@font-face {
    font-family: "Roboto Mono";
    src: url(./fonts/RobotoMono-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto';
    user-select: none;
    transition: all 0.2s;
}

body {
    font-size: 15pt;
    background: #0f0f0f;
    color: #0af;
}

#info {
    margin: 10px;
    font-size: 25px;
    font-weight: bold;
}

.player-count {
    margin: -10px 10px 10px 10px;
    font-family: 'Roboto Mono';
}

#count {
    display: inline-block;
    background: #1a1a1a;
    min-width: 80px;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    padding: 3px 10px;
    vertical-align: middle;
    text-align: center;
    border-radius: 5px;
}

h1 {
    font-size: 25px;
    color: #0ff;
    margin: 5px;
    font-family: 'Roboto Slab';
}

small {
    color: #ddd;
    font-weight: normal;
}

p {
    background: #1a1a1a;
    color: #0cf;
    margin: 0;
    padding: 10px;
    font-family: 'Play';
}

.list {
    position: absolute;
    top: 170px;
    left: 20px;
    display: flex;
    width: calc(100% - 40px);
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: flex-start;
    background: #1a1a1a;
    height: calc(100% - 250px);
    border-radius: 20px;
    overflow: hidden;
    overflow-y: auto;
    border: 5px #0f7 solid;
}

.list .player {
    position: relative;
    background: #1a1a1a;
    width: 150px;
    height: 170px;
    padding: 10px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 0 10px #0f09, 0 0 10px #0f79 inset;
    border: 2px #0f7 solid;
}

.list .player h1 {
    position: relative;
    top: 0px;
    font-size: 20px;
    text-align: center;
    color: #0f7;
    margin: 0 0 10px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list .player img {
    position: relative;
    top: 0;
    width: 61px;
    height: 128px;
    margin: 0 30px;
    padding: 5px 15px;
    /* box-shadow: 0 0 20px #0f72, 0 0 20px #ff02 inset; */
    border-radius: 25%;
}

.list .player span {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 32px);
    text-align: center;
    color: #0f0;
    background: #222;
    padding: 0 10px;
    border-radius: 1em;
    font-family: 'Roboto Mono';
    border: 1px #555 solid;
}

.list small {
    margin-top: 20px;
}

.action {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 20px;
}

button {
    position: relative;
    padding: 10px 50px;
    min-width: 50px;
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    border-color: #0f7;
    background: #222;
    color: #0f7;
    font-family: "Roboto Mono";
}

button:hover {
    background: #333;
    border-color: #0cf;
    cursor: pointer;
    letter-spacing: 2px;
}

button svg {
    position: absolute;
    left: 10px;
    top: calc(50% - 1em);
    height: 2em;
    vertical-align: middle;
    margin-right: 10px;
}