*, *::before, *::after{
    box-sizing: border-box; 
}

*{
    margin: 0; 
    padding: 0; 
}

ul[role='list'], ol[role='list']{
    list-style: none; 
}

html:focus-within{
    scroll-behavior: smooth; 
}

a:not([class]){
    text-decoration-skip-ink: auto; 
}

img, picture, svg, video, canvas{
    max-width: 100%;
    height: auto; 
    vertical-align: middle; 
    font-style: italic; 
    background-repeat: no-repeat; 
    background-size: cover;
}

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

body, html{
    height: 100%; 
    scroll-behavior: smooth;
    font-family: 'Jost', sans-serif !important;
}

/* My content ================================================================================ */

body {
    background: #FCF6F2;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100vw;
    padding-top: 645px;
}

#ls-main-img {
    position: fixed;
    top: 0;
    z-index: 2;

    width: 100%;
}

#ls-main-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    transform: translateY(1px);
    background: linear-gradient(180deg, rgba(252, 246, 242, 0) 79.04%, #FCF6F2 100%);
    z-index: 3;
}

#ls-main-img img {
    position: relative;
    z-index: 1;
}

#ls-main-content-padding {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 64px;

    padding: 64px 24px;

    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background: #FCF6F2;
}

#ls-upload-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;

    width: 100%;

    opacity: 0;
    transform: translateX(-25px);
    transition: all 0.3s ease-in-out;
}

#ls-upload-image h1 {
    display: block;
    width: 280px;

    margin-bottom: 8px;

    font-weight: 700;
    font-size: 48px;
    line-height: 72px;
    letter-spacing: -0.5px;
    text-align: center;
    text-transform: uppercase;
    color: #2C2C2C;
}

#ls-upload-image p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;
}

#ls-upload-image form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 340px;

    border: 2px dashed #E3DEDA;
    border-radius: 24px;
}

#ls-upload-image form label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: 100%;
    height: 100%;

    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;

    color:#B0ACA9;
}

#ls-upload-image form label img {
    width: 48px;
    height: 48px;
}

.ls-welcome-modal div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ls-welcome-modal label {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #B6B6B6;
}

.ls-welcome-modal label.ls-title {
    color: #2C2C2C;
}

.ls-preview-modal, .ls-welcome-modal {
    display: none;
}

.ls-preview-modal.is--active, .ls-welcome-modal.is--active {
    display: block;
}

.ls-preview-modal .ls-overlay, .ls-welcome-modal .ls-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 13;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
}

.ls-preview-modal-content, .ls-welcome-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 14;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: 90%;
    max-height: 90vh;
    padding: 24px;

    background-color: #ffffff;
    border-radius: 24px;
}

.ls-preview-modal-content {
    padding: 24px 0;
}

.ls-preview-modal-content .ls-preview-modal-image {
    display: flex;
    align-items: center;
    gap: 24px;

    width: 100%;
    padding: 22px 32px;
    margin-bottom: 24px;

    overflow: auto visible;
    overflow-y: hidden;
}

.ls-preview-modal-content .ls-preview-modal-image .ls-photo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    height: fit-content;
    min-width: 80%;
    padding: 12px;

    box-shadow: 0px 4px 15px 0px #00000040;
    border-radius: 14px;
    transform: rotate(-4deg);
}

.ls-preview-modal-content .ls-preview-modal-image .ls-photo div {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 50px;
    padding: 10px;

    font-family: 'Caveat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 22px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #000;
}

.ls-preview-modal-content .ls-resend-image {
    width: 90%;
    height: 64px;
    padding: 10px;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #B0ACA9;

    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;

    background-color: transparent;
}

.ls-preview-modal-content .ls-close-modal {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #FF3434;

    background-color: transparent;
    border: 0;
}

/* .ls-preview-modal-content .ls-send-image, .ls-welcome-modal-content .ls-send-image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 32px;
    padding: 0 18px;

    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;

    border: 1px solid #B0ACA9;
    border-radius: 8px;

    background-color: transparent;
} */

.ls-preview-modal-content .ls-preview-modal-image img {
    width: 100%;
}

.ls-preview-modal-content input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 120px;
    height: 32px;

    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;

    border: 1px solid #B0ACA9;
    border-radius: 8px;

    background-color: transparent;
}

.ls-welcome-modal-content input {
    display: flex;
    justify-content: center;

    width: 100%;
    height: 64px;
    padding: 10px;

    text-align: center;

    border-radius: 8px;
    border-width: 1px;
    border: 1px solid #B0ACA9;
}

.ls-welcome-modal button, .ls-send-image {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 90%;
    height: 64px;
    padding: 10px;
    border-radius: 8px;
    border: 0;

    background-color: #39D180;
    color: #fff;
}

.ls-preview-modal-content button img, .ls-welcome-modal-content button img {
    width: 24px;
    height: 24px;
}

#ls-gave-my-ass-to-groom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;

    width: 100%;

    opacity: 0;
    transform: translateX(-25px);
    transition: all 0.3s ease-in-out;
}

#ls-gave-my-ass-to-groom h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 72px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;
}

#ls-gave-my-ass-to-groom > span {
    margin-bottom: 8px;
    max-width: 262px;

    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;
}

#ls-gave-my-ass-to-groom p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;
}

.ls-pix-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: 100%;
}

.ls-pix-section span {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;
}

.ls-pix-section button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    height: 64px;

    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #2C2C2C;

    border: 1px solid #B0ACA9;
    border-radius: 8px;

    background-color: transparent;
}

.ls-pix-section button img {
    width: 24px;
    height: 24px;
}

.ls-pix-section button span {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;

    background-color: #16AD5C;
    border-radius: 8px;
    border: 1px solid #10914C;
    transition: opacity 0.2s ease-in-out;
}

.ls-pix-section button.copied span {
    opacity: 1;
}

.ls-pix-section-warning {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px 42px;
    margin-bottom: 16px;

    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
}

.ls-pix-section-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;

    width: 100%;
}

.ls-pix-section-qr p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
}

.ls-pix-section-qr div {
    display: flex;

    width: 100%;
    height: 340px;

    border: 2px dashed #E3DEDA;
    border-radius: 24px;
}

.ls-pix-section-qr div img {
    width: 100%;
}

footer {
    position: relative;
    z-index: 12;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;

    padding: 0 24px 64px;
    margin-top: -1px;

    background: #FCF6F2;
}

footer span {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    text-align: center;
}

footer strong {
    text-align: center;
    font-weight: 700;
}

.ls-mobile-warning {
    display: none;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;
    padding: 100px;
}

.ls-mobile-warning h3 {
    display: block;

    font-size: 70px;
    text-align: center;

    color: #2C2C2C;
}


@media (min-width: 768px) {
    main, footer, .ls-welcome-modal  {
        display: none !important;
    }

    .ls-mobile-warning {
        display: flex;
    }
}

/* animations ================================================================================ */

.bounce2 {
    animation: bounce2 2s ease infinite;
}


.hithere {
    animation: hithere 1s ease infinite;
}

@keyframes hithere {
30% { transform: scale(1.2); }
40%, 60% { transform: rotate(-20deg) scale(1.2); }
50% { transform: rotate(20deg) scale(1.2); }
70% { transform: rotate(0deg) scale(1.2); }
100% { transform: scale(1); }
}

@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

.loader {
    display: none;

    width: 40px;
    height: 40px;
    border-radius: 50%;
    perspective: 800px;
}

.ls-send-image.is--loading .loader {
    display: flex;
}

.ls-send-image.is--loading span {
    display: none;
}
  
.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;  
}
  
.inner.one {
    left: 0%;
    top: 0%;
    animation: rotate-one 1s linear infinite;
    border-bottom: 3px solid #EFEFFA;
}

.inner.two {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-right: 3px solid #EFEFFA;
}

.inner.three {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-top: 3px solid #EFEFFA;
}
  
@keyframes rotate-one {
    0% {
      transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
      transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}
  
@keyframes rotate-two {
    0% {
      transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
      transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}
  
@keyframes rotate-three {
    0% {
      transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
      transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

/**
 * Extracted from: SweetAlert
 * Modified by: Istiak Tridip
 */
.success {
    display: none;
    align-items: center;
    height: 90%;
}

.ls-send-image.is-success .success {
    display: flex;
}

.ls-send-image.is-success span {
    display: none;
}

.success img {
    animation: increase 1s;
}

@keyframes increase {
    0% {
        transform: scale(0) rotate(0deg);
        
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}
