* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.warning {
    color: red;
    margin: 1em;
}

.success {
    color: #43A047;
    margin: 1em;
}

#container {
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a:link, a:active, a:visited {
    text-decoration: none;
    color: inherit;
    width: max-content;
}

a:hover {
    text-decoration: none;
    color: gray;
}

.menuButton {
    height: 3em;
    width: 3em;
}

.menuButton:hover {
    cursor: pointer;
}

button {
    border: none;
}

header {
    max-width: 100%;
    color: lightgray;
    position: sticky;
    top: 0;
    background: white;
    display: flex;
    align-items: center;
    border-bottom: 4px solid #ccc;
    justify-content: space-between;
    padding: 0 2em;
    flex-wrap:wrap;
}

.content {
    display: flex;
    align-items: center;
    justify-content:space-between;
    padding: 0 2em;
}

.headerItems {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
}

.headerItem {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min-content;
    min-width: min-content;
    padding: 1em;
    transition-duration: 0.4s;
}

.headerItem:hover {
    background-color: #ccc;
    color: black;
}

.profilePicture {
    height: 30px;
    width: 30px;
    margin-right: 1em;
    border-radius: 50%;
}

.loginBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.login {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

#loginButton {
    border: 1px solid #232629;
    padding: .5em 1em;
}

main {
    display: flex;
    justify-content: center;
    margin: 5em 0;
}

.mainContent {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.mainContentText {
    display: flex;
    flex-direction: column;
    max-width: 20em;
    min-width: none;
    height: auto;
    padding: 2em;
    margin: 2em;
    background-color: #EEEEEE;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.smallSquareButton {
    height: auto;
    width: auto;
    padding: .5em .5em;
    border-radius: 8px;
    color: white;
    background-color: #005aaa;
    transition-duration: 0.4s;
}

.smallSquareButton:hover {
    cursor: pointer;
    background-color: #ccc;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    color: black;
}

.loginPageBox {
    height: auto;
    max-width: 15em;
    padding: 2.5em;
    background-color: #EEEEEE;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: left;
}

fieldset {
    border: 1px solid gray;
    border-radius: 8px;
    padding: 15px;
    color: gray;
    margin: 1em 0;
}

fieldset:focus-within {
    border-color: black;
}

fieldset:focus-within > legend {
    color: black;
}

input:active {
    background: none;
}

input[type=text], input[type=password], input[type=email], input[type=submit] {
    font-size: 1.2em;
    padding: 3px;
    outline: none;
    border: none;
    width: 100%;
    background: none;
}

.roundButton {
    height: 4em;
    width: 4em;
    background-color: #005aaa;
    border-radius: 3em;
    transition-duration: 0.4s;
}

.roundButton img {
    height: 50%;
    width: 50%;
    filter: invert(1);
    transition-duration: 0.4s;
}

.roundButton:hover {
    background-color: #ccc;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.roundButton:hover img {
    filter: invert(0);
}

footer {
    margin-top: auto;
    height: 130px;
    background: #232629;
    color: white;
}

.watch {
    background-color: red;
    color: white;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.links {
    padding: 1em;
    margin: 1em 0;
    background-color: #ccc;
    border-radius: 500px;
    transition-duration: 0.4s;
}

.links:hover {
    padding: 1em 3em;
}

.centerButtons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.statsContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.stats {
    display: flex;
    flex-direction: column;
    background-color: #EEEEEE;
    padding: 2em;
    border-radius: 8px;
    margin: 1em;
    max-width: calc(100vw - 6em);
}

.tableScroll {
    overflow: auto;
}

table {
    border-collapse: collapse;
}

th:hover {
    cursor: pointer;
}

td, th {
    padding: 10px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #bfbfbf
}

fieldset {
    width: max-content;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 4em;
}

.playerOnline {
    background-color: #43A047;
}

.playerOffline {
    background-color: red;
}