body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

h1 {
  color: #ff9800;
  text-align: center;
  font-weight: bold;
}

h2,
h3 {
  color: #ff9800;
  text-align: left;
  font-weight: bold;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.code-container pre {
  background-color: #2e2e2e;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

section {
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  background-color: #1e1e1e;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

button {
  background-color: #26a69a;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  width: auto;
  text-align: center;
  border: 2px solid #26a69a;
  margin: 1rem 0;
}

button:hover {
  background-color: #00796b;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.highlight {
  background-color: #ffcc00;
  color: #1a1a1a;
  font-weight: bold;
  padding: 0.2rem;
  border-radius: 3px;
}

hr {
  border: 0;
  border-top: 2px solid #444;
  margin: 2rem 0;
}

#removableDiv,
#originalElement {
  padding: 1rem;
  background-color: #2e2e2e;
  border-radius: 6px;
  color: #bdbdbd;
  transition: transform 0.3s ease;
}

#removableDiv:hover,
#originalElement:hover {
  transform: scale(1.05);
  background-color: #333333;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  section {
    padding: 1.2rem;
    margin: 1rem;
  }

  button {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 0.8rem;
    margin: 0.5rem;
  }

  button {
    padding: 0.6rem;
    font-size: 1rem;
    width: 100%;
  }

  .highlight {
    font-size: 0.9rem;
  }

  #removableDiv,
  #originalElement {
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {
  section {
    max-width: 1100px;
    padding: 1.8rem;
  }

  button {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.3rem;
  }
}

button {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

input,
textarea {
  background-color: #333;
  color: #fff;
  border: 1px solid #444;
  padding: 0.8rem;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

input:focus,
textarea:focus {
  background-color: #555;
  outline: none;
}
