﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    font-size: 16px;
    outline-style: none;
}

html, body {
    height: 100%;
    background: #000000;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}
ul, li {
    list-style: none;
}

.cover {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    background: url('Working-PH.jpg') center center no-repeat;
    background-size: 100% auto;
}


/*#region video set */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-container iframe,
    .video-container object,
    .video-container embed,
    .video-container video-js {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
/*#endregion */

/*#region Flex Box Layout */

.flexBox {
    display: flex;
}

.flexWarp {
    flex-wrap: wrap;
}

.flexNowarp {
    flex-wrap: nowrap;
}

.flexCenter {
    align-items: center;
    justify-content: center;
}

.flexJustifyCenter {
    justify-content: center;
}

.flexJustifyAround {
    justify-content: space-around;
}

.flexDirectionCol {
    flex-direction: column;
}

.flexDirectionRow {
    flex-direction: row;
}
/*#endregion */



.container-fluid {
    margin: auto;
    width: 100%;
    max-width: calc(100vh * 16 / 9);
    height: 100vh;
}

.container {
    width: 100%;
    overflow: hidden;
}

.videoBox {
    width: 100%;
    align-self: center;
}

.questionBox {
    display: none;
    background: linear-gradient(rgba(255, 255, 255, 0.2)0%, rgba(0, 0, 0,0.2)100%);
    width: 100%;
    justify-content: space-around;
    flex-wrap:wrap;
}
.question {
    font-size: 1.125em;
    color: #FFFFFF;
    padding: 0.25em 0.35em;
    width: 100%;
    text-align: center;
    font-size: 32px;
}

.optionBox {
    width: 100%;
    justify-content: space-around;
}

    .optionBox > button {
        line-height: 1.5em;
        color: #FFFFFF;
        flex: 1;
        background: linear-gradient(rgba(255, 255, 255, 0.2)0%, rgba(0, 0, 0,0.2)100%);
        border-radius: 12px;
        border: solid 2px rgba(255, 255, 255, .7);
        margin: 2px;
        padding: 0.15em 0.5em;
        min-height: 120px;
        cursor: pointer;
    }
        .optionBox > button > * {
            width: 80%;
        }
        .optionBox > button > span.option {
            font-size: 1.25em;
        }
        .optionBox > button > span.option::after {
            content: "\002E";
        }
        .optionBox > button > span.badge {
            color: #B186D5;
            background: #FFFFFF;
            border-radius: 2em;
            text-align: center;
            margin-top: 0.25em;
        }
        .optionBox > button.active, .optionBox > button:active, .optionBox > button:hover, .optionBox > button:focus {
            border: solid 2px #f5f323;
        }

.infoBox {
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1.75em;
    max-height: 4em;
    width: 100%;
    color: #FFFFFF;
}

@media only screen and (orientation: landscape) {
    .videoBox {
        max-width: calc(100vh * 16 / 9);
    }
}



@media only screen and (orientation: portrait) and (min-width: 600px) {
    * {
        font-size: 20px;
    }
}


@media only screen and (orientation: landscape) and (min-width: 600px) {

    .container-fluid {
        max-width: none;
        height: auto;
    }

    .videoBox {
        flex: 1;
    }

    .questionBox {
        width: calc(100vw * 3 / 16);
        flex-direction: column;
        flex-wrap: wrap;
    }
    .optionBox {
        flex: 1;
        flex-direction: column;
        flex-wrap: wrap;
    }
        .optionBox > button {
            border-radius: 22px;
        }

    .infoBox {
        background-color: #474646;
        order: 1;
    }

}


@media screen and (min-width: 900px) {
    * {
        font-size: 22px;
    }

    .cover {
        background-size: cover;
    }

    .container-fluid {
        height: 100vh;
    }

    .questionBox, .optionBox {
        position: relative;
    }
    .question {
        text-align: left;
    }
        .optionBox::before {
            content: "";
            background: #FFFFFF;
            position: absolute;
            width: 0.4em;
            height: 25%;
            border-radius: 2em;
            top: 50%;
            transform: translate(-50%, -50%);
            border: solid 1px #000000;
        }
        .optionBox > button {
            margin-left: 0;
        }

    .infoBox {
        height: calc(100vh - (100vw * 13 / 16 * 9 / 16));
    }
}
@media screen and (min-width: 1000px) {
    * {
        font-size: 26px;
    }
}


@media screen and (min-width: 1200px) {
    * {
        font-size: 30px;
    }
}

