* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

body {
  background-color: #030329;
  opacity: 0.8;
  font-family: "Courier New", Courier, monospace;
}

.heading h1 {
  color: white;
  text-align: center;
  margin-top: 20px;
}

.heading p {
  color: white;
  text-align: center;
  margin: 10px;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  width: 100%;
  min-height: 250px;
  margin: 0 auto;
  background-color: hsl(0, 0%, 96%);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 100%;
  width: auto;
}

.card-image img {
  max-width: 400px;
  height: auto;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.card-content {
  flex: 1;
  padding: 20px;
  flex-grow: 1;
  min-width: 100px;
}

.slider-container {
  margin-bottom: 20px;
}

.slider-container label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.slider-container input[type="range"] {
  width: 100%;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.file-input-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  border: 2px dashed #ccc;
  border-radius: 8px;
  cursor: pointer;
}

.file-input-box label {
  font-size: 1.5rem;
}

#image-control-box {
  flex: 1;
}

#file-input-box {
  max-width: 400px;
  padding: 15px;
}

.button {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.btn-success {
  background-color: #4caf50;
}

.btn-danger {
  background-color: #f44336;
}

/* media for mobile device */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    margin: 10px;
  }

  .card-image img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .card-content {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}
