body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #fff;
  padding: 40px 20px;
}

.style-title {
  color: white;
  font-size: 42px;
  margin-bottom: 40px;
  display: grid;
  justify-content: center;
}

.generator {
  display: grid;
  grid-template-columns: 320px 320px;
  grid-template-rows: auto auto;
  gap: 24px;
  justify-content: center;
  background: #dcdcdc;
  padding: 40px;
  border-radius: 20px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.style-info,
.upload-box,
.result-box {
  background: #dcdcdc;
  padding: 0;
  color: #000;

}


.upload-box button {
  padding: 14px;
  background: #2e7dff;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

.result-box {
  grid-column: 1 / 3;
  height: 320px;
  background: #dcdcdc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #555;
}

.result-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.file-upload {
  display: block;
  background: #000;
  color: #fff;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
}

.file-upload:hover {
  background: #222;
}

.file-name {
  text-align: center;
  font-size: 14px;
  color: #555;
}

.upload-box button{
  display: block;
  width: 100%;
}
@media (max-width: 700px) {
  .generator {
    grid-template-columns: 1fr;
  }

  .result-box {
    width: 90%;
  }
}

