@charset "UTF-8";
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    box-sizing: border-box;
    background-color: #eee;
    font-family: "cwTeXMing", "微軟正黑體", serif, Helvetica;
    letter-spacing: 3px;
    line-height: 38px;
    font-size: 1.1rem;
    -webkit-user-select: none;
}

button {
    font-family: "cwTeXMing", "微軟正黑體", serif, Helvetica;
    font-size: 1.1rem;
}

.container {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    display: flex;
}

.container main {
    position: relative;
    border: 10px double #000;
    border-radius: 10px;
    width: 100%;
    max-width: 1300px;
    margin: auto;
    align-items: center;
}

.container main h1, .container main h3 {
    text-align: center;
    width: 100%;
    padding: 10px;
}

.container main h1 {
    color: #351B06;
    font-size: 3rem;
    padding: 10px;
    margin-bottom: 20px;
    transition: 0.5s;
    line-height: 50px;
    position: relative;
}

@media screen and (max-width: 600px) {
    .container main h1 {
        font-size: 2rem;
    }
}

.container main h2 {
    text-align: center;
}

.container main h3 {
    width: 70%;
    margin: 5% auto 0;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .container main h3 {
        width: 90%;
    }
}

.container main .line {
    border-bottom: 3px solid black;
    width: 70%;
    margin: auto;
}

.container main #cover .cover_img {
    display: flex;
    text-align: center;
    justify-content: between-around;
}

.container main #cover .cover_img .face {
    width: 30%;
    margin: 10px auto;
}

.container main #cover .cover_img .face:nth-child(1) img {
    width: 100%;
    max-width: 230px;
    animation: move1 2s infinite;
    animation-delay: .5s;
    display: inline-block;
}

.container main #cover .cover_img .face:nth-child(2) img {
    width: 100%;
    max-width: 230px;
    animation: move2 3s infinite;
    display: inline-block;
}

.container main #cover .cover_img .face:nth-child(3) img {
    width: 100%;
    max-width: 230px;
    animation: move3 2s infinite;
    display: inline-block;
}

@keyframes move1 {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes move2 {
    0% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(10px);
    }
}

@keyframes move3 {
    0% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(-10px);
    }
}

.container main #section .flex {
    display: flex;
}

@media screen and (max-width: 600px) {
    .container main #section .flex {
        display: flex;
    }
}

.container main #section .flex .face {
    width: 20%;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 600px) {
    .container main #section .flex .face {
        display: none;
    }
}

.container main #section .flex .issue {
    width: 80%;
    text-align: right;
}

@media screen and (max-width: 600px) {
    .container main #section .flex .issue {
        width: 100%;
    }
}

.container main #section_list .flex {
    display: flex;
}

@media screen and (max-width: 600px) {
    .container main #section_list .flex {
        display: block;
    }
}

.container main .btn {
    font-family: "cwTeXMing", "微軟正黑體", serif, Helvetica;
    border: 2px solid #000;
    border-radius: 5px;
    width: 130px;
    padding: 5px;
    margin: auto;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.container main .btn:hover {
    border: 2px solid #000;
    background-color: black;
    color: white;
    animation: hover 1s infinite;
}

@media screen and (max-width:600px) {
    .container main .btn:hover {
        border: 2px solid #000;
        background-color: #e6e2d8b3;
        color: black;
        animation: none;
    }
}

@keyframes hover {
    0% {
        width: 130px;
    }
    50% {
        width: 140px;
        opacity: 0.5;
    }
    100% {
        width: 130px;
    }
}

.layout {
    display: flex;
    margin: auto;
    /* background-color: #eee; */
}

@media screen and (max-width: 600px) {
    .layout {
        display: block;
    }
}

.layout .presd {
    width: 30%;
    padding-left: 10px;
    position: relative;
}

.layout .presd img {
    width: 85%;
    position: absolute;
    bottom: 0;
}

@media screen and (max-width: 600px) {
    .layout .presd {
        display: none;
    }
}

.layout .whoru {
    width: 40%;
    margin: auto;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .layout .whoru {
        width: 80%;
    }
}

.layout .chart {
    width: 30%;
    margin: auto;
    text-align: center;
    padding: 20px;
}

.layout .chart img {
    width: 100%;
}

@media screen and (max-width: 600px) {
    .layout .chart {
        width: 100%;
        padding: 5%;
    }
}

.layout .block {
    border-radius: 5px;
    width: 25%;
    height: 230px;
    padding: 10px;
    margin: 20px auto;
    cursor: pointer;
    /* background-size: cover; */
    overflow-y: hidden;
    display: flex;
    transition: 0.5s;
    position: relative;
    background-color: rgba(230, 226, 216, 0.7);
}

@media screen and (max-width: 760px) {
    .layout .block {
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .layout .block {
        width: 95%;
        height: auto;
    }
}

.layout .block p {
    margin: auto;
    align-items: center;
}

.layout .block #ans1, .layout .block #ans2, .layout .block #ans3 {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
}

.layout .block img {
    width: 65px;
    top: 0;
    left: 10px;
}

.layout .block:hover {
    background-color: black;
    color: white;
    width: 30%;
}

@media screen and (max-width: 600px) {
    .layout .block:hover {
        width: 95%;
        background-color: rgba(230, 226, 216, 0.7);
        color: black !important;
    }
}

#result {
    border-bottom: 10px black;
}

#section_list .block {
    display: block;
}

hr.hr {
    width: 80%;
    border-top: 2px solid;
}

.box {
    width: 80%;
    padding: 10px;
    margin: auto;
}

.box img {
    max-width: 119px;
    box-sizing: border-box;
}

.box h4 {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0;
}

.box .light {
    width: 50px;
    height: 50px;
    padding: 5px;
}

@media screen and (max-width: 600px) {
    .box .face {
        display: none;
    }
}

.box .source {
    color: black;
    text-decoration: none;
    border-radius: 10px;
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 10px;
    top: 30px;
    right: 30px;
    transition: 0.5s;
    cursor: pointer;
    border: 1px solid;
}

.box .source .text p {
    margin: 0px;
    text-align: left;
}

.text>p:nth-child(2) {
    font-size: 16px;
}

@media screen and (max-width: 600px) {
    .box .source {
        display: inline-block;
    }
    .box .source p {
        font-size: 1rem;
        line-height: 26px;
        margin: 0px;
    }
}

.box p .bigfont {
    font-size: 2.6rem;
    margin-right: 3px;
}

.box .source:hover {
    box-shadow: none;
    background-color: #717171;
    color: white;
}

#section_list h1:nth-child(n+2) {
    display: none;
}

#news_btn {
    margin-top: 5%;
}

.select {
    background-image: url(https://i.imgur.com/p1ji1dY.png);
    background-size: 12%;
    background-repeat: no-repeat;
    background-position: 95% 5%;
    filter: brightness(0.9);
}

.fab {
    position: absolute;
    top: 46px;
    right: 10%;
    cursor: pointer;
    font-size: 25px;
    border: 1px solid;
    padding: 6px 8px;
    border-radius: 10px;
    transition: 0.5s;
}

.fab:hover {
    background-color: #351B06;
    color: white;
}

.fab::after {
    content: "分享";
    font-family: "cwTeXMing", "微軟正黑體", serif, Helvetica;
    font-weight: 600;
}

@media screen and (max-width: 600px) {
    .fab::after {
        display: none;
    }
}

.sort1 {
    order: 1;
}

.sort2 {
    order: 2;
}

.sort3 {
    order: 3;
}

.name {
    white-space: nowrap;
}

/* google ads */

#div-gpt-ad-1577441634203-0 {
    display: none;
}

@media screen and (max-width:600px) {
    #div-gpt-ad-1577441634203-0 {
        display: block;
    }
    #div-gpt-ad-1577459854798-0 {
        display: none;
    }
}

@media screen and (max-width:340px) {
    #div-gpt-ad-1577441634203-0 {
        display: none;
    }
}

.linktohome {
    position: absolute;
    top: 3%;
    left: 3%;
    z-index: 99;
    display: flex;
    cursor: pointer;
}

.linktohome img {
    width: 50px;
    height: 50px;
    transition: .5s;
}

.linktohome .link {
    margin: auto;
    display: none;
    padding: 0 5px 0 15px;
    background-color: #fff;
    box-shadow: 1px 2px 3px black;
}

@media screen and (max-width: 600px) {
    .linktohome {
        top: 0%;
        left: 0%;
    }
    .linktohome img {
        width: 40px;
        height: 40px;
        transform: translateX(0px);
    }
}
