@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #927dfc;
}

.wrapper {
  width: 450px;
  height: 306px;
  padding: 20px;
  background-color: #fff;
  border-radius: 7px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: height 0.2s ease;
}

.wrapper.active {
  height: 530px;
}

.wrapper h2 {
  margin-top: -5px;
  text-align: center;
}

.wrapper .upload-box {
  height: 225px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 5px;
  border: 2px dashed #afafaf;
  cursor: pointer;
  margin-top: 10px;
}

.wrapper.active .upload-box {
  border: none;
}

.upload-box p {
  font-size: 1rem;
  margin-top: 20px;
}

.wrapper.active .upload-box p {
  display: none;
}

.wrapper.active .upload-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.wrapper .content {
  opacity: 0;
  pointer-events: none;
  margin-top: 20px;
}

.wrapper.active .content {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s 0.05s ease;
}

.content .row {
  display: flex;
  justify-content: space-between;
}

.content .row .column {
  width: calc(100% / 2 - 15px);
}

.row .column label {
  font-size: 1rem;
}

.sizes .column input {
  width: 100%;
  height: 49px;
  outline: none;
  padding: 0 15px;
  border: 1px solid #aaa;
  border-radius: 3px;
  font-size: 1rem;
  margin-top: 5px;
}

.sizes .column input:focus {
  padding: 0 14px;
  border: 2px solid #927dfc;
}

.content .checkboxes {
  margin-top: 20px;
}

.checkboxes .column {
  display: flex;
  align-items: center;
}

.checkboxes .column input {
  width: 15px;
  height: 15px;
  accent-color: #927dfc;
  margin-right: 7px;
  cursor: pointer;
}

.content .download-btn {
  width: 100%;
  color: #fff;
  background-color: #927dfc;
  outline: none;
  border: none;
  padding: 15px 0;
  margin: 20px 0 5px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.download-btn:hover {
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
}
