/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  background: #cccccc url("bg1.jpg") no-repeat center;
  font-family: sans-serif;
}

/* Container */
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 90%;
  max-width: 30rem;
  min-height: 20rem;

  background-color: #fff;
  border-radius: 40px;
  border: 1px solid #fff;
  padding: 20px;

  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.55);
}

/* Heading */
.container h1 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

/* Input section */
.container .datainput {
  padding: 10px 0;
  font-size: 18px;
}

.container #data {
  width: 100%;
  font-size: 14px;
  border: 1px solid #888;
  padding: 10px;
  border-radius: 10px;
  resize: none;
}

/* Size section */
.sizesection {
  text-align: center;
  font-size: 16px;
  padding-bottom: 15px;
}



select {
  border: none;
}

#size {
  width: 120px;
  padding: 6px;
  font-size: 13px;
  border-radius: 5px;
}

.setbutton {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Button */
#gbutton {
  width: 100%;
  height: 48px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-family: "JetBrains Mono", monospace;

  cursor: pointer;

  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,
    rgba(45, 35, 66, .3) 0 7px 13px -3px,
    rgba(58, 65, 111, .5) 0 -3px 0 inset;

  transition: all 0.2s ease;
}

#gbutton:hover {
  transform: translateY(-2px);
}

#gbutton:active {
  transform: translateY(2px);
}

.reset {
  background-image: radial-gradient(100% 100% at 100% 0, #ffa454, #ffa136);
}

.generate {
  background-image: radial-gradient(100% 100% at 100% 0, #5adaff, #5468ff);

}

/* Image box */
#imgbox {
  margin-top: 20px;
  display: flex;
  justify-content: center;

}

/* Responsive */
@media (min-width: 320px) {
  .container {
    padding: 15px;
  }

  .container h1 {
    font-size: 28px;
  }

  #imgbox {
    margin-top: 15px;
  }
}

@media (min-width: 800px) {
  .container {
    padding: 30px 50px;
  }
}