body {
  background-color: #282c34;
  color: #ccc;
  font-family: Arial, sans-serif;
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  width: 10%; /* Adjust width as needed */
  max-width: 320px; /* Limit maximum width for smaller screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center vertically */
  padding: 10px; /* Add padding for spacing */
  box-sizing: border-box; /* Include padding in width calculation */
  margin: 0 auto; /* Add this to center the container horizontally */
}

.dikdortgen {
  background-color: #363b45;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  padding: 10px; /* Reduce padding for smaller elements */
  width: 100%; /* Take full width of container */
  text-align: center; /* Center text */
  margin-bottom: 10px; /* Add bottom margin for spacing */
}

.konsol {
  background-color: #2f343d;
  color: #ccc;
  border-radius: 5px;
  padding: 6px; /* Reduce padding for smaller elements */
  font-family: monospace;
  font-size: 10px; /* Reduce font size for smaller elements */
  line-height: 1.2;
  overflow-y: auto; /* Enable scrolling */
  white-space: pre-wrap;
  width: 100%; /* Take full width of container */
  max-height: 150px; /* Reduce max-height for smaller screens */
  margin-bottom: 8px; /* Add bottom margin for spacing */
}

.button-container {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  margin-top: 8px;
  width: 100%; /* Take full width of container */
  margin: 0 auto; /* Add this to center the button container horizontally */
}

button {
  background-color: #444;
  color: #ccc;
  border: none;
  padding: 6px 12px; /* Reduce padding for smaller elements */
  margin: 0 4px; /* Adjust spacing between buttons */
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 10px; /* Reduce font size for smaller buttons */
}

button:hover {
  background-color: #555;
}

button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

.stop-text,
.tme-link {
  color: #888;
  font-size: 8px; /* Reduce font size for smaller elements */
  margin-top: 6px; /* Adjust margin for smaller elements */
}

.tme-link {
  margin-top: 4px; /* Further adjust margin for smaller elements */
}

@media (max-width: 320px) {
  .container {
    width: 95%; /* Adjust width for very small screens */
    padding: 8px; /* Adjust padding for very small screens */
  }

  .dikdortgen {
    padding: 8px; /* Further reduce padding for very small elements */
  }

  .konsol {
    padding: 4px; /* Further reduce padding for very small elements */
    font-size: 8px; /* Further reduce font size for very small elements */
    max-height: 120px; /* Further reduce max-height for very small screens */
  }

  .button-container {
    flex-direction: column; /* Stack buttons vertically on very small screens */
    align-items: center; /* Center buttons vertically */
  }

  button {
    padding: 4px 8px; /* Further reduce padding for very small elements */
    margin: 4px 0; /* Adjust vertical margin between buttons */
    font-size: 8px; /* Further reduce font size for very small buttons */
  }

  .stop-text,
  .tme-link {
    font-size: 6px; /* Further reduce font size for very small elements */
    margin-top: 4px; /* Further adjust margin for very small elements */
  }
}