*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    background-color: #131313;
    margin: 0px;
    padding: 0px;
    font-family: Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
}
header{
    display: flex;
    justify-content: space-between;
    background-color:#131313;
    color: white;
    justify-items: center;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 60px;
}
.special{
    padding-top: 15px;
}
.header-nav{
    display: flex;
    margin: 0 10px;
    justify-items: center;
}
.head{
    display: flex;
    width: 20%;
    margin: 0 10px;
    justify-items: center;
}
.head-text{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 8px;
    margin-left: 5px;
    font-size: 14px;
}
small{
    font-size: 9px;
}
.header-nav a{
    color: white;
    text-decoration: none;
    justify-content: space-evenly;
    margin:0 10px;
    justify-items: center;

}
.pages a{
    color: rgba(255, 255, 255, 0.6);
}
.pages a:hover{
    color: white;
}
.pages2 a:hover{
    color: rgba(255, 255, 255, 0.6);
}

.icon{
    margin-right: 10px ;
}
.start{
    background: linear-gradient(to right,#33a9dc,#4c83ff); 
    padding: 8px 12px;
    border-radius: 3px;
}
.start1{
    background: linear-gradient(to right,#33a9dc,#4c83ff); 
    padding: 5px 8px;
    border-radius: 3px; 
}
.black-bg{
   border:1px solid gray;
   padding: 8px 12px;
   border-radius: 3px;
}

/* main */
.trend-main{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 97%;
    margin: 0px auto 90px;
}
.first-section{
    /* margin-top: 90px; */
    text-align: center;
}

.search-section, .first-section{
    width: 100%;
    background-color: #252525;
    font-family: Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    height: 70px;
    box-sizing: border-box;
    padding-top: 12px;
    margin-top: 90px;
}
.for-search{
    display: flex;
    width: 98%;
    justify-content: space-between;
    margin: 0px auto;

}
.label{
    margin: 0px;
    padding: 0px;
    padding: 12px 36px 12px 15px;
    border: none;
    outline: none;
}
.sort-it, .search-input{
    background-color: #4e4e4e;
    height: fit-content;
}
.search-input{
    width: 66%;
}
.label, select{
    color: white;
    font-size: 14px;
}
select, input{
    background-color: #3b3b3b;
    margin: 0px;
    padding: 0px;
    padding: 12px 36px 12px 15px;
    border: none;
    outline: none;
}
select{
    padding: 14px 0px 14px 15px;
}
input{
    padding: 14px 12px;
    color: white;
    font-size: 16px;
    width: 83%;
}
.search-input i{
    padding-left: 6px;
    color: white;
}
::placeholder{
    font-size: 14px;
    color: #a7a5a5;
}


.pagination{
    display: flex;
    gap: 10px;
    justify-content: center;
}
.pagination a:link, .pagination a:visited{
    font-size: 19px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-decoration: none;
    color: white;
    height: fit-content;
    background-color: #4e4e4e;
    padding: 12px;
}

.disabled{
    pointer-events: none;
    cursor: not-allowed;
    color: rgb(158, 157, 157) !important;
}
.pagination .current:link{
    padding: 12px 18px;
    pointer-events: none;
}
.codebox-main{
    text-decoration: none;
    color: white;
}

.cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.img-box1{
    text-align: center;
    background-color: #3b3b3b;
    padding-top: 12px;
    height: 173px;
    box-sizing: border-box;
}
.img-box1 img{
    width: 90%;
    height: 160px;
    position: relative;
    top: 0.3em;
}

.img-box1:hover{
    padding-top: 7px;
}

.trend-username, .username{
    background-color: #252525;
    padding: 20px 16px 30px;
    height: 120px;
}

.feature-username{
    height: 220px;
}

.code-desc{
    color: #a3a0a0;
    font-size: 12px;
}
.code{
    margin: 0px;
    padding: 0px 5px;
    width: fit-content;
    background: linear-gradient(#33a9dc,#4c83ff);
    border-radius: 2px;
    font-size: 10px;
}

.title{
    padding: 0px;
    margin: 0px;
    font-size: 1em;
    letter-spacing: 0.04em;
}
.rank-name, .rank-name-p{
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.rank-name-p{
    padding: 0px;
    margin: 0px;
    font-size: 0.9em;
}
.update{
    background-color: #333333;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.update-p{
    display: flex;
    justify-content: space-evenly;
    width: 92%;
    height: 40px;
    margin: 0px auto;
    padding-top: 10px;
    background-color: #4e4e4e;
}

.update-p p{
    width: 33.3%;
    height: 20px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    font-size: 0.8em;
}
.update-p p i{
    margin: 0px 10px;
    font-size: 1.2em;
}
.haveborder{
    border-left: 1px #2c2c2c solid;
    border-right: 1px #2c2c2c solid;
}
/* footer */
footer{
    
    background-color:#252525;
    bottom: 0;
    width: 100%;
    padding: 50px 0;
    font-family: Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    
}
.footer-content{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
}
.footer{
    display: flex;
    flex-direction: column;
    /* margin: 20px; */
    
}
.footer-logo a{
    color: #eee;
    text-decoration: none;
    margin: 0 5px;
    border: 1px solid #eee;
    padding: 2px 3px;
}
.footer-logo img{
    margin-bottom: 15px;
}
.footer-interest a{
    display: flex;
    flex-direction: column;
    color: #eee;
    text-decoration: none;
    line-height: 30px;
    font-size: 14px;
}
.footer-interest h4{
    font-size: 16px;
    text-transform: uppercase;
    padding-bottom: 10px;
    color:  rgba(255, 255, 255, 0.6);
    opacity: .6;
}
.footer-contact{
    display: block;
    color: #eee;
    
}
.footer-contact p{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 17px;
}

/* Mobile Responsive CSS*/

@media (max-width:938px){
    .pages{display: none;}
}

@media (max-width:768px){
    .text-eclipse{display: none;}
    .pages{display: none;}
    .footer-content{flex-direction: column;}
    .footer-logo a{display: none;}

}
@media (max-width:395px){
    .header-nav a{margin: 0 3px;}
    .header-nav{margin: 0 3px;}
}
@media (max-width:300px){
    .head-text{display: none;}
    .header-nav a{margin: 0 2px;}
    .header-nav{margin: 0 2px;}
}

@media screen and (max-width: 1200px){
    .trend-main{
        width: 90%;
    }
    .sort-it, .search-input{
        display: none;
    }
    .search-section{
        padding-left: 52%;
        
    }
    
}
@media screen and (max-width: 912px){
    .cards{
        display: grid;
        grid-template-columns:repeat(3, 1fr);
        gap: 20px;
    }
}
@media screen and (max-width: 646px){
    
    .cards{
        display: grid;
        grid-template-columns:repeat(2, 1fr);
        gap: 20px;
    }
}
@media screen and (max-width: 425px){
    .cards{
        display: grid;
        grid-template-columns:1fr;
        gap: 20px;
    }
    .feature-username{
        height: 180px;
    }
}