@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

:root {
    --brand-primary: #07DCB3;
    --brand-secondary: #050024;
    --brand-bg: #E6FFFA;
    --grey: #B3B6B9;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100dvh;
    margin: 0;
    font-family: Poppins, sans-serif;
}

.logo {
    background: url('/assets/images/sl-logo-horizontal.svg') center left no-repeat;
    background-size: contain;
    height: 40px;
    width: 200px;
}

.button {
    background: var(--brand-secondary);
    padding: 12px 16px;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    border: none;
}

.header {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100vw - 80px);
    max-width: 1820px;
}

.container {
    flex: 1;
    display: flex;
    background: rgba(230, 255, 250, 0.80);
    border-radius: 40px;
    padding: 100px 60px;
    position: relative;
    width: calc(100vw - 200px);
    max-width: 1700px;
}

.left-panel {
    flex: 1;
}

.right-panel {
    flex: 1;
    background: url('/assets/images/mockup-sl.png') right no-repeat;
    background-size: contain;
    height: 100%;
}

.title {
    font-size: 100px;
    font-style: italic;
    font-weight: 400;
    color: var(--brand-secondary);
    line-height: 1em;
}

.subtitle {
    font-style: normal;
    font-weight: 500;
}

.body {
    margin-top: 40px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    color: var(--brand-secondary);
    margin-right: 20%;
}

.apple-store {
    position: absolute;
    bottom: 100px;
    left: 60px;
}

.apple-store .button {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.apple-logo {
    background: url('/assets/images/apple-store.svg') center left no-repeat;
    height: 24px;
    width: 24px;
}

.flourish {
    background-image: url('/assets/images/bg-U.svg');
    background-repeat: no-repeat;
    background-size: 200%;
    position: absolute;
    z-index: -1;
}

.flourish-a {
    transform: rotate(180deg);
    background-position: 100% 0;
    height: 50%;
    width: 25%;
    top: 0;
    right: 0;
}

.flourish-b {
    background-position: 100% 0;
    height: 25%;
    width: 25%;
    left: 0;
    bottom: 0;
}

.flourish-c {
    background-position: 50% 0;
    height: 40%;
    width: 100%;
    bottom: 0;
    left: 0;
    display: none;
    border-radius: 40px;
    background-size: 150%;
}

.footer {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--grey);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

@media (max-width: 1600px) {

    .title {
        font-size: 80px;
    }

    .container {
        padding: 60px 60px;
    }

    .right-panel {
        flex: 2;
    }

    .left-panel {
        flex: 3;
    }

    .apple-store {
        bottom: 40px;
    }
}

@media (max-width: 1024px) {

    .logo {
        height: 40px;
        width: 140px;
    }

    .header {
        width: calc(100vw - 40px);
    }

    .container {
        flex-direction: column;
        padding: 30px 20px;
        width: calc(100vw - 80px);
    }

    .left-panel {
        flex: none;
    }

    .right-panel {
        background-position: center;
        margin-bottom: 60px;
    }

    .title, .subtitle {
        font-size: 40px;
    }

    .body {
        font-size: 12px;
        margin-right: 0;
    }

    .button {
        font-size: 12px;
    }

    .apple-store {
        width: 100%;
        left: 0;
        bottom: 30px;
        display: flex;
        justify-content: center;
    }

    .apple-store .button {
        font-size: 14px;
    }


    .flourish-a, .flourish-b {
        display: none;
    }

    .flourish-c {
        display: block;
    }
}
