@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;700&display=swap');
*{
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    box-sizing: border-box;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #1e1e1e;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #f1f1f1;
    border-radius: 5px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: gainsboro;
  }

/*---------------------------------------- NAVBAR SECTION ----------------------------------------*/

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 85px;
    z-index: 3;
}

.navbar img{
    padding-left: 10px;
    width: 85px;
    height: 85px;
}

.navbar ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    width: 50%;
    height: 100%;
}

.navbar ul li{
    display: inline;
    text-align: center;
    margin: 0 20px;
}

.navbar ul li a{
    cursor: pointer;
    font-weight: 500;
    color: white;
    font-size: 20px;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
.navbar ul li .active{
    border-bottom: 3px solid white;
}
.navbar ul li a:hover{
    border-bottom: 3px solid white;
    transition: 0.1s ease-in;
}

/*---------------------------------------- SIDEBAR SECTION ----------------------------------------*/

.navbar button{
    display: none;
    height: 100%;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
}

@media screen and (max-width: 700px){
    .navbar{
        position: fixed;
    }
    .navbar button{
        display: block;
    }
    .navbar ul{
        display: none;
    }
    
}

.sidebar{
    z-index: 1;
    top: 85px;
    position: fixed;
    right: 0;
    width: 70%;
    height: 100vh;
    background-color: rgb(30, 30, 30);
}
.sidebar ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    width: 100%;
    height: 100%;
    padding: 0;
}
.sidebar ul li{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 10%;
}
.sidebar ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.sidebar ul li a:hover, .sidebar .active{
    background-color: rgb(50, 50, 50);
}

/*---------------------------------------- LOADER SECTION ----------------------------------------*/

.loader-container{
    position: fixed;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    z-index: 100;
}
.loader-container div{
    width: 480px;
    height: 256px;
    position: absolute;
}
.random{
    width: 50%;
    height: 50%;
    overflow: hidden;
}
.unloaded{
    background: url(../assets/pawn-loader.svg) no-repeat;
    background-size: contain;
}
.loaded{
    background: url(../assets/pawn-loader-full.svg) no-repeat;
    background-size: cover;
    height: 256px;
    animation: loading 3s linear none infinite;
}
@keyframes loading{
    from{width: 0;}
    to{width: 100%;}
}

@media screen and (max-width: 550px) {
    .random{
        transform: scale(50%);
    }
}