body {
  background-image: url('rg35xxcfw/swirl.jpg');
  background-size: cover;
  background-repeat: no-r88epeat;
  background-position: center;

  color: white;
  font-weight: bold;
  text-align: center;

  font-family: Arial, sans-serif;

  margin: 0;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

.content {
  background-color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 20px;
}

.sidebox {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 20px;
}

@keyframes scroll2 {
    0% {
        background-position: 0px
    }

    100% {
        background-position: 1000px
    }
}

a {
  color: cyan;
}

.sidebox {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 20px;
}

.sidebox ul {
  text-align: left;
  padding-left: 20px;
}

.sidebox img {
  width: 200px;
}
.animated-rainbow {
  animation: rainbow-shift 3s infinite;
  font-size: 2rem;
  font-weight: bold;
}

.rainbow {
    font-size: 3.5rem;
    font-family: helvetica;
    background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px white;
    animation: scroll2 1s linear infinite;
}


@keyframes rainbow-shift {
  0% { color: #ff0000; }
  20% { color: #ff8000; }
  40% { color: #ffff00; }
  60% { color: #00ff00; }
  80% { color: #0000ff; }
  100% { color: #8000ff; }
}

h1 {
    margin-bottom: 20px;
}

/* SIDE-BY-SIDE LAYOUT */
.container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* main ui */
.left-panel {
    width: 300px;
    background: black;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* RIGHT = PREVIEW */
.right-panel {
    width: 420px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#preview {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: none;
    border: 1px solid #ccc;
}

.control-group {
    margin-bottom: 15px;
}

input, select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.download-btn {
    background: #28a745;
    margin-top: 10px;
}

.download-btn:hover {
    background: #1f8a38;
}