/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1.5;
}

*:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
}


img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


body {
  font-family: Arial, sans-serif;
  height: 100svh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}



.mobile-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 56.251889055svh;
}

.loading-page {
  background-image: url(assets/%E8%83%8C%E6%99%AF@2x.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  background-color: black;
}

.product {
  width: 90%;
}

.loader {
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.result {
  background-image: url("assets/background%20for%20save%20and%20share.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 2rem 2rem 2rem;
  aspect-ratio: 9 / 16;
  max-width: 100%;
}

#canvas {
  margin: auto;
  max-height: 100%;
}

.ai-button {
  position: absolute;
  bottom: 22%;
  right: 6%;
  width: 18%;
  height: 10%;
}

.switch-msg {
  position: absolute;
  bottom: 29%;
  right: -10%;
  width: 50%;
}

.result-top-wrapper {
  position: relative;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0px;
}

.result-canvas-border {
  border: 2px solid #8840e6;
  box-shadow: 0 0 5px 3px #8840e6;
}

.aspect-ratio {
  aspect-ratio: 9 / 16;
  height: 100%;
}

#finalCutCanvas {
  aspect-ratio: 9 / 16;
  height: 100%;
}

.wear-photo {
  aspect-ratio: 9 / 16;
  height: 100%;
  border: 2px solid #8840e6;
  box-shadow: 0 0 5px 3px #8840e6;
}

.pic-bg {
  border: 4px solid #8840e6;
  border-radius: 10px;
  box-shadow: 0 0 10px 5px #8840e6;
  width: auto;
  height: 100%;
}

.relative {
  position: relative;
  aspect-ratio: 9 / 16;
  height: 100%;
}

.result-bottom-wrapper {
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls {
  margin: auto;
  margin-top: 12px;
  flex-wrap: wrap;
  display: flex;
  width: 73%;
  justify-content: space-between;
}

.retry {
  margin-top: -4px;
}

.retry,
.save,
.share {
  width: 100%;
  margin: auto;
}

.save {
  margin: -25px auto;
}


.hidden {
  display: none;
}
