/* 縮小失敗。正在傳回未縮小的內容。
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,21): run-time error CSS1039: Token not allowed after unary operator: '-titleWidth'
(95,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(116,39): run-time error CSS1039: Token not allowed after unary operator: '-stoneWidth'
(117,26): run-time error CSS1039: Token not allowed after unary operator: '-stoneWidth'
(128,40): run-time error CSS1039: Token not allowed after unary operator: '-stoneWidth'
(129,26): run-time error CSS1039: Token not allowed after unary operator: '-stoneWidth'
 */
:root {
    /*--bodyTop: calc(100vh - 1280px);*/
    --titleWidth: calc(100vw * 0.5979);
}

body {
    background-image: url('/Areas/Rgvalentine2022/Images/mobile/1_kv/kv_bg_m.jpg');
    /*background-position-y: var(--bodyTop);*/
}

.title {
    position: absolute;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    padding-top: calc((100vh - 60px - (100vw * 0.7938)) / 2);
}

    .title > picture,
    .title > picture img {
        width: var(--titleWidth);
        height: auto;
    }


.door-left {
    display: none;
    margin-left: 0;
    width: calc(100vh * 0.234375);
    height: calc(100vh);
    position: fixed;
    z-index: 20;
    left: 0;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

    .door-left.door-left-mobile {
        display: block;
    }

.door-right {
    display: none;
    margin-right: 0;
    width: calc(100vh * 0.234375);
    height: calc(100vh);
    position: fixed;
    z-index: 20;
    right: 0;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
}

    .door-right.door-right-mobile {
        display: block;
    }

#Submit {
    display: inline-block;
    border: none;
    color: white;
    font-size: 14px;
    background-image: url('/Areas/Rgvalentine2022/Images/mobile/1_kv/kv_btn_bg_m@2x.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: contain;
    width: calc(100vh * 0.215625);
    height: calc(100vh * 0.053125);
    margin-top: calc(100vh * 0.0375);
    padding-top: calc(((100vh * 0.053125) - 1.3em) / 2);
    padding-left: 16px;
    cursor: pointer;
}

    #Submit:hover,
    #Submit:focus,
    #Submit:active {
        background-image: url('/Areas/Rgvalentine2022/Images/mobile/1_kv/kv_btn_bg-hover_m@2x.png');
        text-decoration: none;
    }

    #Submit > picture,
    #Submit > picture * {
        width: 28px;
        height: 6px;
    }



@media (min-width:768px) {
    :root {
        --stoneWidth: calc(100vh * 0.678);
    }

    body {
        background-image: url('/Areas/Rgvalentine2022/Images/desktop/1_kv/kv_bg.jpg');
    }

    .title {
        width: 100vw;
        height: 100vh;
        padding-top: 22vh;
    }

        .title > picture,
        .title > picture img {
            width: auto;
            height: 50vh;
        }

    .door-left {
        display: block;
        margin-left: calc(50vw - var(--stoneWidth) - 10px);
        width: calc(var(--stoneWidth) * 0.9);
        height: calc(100vh);
        left: 0;
    }

        .door-left.door-left-mobile {
            display: none;
        }

    .door-right {
        display: block;
        margin-right: calc(50vw - var(--stoneWidth) - 10px);
        width: calc(var(--stoneWidth) * 0.9);
        height: calc(100vh);
        right: 0;
    }

        .door-right.door-right-mobile {
            display: none;
        }

    #Submit {
        font-size: 17px;
        background-image: url('/Areas/Rgvalentine2022/Images/desktop/1_kv/kv_btn_bg@2x.png');
        padding-left: 16px;
    }

        #Submit:hover {
            background-image: url('/Areas/Rgvalentine2022/Images/desktop/1_kv/kv_btn_bg-hover@2x.png');
            text-decoration: none;
        }

        #Submit > picture,
        #Submit > picture * {
            width: 28px;
            height: 6px;
        }
}

