::-webkit-scrollbar {
  background-color: transparent;
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

* {
  font-family: "Concert One", cursive;
}

body {
  user-select: none;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  color: #fff;
  background-color: #e9ff99;
  background-image: radial-gradient(
      at 9% 89%,
      hsla(215, 90%, 73%, 1) 0px,
      transparent 50%
    ),
    radial-gradient(at 72% 6%, hsla(331, 74%, 64%, 1) 0px, transparent 50%),
    radial-gradient(at 24% 19%, hsla(14, 90%, 74%, 1) 0px, transparent 50%),
    radial-gradient(at 65% 6%, hsla(6, 79%, 76%, 1) 0px, transparent 50%),
    radial-gradient(at 20% 98%, hsla(316, 72%, 64%, 1) 0px, transparent 50%),
    radial-gradient(at 44% 9%, hsla(40, 96%, 77%, 1) 0px, transparent 50%),
    radial-gradient(at 10% 9%, hsla(76, 65%, 63%, 1) 0px, transparent 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.navbar {
  width: 100%;
  background: rgba(0, 0, 0, 0.56);
  padding: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(11.6px);
  -webkit-backdrop-filter: blur(11.6px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.56);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(11.6px);
  -webkit-backdrop-filter: blur(11.6px);
}

.placement {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.56);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
  color: #fff;
  text-align: center;
}

button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 5px 0;
  cursor: pointer;
  border-radius: 16px;
}

.color-controls input[type="color"]:hover,
button:hover {
  background-color: #45a049;
}

.remove-button {
  background-color: #e74c3c;
}

.remove-button:hover {
  background-color: #c0392b;
}

input[type="number"],
input[type="text"] {
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #666;
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  background-color: #555;
  color: #fff;
}

label {
  font-size: 14px;
  color: #ccc;
}

#settings {
  margin-bottom: 20px;
}

#teams {
  margin-top: auto;
  margin-bottom: 20px;
}

.team {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.56);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.results-section {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

#resultsBox {
  background-color: #666;
  padding: 10px;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
}

#resultsList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#resultsBox li {
  margin: 10px 0;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.results-actions {
  margin-top: 10px;
  text-align: center;
}

.color-controls input[type="color"] {
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background-color: #4caf50;
  color: #ffffff;
}

.color-controls {
  margin-top: 10px;
  text-align: center;
}

.color-controls label {
  margin-right: 10px;
  color: #fff;
}

.micho {
  margin-top: 30px;
  text-align: center;
}
.micho img,
.micho iframe {
  max-width: 90%;
  height: auto;
}

.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
  background-color: #555;
  margin: 5% auto;
  padding: 20px;
  border-radius: 16px;
  width: 80%;
  max-width: 600px;
  text-align: center;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.popup-content img {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .popup-content {
    margin-top: 60px;
  }

  h1,
  h2 {
    font-size: 24px;
  }
}
