﻿@font-face {
    font-family: 'Chiron Hei HK'; /* A name you choose to use later */
    src: url('/Assets_100th/fonts/ChironHeiHK-VariableFont_wght.ttf') format('truetype'); /* Path to your font file */
    font-weight: normal; /* Define the weight/style of this specific file */
    font-style: normal;
}
@font-face {
    font-family: 'Noto Serif TC'; /* A name you choose to use later */
    src: url('/Assets_100th/fonts/NotoSerifTC-VariableFont_wght.ttf') format('truetype'); /* Path to your font file */
    font-weight: normal; /* Define the weight/style of this specific file */
    font-style: normal;
}


.mov, .main {
    height: 1080px;
}
#overlay {
    position: fixed;
    height: 100vh !important;
}
.rwd,
#backToMain,
#backToSection {
    display: none;
}

body {
    font-family: 'Noto sans TC','Microsoft JhengHei',Arial, Helvetica, sans-serif;
}

@media screen and (max-width:820px) {
    .rwd,
    #backToMain,
    #backToSection {
        display: block;
    }

    body {
        width: 100%;
        background: #b9d5b4;
    }

    .main,
    .mov {
        display: none;
    }

    #overlay {
        width: 100vw !important;
    }

    #imageDataContainer {
        width: unset !important;
    }

    #outerImageContainer {
        width: fit-content !important;
        height: auto !important;
    }

    #imageData #imageDetails {
        width: unset;
    }

    #imageContainer {
        padding: 0;
    }

    #lightbox {
        background: white;
    }
    #lightbox img {
        width: calc(100vw - 20px);
        border: 10px solid white;
    }

    #backToMain,
    #backToSection {
        position: fixed;
        text-decoration: none;
        color: black;
        font-weight: 600;
        background: white;
        width: 3.5em;
        height: 3.5em;
        border-radius: 100%;
        text-align: center;
        line-height: 3.5em;
        bottom: 1em;
        right: 1em;
        z-index: 3;
        box-shadow: 0px 2px 3px #999;
    }

    #backToSection {
        bottom: 5.5em;
    }

        #backToMain:hover,
        #backToSection:hover {
            background: #666666;
            color: white;
            border: 1px solid white;
        }

    .intro {
        color: white;
        padding: 2em;
        background: #007e7c;
    }

    section.body {
        line-height: 1.6em;
        padding: 2em 2em 5em;
        width: calc(100% - 4em);
    }

    .row {
        display: flex;
        justify-content: center;
    }

        .row * {
            flex: 1;
        }

    .intro h1 {
        font-size: 2.5em;
        font-family: "DFKai-sb",serif,sans-serif;
        margin-bottom: 0;
    }

        .intro h1:first-letter {
            font-size: 2.7em;
            float: left;
            line-height: 0.9;
        }

    .intro h2 {
        margin-top: 0.3em;
        margin-bottom: 2em;
    }

    .yellow {
        display: inline-block;
        font-size: 3em;
        line-height: 1.4em;
        font-weight: bold;
        color: #fff583;
        padding: 1rem 0 0;
        text-shadow: 3px 4px 10px #1a1a1a;
    }

    .body h2 {
        font-size: 3.5em;
        line-height: 1.2em;
        margin: 0;
    }

    .body h3 {
        font-size: 2.5em;
        line-height: 1.2em;
        margin: 2em 0 0;
    }

    .body h4 {
        font-size: 2em;
        margin-top: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2em;
        color: #000000;
        position: relative;
    }

    p, strong {
        text-indent: 2em;
        line-height: 1.8em;
        font-family: "Chiron Hei HK", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
    }

    p {
        font-weight:200;
    }

    .intro p {
        font-size: 1.2em;
    }
    .body p,
    strong {
        font-size: 1.4em;
    }
    .fright {
        max-width: 400px;
        float: right;
        margin-top: 5em;
        width: 50%;
    }
    a {
        display: inline-block;
    }
    a.link {
        display: inline;
        color: black;
    }

    .body a {
        text-align: center;
    }

    .body ul a {
        text-align: unset;
    }

    img {
        max-width: 100%;
    }
}

@media screen and (max-width:666px) {
    .row {
        display: block;
    }
    .fright {
        margin: 0 auto;
        float: unset !important;
        width: fit-content;
        display: block;
        max-width: none;
    }
}

@media screen and (max-width:480px) {
    .intro .mbreak {
        display: block;
    }
}

@media screen and (max-width:479px) {
    .body h2 {
        font-size: 3em;
        margin-bottom: 0.3em;
    }

    .body h3 {
        font-size: 2em;
    }
}

@media screen and (max-width: 430px) {
    .body a {
        width: 100%;
    }

    .msmall {
        font-size: 0.7em;
    }
}