/* style.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: black;
  color: white;
}

#top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

#kofi {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 10;
  text-align: right;
}

.charset-presets {
  margin-top: 10px;
}

button {
  margin-right: 5px;
}

input[type="button"] {
  margin-right: 5px;
}

input[type="text"] {
  margin-right: 5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Courier New", monospace;
  background-color: black;
  color: white;
  overflow: hidden;
}

.controls {
  position: fixed;
  top: 190px;
  left: 20px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-group {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.presets {
  margin: 15px 0;
}

.presets h3 {
  margin-bottom: 8px;
  font-size: 14px;
}

button {
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

input[type="text"] {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px;
  border-radius: 5px;
  font-family: "Courier New", monospace;
}

input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.info {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  text-align: right;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info h1 {
  font-size: 18px;
  margin-bottom: 5px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info p {
  font-size: 12px;
  opacity: 0.8;
}

.author {
  margin-top: 10px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .controls {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px;
  }

  .control-group {
    flex-direction: column;
  }

  .info {
    bottom: 10px;
    right: 10px;
    left: 10px;
    text-align: center;
  }
}
