html {
    height: 100%;
    box-sizing: border-box;

    background-attachment: scroll;
    background-color: rgb(149, 200, 232);
    background-image: linear-gradient(
        225deg,
        #0000,
        #0002
    );
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    background-attachment: fixed;   
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    min-height: 100%;

    font-family: futura-pt, sans-serif;
    padding-bottom: 100px;

    background-image: url("../img/waves-bg.png");
    background-size: 200px;
    background-repeat: repeat;

    padding: 20px;
}

.emoji {
    font-family: "apple color emoji", "segoe ui emoji", "noto color emoji", "android emoji", "emojisymbols", "emojione mozilla", "twemoji mozilla", "segoe ui symbol";
}

h1, h2, p, .form {
    text-align: center;
}

h1 {
    margin: 0;
}

h1 img {
    width: 360px;
    max-width: 100%;
}

a, a:visited {
    color: black;
}

div.container {
    padding: 0px 20px;
}

div.perdix-logo {
    position: fixed;
    bottom: 4px;
    right: 4px;
}

div.perdix-logo img {
    width: 100px;
    height: 100px;
}
@media screen and (max-width: 380px) {
    div.perdix-logo img {
        width: 65px;
        height: 65px;
    }
}

span.hinweis {
    color: #555;
    font-size: 14px;
    color: white;
}

input, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 4px 6px;
    
    height: 30px;
    
    width: 240px;
    max-width: 100%;
}

input[type="submit"], button {
    background-color: #F0F0F0;
    color: #000000;

    cursor: pointer;
}

.main-button {
    margin: 5px;
}

#button-start {
    background-color: #303030;
    color: #ffffff;
}

ol.mitspieler {
    background-color: #fffa;
    
    width: 240px;
    max-width: 100%;
    min-height: 20px;
    
    margin: auto;
    margin-bottom: 32px;
    
    border-radius: 4px;
    padding: 12px;
    padding-left: 30px;
    
    cursor: default;

    line-height: 20px;
}

li.waiting {
    color: #888;
    list-style: none;
    text-indent: -14px;
}

div.share-container {
    margin: auto;
    text-align: center;
}

span.spiel-link {
    border: 1px solid #888;
    border-radius: 4px;
    padding: 6px;
    height: 32px;
    display: inline-block;
    vertical-align: bottom;
    background-color: #0002;
    cursor: default;
    
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
    max-width: calc(100% - 36px);

    overflow: hidden;
}

span.spiel-link a,
span.spiel-link a:focus,
span.spiel-link a:active {
    color: #000000;
    cursor: pointer;
}

button.copy-btn {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: bottom;
    padding: 4px;
}

.is-bot-player::before {
    content: "🤖 ";
}

.remove-bot-player {
    font-size: 12px;
    color: red;
    cursor: pointer;

    display: inline-block;
    margin-left: 12px;
}

#game-exists, #player-exists {
    display: none;
}

.language-selector-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
    margin-top: 50px;
}

.language-selector-container > a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 20px;

    cursor: pointer;
    text-decoration: none;
}

.language-selector-container .active-language {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: solid 2px rgb(20, 20, 20) !important;
}
