:root {
	--white: white;
	--background-green: #39bb92;
	--button-blue-background: #3395dd;
	--button-blue-hover: #1c89d9;
	--infotext-gray: #b4b4b4;
	--window-background: #3a4158;
	--info-background: #f8c057;
	--test: #000000;
}

* {
	font-family: Roboto,Avenir,Helvetica,Arial,sans-serif;
}

#navbar {
	position: relative;
    top: 0px;
    width: 100%;
    background: #3a4158;
    min-height: 40px;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
    border-style: none none solid none;
    border-width: 1px;
    border-color: #a9c890;
    display: flex;
    justify-content: space-between;
    z-index: 100000;
    max-height: 60px;
}

#footer {
    position: absolute;
    bottom: 0;
    max-height: 50px;
    height: 40px;
    width: 100%;
    display: flex;
}

.footer-impressum-wrapper {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 10px;
    justify-content: end;
    padding-right: 20px;
    color: white;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

a.mail-link {
    text-decoration: none;
    color: #2327ed;
}

.logo-icon {
    height: 100%;
}

body {
    /* background: var(--background-green); */
    margin: 0px;
    background-image: url(/icons/background.png);
}

#root {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.infotext {
	color: white;
    font-size: 17px;
    text-align: center;
    padding: 20px;
}

.infotext span {
    color: var(--infotext-gray);
    font-weight: 100;
    font-size: 13px;
}

input.textfield {
    background: #edfcff;
    border-radius: 6px;
    min-height: 30px;
    font-size: 21px;
    border-width: 1.5px;
    border-color: #454858;
    color: #7a7a7a;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
	padding: 0px;
	
	-webkit-box-shadow: 0px 5px 0px 1px #007002;
    box-shadow: 0px 5px 0px 1px #59759f;
}

input.checkbox {
    width: 20px;
    height: 20px;
    background-color: var(--button-blue-background);
}

.checkbox-text {
    padding: 0px;
    line-height: 30px;
}

.config-text.checkbox-text {
    padding: 0px;
}

input.hover-effect {
    -webkit-box-shadow: 0px 3px 0px 0px #59759f;
    box-shadow: 0px 3px 0px 0px #59759f;
}

.main-window-login {
	flex-direction: column;
    justify-content: end;
}

#main-window {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    background: var(--window-background);
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.5);
    min-height: 200px;
    justify-content: center;
    justify-content: space-between;
}

.hover-effect {
	-webkit-box-shadow: 0px 3px 0px 0px #007002;
    box-shadow: 0px 3px 0px 0px #59759f;
	transition: .15s;
	margin-bottom: 10px;
}

.hover-effect:hover:not(.disabled) {
	transform: translateY(3px);
    box-shadow: none;
}

.round-button {
	border-width: 1px;
    background: var(--button-blue-background);
    border-radius: 5px;
    width: 100%;
    color: white;
    border-color: #4764ff;
    outline-style: none;
    outline-width: 1px;
    user-select: none;
    cursor: pointer;
    font-size: 16px;
    padding-bottom: 5px;
    padding-top: 9px;
	min-height: 23px;
	text-align: center;
	position: relative;
}

.forget-me {
    -webkit-box-shadow: 0px 3px 0px 0px #893636 !important;
    box-shadow: 0px 3px 0px 0px #893636 !important;
    transition: .15s;
    margin-bottom: 10px;
    background: #d45454 !important;
    min-height: 20px !important;
    padding: 0px;
    border-color: white;
    max-width: 130px;
}

.round-button:hover:not(.disabled) {
	background: #1c89d9;
}

.round-button:active:not(.disabled) {
	background: #00acbf;
}

.disabled {
	background: #adacac;
    border-style: none;
    -webkit-box-shadow: 0px 0px 0px 0px #5e6876;
    box-shadow: 0px 0px 0px 0px #5e6876;
}

.loading-icon {
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    height: 70%;
    aspect-ratio: 1 / 1;
    background-image: url(/meieronline/icons/loading.png);
    background-size: contain;
    animation-name: spinning;
    animation-duration: .5s;
    animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.serverstatus-wrapper {
    display: flex;
    flex-direction: row;
    gap: 4px;
    justify-content: center;
    padding-left: 6px;
    margin: auto;
    flex: 1;
}

.status-indicator-red {
	background: #e73d30 !important;
}

.status-indicator-green {
	background: #42ec29 !important;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #f3d236;
    border-radius: 6px;
    transform: translate(0px, 3px);
}

.status-info {
    color: white;
}

.impressum-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
}

.impressum-element {
    border-style: none none none solid;
    border-width: 1px;
    padding-left: 6px;
}

.not-connected > .player-info.impressum-element {
    display: none;
}

.not-connected > .match-info.impressum-element {
	display: none;
}

.no-connection {
	display: none;
}

.not-connected > .no-connection.impressum-element {
    display: block;
}

.impressum-right {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    color: white;
    margin: auto;
    margin-right: 5px;
    user-select: none;
}

.impressum-left {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.lng-dropdown-wrapper {
    height: 100%;
}

.lng-select {
    width: 35px;
    margin-top: 5px;
    margin-bottom: 8px;
    position: relative;
}

.lng-dropdown-element {
    color: white;
    min-width: 120px;
    display: flex;
    min-height: 40px;
}

ul#lng-dropdown-menu {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: block;
    position: absolute;
    border-radius: 10px;
    background: var(--button-blue-background);
    user-select: none;
}

.lng-element-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-image: url(/icons/language/german.png);
    background-position: left;
    background-size: 25px;
    background-repeat: no-repeat;
    padding-left: 33px;
    margin-left: 6px;
}

#lng-dropdown-menu li:hover {
	transition: .2s;
    background: var(--button-blue-hover);
}

#lng-dropdown-menu li {
    cursor: grab;
}

ul.lng-dropdown-menu:not(.lng-select:hover) {
    /*display: none;*/
}

img.lng-select-icon {
    position: absolute;
    aspect-ratio: 1 / 1;
    width: 60%;
    left: 20%;
}

@keyframes spinning {
	
	from {
		transform: translate(-50%, -50%) rotate(0deg);	
	}
	
	to {
		transform: translate(-50%, -50%) rotate(365deg);	
	}
}

@media only screen and (max-width: 700px) {
	#main-window {
		width: 90% !important;
		flex-direction: column-reverse;
	}
	
	.sidepanel-wrapper {
		border-radius: 0px !important;
		border-bottom-left-radius: inherit !important;
		border-bottom-right-radius: inherit !important;
	}
	
	  
  .impressum-right {
		font-size: 14px;
  }
  
  .footer-impressum-wrapper {
	max-height: 30px;
	font-size: 13px;
  }

}

@media only screen and (max-height: 450px) {
  #main-window {
	  min-height: 200px;
  }
}
