* {
  box-sizing: border-box;
}
body {
  font-family: "Times New Roman", Times, serif;
  background: #000;
  color: red;
  margin: 0;
  padding: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@font-face {
  font-family: "Bangla";
  src: url("./bangla.ttf");
}
h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  background-color: #000000;
  padding: 20px 30px;
  text-align: center;
  border-radius: 12px;
  width: fit-content;
  margin: 40px auto;
  box-shadow: 
    0 4px 8px rgba(255, 255, 255, 0.1), 
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 8px rgba(255, 255, 255, 0.05);
  border: 1px solid #444;
  transition: all 0.3s ease;
}

h1 {
  font-family: "Times New Roman", serif;
  font-size: 20px;
  color: #ffffff;
  background-color: black;
  padding: 15px 20px;
  text-align: center;
  border-radius: 25px;
  width: fit-content;
  margin: 30px auto;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.5),   /* Darker shadow for a more refined look */
    0 6px 15px rgba(255, 255, 255, 0.2),  /* Light highlight shadow for contrast */
    inset 0 0 15px rgba(255, 255, 255, 0.1);  /* Soft inner glow */
  border: 1px solid #444;  /* Elegant border with soft contrast */
  transition: all 0.3s ease-in-out;
  font-weight: 600;
}
h1:hover {
  box-shadow: 
    0 8px 15px rgba(0, 38, 102, 0.6),   /* Deep blue glow for premium feel */
    0 10px 20px rgba(0, 38, 102, 0.4),  /* Rich deep blue outer glow */
    inset 0 0 10px rgba(0, 38, 102, 0.3);  /* Deep blue inner glow */
  transform: scale(1.05);
}
/* Rainbow glowing text */
.rainbow-text {
  background-image: linear-gradient(-90deg, #ff0000, #a6f656, #55f6f6, #a655f6, #f65555);
  background-size: 200%;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  animation: animate 3s linear infinite reverse;  /* Slower animation for smoother glow */
  display: inline-block;
  font-weight: 600;
}
h2 {
  font-size: 1.3em;
  background: linear-gradient(45deg, white, lightblue, blue, violet, purple, pink, red);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1.5;
  font-weight: normal;
  text-align: center;
  margin: 0.5em 0;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* এটাও চেষ্টা করতে পারেন */
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
}

.controls {
  flex: 1 1 350px;
  min-width: 330px;
  max-width: 100%;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #000;
  border: 2px solid #0ff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0 15px #00f;
}
select, input[type="range"], input[type="number"], textarea {
  width: 100%;
}
select, input[type="range"], input[type="number"], textarea {
  width: 100%;
  font-family: Georgia, Bangla;
  padding: 0.5rem;
  background-color: #111;
  color: #00ffe7;
  border: 1px solid #0ff;
  border-radius: 5px;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}
textarea {
  resize: none;
}
.button-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
button {
  padding: 0.7rem 1.5rem;
  font-size: 1.1rem;
  background-color: #000;
  color: #00ffe7;
  border: 2px solid #0ff;
  border-radius: 10px;
  box-shadow: 0 0 8px #0ff;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover {
  box-shadow: 0 0 20px #0ff;
  background-color: #001;
}
/* Responsive Fixes */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  .controls {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .container {
    flex-direction: column;
    align-items: center;
  }
  button {
    width: 80%;
  }
}