@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700&display=swap);

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Basis */
a {
    outline: none;
    text-decoration: none;
    color: white;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
    font-weight: bold;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.17em;
}
h4 {
    font-size: 1.33em;
}
h5 {
    font-size: 0.83em;
}
h6 {
    font-size: 0.67em;
}

strong {
    font-weight: bolder;
}
em {
    font-style: italic;
}
sup {
    vertical-align: super;
    font-size: smaller;
}
sub {
    vertical-align: sub;
    font-size: smaller;
}

/* Main */
body {
    color: white;
    font-family: "Noto Sans TC", sans-serif;
}

/* Clipped the text if too long */
.ellipsis {
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile Style */
@media only screen and (max-width: 768px) {

    .front_page_content,
    .page_content {
        background-image: url('../images/mobile/background.jpg');
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        color: white;
        font-size: 1rem;
    }

    .middle_content {
        width: 95%;
        margin: 0 auto;
    }

    .lower_content {
        width: 100%;
        position: relative;
        margin-top: 1rem;
    }

}

/* Desktop Style */
@media screen and (min-width: 769px) {

    /* Main */
    body {
        background-image: url('../images/background.jpg');
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-position-y: 100%;
    }

    /* Main Column */
    .front_page_content {
        width: 100%;
    }

    .upper_content {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 78%;
        margin: 1.25rem auto 0 auto;
    }
    .upper_content .gallery_container {
        width: 73%;
    }

    .middle_content {
        display: grid;
        grid-template-columns: repeat(3, 32.13%);
        grid-column-gap: 1.8%;
        width: 78%;
        margin: 1.875rem auto 0 auto;
    }

    .lower_content {
        width: 100%;
        position: relative;
        margin-top: 3.75rem;
    }

    /* Zoom Scope */
    .zoom_scope {
        background: inherit;
    }

}
