@font-face {
  font-family: Mali;
  src: url(fonts/Mali.ttf);
}
@font-face {
  font-family: RockSalt;
  src: url(fonts/RockSalt.ttf);
}
* {
  font-family: Mali;
  text-transform: uppercase;
  color: #332319;
}

.btn {
  text-transform: uppercase;
  background-color: rgb(181, 167, 147);
  color: #332319;
}

body {
  background-image: url("/img/banner-wood.jpg");
  background-repeat: repeat;
  -webkit-backdrop-filter: blur(0.7px);
          backdrop-filter: blur(0.7px);
}

.btn:hover {
  background-color: #332319 !important;
  color: #E9E9E8 !important;
}

input[type=text], input[type=password], input[type=email], .rules_body, .scoreboard_body {
  text-transform: none;
}
input[type=text] li, input[type=password] li, input[type=email] li, .rules_body li, .scoreboard_body li {
  text-transform: none;
}

.navbar {
  background-repeat: repeat;
  background-size: cover;
  background-color: #332319;
}
.navbar .navbar-toggler {
  border: none;
  font-weight: 1000;
}
.navbar a {
  color: #332319;
}
.navbar .title {
  font-family: RockSalt, sans-serif;
  font-size: 2rem;
  color: #332319;
  text-align: center;
}
.navbar .offcanvas-header {
  justify-content: end;
}
.navbar .offcanvas-body {
  margin: 0 auto;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scrollbar-width: none;
}
.navbar .offcanvas-body hr {
  border: 2px solid #332319;
  font-weight: 1000;
}
.navbar .offcanvas-body .btn {
  background-color: rgb(181, 167, 147);
  color: #332319;
  display: block;
  border: 2px solid #332319;
  font-weight: 1000;
  margin: 2rem 0;
  width: 100%;
  height: 3.5rem;
  font-size: 1.2rem;
  border-radius: 10px;
}
.navbar .offcanvas-body .profile_btns a {
  text-decoration: none;
}
.navbar .offcanvas-body::-webkit-scrollbar {
  display: none;
}
.navbar .offcanvas {
  transform: translateX(0);
}

.new-game-div {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.btn_new-game, .btn_join-secure, .submit-btn_signup, .submit-btn_login {
  background-color: rgb(181, 167, 147);
  color: #332319;
  border: 2px solid #332319;
  font-weight: 1000;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 0.75rem 4rem;
}

#new-game_modal input[type=text], #new-game_modal input[type=password] {
  height: 50px;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 17px;
  transition: all 0.3s ease;
}
#new-game_modal input[type=text]:focus, #new-game_modal input[type=password]:focus {
  border-color: #332319;
  /* box-shadow: inset 0 0 3px #fb6aae; */
}
#new-game_modal input[type=text]::-moz-placeholder, #new-game_modal input[type=password]::-moz-placeholder {
  color: #999;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#new-game_modal input[type=text]::placeholder, #new-game_modal input[type=password]::placeholder {
  color: #999;
  transition: all 0.3s ease;
}
#new-game_modal input[type=text]:focus::-moz-placeholder, #new-game_modal input[type=password]:focus::-moz-placeholder {
  color: #332319;
}
#new-game_modal input[type=text]:focus::placeholder, #new-game_modal input[type=password]:focus::placeholder {
  color: #332319;
}
#new-game_modal input[type=password] {
  margin: 1rem 0;
}
#new-game_modal .btn {
  border: 2px solid #332319;
  font-weight: 1000;
  font-size: 1.1rem;
  border-radius: 10px;
  background-color: rgb(181, 167, 147);
  color: #332319;
}
#new-game_modal .btn:active {
  color: #E9E9E8;
  background-color: #332319;
}
#new-game_modal .btn_submit {
  background-color: rgb(181, 167, 147);
  color: #332319;
  border: 2px solid #332319;
  font-weight: 1000;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 0.75rem 4rem;
}
#new-game_modal input[type=text]:focus {
  box-shadow: 0 0 5px #332319;
  border-color: #332319;
}
#new-game_modal .number_of_players {
  display: flex;
  justify-content: space-between;
}
#new-game_modal .number_of_players p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
#new-game_modal .number_of_players label {
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
  border: 2px solid #332319;
  font-weight: 1000;
}
#new-game_modal .number_of_players input[type=radio]:checked + label {
  color: #E9E9E8;
  background-color: #332319;
}
#new-game_modal .number_of_players input[type=radio] {
  display: none;
}
#new-game_modal .game_type {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
}
#new-game_modal .game_type p {
  margin-top: 0.5rem;
  margin-bottom: 0;
  margin-right: 0.5rem;
}
#new-game_modal .game_type label {
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  font-size: 1.1rem;
  border: 2px solid #332319;
  font-weight: 1000;
}
#new-game_modal .game_type input[type=radio]:checked + label {
  color: #E9E9E8;
  background-color: #332319;
}
#new-game_modal .game_type input[type=radio] {
  display: none;
}
#new-game_modal .rank-system, #new-game_modal .protected {
  display: flex;
  justify-content: space-between;
}
#new-game_modal .rank-system .span_ranked, #new-game_modal .rank-system .span_public, #new-game_modal .protected .span_ranked, #new-game_modal .protected .span_public {
  width: 49%;
}
#new-game_modal .rank-system .span_unranked, #new-game_modal .rank-system .span_private, #new-game_modal .protected .span_unranked, #new-game_modal .protected .span_private {
  width: 49%;
}
#new-game_modal .rank-system label, #new-game_modal .protected label {
  padding: 0.375rem 0;
  display: inline-block;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  background-color: rgb(181, 167, 147);
  color: #332319;
  border: 2px solid #332319;
  font-weight: 1000;
  text-align: center;
  width: 100%;
}
#new-game_modal .rank-system input[type=radio]:checked + label, #new-game_modal .protected input[type=radio]:checked + label {
  color: #332319;
  background-color: rgb(181, 167, 147);
}
#new-game_modal .rank-system input[type=radio], #new-game_modal .protected input[type=radio] {
  display: none;
}

.reload {
  background-color: rgba(233, 233, 232, 0.7);
  border-radius: 10px;
  height: 3.5rem;
  width: 3.5rem;
  padding: 0.5rem;
}
.reload .nachNeueSpieleSuchen {
  color: #E9E9E8;
  margin-top: 2rem;
}
.reload .nachNeueSpieleSuchen:hover {
  color: rgb(181, 167, 147);
}
.reload .nachNeueSpieleSuchen img {
  height: 2.5rem;
  width: 2.5rem;
  filter: invert(9%) sepia(11%) saturate(2606%) hue-rotate(340deg) brightness(101%) contrast(87%);
}

main .public-lobbies .lobbyPasswort {
  height: 50px;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 17px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
main .public-lobbies .lobby {
  min-width: 20rem;
  border-radius: 30px;
  padding: 1rem 1.5rem;
  margin: 1.5rem;
  box-shadow: 0px 0px 25px 5px #332319;
  background-color: #E9E9E8;
}
main .public-lobbies .lobby .icon {
  filter: invert(9%) sepia(11%) saturate(2601%) hue-rotate(339deg) brightness(103%) contrast(87%);
}
main .public-lobbies .lobby .lobby-title {
  font-family: RockSalt, sans-serif;
  text-align: center;
  display: flex;
  justify-content: space-between;
}
main .public-lobbies .lobby .game-type-badge {
  font-family: sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1.5px solid #332319;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  align-self: center;
}
main .public-lobbies .lobby hr {
  width: 70%;
  margin: 1rem auto;
}
main .public-lobbies .lobby .players li {
  margin: 0.35rem 0;
}
main .public-lobbies .lobby .lobby-btns {
  margin: 1.5rem 0 0.5rem 0;
}
main .public-lobbies .lobby .lobby-btns .game-info {
  border: 2px solid #332319;
  font-weight: 1000;
  border-radius: 0.375rem;
  float: left;
  color: #332319;
}
main .public-lobbies .lobby .lobby-btns .join-game {
  border: 2px solid #332319;
  font-weight: 1000;
  border-radius: 10px;
  width: 100%;
  height: 3rem;
}
main .no-lobbies {
  font-size: 1.7rem;
  margin-top: 40%;
  color: #332319;
  background-color: rgba(233, 233, 232, 0.7);
  border-radius: 10px;
  padding: 0.5rem;
}

#game {
  height: 100vh;
  width: 100%;
}

#login_modal .modal-content {
  max-width: 400px;
}
#login_modal .signup.title {
  display: none;
}
#login_modal ::-moz-selection {
  background: #332319;
  color: #E9E9E8;
}
#login_modal ::selection {
  background: #332319;
  color: #E9E9E8;
}
#login_modal .wrapper {
  overflow: hidden;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
}
#login_modal .wrapper .title-text {
  display: flex;
  width: 200%;
}
#login_modal .wrapper .title {
  width: 50%;
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#login_modal .wrapper .slide-controls {
  position: relative;
  display: flex;
  height: 50px;
  width: 100%;
  overflow: hidden;
  margin: 30px 0 10px 0;
  justify-content: space-between;
  border: 1px solid lightgrey;
  border-radius: 15px;
}
#login_modal .slide-controls .slide {
  height: 100%;
  width: 100%;
  color: #E9E9E8;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.6s ease;
}
#login_modal .slide-controls label.signup {
  color: #332319;
}
#login_modal .slide-controls .slider-tab {
  position: absolute;
  height: 100%;
  width: 50%;
  left: 0;
  z-index: 0;
  border-radius: 15px;
  background: #332319;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#login_modal input[type=radio] {
  display: none;
}
#login_modal #signup:checked ~ .slider-tab {
  left: 50%;
}
#login_modal #signup:checked ~ label.signup {
  color: #E9E9E8;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#login_modal #signup:checked ~ label.login {
  color: #332319;
}
#login_modal #login:checked ~ label.signup {
  color: #332319;
}
#login_modal #login:checked ~ label.login {
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#login_modal .wrapper .form-container {
  width: 100%;
  overflow: hidden;
}
#login_modal .form-container .form-inner {
  display: flex;
  width: 200%;
}
#login_modal .form-container .form-inner form {
  width: 50%;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#login_modal .form-inner form .field {
  height: 50px;
  width: 100%;
  margin-top: 20px;
}
#login_modal .form-inner form .field input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 17px;
  transition: all 0.3s ease;
}
#login_modal .form-inner form .field input:focus {
  border-color: #332319;
  /* box-shadow: inset 0 0 3px #fb6aae; */
}
#login_modal .form-inner form .field input::-moz-placeholder {
  color: #999;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#login_modal .form-inner form .field input::placeholder {
  color: #999;
  transition: all 0.3s ease;
}
#login_modal form .field input:focus::-moz-placeholder {
  color: #332319;
}
#login_modal form .field input:focus::placeholder {
  color: #332319;
}
#login_modal .form-inner form .pass-link {
  margin-top: 5px;
}
#login_modal .form-inner form .signup-link {
  text-align: center;
  margin-top: 30px;
}
#login_modal .form-inner form .pass-link a,
#login_modal .form-inner form .signup-link a {
  color: #332319;
  text-decoration: none;
}
#login_modal .form-inner form .pass-link a:hover,
#login_modal .form-inner form .signup-link a:hover {
  text-decoration: underline;
}
#login_modal form .btn {
  height: 50px;
  width: 100%;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
#login_modal form .btn .btn-layer {
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  background: #332319;
  border-radius: 15px;
  transition: all 0.4s ease;
}
#login_modal form .btn:hover .btn-layer {
  left: 0;
}
#login_modal form .btn input[type=submit] {
  height: 100%;
  width: 100%;
  z-index: 1;
  position: relative;
  background: none;
  border: none;
  color: #E9E9E8;
  padding-left: 0;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}
#login_modal .submit-btn_signup, #login_modal .submit-btn_login {
  width: 100%;
  margin-top: 2rem;
  border: 2px solid #332319;
  font-weight: 1000;
}

#new-game_modal .wrapper_protected .slide-controls_protected, #new-game_modal .wrapper_rank-system .slide-controls_rank-system {
  position: relative;
  display: flex;
  height: 50px;
  width: 100%;
  overflow: hidden;
  margin: 1rem 0;
  justify-content: space-between;
  border: 1px solid lightgrey;
  border-radius: 15px;
}
#new-game_modal .slide-controls_protected .slide_protected, #new-game_modal .slide-controls_rank-system .slide_rank-system {
  height: 100%;
  width: 100%;
  color: #E9E9E8;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.6s ease;
}
#new-game_modal .slide-controls_protected label.private, #new-game_modal .slide-controls_rank-system label.unranked {
  color: #332319;
}
#new-game_modal .slide-controls_protected .slider-tab_protected, #new-game_modal .slide-controls_rank-system .slider-tab_rank-system {
  position: absolute;
  height: 100%;
  width: 50%;
  left: 0;
  z-index: 0;
  border-radius: 15px;
  background: #332319;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#new-game_modal input[type=radio] {
  display: none;
}
#new-game_modal #private:checked ~ .slider-tab_protected, #new-game_modal #unranked:checked ~ .slider-tab_rank-system {
  left: 50%;
}
#new-game_modal #private:checked ~ label.private, #new-game_modal #unranked:checked ~ label.unranked {
  color: #E9E9E8;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#new-game_modal #private:checked ~ label.public, #new-game_modal #unranked:checked ~ label.ranked {
  color: #332319;
}
#new-game_modal .wrapper_protected .toggle_protected {
  width: 100%;
  overflow: hidden;
}
#new-game_modal .toggle_protected .form-inner {
  display: flex;
  width: 200%;
}
#new-game_modal .toggle_protected .form-inner .wrapper_rank-system, #new-game_modal .toggle_protected .form-inner .wrapper_password {
  width: 50%;
}

#game {
  background-image: url("/img/banner-wood.jpg");
  background-repeat: repeat;
}

.modal-content {
  margin: 0 auto;
}

.register_input {
  height: 50px;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 17px;
  transition: all 0.3s ease;
  margin: 0.5rem 0;
}

.btn_registration {
  background-color: rgb(181, 167, 147);
  color: #332319;
  display: block;
  border: 2px solid #332319;
  font-weight: 1000;
  margin: 2rem 0;
  width: 100%;
  height: 3.5rem;
  font-size: 1.2rem;
  border-radius: 10px;
}

.icon {
  width: 1rem;
  height: 1rem;
}

.footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: rgb(181, 167, 147);
}
.footer a {
  margin: 1.2rem 0;
  color: #E9E9E8;
  text-decoration: none;
}

.impressum-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.impressum-body .impressum-content, .impressum-body .datenschutzContainer {
  margin: 1rem;
  background-color: #E9E9E8;
  color: #332319;
  padding: 2rem;
  border-radius: 10px;
}
.impressum-body .impressum-content .adresse, .impressum-body .impressum-content .mitarbeiter, .impressum-body .impressum-content .kontakt, .impressum-body .datenschutzContainer .adresse, .impressum-body .datenschutzContainer .mitarbeiter, .impressum-body .datenschutzContainer .kontakt {
  margin-top: 5vh;
}

#errorDiv {
  background-color: rgb(181, 167, 147);
  color: #E9E9E8;
  padding: 1rem 2rem 0 2rem;
  width: calc(100% - 1rem);
  margin: 0.5rem;
  border-radius: 15px;
  position: fixed;
  top: 0rem;
  border: 2px solid #332319;
}

.indexBody, .impressum-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}

.datenschutzContainer {
  margin: 2.5rem 1rem;
}

.toHomepage {
  padding: 0.7rem 2rem;
  border: 1px solid #332319;
  border-radius: 10px;
  background-color: rgb(181, 167, 147);
  text-decoration: none;
}
.toHomepage:hover {
  background-color: #332319;
  cursor: pointer;
  color: #E9E9E8;
  border: 1px solid #E9E9E8;
}

.scoreboard_you {
  color: #332319;
}
