@import "fonts.css";

:root {
    --viewport-height: 100svh;
    --portrait-text-area: 86%;
}

* {
    box-sizing: border-box;
    user-select: none;
}

html, body {
    width:  100%;
    height: var(--viewport-height);
    margin: 0;
    padding: 0;
    font-size: calc(0.01 * var(--viewport-height));
}

@media (pointer: fine) {
    .touchscreenOnly {
        display: none !important;
    }
}

@media (pointer: coarse) {
    .desktop-only {
        display: none !important;
    }
}

body {
	opacity: 0;
	transition: opacity 0.5s;
}

.landing-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #1c082e;
}

.landing-page .item {
    flex-grow: 1;
    width: 50%;
}

.landing-page .text-container {
    padding-left: 5%;
    color: #fff;
}

.landing-page .text-container a {
    display: contents;
    text-decoration: none;
}

.text-container .title {
    font-size: 5.6rem;
    line-height: 7.0rem;
    padding-right: 14%;
}

.text-container .title span {
    background: linear-gradient(90deg, #A24EF1 6%, #DC42E3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-container .description {
    font-size: 2.2rem;
    line-height: 3rem;
    margin-top: 2%;
    padding-right: 22%;
}

.text-container .launch-button {
    width: 55%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #A24EF1 0%, #DC42E3 100%);
    border-radius: 100px;
    margin-top: 7.2%;
    cursor: pointer;
}

.text-container .launch-button .label {
    font-size: 2.2rem;
    line-height: 2.2rem;
    color: #fff;
    padding-left: 8%;
}

.text-container .launch-button .arrow-icon {
    height: 5.2rem;
    aspect-ratio: 1 / 1;
    margin: 2.5% 2.5% 2.5% 0;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.1), inset 0px -0.5px 1px rgba(255, 255, 255, 0.1), inset -0.5px 0.5px 1px rgba(255, 255, 255, 0.65), inset 0px 0px 19px rgba(230, 230, 230, 0.1);
    border-radius: 50%;
}

.text-container .launch-button .arrow-icon img {
    width: 100%;
    height: 100%;
}

.landing-page .image-container {
    height: 100%;
    background: #ecddf3;
}

.landing-page .image-container .content {
    width: 85%;
    margin: 0 auto;
    height: fit-content;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.landing-page .image-container .content .phone {
    display: flex;
    align-items: center;
    height: calc(0.76 * var(--viewport-height));
    background: url("../images/phone.webp") no-repeat center center;
    background-size: contain;
    margin-top: 2%;
}

.landing-page .image-container .content .phone img {
    display: none;
    flex-grow: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.landing-page .image-container .content .icon {
    display: none;
    position: absolute;
    width: 19%;
    top: 20%;
    left: 6%;
    aspect-ratio: 1 / 1;
    backdrop-filter: blur(100px);
    border-radius: 50%;
    background: url("../images/bag-icon.svg") no-repeat center center;
}

.landing-page .image-container .description {
    width: 100%;
    padding: 3% 5% 0 5%;
    font-size: 1.5rem;
    line-height: 2.0rem;
    text-align: center;
    color: #8a7f8f;
}

@media only screen and (orientation: portrait) {
    .landing-page {
        flex-direction: column;
    }

    .landing-page .item {
        width: 100%;
        padding: 0;
    }

    .landing-page .text-container {
        width: var(--portrait-text-area);
        height: 45%;
        padding: calc(0.036 * var(--viewport-height)) 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .text-container .title, .text-container .description,
    .landing-page .image-container .content {
        padding: 0;
    }

    .text-container .title {
        font-size: 3.56rem;
        line-height: 4.5rem;
    }

    .text-container .description {
        font-size: 2.1rem;
        line-height: 2.6rem;
    }

    .text-container .launch-button {
        width: 100%;
        border-radius: 100px;
        margin-top: 3rem;
    }

    .text-container .launch-button .label {
        font-size: 2.1rem;
        line-height: 2.1rem;
        color: #fff;
        padding-left: 8%;
    }

    .text-container .launch-button .arrow-icon {
        height: 6.2rem;
        margin: 1rem 1rem 1rem 0;
    }

    .landing-page .image-container {
        height: 53%;
    }

    .landing-page .image-container .content {
        height: 92%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .landing-page .image-container .content .phone {
        flex-grow: 1;
        height: 78%;
    }

    .landing-page .image-container .description {
        padding: 4% 5% 0 5%;
        font-size: 1.5rem;
        line-height: 2.0rem;
    }
}

@media (orientation: portrait) and (min-width: 468px) and (min-aspect-ratio: 3 / 5) {
    .text-container .title {
        font-size: 3.8rem;
        line-height: 4.6rem;
    }

   .text-container .description {
       font-size: 2.2rem;
       line-height: 3rem;
    }
}

@media only screen and (max-aspect-ratio: 1 / 2) {
    .text-container .title {
        font-size: 3.0rem;
        line-height: 4.0rem;
    }

    .text-container .description {
        font-size: 1.9rem;
        line-height: 2.3rem;
        margin-top: calc(0.02 * var(--viewport-height));
    }

    .text-container .launch-button .label {
        font-size: 1.9rem;
        line-height: 1.9rem;
    }

    .text-container .launch-button .arrow-icon {
        height: 5.5rem;
    }
}

@media only screen and (max-aspect-ratio: 0.35/1) {
    .text-container .title {
        font-size: 2.8rem;
        line-height: 3.6rem;
    }

    .text-container .description {
        font-size: 1.6rem;
        line-height: 2.2rem;
        margin-top: calc(0.02 * var(--viewport-height));
    }

    .text-container .launch-button {
        margin-top: calc(0.034 * var(--viewport-height));
    }

    .text-container .launch-button .label {
        font-size: 1.8rem;
        line-height: 1.8rem;
    }

    .text-container .launch-button .arrow-icon {
        height: 5.3rem;
        margin: 1rem 1rem 1rem 0;
    }

    .landing-page .image-container .content .phone {
        height: 64%;
    }
}

@media only screen and (orientation: landscape) and (max-aspect-ratio: 1.4/1) {
    .text-container .launch-button {
        width: 70%;
    }
}

/* QR-code layout */

@media (pointer: fine) {
    .qr-code-block {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
    }

    .qr-code-block .title {
        max-width: 80%;
        margin: 0 auto;
        font-size: 4.4rem;
        line-height: 5.2rem;
        color: #000;
        text-align: center;
    }

    .qr-code-block .qr-code {
        width: fit-content;
        height: fit-content;
        margin: 0 auto;
        padding: calc(0.026 * var(--viewport-height)) calc(0.014 * var(--viewport-height));
        background: linear-gradient(252.59deg, #DC42E3 20.56%, #A24EF1 89.46%);
        border-radius: 15px;
    }

    .qr-code img {
        height: calc(0.36 * var(--viewport-height));
        aspect-ratio: 1 / 1;
    }

    .qr-code-block .steps {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: fit-content;
        gap: 2rem;
        height: calc(0.06 * var(--viewport-height));
        margin: 0 auto;
    }

    .qr-code-block .steps .step {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 100%;
        gap: 1.6rem;
    }

    .qr-code-block .step-1.icon {
        height: 100%;
        aspect-ratio: 1 / 1;
        background: url("../images/step-1.svg") no-repeat center center;
        background-size: contain;
    }

    .qr-code-block .step-2.icon {
        height: 100%;
        aspect-ratio: 1 / 1;
        background: url("../images/step-2.svg") no-repeat center center;
        background-size: contain;
        margin-left: 1.6rem;
    }

    .qr-code-block .steps .text {
        font-size: 2.2rem;
        line-height: 3rem;
    }

    .qr-code-block .disclaimer {
        width: 80%;
        margin: 0 auto;
        font-size: 1.4rem;
        color: #8a7f8f;
        text-align: center;
    }
}

@media (orientation: landscape) and (max-aspect-ratio: 7 / 5) {
    .qr-code-block .steps .text {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
}

@media (pointer: fine) and (orientation: portrait) {
    .qr-code-block .title {
        max-width: 96%;
        margin-top: 2%;
        font-size: 3.8rem;
        line-height: 4.6rem;
    }

    .qr-code-block .qr-code {
        padding: calc(0.013 * var(--viewport-height)) calc(0.007 * var(--viewport-height));
    }

    .qr-code img {
        height: calc(0.18 * var(--viewport-height));
    }

    .qr-code-block .disclaimer {
        width: 96%;
    }

    .qr-code-block .steps .text {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
}

@media (pointer: fine) and (max-aspect-ratio: 4 / 9) {
    .qr-code-block .title {
        font-size: 3.5rem;
        line-height: 4.4rem;
    }

    .qr-code-block .qr-code {
        padding: calc(0.013 * var(--viewport-height)) calc(0.007 * var(--viewport-height));
    }

    .qr-code img {
        height: calc(0.14 * var(--viewport-height));
    }

    .qr-code-block .steps .text {
        font-size: 1.2rem;
        line-height: 2.0rem;
    }

    .qr-code-block .disclaimer {
        font-size: 1rem;
    }
}

/* END: QR-code layout */

/* Carousel */

.carousel {
    display: none;
}

@media (pointer: fine) {
    .carousel {
        display: block;
        height: 100%;
        overflow: hidden;
    }

    .carousel-container {
        display: flex;
        height: 91%;
    }

    .carousel-item {
        flex: 0 0 100%;
        min-width: 0;
    }

    .carousel-dots {
        height: 4%;
        width: fit-content;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        margin: 0 auto;
    }

    .carousel-dot {
        text-decoration: none;
        cursor: pointer;
        border: 0;
        padding: 0;
        margin: 0;
        width: 2.6rem;
        height: 2.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: transparent;
        appearance: none;
    }

    .carousel-dot:after {
        background: #e0b9e2;
        width: 1.4rem;
        height: 1.4rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        content: '';
    }

    .carousel-dot-selected:after {
        background: #dc42e3;
    }
}

/* END: Carousel */