﻿body {
    font-family: "Open Sans","微軟正黑體", sans-serif;
    background: url(../img/index.jpg) no-repeat center right;
    background-size: cover;
    width: 98vw;
    height: 86vh;
}

.titleBox {
    margin-top: 100px;
    text-align: center;
}

h1 {
    font-size: 2rem;
    line-height: 3.5rem;
    margin: 0;
    color: #fff;
    margin-left: 140px;
}

h6 {
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
    color: #efefef;
    margin-left: 140px;
}

.pricing-wrap h4 {
    color: #29ABE2;
    font-size: 2rem;
    line-height: 2.5rem;
    padding: 0px 0px;
}

iframe {
    border: none;
}

.form-control {
    height: inherit;
}

.content {
    width: 100vw;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .content span {
        font-weight: 700;
        font-size: 1.5rem;
    }

.banner {
    /*     position: fixed; */
    font-size: 3rem;
    color: #f8f9fa;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #002060;
    font-weight: 700;
    height: 100%;
}

a {
    cursor: pointer;
    transition: all 200ms linear;
    text-decoration: none;
    color: #fff;
}

    a:hover {
        text-decoration: none;
    }

.link {
    color: #c4c3ca;
}

    .link:hover {
        color: #adb5bd;
    }

.over-hide {
    overflow: hidden;
}

.size-22 {
    font-size: 22px;
}

.section {
    position: relative;
    width: 100%;
    z-index: 1;
    display: block;
}

.full-height {
    min-height: 100vh;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.pricing:checked + label,
.pricing:not(:checked) + label {
    position: relative;
    display: block;
    text-align: center;
    width: 314px;
    height: 44px;
    border-radius: 4px;
    padding: 0;
    margin: 0 auto;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 44px;
    padding: 0 25px;
    overflow: hidden;
    color: #fff;
    text-align: left;
}

    .pricing:checked + label:before,
    .pricing:not(:checked) + label:before {
        position: absolute;
        content: '';
        z-index: -2;
        background-color: #f4f5fd;
        width: 100%;
        height: 100%;
        display: block;
        top: 0;
        left: 0;
    }

    .pricing:checked + label:after,
    .pricing:not(:checked) + label:after {
        position: absolute;
        content: '';
        z-index: -1;
        background-color: #002060;
        width: 156px;
        height: 40px;
        display: block;
        top: 2px;
        left: 1px;
        border-radius: 2px;
        transition: left 300ms linear;
    }

    .pricing:checked + label:after {
        left: 156px;
    }

.block-diff {
    display: block;
    mix-blend-mode: difference;
}

.card-3d-wrap {
    position: relative;
    width: 400px;
    max-width: calc(100% - 20px);
    height: 452px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    perspective: 1000px;
    margin-top: 30px;
}

.card-3d-wrapper {
    width: 100%;
    height: 396px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: transform 700ms 400ms ease-out;
}

.card-front, .card-back {
    width: 100%;
    height: 100%;
    background-color: #ffffff90;
    position: absolute;
    border-radius: 5px;
    left: 0;
    top: 0;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 12px 35px 0 rgba(16, 39, 112,.07);
    padding: 12px
}

.card-back {
    transform: rotateY(180deg);
}

.pricing:checked ~ .card-3d-wrap .card-3d-wrapper {
    transform: rotateY(180deg);
    transition: transform 700ms 400ms ease-out;
}

.pricing-wrap {
    position: relative;
    padding-top: 20px;
    width: 100%;
    display: block;
    z-index: 1;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .pricing-wrap h4 {
        position: relative;
        width: 100%;
        display: block;
        text-align: center;
    }



@keyframes border-transform {
    0%,100% {
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    }

    14% {
        border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
    }

    28% {
        border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
    }

    42% {
        border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
    }

    56% {
        border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
    }

    70% {
        border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
    }

    84% {
        border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
    }
}

.pricing-wrap h2 {
    position: relative;
    width: 100%;
    display: block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 36px;
    line-height: 1.1;
    color: #102770;
    transform: translate3d(0, 0, 30px) perspective(100px);
}

    .pricing-wrap h2 sup {
        font-size: 20px;
    }

.pricing-wrap p {
    position: relative;
    width: 100%;
    display: block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #102770;
    transform: translate3d(0, 0, 30px) perspective(100px);
}

.card-back h2,
.card-back p,
.card-back h4 {
    color: #0c1c00;
}

.link {
    position: relative;
    padding: 10px 0;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 200ms linear;
    font-family: '微軟正黑體';
    font-size: 1.75rem;
    line-height: 2.5rem;
    font-weight: bold;
}

    .link:hover {
        color: #102770;
        background-color: #adb5bd;
    }

.card-back .link {
    background-color: #0c5c1c;
    color: #fff;
    margin-top: 88px;
    width: 90%;
}

    .card-back .link:hover {
        color: #0c5c1c;
        background-color: #fff;
    }

.card-front .link {
    color: #fff;
    background-color: #0071BC;
    color: #fff;
    width: 85%;
    margin-left: 7.5%;
    border: 0;
    text-decoration: none;
    margin-top: 0px !important;
}

    .card-front .link:hover {
        color: #fff;
        background-color: #006096;
    }


/*輸入框縮小*/
.login-box {
    width: 400px;
    padding: 40px;
    border-radius: 5px;
}

    .login-box h2 {
        margin: 0 0 30px;
        padding: 0;
        color: #fff;
        text-align: center;
    }

    .login-box .user-box {
        position: relative;
    }

        .login-box .user-box input {
            width: 85%;
            margin-left: 7.5%;
            padding: 10px 20px;
            font-size: 1.5rem;
            line-height: 2rem;
            color: #808080;
            margin-bottom: 30px;
            border: none;
            outline: none;
            background: #e6e6e6;
            text-align: left;
            border-radius: 5px;
        }

.user-box label {
    display: none;
}

.alert-dismissible {
    text-align: center;
    margin-top: 100px;
    margin-left: 140px;
}
.button-container {
    justify-content: center; /* 水平置中 */
    align-items: center; /* 垂直置中 */
    width: 100%; /* 佔滿整個寬度 */
}
/* 新增RWD設計 */
/* 適用於螢幕寬度小於768px */
@media (max-width: 768px) {
    body {
        background-position: center;
        background-size: cover;
        height: auto;
    }

    .container-fluid {
        padding: 0 10px;
    }

    .titleBox {
        margin-top: 50px;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
    h4 {
        margin-block: 20px;
    }
    h6 {
        font-size: 0.85rem;
        line-height: 1.2rem;
    }
    /* 登入表單區塊調整 */
    .login-box {
        width: 100%;
        padding: 20px;
    }

        .login-box input {
            font-size: 1.2rem;
            padding: 8px 10px;
        }

    .card-front, .card-back {
        padding: 10px;
    }

        .card-front .link,
        .card-back .link {
            font-size: 1.5rem;
            padding: 10px;
            margin-top: 20px;
        }

    .alert-dismissible {
        margin-left: 0;
    }
    /* 調整"請輸入帳號密碼"文字大小 */
    .user-box input::placeholder {
        font-size: 1.2rem; /* 縮小提示文字 */
    }
}

/* 適用於螢幕寬度小於576px的裝置（手機尺寸） */
@media (max-width: 576px) {
    .card-3d-wrap {
        width: 100%;
        margin-top: 20px;
    }

    h1 {
        font-size: 1.2rem;
    }

    .pricing-wrap h4 {
        font-size: 1.6rem;
    }

    h6 {
        font-size: 0.75rem;
    }

    .login-box {
        width: 90%;
        padding: 15px;
    }

        .login-box input {
            font-size: 1rem;
        }

    .card-front .link,
    .card-back .link {
        font-size: 1.2rem;
        padding: 10px 0;
    }
    /* 調整"請輸入帳號密碼"文字大小 */
    .user-box input::placeholder {
        font-size: 1rem; /* 縮小提示文字 */
    }
}



/* 新增RWD設計 */
/* 適用於螢幕寬度小於768px */
@media (max-width: 768px) {
    body {
        background-position: center;
        background-size: cover;
        height: auto;
    }

    .container-fluid {
        padding: 0 10px;
    }

    .titleBox {
        margin-top: 50px;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    h6 {
        font-size: 0.85rem;
        line-height: 1.2rem;
    }
    /* 登入表單區塊調整 */
    .login-box {
        width: 100%;
        padding: 20px;
    }

        .login-box input {
            font-size: 1.2rem;
            padding: 8px 10px;
        }

    .card-front, .card-back {
        padding: 10px;
    }

        .card-front .link,
        .card-back .link {
            font-size: 1.5rem;
            padding: 10px 0;
            margin-top: 20px;
        }

    .alert-dismissible {
        margin-left: 0;
    }
    /* 調整"請輸入帳號密碼"文字大小 */
    .user-box input::placeholder {
        font-size: 1.2rem; /* 縮小提示文字 */
    }
}

/* 適用於螢幕寬度小於576px的裝置（手機尺寸） */
@media (max-width: 576px) {
    .card-3d-wrap {
        width: 100%;
        margin-top: 20px;
    }

    h1 {
        font-size: 1.2rem;
    }

    .pricing-wrap h4 {
        font-size: 1.6rem;
    }

    h6 {
        font-size: 0.75rem;
    }

    .login-box {
        width: 90%;
        padding: 15px;
    }

        .login-box input {
            font-size: 1rem;
        }

    .card-front .link,
    .card-back .link {
        font-size: 1.2rem;
        padding: 0;
    }
    /* 調整"請輸入帳號密碼"文字大小 */
    .user-box input::placeholder {
        font-size: 1rem; /* 縮小提示文字 */
    }
}
