@font-face {
    font-family: AndaleMono;
    src: local(Andale Mono),
        url(/static/fonts/AndaleMono.woff2) format('woff2'),
        url(/static/fonts/AndaleMono.woff) format('woff');
}

@font-face {
    font-family: Helvetica;
    src: local(Helvetica),
        url(/static/fonts/Helvetica.woff2) format('woff2'),
        url(/static/fonts/Helvetica.woff) format('woff');
}

@font-face {
    font-family: Helvetica-Bold;
    src: local(Helvetica-Bold),
        url(/static/fonts/Helvetica-Bold.woff2) format('woff2'),
        url(/static/fonts/Helvetica-Bold.woff) format('woff');
}

* {
    box-sizing: border-box;
}

p.tips {
    color: var(--muted);
    font-size: 10px;
    line-height: 20px;
}

main {
    display: flex;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 720px;
    height: 475px;
    font-family: Helvetica;
    box-shadow: -10px 10px 25px #0008;
    border-radius: 45px;
}

main h3 {
    font-size: 1.8em;
    color: var(--text);
    margin: 0;
    padding-bottom: 10px;
    text-align: center;
}

article.left-content-wrap {
    width: 50%;
    margin: auto;
}

article.left-content-wrap form {
    border: none;
    box-shadow: none;
    background: transparent;
    margin-right: 10px;
}

article.left-content-wrap form span {
    padding: 10px 5px;
}

article.right-content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    margin: auto;
    background: var(--primary);
    border-radius: 45px;
    color: white;
}

article.right-content-wrap>div {
    text-align: center;
}

article.right-content-wrap>div h2 {
    font-weight: 700;
}

article.right-content-wrap>div p {
    margin: 15px 0 25px 0;
}

article.right-content-wrap>div button.jump {
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    line-height: 27px;
    font-size: 15px;
    width: 120px;
    transition: .5s;
    margin-bottom: 10px;
}

article.right-content-wrap>div button.jump:hover {
    background: var(--primary-soft);
    cursor: pointer;
    transition: .5s;
}

@media (max-width: 768px) {
    main {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        max-width: none;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
        background: var(--bg);
    }

    main h3 {
        font-size: 1.6rem;
        padding-bottom: 14px;
    }

    article.left-content-wrap,
    article.right-content-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.25rem 1rem;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    article.left-content-wrap {
        order: 1;
    }

    article.right-content-wrap {
        order: 2;
        border-radius: 0;
        min-height: auto;
        justify-content: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    article.left-content-wrap form {
        margin-right: 0;
    }

    article.left-content-wrap form span {
        width: 100%;
        padding: 12px 0;
    }

    article.right-content-wrap>div {
        width: 100%;
        max-width: 420px;
        padding: 0 1rem;
        text-align: center;
    }

    article.right-content-wrap>div h2 {
        font-size: 1.5rem;
    }

    article.right-content-wrap>div p {
        margin: 1rem 0 1.5rem 0;
    }

    article.right-content-wrap>div button.jump {
        width: 100%;
        max-width: 100%;
    }

    p.tips {
        font-size: 12px;
        line-height: 1.6;
    }
}