* {
  font-family: "Itim", cursive;
  margin: 0;
  scroll-behavior: smooth;
  outline: none;
  box-sizing: border-box;
}
a {
  color: black;
  text-decoration: none;
}
#app {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: radial-gradient(
    71.47% 107.2% at 49.69% -4.33%,
    #ffffff 0%,
    #e2e6eb 98.39%
  );
  overflow: hidden;
}
#wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
#cake_wrapper {
  position: absolute;
  bottom: 0;
}
#img_cake {
  height: 700px;
}

#gift_wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 24px;
  left: 24px;
  align-items: center;
  width: fit-content;
  cursor: pointer;
}
#box {
  width: 95.6px;
  height: 89.6px;
}
#gift_text {
  margin: 0;
  padding-top: 5px;
  font-size: 26px;
}
.cloud_desktop {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  width: 100%;
}
.cloud_mobile {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  width: 100%;
  display: none;
}
.cloud_mobile .left {
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
}
.cloud_mobile .right {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
#choices {
  position: absolute;
  background: white;
  bottom: -104px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  transition: 0.3s;
  padding: 15px;
}
#choices.show {
  bottom: 0;
}
#choices .item {
  cursor: pointer;
  margin: 0 4px;
  height: 70px;
}
#choices .item.selected {
  animation: scale-selected 0.3s ease-in-out infinite alternate;
}
@keyframes scale-selected {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
#drag {
  cursor: pointer;
  width: fit-content;
  position: absolute;
}
#starter {
  width: 100%;
  height: 170px;
  border: 1px solid red;
}
#piece {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#piece1 {
  width: 100%;
  height: 320px;
  position: relative;
}
#piece2 {
  width: 78%;
  height: 120px;
  position: relative;
}
#piece3 {
  width: 52%;
  height: 115px;
  position: relative;
}
.close,
.closeModal {
  position: absolute;
  right: 24px;
  width: 24px;
  height: 24px;
  top: 15px;
  opacity: 0.3;
  cursor: pointer;
}
.close:hover,
.closeModal:hover {
  opacity: 1;
}
.close:before,
.close:after,
.closeModal:before,
.closeModal:after {
  position: absolute;
  left: 10px;
  content: " ";
  height: 24px;
  width: 2px;
  background-color: #333;
}
.close:before,
.closeModal:before {
  transform: rotate(45deg);
}
.close:after,
.closeModal:after {
  transform: rotate(-45deg);
}
.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}
.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}
.modal-container {
  width: 500px;
  margin: 0px auto;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  position: relative;
}
#title_modal {
  font-size: 32px;
  margin: 0;
  margin-top: 10px;
}
.modal_header img {
  width: 88px;
}
.modal_header,
.modal_fotter {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
#modal_img {
  width: 100%;
}
.modal_body,
.selected_modal_body {
  padding: 20px 30px;
  font-size: 18px;
}
.modal_body p,
.modal_body textarea,
.modal_body input {
  font-size: 18px;
  line-height: 100%;
}
.selected_modal_body {
  display: flex;
  justify-content: center;
  text-align: center;
}
#user {
  color: #8996a6;
  font-size: 18px;
}
#wish_modal {
  height: 100px;
}
.modal_name {
  margin-top: 25px;
}
#wish_name,
#wish_modal {
  border: 1px solid #c3d0de;
  border-radius: 12px;
  width: 100%;
  margin-top: 12px;
  padding: 15px;
}
#wish_name {
  height: 46px;
}
.HBD_wrapper {
  position: absolute;
  top: 10%;
  left: 3%;
}
#HBD {
  height: 300px;
}
.logo_wrapper {
  position: absolute;
  top: 24px;
  left: 24px;
}
#drop_area {
  width: 100%;
  height: 100%;
}
#drop_area img {
  cursor: pointer;
  height: 40px;
  z-index: 1;
}
.bubble {
  width: 8%;
}
@keyframes float-1 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(5%, -50%);
  }
}
@keyframes float-2 {
  0% {
    transform: translate(0, 50%);
  }
  100% {
    transform: translate(50%, -70%);
  }
}
@keyframes float-3 {
  0% {
    transform: translate(0, 10%);
  }
  100% {
    transform: translate(-5%, -50%);
  }
}
@keyframes float-4 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(5%, -50%);
  }
}
@keyframes float-5 {
  0% {
    transform: translate(0, 50%);
  }
  100% {
    transform: translate(20%, -50%);
  }
}
@keyframes float-6 {
  0% {
    transform: translate(0, 0%);
  }
  100% {
    transform: translate(0, -180%);
  }
}
@keyframes float-7 {
  0% {
    transform: translate(0, 50%);
  }
  100% {
    transform: translate(-10%, -50%);
  }
}
#bubble1 {
  position: absolute;
  left: 2%;
  bottom: 15%;
  animation: float-1 6s ease-in-out infinite alternate;
}
#bubble2 {
  position: absolute;
  left: 7%;
  bottom: 35%;
  animation: float-2 4s ease-in-out infinite alternate;
}
#bubble3 {
  position: absolute;
  left: 2%;
  bottom: 15%;
  animation: float-3 3.5s ease-in-out infinite alternate;
}
#bubble4 {
  position: absolute;
  right: 2%;
  bottom: 0;
  animation: float-4 6s ease-in-out infinite alternate;
}
#bubble5 {
  position: absolute;
  right: 3%;
  bottom: 50%;
  animation: float-5 4s ease-in-out infinite alternate;
}
#bubble6 {
  position: absolute;
  right: 15%;
  bottom: 13%;
  animation: float-6 7s ease-in-out infinite alternate;
}
#bubble7 {
  position: absolute;
  right: 15%;
  bottom: 45%;
  animation: float-7 4s ease-in-out infinite alternate;
}
#button {
  border: 1px solid black;
  background: white;
  border-radius: 50px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
}
#button:hover {
  background: rgb(240, 240, 240);
}
@media only screen and (max-width: 600px) {
  .bubble {
    width: 18%;
  }
  @keyframes float-1 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(5%, -80%);
    }
  }
  @keyframes float-2 {
    0% {
      transform: translate(0, 50%);
    }
    100% {
      transform: translate(50%, -100%);
    }
  }
  @keyframes float-3 {
    0% {
      transform: translate(0, 10%);
    }
    100% {
      transform: translate(-5%, -80%);
    }
  }
  @keyframes float-4 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(5%, -80%);
    }
  }
  @keyframes float-5 {
    0% {
      transform: translate(0, 50%);
    }
    100% {
      transform: translate(20%, -80%);
    }
  }
  @keyframes float-6 {
    0% {
      transform: translate(0, 0%);
    }
    100% {
      transform: translate(0, -210%);
    }
  }
  @keyframes float-7 {
    0% {
      transform: translate(0, 50%);
    }
    100% {
      transform: translate(-10%, -60%);
    }
  }
  #cake_wrapper {
    bottom: 30px;
  }
  .cloud_desktop {
    display: none;
  }
  .cloud_mobile {
    display: block;
  }
  .modal_body,
  .selected_modal_body {
    padding: 15px;
  }
  #drop_area img {
    height: 30px;
  }
  .logo_wrapper {
    top: 15px;
    left: 15px;
  }
  #img_cake {
    height: 460px;
  }
  #gift_wrapper {
    bottom: 15px;
    left: 15px;
  }
  #box {
    width: 64px;
    height: 60px;
  }
  #gift_text {
    padding-top: 0px;
    font-size: 16px;
  }
  #choice {
    width: 25px;
  }
  #piece1 {
    width: 100%;
    height: 210px;
  }
  #piece2 {
    width: 78%;
    height: 80px;
  }
  #piece3 {
    width: 52%;
    height: 75px;
  }
  #HBD {
    height: 200px;
  }
  .HBD_wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #logo {
    height: 50px;
  }
  #choices {
    padding: 10px 15px;
    bottom: -136px;
  }
  #choices .item {
    height: 46px;
    margin: 4px;
  }
  .close:before,
  .close:after,
  .closeModal:before,
  .closeModal:after {
    height: 20px;
  }
  .close {
    top: unset;
    right: 15px;
    bottom: 15px;
  }
  .modal-container {
    width: 90%;
  }
}

@media only screen and (min-width: 1440px) {
  #img_cake {
    height: 850px;
  }
  #piece1 {
    width: 100%;
    height: 384px;
    position: relative;
  }
  #piece2 {
    width: 78%;
    height: 146px;
    position: relative;
  }
  #piece3 {
    width: 52%;
    height: 140px;
    position: relative;
  }
  #drop_area img {
    height: 50px;
  }
}

@media only screen and (min-width: 1920px) {
  #img_cake {
    height: 1000px;
  }
  #piece1 {
    width: 100%;
    height: 452px;
    position: relative;
  }
  #piece2 {
    width: 78%;
    height: 170px;
    position: relative;
  }
  #piece3 {
    width: 52%;
    height: 166px;
    position: relative;
  }
  #drop_area img {
    height: 60px;
  }
}
