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

    background-attachment: scroll;
    background-color: #f4f4f4;
    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/wtr-bg.png");
    background-size: 80px;

    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;
}

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 {
    cursor: pointer;
}

.main-button {
    margin: 5px;
}

input[type="submit"], #button-start {
    background-color: #303030;
    color: #ffffff;
}

#button-bot-game {
    background-color: #F0F0F0;
    color: #000000;
}

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;
}

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;
}

.modal-bot-game {
	position: absolute;
	width: 100%;
	height: 100%;

    top: 0;
    left: 0;

	background-color: rgba(0, 0, 0, 0.5);

    display: none;
}

.modal-visible {
    display: block !important;
}

.modal-bot-game-content {
	position: absolute;

	width: 400px;
	max-width: calc(100% - 40px - 40px);
	max-height: calc(80% - 40px - 40px);
	overflow-y: auto;

	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	background-color: white;
	padding: 20px;
	border-radius: 10px;

	font-size: 12pt;

    text-align: center;
}

.icon-button {
    display: inline-block;

	width: 50px;
	height: 50px;

	background-repeat: no-repeat;
	background-size: contain;

	-webkit-tap-highlight-color: transparent;
}
.icon-button:hover {
	cursor: pointer;
}

.icon-accept {
	background-image: url("../img/accept.png");
}

.icon-decline {
	background-image: url("../img/decline.png");
}

.highlighted-text {
    background-color: yellow;
    line-height: 1.3em;
}

.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;
}
