@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@700&display=swap');

html {
    background-color: black;
    font-family: '微軟正黑體', arial, sans-serif;
    ;
}

body {
    max-width: 500px;
    margin: auto;
    text-align: center;
    color: #cccccc;
}

:root {
    --background-color: #BBA271;
    --color: #BBA271;
}

h1 {
    margin-bottom: 6px;
}

h3 {
    font-size: 20px;
    margin: 15px 0;
}

h3::after {
    content: "";
    position: absolute;
    margin-left: 5px;
    width: 3px;
    height: 20px;
    background-color: var(--background-color);
}

h3::before {
    content: "";
    position: absolute;
    margin-left: -10px;
    width: 3px;
    height: 20px;
    background-color: var(--background-color);
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
}

img {
    width: 100%;
    margin-bottom: 8px;
}

article {
    margin: 100px auto;
}

ol {
    transform: translateX(7.5px);
    width: auto;
    max-width: 320px;
    margin: auto;
    text-align: justify;
    list-style-type: decimal;
    line-height: 1.2;
}

ol>li {
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    width: 120px;
    margin: 10px 5px;
    padding: 10px 30px;
    background-color: var(--background-color);
    font-size: 20px;
    text-decoration: none;
    font-family: 'Noto Sans TC';
    color: black;
    border-radius: 50px;
    transition: opacity .2s ease-in-out;
}

.btn:hover {
    opacity: .8;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hl {
    color: var(--color);
    font-family: 'Noto Sans TC';
}

.hl-red {
    color: #cc1d1d;
    font-family: 'Noto Sans TC';
}

.copyright {
    font-size: 10px;
    opacity: .5;
}

.kamon {
    width: 200px;
    margin-top: 100px;
    margin-bottom: 30px;
}

.start {
    position: relative;
}

.start>img:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 0;
    animation: start 0.5s ease 0s infinite normal none;
}

@keyframes start {
    0% {
        opacity: 0%;
    }

    50% {
        opacity: 100%;
    }

    100% {
        opacity: 0%;
    }
}

.pen {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.pen>img:nth-of-type(1) {
    position: relative;
    z-index: 10;
}

.pen>img:nth-of-type(2) {
    position: absolute;
    left: 0;
    top: 0;
    animation: pen 5s linear 0s infinite normal none;
}

@keyframes pen {
    0% {
        transform: translateX(0%);
    }

    50% {
        transform: translateX(28%);
    }

    100% {
        transform: translateX(0%);
    }
}

.brush_pen {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.brush_pen>img:nth-of-type(1) {
    position: relative;
    z-index: 10;
}

.brush_pen>img:nth-of-type(2) {
    position: absolute;
    left: 0;
    top: 0;
    animation: brush_pen 5s linear 0s infinite normal none;
}

@keyframes brush_pen {
    0% {
        transform: translateY(-20%);
    }

    50% {
        transform: translateY(13%);
    }

    100% {
        transform: translateY(-20%);
    }
}

.fine,
.crude {
    position: absolute;
    font-size: 96px;
    font-family: 'Noto Sans TC';
    color: rgba(255, 0, 0, .3);
    z-index: 20;
}

.fine {
    top: 0;
    left: 20px;
    animation: fine 5s linear 0s infinite normal none;
}

.crude {
    top: 0;
    right: 20px;
    opacity: 0;
    animation: crude 5s linear 0s infinite normal none;
}

@keyframes fine {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes crude {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.s {
    margin: 15px auto;
    width: 80px;
    height: 1px;
    background-color: var(--background-color);
}


.practice>p {
    font-size: 6em;
}

@media only screen and (max-width: 990px) {
    .practice>p {
        font-size: 4.2em;
    }

    .practice {
        max-width: 390px;
        text-align: center;
        margin: auto;
    }
}