@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,800;1,100&display=swap');

:root {
    --offwhite: #dbdbdb;
    --darkeroffwhite: #b8b8b8;
    --gray: #6d6d6d;
    --text-gray: #cccccc;
    --offblack: #282828;
    --red: #f44336;
}

body {
    overflow-x: hidden;
}

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

#rules-anchor {
    text-align: center;
    color: var(--offblack);
    text-transform: uppercase;
    margin-top: 50px;
}

#play-anchor {
    text-align: center;
    color: var(--offblack);
    text-transform: uppercase;
    margin-bottom: 50px;
}

.main {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: var(--offwhite);
    background-color: var(--darkeroffwhite);
}

#form-title {
    font-weight: 500;
    margin-bottom: 15px;
}

#main-form {
    display: flex;
    flex-direction: column;
    padding-bottom: 22.5px;
    margin-bottom: 22.5px;
    border-bottom: var(--gray) 1px solid;
}

#form-info {
    font-size: 15px;
    font-weight: 200;
    color: var(--text-gray);
    width: 300px;
}

.container {
    display: flex;
    padding: 20px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--offblack);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

label {
    margin-right: 10px;
}

input {
    background-color: var(--offblack);
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--offwhite);
    padding: 0px 4px;
    border-bottom: var(--offwhite) 1px solid;
}

a {
    text-decoration: none;
    width: 100%;
}

button {
    background-color: var(--offblack);
    padding: 15px 0px 15px 0px;
    border: none;
    outline: none;
    border: var(--offwhite) 1px solid;
    border-radius: 5px;
    color: var(--darkeroffwhite);
    width: 100%;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.left {
    display: flex;
    flex-direction: row;
    justify-content: left !important;
    align-items: center;    
}

#max-players-value {
    width: 40px;
    text-align: right;
}

#public {
    margin-left: 0px;
    width: 15px;
    height: 15px;
    border: none;
    outline: none;
    background-color: var(--offwhite);
}

#public-label {
    margin-left: 5px;
}

button:hover {
    background-color: var(--offwhite);
    color: var(--offblack);
}

#create {
    margin-top: 15px;
}

.tooltip {
    font-size: 15px;
    color:#726f6f;
    max-width: 364px;
}

.form-section {
    display: flex;
    margin-top: 10px;
    justify-content: space-between;
}