/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #1a1a1a;
  color: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px;
}

/* Main Container */
.container {
  width: 95%;
  max-width: 900px;
  background: #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Header */
.header {
  background: #333;
  padding: 15px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Button Container */
.button-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 15px;
}

button {
  background: #444;
  color: #fff;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #666;
  transform: scale(1.05);
}

button:active {
  transform: scale(1);
}

/* Notepad (Text Area) */
textarea#content {
  width: 100%;
  height: 510px;
  background: #1b1b1b;
  color: #eaeaea;
  border: 1px solid #444;
  padding: 15px;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  line-height: 1.5;
  resize: none;
  border-radius: 8px;
}

textarea#content::placeholder {
  color: #888;
  font-style: italic;
}

textarea#content:focus {
  background: #252525;
  border-color: #666;
  color: #fff;
}

/* Footer */
footer {
  background: #222;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  border-radius: 8px;
}

footer a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
}

footer a:hover {
  color: #66bb6a;
  text-decoration: underline;
}

/* Links Container */
.links {
  display: flex;
  justify-content: center; /* Pusatkan link di tengah */
  gap: 15px; /* Jarak antar link */
  margin-top: 15px; /* Jarak atas dari elemen sebelumnya */
  padding: 10px;
  background: #2a2a2a; /* Warna background yang sesuai */
  border-radius: 8px; /* Membuat tampilan lebih modern */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Link Styles */
.links a {
  color: #4CAF50; /* Warna hijau elegan */
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.links a:hover {
  background: #66bb6a;
  color: #fff;
  text-decoration: underline;
  transform: scale(1.05);
}


/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #333;
}

::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #777;
}


/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 15px;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  textarea#content {
    height: 250px;
  }

  footer {
    font-size: 12px;
  }
}
