body {
     margin: 0;
     padding: 0;
     border: 0;
     font: inherit;
     vertical-align: baseline;
     font-family: Tahoma, sans-serif;
     font-weight: bold;
     /* background-color: rgba(97, 97, 97, 0.5); */
     background-color: #fff;
 }

 *,
 *:before,
 *:after {
    box-sizing: border-box;
 }

ul {
    list-style: none;
    padding: 0;
}

ol li {
    list-style-type: disc;
}


#Alert {
    position: absolute;
    display: none;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
}

 .black_bg {
     position: fixed;
     width: 100vw;
     height: 100vh;
     top: 0;
     left: 0;
     background-color: rgba(0, 0, 0, 0.5);
     z-index: -1;
 }

 #Alert>div {
     display: flex;
     width: 100%;
     height: 100%;
 }

 .block_2nd {
     display: flex;
     width: 100%;
     padding: 5vw;
     background-color: rgba(0, 0, 0, 0.5);
     margin: auto;
 }

 .alert_div {
     display: flex;
     flex-direction: column;
     margin: auto;
 }

 .alert_div>div {
     display: flex;
 }

 #Alert h2 {
     color: #fff;
     font-size: 6vw;
     margin: auto;
 }

 #Alert h3 {
     color: #fff;
     font-size: 4vw;
     margin: auto;
 }

 .container {
     position: relative;
     width: 100%;
     margin: 0 auto;
     background-color: #000;
     color: #fff;
 }

 #imgTitle {
     width: 100%;
 }



 #Award {
     display: flex;
     flex-direction: column;
     width: 100%;

 }

 #imgAward {
    width: 50vw;
    height: auto;
    margin: 0 auto;
 }

 .subtitle {
    display: flex;
    margin: 80px auto 2vw;

 }


 .subtitle img {
     width: 8vw;
     min-width: 30px;
     max-width: 60px;
     height: auto;
     margin: auto;
 }

 .subtitle img:first-child {
     margin-right: 1.5vw;
 }

 .subtitle img:last-child {
     margin-left: 1.5vw;
 }

 .subtitle p {
     font-size: min(5.2vw, 30px);
     color: #fffa58;
     margin: auto 0;
 }



 #Rule {
     display: flex;
     flex-direction: column;
     width: 100%;
     margin-top: 5vw;
     margin-bottom: 5vw;
 }

 .rules {
     display: flex;
     flex-direction: column;
     width: 38vw;
     margin: 0 auto;
 }

 .rules ol {
     width: 95%;
     margin: 0;
 }

 .rules ol:last-child li {
    /* margin-bottom: 0.1vw; */
    font-size: 20px;
    line-height: 24px;
    font-family: Tahoma;
 }

 .rules img {
     width: 90%;
     height: auto;
     margin: 0 auto;
 }

 .font-yellow {
     color: #fffa58;
 }

 #GoTop {
     position: fixed;
     display: none;
     width: min(10vw, 50px);
     bottom: 5vw;
     right: 5vw;
     z-index: 10000;
 }

 #GoTop img {
     width: 100%;
     height: auto;
 }

 #CoinLeft,
 #CoinRight {
     position: absolute;
     width: 24vw;
 }

 #CoinLeft {
     top: 62.1vw;
     left: 2px;
 }

 #CoinRight {
     bottom: clamp(380px, 52vw, 600px);
     right: 2px;
 }

 #CoinLeft img,
 #CoinRight img {
     width: 100%;
     height: auto;
 }

 @media (max-width: 750px) {
     .container {
         max-width: 750px;
     }

     .subtitle {
        margin-top: 0;
    }

     #imgAward {
         width: 100%;
     }

     #Award .subtitle {
         margin: 2vw auto 6vw;
     }

     #Rule .subtitle {
         margin: 0 auto 5vw;
     }

     .subtitle img:first-child {
         margin-right: 2.2vw;
     }

     .subtitle img:last-child {
         margin-left: 2.2vw;
     }

     #Rule {
         margin-top: 10vw;
     }

     .rules {
         width: 100%;
     }

     .rules ol:last-child li {
        /* margin-bottom: 4vw; */
        font-size: 12px;
        line-height: 14px;
     }

     .rules img {
         margin: 1.5vw auto;
     }

     #GoTop {
         bottom: 30vw;
     }

     #CoinLeft,
     #CoinRight {
         display: none;
     }
 }

 .footer_content {
     position: relative;
     display: flex;
     width: 100%;
     background-size: cover;
     background-repeat: no-repeat;
     background-position: bottom;
 }

 .footer_content .footer_img,
 .footer_content .footer_img img {
     position: relative;
     width: 100%;
     bottom: -2px;
 }



 @media (max-width: 750px) {
     .footer_content {
         background-size: cover;
         background-repeat: no-repeat;
         background-position: bottom;
     }
 }

 @media (max-width: 340px) {
     .subtitle p {
         font-size: min(4.8vw, 50px);
     }
 }

 /* Go Top按鈕 */
 .top_btn_div {
     position: fixed;
     bottom: 0px;
     text-align: right;
     max-width: 375px;
     width: 100%;
     z-index: 9999;
 }

 #top_btn {
     cursor: pointer;
     margin: 0 10px 10px;
 }

 #top_btn:hover {
     opacity: 0.6;
 }

 /* Go Top按鈕 END */


 /*-- header --*/
 .header {
     position: relative;
     z-index: 10000;
     width: 100%;
     background: rgb(0, 0, 0);
 }

 .header .header-container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0.6rem 1rem;
 }

 .header .header-container .logo {
     width: 120px;
     padding: 0 0.5rem 0 0;
 }



 /* 為桌面和筆記本電腦設定圖片大小 */
 .logo img {
     width: 130px;
 }

 .flex {
     display: flex;
 }

 /* 為手機設定圖片大小 */
 @media only screen and (max-width: 750px) {
     .logo img {
         width: 100px;
     }

     .header .header-container {
         padding-left: 0px;
         padding-right: 3px;
     }

     .language-pack .language-icon {
         padding: 0.2rem 0.8rem !important;
     }
 }



 .template-area {
     display: flex;
     flex-direction: column;
     align-items: center;

     margin-bottom: 5vw;
 }

 .image-container {
     position: relative;
     display: inline-block;

     margin-right: 10px;
     margin-left: 10px;

     /* 讓圖片並排顯示 */
 }

 .schedule_area img {
     width: 170px;
     border-radius: 10px;
     /* 圖片的圓角 */
 }

 .game_img {
     width: 220px;
     margin-bottom: 10px;
 }

 .game_text {
     text-align: center;
     font-size: 14px;
 }

 .overlay {
     position: absolute;
     font-size: small;
     top: 5px;
     left: 5px;
     background: #0c4f35;
     color: white;
     padding: 5px;
     border-radius: 10px;
 }

 .date-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: calc(100% / 4.5);

     color: white;
     display: flex;
     align-items: center;
     justify-content: center;
     border-bottom-left-radius: 10px;
     border-bottom-right-radius: 10px;
 }

 .not-started-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.2);
     border-radius: 10px;

 }

 .image-title {
     position: relative;
     width: 100%;
 }

 #title_image {
     width: 100%;
 }

 #title-text {
    position: absolute;
    top: 33%;
    left: 26%;
    color: #fffa58;
    font-size: 1.25vw;
 }

 #coin-animation {
    position: absolute;
    width: 56%;
    top: 34.5%;
    left: 7.5%;
 }

 #game_list {
    width: 50vw;
    display: flex;
    font-size: 13px;
    border-top: 1px solid rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
    /* padding-top: 10px;
    padding-bottom: 10px; */
    margin-top: 25px;
    justify-content: center;
    line-height: 43px;
    padding: 10px 20px;
 }

 #good_luck {
     text-align: center;
     position: absolute;
     top: 87%;
     left: 75%;
     width: 7vw;
     font-size: 1vw;
 }

 .tc-button {
     width: auto;
     padding: 6px 24px;
     min-width: 70px;
     text-align: center;
     font-size: 20px;
     font-family: Tahoma, sans-serif;
     font-weight: bold;
     letter-spacing: 0px;
     color: #fff;
     background: #c98805 0% 0% no-repeat padding-box;
     border: 2px solid #ffffff;
     border-radius: 20px;
     opacity: 1;
     cursor: pointer;
 }


 @media (max-width: 750px) {

    .tc-button {
        font-size: 12px;


    }

    #coin-animation {
        position: absolute;
        width: 80%;
        top: 51%;
        left: 11%;
    }

    #title-text {
    position: absolute;
    top: 52%;
    left: 22%;
    font-size: 4vw;
    font-weight: 400;
    }

    .container {
        background-color: #000;
    }

    .image-container {
        margin: 10px;
        align-content: flex-start;
    }

    .container .close-button {
        font-size: 10vw;
    }

    .game_img {
        width: 150px;
    }



    .schedule_area img {
        width: 120px;

    }


    .game_text {
        text-align: center;
        font-size: 11px;
        width: 150px;
    }

    .game_area {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }

    #game_list {
        width: 80vw;
        font-size: 2.5vw;
        line-height: 25px;
    }

    #good_luck {
        top: 85%;
        left: 77%;
        font-size: 2.4vw;
        width: 17%;

    }
 }


 /* Modal 視窗 */
 .modal {
     display: none;
     /* 預設隱藏 modal 視窗 */
     position: fixed;
     /* 固定 modal 視窗的位置 */
     z-index: 1000;
     /* 設定 modal 視窗的層級 */
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     /* 允許 modal 視窗中的內容滾動 */
     background-color: rgba(0, 0, 0, 0.4);
     /* 設定 modal 視窗的背景顏色和透明度 */
 }

 /* Modal 視窗內容 */
 .modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    border-radius: 10px;
    color: black;
    top: 50px;
    font: normal normal normal 20px/30px Tahoma;
    /* 設定 modal 視窗的頂部邊距 */
 }

 /* 關閉按鈕 */
 .close-button {
     position: absolute;
     top: 10px;
     right: 10px;
     cursor: pointer;
     background-color: transparent;
     border: none;
     color: #000;
     font-size: 2vw;
 }

 .close-button:hover {
     color: #ddd;
 }


 /* 隱藏圖片 */
 #coin-animation {
     display: none;
 }

 /* 動畫 */
 @keyframes coin-animation {

     0% {
         filter: brightness(100%);
         transform: scale(1)
     }

     25% {
         filter: brightness(150%);
         transform: scale(1)
     }

     26% {
         transform: scale(1.04)
     }

     27% {
         transform: scale(1)
     }

     28% {
         transform: scale(1.04)
     }

     29% {
         transform: scale(1)
     }

     50% {
         filter: brightness(100%)
     }

     75% {
         filter: brightness(120%)
     }

     78% {
         transform: scale(1)
     }

     79% {
         transform: scale(1.04)
     }

     80% {
         transform: scale(1)
     }

     81% {
         transform: scale(1.04)
     }

     82% {
         transform: scale(1)
     }

     to {
         transform: scale(1);
         filter: brightness(100%)
     }
 }

 #coin-animation {
     display: block;
     animation: coin-animation 3s infinite;

 }


 .language-pack:hover .language-icon {
     border: 2px solid #c2baff;
     letter-spacing: 0.2em;
     box-shadow: 0 0 25px #c2baff;
 }

 .language-pack:hover .language-icon span {
     color: #c2baff;
 }

 .language-pack .language-icon {
     display: flex;
     justify-content: space-evenly;
     position: relative;
     align-items: center;
     background: transparent;
     border-radius: 30px;
     border: 2px solid #ffffff;
     padding: 0.6rem 0.8rem;
     cursor: pointer;
     min-width: 80px;
     mix-blend-mode: difference;
     transition: 0.5s;
 }

 .language-pack .language-icon span {
     display: block;
     color: #ffffff;
     font-weight: 800;
 }

 .language-pack .language-icon .language::after {
     content: "/";
     margin: 0 0.3rem;
     font-size: 14px;
     font-weight: normal;
 }

 .language-pack .language-icon img {
     width: 24px;
     height: 24px;
     filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.2));
     margin-right: 5px;
 }

 .switch-list {
     position: fixed;
     display: flex;
     top: 5rem;
     right: 2rem;
     margin-right: 2rem;
     background: rgba(20, 20, 20, 0.97);
     padding: 1rem 1.8rem 2rem 1.8rem;
     z-index: 1000;
     border-radius: 10px;
     border: 4px solid #ffffff87;
 }

 .switch-list ul:nth-child(1) {
     margin-right: 22px;
 }

 .switch-list ul p {
     color: rgba(255, 255, 255, 0.4901960784);
     padding: 0.6rem 0 0.6rem 0.3rem;
 }

 .switch-list ul li::after {
     content: "";
     display: block;
     width: 140px;
     height: 0.5px;
     background-color: rgba(255, 255, 255, 0.368627451);
     text-align: center;
 }

 .switch-list ul li a {
     display: flex;
     color: rgba(255, 255, 255, 0.8549019608);
     padding: 0.8rem 0 0.8rem 1.3rem;
     transition: 0.3s;
     position: relative;
     text-decoration: none;
 }

 .switch-list ul li a:hover {
     filter: contrast(200%);
     transform: translate(-5px);
     transition: 0.3s;
     color: #c2baff;
 }

 .switch-list ul li .selected {
     color: #c2baff;
 }

 .switch-list ul li .selected span {
     display: block;
     width: 5px;
     height: 5px;
     position: absolute;
     left: 6px;
     top: 20px;
     background-color: #c2baff;
     border-radius: 50%;
 }

 .switch-list ul .last-nation::after {
     content: "";
     display: none;
 }

 @media (max-width: 750px) {
     .switch-list {
         position: absolute;
         display: flex;
         top: unset;
         right: unset;
         margin-right: unset;
         width: 100%;
     }

 }