@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Prevents scrolling if content is larger */
}

body {
  background: linear-gradient(to right, #3494e6 0.5%, #ec6ead 99%);
  font-family: Arial, sans-serif;
}

.gradient-container {
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: clamp(3em, 5vw, 4em);
  font-family: "Kaushan Script", arial;
  color: #fff;
  line-height: 1.1;
  margin-top: 6rem;
  margin-bottom: 2rem;
  text-shadow: 3px 2px 5px #311e1e;
}

.box {
  width: 90%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  background: white;
  border: none;
  margin: 0 auto;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="color"] {
  width: 100%;
  height: 40px;
  margin-bottom: 2em;
  border: none;
  cursor: pointer;
}

.options {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

select {
  padding: 0.5rem;
  width: 48%;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.css-box__header {
  border: 1px solid #928b8b;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  margin-top: 1rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  background: #f9f9f9;
}

textarea {
  width: 100%;
  height: 80px;
  border: none;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border: 1px solid #928b8b;
  padding: 0.5rem;
  background: #fff;
  resize: none;
}

#copied {
  display: none;
  color: green;
  margin-right: 0.5rem;
}

button {
  background: #3494e6;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background: #2a75d8;
}

button:focus {
  outline: 2px solid #000;
}
