@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html, body{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    /* overflow-x: hidden; */
    scroll-behavior: smooth;
    /* font-family: Arial !important; */
    font-family: 'Poppins', sans-serif;
}

.lightBody{
    color: rgb(0, 0, 0);
    background-color: white;
}

#worldTable{
    overflow: auto;
}

h1{
    font-size: 50px;
}

.section{
    text-align: center;
}

.fullHeight{
    text-align: center;
    height: 100%;
}

.section, .fullHeight{
    background-color: rgb(0, 0, 0);
    color: white;

    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 60px;    
    padding-top: 50px;
}

.backToTop{
    position:fixed;
    padding: 20px;
    right: 0;
    bottom: 50%;
    cursor: pointer;
    color: white;
    border-radius: 4px;
    background-color: rgba(109, 5, 109, 0.6);
    z-index: 99999;
    text-decoration: none;

    opacity: 1;
    transition: opacity .5s;
}

.underLine{
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: rgb(172, 172, 172);
    /* bottom: 30px; */
    left: 25%;
}

.pageTitle{
    position: relative;
    padding-bottom: 20px;

    font-size: 50px;
    text-align: center;
    color: rgb(55, 175, 255);
}

/* #region Circle Image */
.circleImgContainer{
    text-align: center;
    padding-bottom: 50px;
}

.circleImgContainer a{
    display: inline-block;
    text-decoration: none;
    color: white;
    width: 400px;
}

.circleImg{
    border-radius: 50%;
    padding: 50px;  
}

.backgroundText{
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: white; 
    text-transform: uppercase; 
    text-align: center;  
    backface-visibility: hidden; 
    white-space: pre-line;
    width: 80%;
    height: 80%;
    background-color: rgba(0,0,0, 0.6);
    border-radius: 50%;
    display: none;
    
    font-size: 1.7rem; 
    padding-top: 60px;
}

.circleImgContainer a:hover .backgroundText{
    display: block;
}

.shape{
    -webkit-shape-outside: circle(50% at 50% 50%);
    shape-outside: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%); 
    position: relative; 
}

.photoContainer{
    margin-bottom: 20px;
}

.description{
    white-space: pre-line;
    padding-bottom: 100px;
}
/* #endregion */


/* #region Profile */
.profileContainer{
    /* text-align: left; */
    white-space: pre-line;
    padding-bottom: 100px;
    margin-top: 50px;
    width: 100%;

    display: flex;
    flex-flow: nowrap;
    flex-direction: row;
    justify-content: center;
}

.roundImage{
    border-radius: 20%;
    width: 30%;
    height: 30%;
    /* width: 25%; */
    /* float: right; */
}

.profileText{
    /* margin-top: -50px; */
    /* margin-right: 200px; */
    /* width: 100px; */
    text-align: left;
    margin-right: 100px;
    font-size: 25px;
}

.socialMediaContainer{
    position: relative;
    text-align: center;
}

.socialMediaContainer a{
    margin: 10px;
    width: 100px;
    display: inline-block;
}

.socialMediaContainer a:hover{
    width: 130px;
}

.socialMediaImg{
    border-radius: 50%;
    width: 90%;
}

/* #endregion */


/* #region Video */
.videoContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.video{
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 60px;
}
/* #endregion */


/* #region Chart */
.chartContainer{
    overflow-x: hidden;
    overflow-y: hidden;
}

.chart{
    width: 100%; 
    height: 800px;
    /* background-color: rgb(255, 255, 255); */
}

#chartCityId{
    font-size: 50px;
    display: none;
}
/* #endregion */


/* #region Navigation Bar */
.naviContaioner{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* padding: 100px; */
    width: 100%;
}

.naviBtn, .prePageBtn, .nextPageBtn{
    /* background-color: rgba(128, 128, 128, 0.295); */
    background-image: linear-gradient(92.88deg, #455EB5 9.16%, #5643CC 43.89%, #673FD7 64.72%);
    border: indigo;
    color: rgb(243, 243, 243);
    padding: 15px 60px 15px 60px;
    text-align: center;
    text-decoration: none;
    margin: 30px;
    border-radius: 20px;
    cursor: pointer;
}

.prePageBtn, .nextPageBtn{
    font-size: 10px;
    padding: 10px 25px 10px 25px;
}

.nextPageBtn:hover, .prePageBtn:hover{
    background-color: rgb(35, 2, 59);
}

.naviBtn:hover{
    background-color: rgb(56, 56, 56);
}

.resopnsiveBtn{
    display: none;
}
/* #endregion */


/* #region Taiwan navigation bar */
.twNaviContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.twBtn, .worldBtn{
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 0 50px 10px 50px;
}

.twBtn:hover, .worldBtn:hover{
    color: rgb(187, 187, 187);
}

.twBtn.onTaiwan{
    color: cyan;
}

.worldBtn.onWorld{
    color: cyan;
}

.btnLine{
    position: absolute;
    width: 20%;
    height: 3px;
    background-color: #fff;
    /* bottom: 30px; */
    left: 40%;
}

/* #endregion */


/* #region rickroll */
.rickrollContainer{
    padding: 0;
}

.rickrollImg{
    width: 25%;
    height: 25%;
    padding: 30px;
}
/* #endregion */


/* #region Vaccine btn */
/* CSS */
.button-64 {
    align-items: center;
    background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-family: Phantomsans, sans-serif;
    font-size: 20px;
    justify-content: center;
    line-height: 1em;
    /* max-width: 100%;
    min-width: 140px; */
    width: 100%;
    padding: 3px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
}

.button-64:active,
.button-64:hover {
    outline: 0;
}

.button-64 span {
    background-color: rgb(5, 6, 45);
    padding: 16px 24px;
    border-radius: 6px;
    width: 100%;
    height: 100%;
    transition: 300ms;
}

.button-64:hover span {
    background: none;
}

#game_warning_text{
    display: none;
}

@media (min-width: 768px) {
  .button-64 {
    font-size: 24px;
    min-width: 196px;
  }
}
/* #endregion */

@media(max-width: 1100px){
    /* Responsive button */
    .normal{
        display: none;
    }

    .resopnsiveBtn{
        display: block;
    }
    
    .naviBtn{
        margin: 15px;
    }

    .roundImage{
        width: 40%;
    }

    .profileText{
        margin-right: 45px;
        font-size: 20px;
    }

    #game_warning_text{
        display: block;
    }

    #game_section{
        overflow: scroll;
    }
}


@media(max-width: 600px){
    .fullHeight{
        padding-right: 5px;
        padding-left: 5px;
    }

    .section{
        padding-left: 50px;
        padding-right: 50px;
    }

    .circleImgContainer a{
        width: 300px;
    }

    .circleImg{
        padding: 0px;
    }
    
    .backgroundText{
        width: 100%;
        height: 100%;
    }
    
    
    /* #region Profile */
    .profileContainer{
        /* flex-flow: row-reverse; */
        flex-direction: column-reverse;
    }

    .roundImage{
        /* float: none; */
        width: 100%;
    }

    .profileText{
        /* margin-right: 100px; */
        font-size: 20px;
        margin: 50px;
        margin-left: 10px;
    }
    
    .socialMediaContainer a{
        margin: 10px;
        width: 80px;
    }

    .socialMediaContainer a:hover{
        width: 100px;
    }

    .socialMediaContainer a{
        margin: 0;
    }
    /* #endregion */
    

    .chartContainer{
        overflow-x: scroll;
        overflow-y: scroll;
    }

    .chart{
        width: 800px; 
        height: 600px;
    }

    #total-data-chart{
        height: 800px;
    }

    #chartCityId{
        font-size: 30px;
    }

    /* #region Tw table */
    #twTable{
        overflow-x: scroll;
    }
    /* #endregion */


    .video{
        /* position: absolute; */
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .naviBtn{
        margin: 10px;
    }

    .prePageBtn, .nextPageBtn{
        margin: 10px;
    }

    .reference{
        overflow-x: scroll;
    }

    .pageTitle{
        overflow-y: scroll;
        font-size: 30px;
    }

    .underLine{
        left: 15%;
        width: 70%;
    }
}

@media(max-width: 400px){
    .circleImgContainer a{
        width: 150px;
    } 
    
    .naviContaioner{
        overflow-y: scroll;
    }
    
    .twBtn, .worldBtn{
        font-size: 15px;
        padding: 0 10px 0 10px;
    }

    .pageTitle{
        overflow-y: scroll;
        font-size: 20px;
    }

    .backgroundText{
        padding-top: 30px;
        font-size: 15px;
    }
}