@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    height: 100vh;
    background-color: black !important;
    font-family: "Poppins", sans-serif;
}
body a{
    text-decoration: none;
    color: white;

    &:hover{
        color: #FE9800;
    }
}

.navbar{
    background-color: white !important;
}
.navbar .navbar-brand img{
    width: 150px;
}
.nav-item .nav-link{
    font-size: 14px;
    color: black !important;
    padding: 0 12px !important;
    transition: color 0.3s ease;
    background-image: linear-gradient(to right, #FE9800 0%, #FE9800 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-clip: text;
    transition: background-size 0.5s ease, color 0.4s ease;
}
.nav-item .nav-link:hover {
    background-size: 100% 100%;
    color: transparent !important;
}
.nav-item .active{
    color: #FE9800 !important;
}

.custom-btn{
    background-color: #010f1e;
    border: none;
    padding: 5px 25px;
    border-radius: 20px;
    position: relative;
    color: #ffffff;
    z-index: 1;
    transition-duration: .7s;

    &::before{
        content: "";
        height: 100%;
        width: 0;
        background-color: #feeed7;
        position: absolute;
        border-radius: 20px;
        left: 2px;
        top: 2px;
        z-index: -1;
        opacity: 0;
        transition-duration: .6s;
    }

    &:hover{
        background-color: #FE9800;
    }
}
.custom-btn:hover::before{
    width: 100%;
    opacity: 1;
}
.btn-active{
    background-color: #FE9800;
    color: #FE9800;

    &::before{
        width: 100%;
        opacity: 1;
    }
}
.border-btn{
    color: #FE9800;
    float: right;
}

.dropdown .dropdown-toggle{
    font-size: 14px;

    &:hover{
        color: #FE9800;
    }

    &:focus{
        box-shadow: none;
    }
}

.dropdown .dropdown-item{
    font-size: 13.9px;

    &:hover{
        background: linear-gradient(90deg, #feeed7 0% , white 80%);
        color: #FE9800;
    }
}

.main-body{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.sidebar{
    width: 15%;
    padding: 20px;
    padding-bottom: 10px;
    background-color: #0C0D14;
    border-radius: 10px;
    height: calc(100vh - 71.22px);
    overflow-y: auto;
    scrollbar-width: none; 
    position: relative; 
}
.sidebar .toggle{
    position: absolute;
    right: -4px;
}
.sidebar a{
    display: block;
    font-size: 13.9px;
    padding-bottom: 12px;
    transition-duration: .3s;
    position: relative;
    font-weight: 400;

    &::before{
        content: "";
        width: 2px;
        height: 0%;
        background-color: #FE9800;
        position: absolute;
        top: 30%;
        left: -10px;
        transform: translateY(-45%);
        transition-duration: .3s;
    }
}
.sidebar a:hover::before{
    height: 60%;
}
.sidebar i{
    font-size: 16px;
    padding-right: 7px;
    color: #FE9800;
}
.sidenav-active{
    color: #FE9800;

    &::before{
        height: 60% !important;
    }
}
.scroll{
    width: 94%;
    padding: 0 30px;
    height: calc(100vh - 71.22px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;        
    -ms-overflow-style: none; 
    
    &::-webkit-scrollbar{
        visibility: hidden;
    }
}
.h-content{
    width: 85%;
    transition: width .2s ease;
}

.recent{
    padding: 20px 0;
    color: white;
    display: flex;
    align-items: center;
}
.recent .rec-img img{
    width: 100px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}
.games{
    padding: 20px 0;
    width: 100%;
}
.game-card{
    border-radius: 20px;
    text-align: left;
    position: relative;
}
.game-text{
    position: absolute;
    bottom: -80px;
    left: 0;
    backdrop-filter: blur(20px);
    width: 100%;
    padding: 0 0 5px 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.119);
    transition-duration: .5s;
    opacity: 0;
    color: white;
}
.game-card:hover .game-text{
    bottom: 0;
    opacity: 1;
}
.game-card img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}
.game-card .game-title{
    font-size: 16px;
    padding-top: 12px;
    margin-bottom: 3px;
    color: white;
}
.game-card .game-cate{
    color: white;
    font-size: 14px;
    margin: 0;
}

.title{
    font-size: 34px;
    font-family: "Open Sans", sans-serif;
    text-align: left;
    padding-bottom: 20px;
    font-weight: 700;
    color: white;
}
.title span{
    color: #FE9800;
}
.more .title{
    font-size: 24px;
    color: white;
}
.more .game-card{
    border-radius: 8px;
}
.more img{
    height: 100px;
    border-radius: 5px;
}
.more .game-title{
    font-size: 13px;
    padding-top: 10px;
    font-weight: 400;
}
.more .game-cate{
    font-size: 11px;
}

.rec-games .title{
    font-size: 24px;
    color: #FE9800;
}
.rec-games .game-card{
    margin-bottom: 20px;
}

.rel .game-card img{
    height: 85px;
}
.scroll iframe{
    height: 85vh;
    width: 100%;
    border-bottom: 2px solid white;
}

footer{
    padding-top: 25px;
    padding-bottom: 1px;
    color: white;
    text-align: center;
}
footer span:hover{
    color: #FE9800;
}
footer p{
    padding: 5px 0;
    border-top: 1px solid;
    margin-bottom: 0;
    border-image: linear-gradient(90deg,rgba(131, 58, 180, 0) 10%, rgba(255, 255, 255, 1) 50%, rgba(252, 176, 69, 0) 90%) 30;
}

.nav-bar img{
    width: 150px;
}
.login{
    background-image: url(images/login-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;    
    position: relative;   
}
.log-title{
    font-size: 24px;
    color: #feeed7;
    text-align: center;
    margin: 0;
}
.sub-title{
    font-size: 14px;
    padding-top: 5px !important;
    margin-top: 0;
    text-align: center;
    padding-bottom: 25px;
}
.login form{
    width: 250px;
    border: 1.5px solid rgba(255, 255, 255, 0.379);
    backdrop-filter: blur(20px);
    padding: 25px 30px 50px 30px; 
    border-radius: 10px;
    background-color: #010f1e2b;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.login .input-group{
    padding-bottom: 20px;
}
.login input{
    width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
    margin-top: 10px;
    border-radius: 50px;
    border: 0;
    background-color: #feeed7;

    &:focus-visible{
        outline: none;
    }
}
.login form .custom-btn{
    background-color: #FE9800;
    width: auto;
    padding: 8px 25px;

    &:hover{
        background-color: white;
        color: #FE9800;
    }
}
.login p{
    font-size: 12px; 
    margin-bottom: 0;
    padding-top: 15px;
}
.login a{
    text-decoration: underline;
    color: #FE9800;
}

.scroll .user-img{
    width: 100%;
    height: 151px;
    border-radius: 50%;
    object-fit: cover;
}

.user-detail{
    color: white;
}
.user-detail .name{
    color: #FE9800;
}
.user-detail p{
    margin-bottom: 5px;
    font-size: 14px;
}
.acc .title{
    font-size: 24px;
}

.stats p{
    font-size: 14px;
}
.fa-angle-right{
    display: none;
}
.h-sidebar{
    width: 6%;
    text-align: center;
    transition: width .2s ease;
}
.h-sidebar i{
    font-size: 18px;
    margin: 8px 0;
}
.h-sidebar span{
    font-size: 0;
}
.h-sidebar .fa-angle-right{
    display: block;
}
.h-sidebar .fa-angle-left{
    display: none;
}

@media (max-width: 576px){
    .sidebar .toggle{
        position: static;
    }

    .scroll{
        width: 75%;
    }
    .h-content{
        width: 90%;
    }

    .sidebar{
        width: 10%;
        text-align: center;
        padding: 10px 0;
        padding-left: 5px;
    }
    .h-sidebar{
        width: 25%; 
        text-align: left;
    }
    
    .sidebar span{
        font-size: 0;
    }
    .h-sidebar span{
        font-size: 10px;
    }
    .h-sidebar i{
        font-size: 10px;
        padding-right: 3px;
    }
}