@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
        height: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        font-family: 'Noto Sans TC', sans-serif;
        background: #19263b;
    }

footer{
    margin-top: auto;
}

/*Background*/
.bg-img{
    background: url('../img/website-bg-2.png');
    background-size: cover;
    background-repeat: no-repeat;
}



/*Help Class*/
.cursor-pointer{
    cursor: pointer;
}

/*Btn*/
.btn-tab{
    background: #ffffff40;
    color: white;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 12px;
}

    .btn-tab.active{
        background: #f7b900;
        box-shadow: inset 0 0 0px 4px white;
    }

    .btn-tab.active *{
         color: #000;
    }

/*Navbar*/  
nav.navbar{
    background: #f7f7f7;
}

nav .login-btn{
    background: #8BC34A;
    border-radius: 0;
    color: white;
    position: absolute;
    right: 0;
    padding: 10px 40px;
}


 nav .login-message{
    animation: slide-in .8s cubic-bezier(0.32, 0.18, 0.62, 0.88);
 }

@keyframes slide-in {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}


/*Hover*/
.hover:hover{
    filter: brightness(1.2)!important;
    transition: 0.3s;
}


/*Main Owl Slider*/
#main-carousel{
    border-bottom: 6px solid #c1e1d3;
}

    #main-carousel .owl-item.active.center:before {
        content: "";
        background: radial-gradient(transparent 69%,black);
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 1;
       
    }


    @media (min-width: 576px){
        #main-carousel.owl-item picture img {
            width: 100%;
            height: auto;
        }
    }

#main-carousel .owl-contents{
    display: flex;
    position: relative;
    justify-content: center;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

    #main-carousel .owl-contents .owl-text{
        color: #ffffff;
        text-shadow: -7px 2px 13px #161414;
        font-weight: bold;
        font-size: 2rem;
        letter-spacing: 5px;
    }



    .call-to-action-btn{
        background: linear-gradient(0deg,#655ee1, #2386bf);
        color: white;
        font-size: 2rem;
        padding: 30px;
        border-radius: 0;
        text-align: center;
        width: 100%;
    }

    #StartGameBtn{
        border: 6px solid #c1e1d3;
        border-radius: 13px;
        font-size: 3rem;
        font-weight: bold;
        letter-spacing: 8px;
        width: 100%;
        max-width: 500px;
        margin: 18px auto;
        box-shadow: inset 0px -20px 19px 0px #00000038, -12px 14px 14px 0px #000000ab;
        transform: translateY(-50px) skewX(-5deg);
        z-index: 1;
        position: absolute;
        left: 0;
        right: 0;
        padding: 25px !important;
    }
 


/*Top 3 Ranking List*/
.ranking-list-bg {
    position: relative;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 58px;
    background: #502222;
    margin-right: 6px;
    box-shadow: inset 0 0 0px 4px #896363, 
                0 0 0px 7px #c9a34d;
}

    .ranking-list-bg:before {
        /* content: ""; */
        position: absolute;
        background: url('../img/ranking-bg.png');
        background-size: 100%;
        background-repeat: no-repeat;
        left: 0;
        top: 0;
        width: 100%;
        height: 353px;
        z-index: -1;
    }

    .ranking-list-bg .user-position{
        position: absolute;
        top: -30px;
        left: 0;
        font-size: 2.5rem;
        font-family: "Alfa Slab One", serif;
        color: #ff9e56;
        text-shadow: 0px 1px 9px #442607;
    }

    .ranking-list-bg .user-name{
         font-weight: bold;
    }

    .ranking-list-bg .user-score{

    }



/*Small Ranking List*/
.ranking-list-sm{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 50px;
    width: 100%;
    border-radius: 3px;
    background: #ede8df;
    border: 3px solid #896363;
    box-shadow: inset 0 0 2px 2px #bfb196, 0 0 0px 4px #c9a34d;
}

    .ranking-list-sm .user-position{
        font-size: 2rem;
        font-family: "Alfa Slab One", serif;
    }

    .ranking-list-sm .user-name,
    .ranking-list-sm .user-school-name{
        font-size: 0.8rem;
    }


    .ranking-list-sm .user-name{
        font-weight: bold;
    }

    .ranking-list-sm .user-school-name{

    }

    .ranking-list-sm .user-score{

    } 



/*Ranking List*/
.rank-list-main{
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #ffffff38;
    border-radius: 6px;
}

 
/*Rank Body, 4-10 Position*/
.rank-list-body{
    background: #232c3a;
    padding: 20px 20px;
}

.rank-list-body .rank-list-item{
    font-size: .85rem;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: left;
    border-bottom: 1px dashed #ffffff52;
} 

    .rank-list-item .rank-position{
        width: 10%;
    }

    .rank-list-item .rank-name{
         width: 20%;
    }
    .rank-list-item .rank-school{
        width: 60%;
    }
    .rank-list-item .rank-score{

    }


/*Rank Header, Top 3*/
.rank-list-header{
    padding: 18px 10px;
    background: linear-gradient(0deg, #43536e, #1f2a3a );
}
.rank-list-header .top-user-list{
    display: flex;
    justify-content: space-evenly;
    color: #fff;
}

    .rank-list-header .top-user-list .top-user{
        position: relative;
        text-align: center;
        line-height: 100%;
        font-size: 0.85rem;
    }

    .rank-list-header .top-user-list .top-user img.thumbnail{
        box-shadow: 0 0 0px 4px #ffffff69;
     }

    .rank-list-header .top-user-list .top-user .user-score{
        font-size: 1rem;
        font-family: 'Alfa Slab One';
        color: #fff;
    }

    .rank-list-header .top-user .rank-position{
        font-size: 1.5rem;
        font-family: "Alfa Slab One", serif;
        position: absolute;
        top: 0;
    }



/*Features Player*/
.features-player{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 10px;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, #1f2a3a, #43536e );
    box-shadow: inset 0 0 0px 1px #ffffff30;
    color: #fff;
    border-radius: 12px;
    padding: 40px;
}

    /*Features Player, Player Thumbnail*/

    .features-player .player-thumbnail>img{
        object-fit: cover;
        border: 1px solid #ffffff36;
        width: 100px;
    }

    .features-player .player-name{
        font-size: 1rem;
        font-weight: bold;
    }

    /*Player Details*/
    .features-player .player-details{
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    .features-player .player-details .player-total-score{
        color: #a2f343;
    }

    .features-player .player-details .player-total-time{
       
    }


/*Divider with Text*/
.divider-with-text{
    text-align: center;
}

    .divider-with-text:before{
        content: "";
        border-bottom: 1px solid black;
        width: 30%;
        height: 19px;
        position: absolute;
        right: 0;
        transform: translateX(0px) translateY(-6px);
        margin-right: 70px;
    }

    .divider-with-text:after{
        content: "";
        border-bottom: 1px solid black;
        width: 30%;
        height: 19px;
        position: absolute;
        left: 0;
        transform: translateX(0px) translateY(-30px);
        margin-left: 70px;
    }



/*hr*/
hr{
    border-bottom: 1px solid #ffffff7a;
    margin: 20px 0;
}



/*Backdrop Background*/
.backdrop-bg-img{
    background: url('../img/backdrop-bg.png'), rgb(0 26 59);
    background-size: cover;    
}