@import url('https://fonts.googleapis.com/css2?family=Viga&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  line-height: 20px;
  background: #333333;
  color: #cecece;
  padding-left: 300px;
  padding-top: 50px;
}

.setting {
  clear: both;
  margin: 5px 0;
  text-align: left;
  line-height: 26px;
}

.center {
  text-align: center;
}

#settingsVorGewinnermittlung {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px 10px 5px 10px;
  margin: 0 5px;
  margin-bottom: 20px;
}
#settingsNachGewinnermittlung {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin: 20px 0 15px 0px;
  padding: 5px 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-right: 6px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#gewinnerKopiert {
  transition: all 1.5 ease-in-out;
}

.slider {
  position: absolute;
  cursor: pointer;
  border-radius: 50px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #121212;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  border-radius: 50%;
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: #666666;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #121212;
}

input:focus + .slider {
  box-shadow: 0 0 1px #121212;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
  background-color: #daa205;
}
.eraseButton {
  width: 100%;
  text-align: center;
  background: rgb(139, 65, 65);
  color: white;
  padding: 8px 25px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: bold;
}

.eraseButton:hover {
  cursor: pointer;
  border: 2px solid rgb(139, 65, 65);
  background: #222222;
}

#historyArea {
  background: #222222;
  text-align: right;
  font-size: 14px;
  line-height: 150%;
  min-width: 220px;
  padding: 0 15px 15px;
  /* visibility: hidden; */
  position: absolute;
  min-height: 100vh;
  top: 0;
  right: 0px;
  transition: opacity 600ms, visibility 600ms;
}

.historyArea-Headline {
  color: #daa205;
  background: #111111;
  font-size: 14px;
  margin: 20px -15px 5px;
  text-align: right;
  padding: 5px 15px;
  font-weight: bold;
}

.historyArea-Headline:first-child {
  margin-top: 0px;
}

#historyListe {
  color: #ababab;
  margin-bottom: 25px;
}

.teilnehmerListe {
  background: #222222;
  text-align: left;
  font-size: 15px;
  line-height: 150%;
  min-width: 220px;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100vh;
  transition: opacity 600ms, visibility 600ms;
}

.teilnehmerListe-Headline {
  color: #daa205;
  background: #111111;
  font-size: 16px;
  padding: 5px 34px;
  font-weight: bold;
}

.teilnehmer {
  opacity: 0.8;
  font-size: 14px;
  line-height: 120%;
  padding: 10px;
  display: grid;
  grid-template-columns: min-content auto min-content min-content;
}

.teilnehmer > div {
  padding: 3px;
}

.teilnehmer-platzierung {
  text-align: right;
}

.teilnehmer-name {
  font-weight: bold;
}
.teilnehmer-gold {
  text-align: right;
  font-size: 11px;
  color: #cecece;
  white-space: nowrap;
}

.teilnehmer-topitem {
  visibility: visible;
  font-size: 11px;
  background: lightslategray;
}
.teilnehmer-topitem a {
  color: #fff;
  text-decoration: none;
}
.teilnehmer-topitemgold {
  text-align: right;
  font-size: 11px;
  color: #cecece;
  white-space: nowrap;
}
.dark {
  z-index: -1;
  margin-top: -5px;
  background: #151515;
}
/* grid-column: 2 / span 2;  */

.hidden {
  display: none;
  transition: opacity 600ms, visibility 600ms;
}
.showing {
  display: inline-block;
}

.goldcoin {
  position: relative;
  top: 1px;
  max-height: 10px;
  margin-left: 2px;
}

.valueSettings {
  display: grid;
  grid-template-columns: auto min-content;
  text-align: right;
}

.valueSettings span {
  line-height: 36px;
}

.valueSettingsGewinner span {
  line-height: 40px;
  font-size: 24px;
  font-weight: bold;
  color: #daa205;
}

.valueInputIgnore {
  background: #121212;
  color: #cecece;
  border: 1px solid #121212;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
  padding: 5px;
  width: 50px;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 10px;
  line-height: normal;
}

.valueInputGewinner {
  background: #121212;
  color: #cecece;
  border: 1px solid #daa205;
  border-radius: 6px;
  font-size: 22px;
  font-weight: bold;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
  padding: 5px;
  width: 50px;
  text-align: center;
  margin-bottom: 5px;
  margin-left: 10px;
  line-height: normal;
}

input[type='button'] {
  border: none;
  outline: none;
}

#derWichtigste {
  width: 100%;
  cursor: pointer;
  background: #daa205;
  color: #121212;
  font-size: 24px;
  font-family: 'Viga';
  outline: none;
  padding: 10px 25px;
  text-align: center;
  border: none;
  border-radius: 26px;
  margin-bottom: 10px;
}
#derWichtigste:hover {
  background: #121212;
  color: #daa205;
}

#derWichtigste:disabled,
#derWichtigste:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derMountButton {
  width: 85%;
  cursor: pointer;
  background: #6f9953;
  color: #121212;
  font-size: 18px;
  font-family: 'Viga';
  outline: none;
  padding: 5px 20px;
  text-align: center;
  border: none;
  border-radius: 26px;
}
#derMountButton:hover {
  background: #121212;
  color: #6bb63a;
}
#derMountButton:disabled,
#derMountButton:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derGametimeButton {
  width: 85%;
  cursor: pointer;
  background: #7c9bc0;
  color: #121212;
  font-size: 18px;
  font-family: 'Viga';
  outline: none;
  padding: 5px 20px;
  text-align: center;
  margin: 10px 0;
  border: none;
  border-radius: 26px;
}
#derGametimeButton:hover {
  background: #121212;
  color: #82b0e8;
}
#derGametimeButton:disabled,
#derGametimeButton:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derReset {
  cursor: pointer;
  background: #121212;
  color: #fff;
  font-size: 16px;
  font-family: 'Viga';
  letter-spacing: 2px;
  outline: none;
  padding: 5px 15px;
  text-align: center;
  border: none;
  border-radius: 6px;
}
#derReset:hover {
  background: #e45151;
  color: #ffffff;
}

.teilnehmer > div {
  padding: 3px;
}

.punkte {
  background: #222222;
}

#main {
  display: grid;
  grid-template-columns: 300px min-content;
  grid-row-gap: 5px;
  grid-column-gap: 10px;
}

#links {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  text-align: center;
}

#links img {
  max-width: 75%;
  margin-bottom: 15px;
  margin-top: -75px;
}

#rechts {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  min-width: 450px;
}

#textarea {
  background: #121212;
  color: #cecece;
  border: 1px solid #daa205;
  border-radius: 6px;
  width: 160px;
  margin: 15px;
  padding: 10px;
  resize: none;
}

.gewinner {
  color: #cecece;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 180%;
  font-size: 20px;
  line-height: 30px;
  padding: 10px;
  display: grid;
  grid-template-columns: min-content min-content auto;
  row-gap: 10px;
}

#gewinnerarea .gewinner-position {
  color: #666666;
  font-size: 14px;
  position: relative;
  padding-right: 7px;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#gewinnerarea .gewinner-nummer {
  color: #daa205;
  text-align: center;
  font-size: 24px;
  padding: 2px 5px 0 10px;
  background: rgba(0, 0, 0, 0.3);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

#gewinnerarea .gewinner-name {
  font-size: 18px;
  text-align: left;
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.3);
}

#gewinnerarea .gewinner-mount {
  color: #666666;
  background: #111111 url(mount.png);
  background-size: contain;
  width: 34px;
  background-repeat: no-repeat;
  position: relative;
  left: -10px;
  margin-right: -14px;
  border-radius: 6px;
  text-align: center;
}

#gewinnerarea .gewinner-gametime {
  color: #666666;
  background: #111111 url(gametime.png);
  background-size: contain;
  background-position: 0% 50%;
  width: 34px;
  background-repeat: no-repeat;
  position: relative;
  left: -10px;
  margin-right: -14px;
  border-radius: 6px;
  text-align: center;
}

#gewinnerarea .gewinner-petpunkte {
  width: 120px;
  background: rgba(0, 0, 0, 0.3);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  transition: opacity 600ms, visibility 600ms;
}

#gewinnerarea .checkbox {
  height: 15px;
  width: 15px;
  background-color: #eee;
  border-radius: 50%;
  margin: 5px 0 0 5px;
}

#gewinnerarea .checkbox {
  margin: 2px;
}

#gewinnerarea input[type='radio'] {
  opacity: 0;
  position: fixed;
  width: 0;
}

#gewinnerarea label {
  display: inline-block;
  background-color: #3b3b3b;
  padding: 2px 10px;
  color: #bebebe;
  line-height: normal;
  max-width: 45px;
  font-family: 'Open Sans Condensed', sans-serif, Arial;
  font-size: 14px;
  margin: 0 0 0 5px;
  border: 1px solid #444;
  border-radius: 10px;
}

#gewinnerarea label:hover {
  background-color: #666666;
}

#gewinnerarea input[type='radio']:focus + label {
  border: 1px solid #444;
}

#gewinnerarea input[type='radio']:checked + label {
  background-color: #daa205;
  color: #333333;
}

#gewinnerKopiert {
  color: greenyellow;
}

.copyButton {
  background: #353535;
  color: white;
  outline: none;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: bold;
  width: 140px;
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}

.copyButton:hover {
  background: #121212;
  color: #cecece;
  cursor: pointer;
}

.details {
  color: #666666;
  margin: 0;
  margin-top: 20px;
  padding: 7px 0;
  text-align: center;
  border-top: 0px solid rgba(0, 0, 0, 0.2);
  font-weight: normal;
  font-size: 14px;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}

.details span {
  display: block;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #232323;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #464646;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #daa205;
}

.tool_link a {
  display: block;
  position: absolute;
  top: 0px;
  left: 620px;
  padding: 5px 10px;
  background: #daa205;
  color: #232323;
  z-index: 15;
  border-radius: 0 0 15px 15px;
  font-size: 90%;
  font-weight: bold;
  text-decoration: none;
}

.tool_link a:hover {
  background: #121212;
  color: #daa205;
}

input[type='range'] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
  background: transparent;
}
input[type='range']:focus {
  outline: none;
}
input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #50555c;
  background: #50555c;
  border-radius: 14px;
  border: 0px solid #000000;
}
input[type='range']::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 0px solid #000000;
  height: 20px;
  width: 40px;
  border-radius: 12px;
  background: #daa205;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3px;
}
input[type='range']:focus::-webkit-slider-runnable-track {
  background: #50555c;
}
