body {
  font-family: 'Mada', sans-serif;
  background-color: rgb(0,0,60);
  color: rgb(247,188,136);
  min-width: 1100px;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

#title {
  font-family: 'Luckiest Guy', cursive;
  font-size: 52px;
  color: rgb(247, 188, 136);
}

.content {
  display: flex;
  justify-content: center;
}

canvas {
  background-image: url('court_small.png');
  background-color: rgb(247,188,136);
  background-repeat: no-repeat;
  background-position: bottom;
}

.menu {
  padding: 0 20px;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  height: 705px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
}

.player-menu {
  display: none;
  margin-top: 15px;
}

#player-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: rgb(247,188,136) 1px solid;
  border-radius: 20px;
  padding: 10px;
  margin-bottom: 15px;
}

#list-search {
  height: 32px;
  font-size: 24px;
  width: 100%;
  background-color: rgb(128,128,128);
  color: rgb(0,0,60);
}

#list-search::placeholder {
    color: rgb(0,0,60,0.5);
    opacity: 1;
}

#list-search:-ms-input-placeholder {
    color: rgb(0,0,60,0.5);
}

#list-search::-ms-input-placeholder {
    color: rgb(0,0,60,0.5);
}

#player-list {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  height: 342px;
  overflow-y: auto;
}

.player-name {
  display: block;
  text-align: center;
}

.player-name:hover {
  cursor: pointer;
  background: rgb(128,128,128);
  color: rgb(0,0,60);
}

#player-speed {
  text-align: right;
  height: 32px;
  font-size: 24px;
}

#player-speed::-webkit-inner-spin-button,
#player-speed::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

#player-speed {
  -moz-appearance: textfield;
  color: rgb(0,0,60);
  background-color: rgb(128,128,128);
  margin-bottom: 15px;
}

.slider-container {
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
  border: rgb(247,188,136) 1px solid;
  border-radius: 20px;
  text-align: center;
  padding: 10px 0;
}

.slider {
    -webkit-appearance: none;
    width: 80%;
    height: 8px;
    border-radius: 5px;
    background: rgb(128,128,128);
    outline: none;
    margin-bottom: 15px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgb(247,188,136);
    cursor: pointer;
    transition: 1s;
}

.slider::-webkit-slider-thumb:active {
  background-color: white;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgb(247,188,136);
    cursor: pointer;
    transition: 1s;
}

.slider::-moz-range-thumb:active {
  background-color: white;
}

#time-text {
  color: rgb(247,188,136);
  text-align: center;
}

.instructions {
  text-align: left;
  font-size: 20px;
  margin-bottom: 15px;
}

.explanation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.explanation p {
  max-width: 1250px;
  text-align: left;
  margin-top: 24px;
  padding: 10px;
}

footer {
  margin-bottom: 20px;
}

.show {
  display: flex;
  flex-direction: column;
  align-items: center;
}

dialog {
  background: white;
  border-radius: 20px;
  width: 1100px;
}

dialog section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modalButton {
  display: flex;
  justify-content: center;
  background-color: rgb(247,188,136);
  color: rgb(0,0,60);
  border: 1px solid rgb(247,188,136);
  border-radius: 20px;
  padding: 15px;
  transition: .5s;
}

.modalButton:hover {
  cursor: pointer;
  background-color: rgb(0,0,60);
  color: rgb(247,188,136);
}

.logos{
  font-size: 36px;
  color: rgb(247, 188, 136);
  margin-right: 16px;
  transition: color .5s;
}

.logos:hover {
  color: white;
}
