*{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: 0;
    
    text-decoration: none;
}

html,body{
    background: #101012;
    overflow: scroll;
}

nav{
    height: 60px;
    background: #0e0e10;
    bottom: 0;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    box-shadow: 0 0 4px gray;
}

nav label{
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    color: whitesmoke;
}

nav label:nth-child(1){
    color: #00cc00;
}

nav label i{
    height: 20px;
}

nav label a{
 font-size: 15px;
 
}

.nav{
    height: 65px;
    background: #0b0b10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
}

.nav img{
    height: 60px;
    width: 60px;
    margin: 0px 5px;
    margin-top: 3px;
}

.nav ul label{
    padding: 20px;
    margin: 0 10px;
    color: whitesmoke;
    font-size: 20px;
    font-weight: 500;
}

#home,#board{
    display: flex;
    flex-direction: column;
    padding-bottom: 150px;
    color: white;
    padding-top: 70px;
}

#home h1{
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 80px;
    margin: 50px auto;
    background: ;
    color: ;
    opacity: 0.6;
}

#home button{
    background: #009900;
    padding: 12px;
    border: 3px solid #007700;
    margin: 0px auto;
    border-radius: 5px;
    opacity: 1;
    
}

#hbox{
    background: #0c0c0c;
    width: 90%;
    border-radius: 10px;
    margin: 10px auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: whitesmoke;
    box-shadow: 0 0 6px grey;
}

#hbox h2{
    text-align: center;
    padding: 20px;
    padding-top: 0;
    margin: 5px;
    font-size: 38px;
}

#hbox span{
    background: #070707;
    border: 4px solid #111;
    padding: 10px 10px;
    width: 390px;
    border-radius: 10px;
    text-align: center;
    margin: auto;
    font-size: 36px;
    margin: 10px;
    font-weight: 1000;
}

#home a{
    height: 60px;
    width: 90%;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    font-weight: 1000;
    border-radius: 2px;
    margin-bottom: 0;
}

#home a i,#info a i{
    margin: 10px;
}

#dis{
    background-color: #5865F2;
    color: white;
}

#yt{
    background-color: red;
    color: white;
    margin: 10px;
}

#board,#rules,#about,#ranks{
    background: #101012;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: scroll;
    display: none;
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
}

#moneyb,#killb,#playb{
    padding-bottom: 80px;
}


#card{
   padding: 10px;
   width: 91%;
   margin: 20px auto;
   border-radius: 10px;
   background: #090909;
   color: white;
   display: flex;
   flex-direction: column;
   box-shadow: 0 0 3px gray;
}

#card label{
    margin: 5px 10px;
    
}

#card h1{
    margin: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;                                      
}

#keys{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

#box2{
   border-radius: 10px;
   background: #090909;
   color: white;
   display: flex;
   flex-direction: column;
   width: 90%;
   align-items: center;
}

#card img{
   width: 120px;
}

#card h2{
    margin: auto;
    font-size: 40px;
    
}

#popp{
    background: rgb(0,0,0,0.4);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: scroll;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#info button{
    background: #00abff;
    color: white;
    font-size: 25px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin: 10px auto;
    font-weight: 1000;
    width: 280px;
}
#info{
    height: 250px;
    width: 90%;
    background: #111;
    color: white;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

#info a{
    height: 60px;
    width: 280px;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    font-weight: 1000;
    border-radius: 2px;
    margin-bottom: 0;
}

#info h2{
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#card button{
    background: #00abff;
    color: white;
    font-size: 25px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin: 10px;
    font-weight: 1000;
}

#selectbtn{
    display: flex;
    width: 95%;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0;
    margin: 0px auto;
    border-bottom: 2px solid grey;
}

#selectbtn button{
    background: #151515;
    border: none;
    font-weight: 1000;
    width: 50%;
    height: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 0px;
    font-size: 20px;
    color: white;
    border-radius: 10px 0 0 10px;
    transition: .2s;
}

#selectbtn button:nth-of-type(2){
    border-radius: 0px 10px 10px 0px;
}

#selectbtn #mbtn{
    background: green;
}

#bbox{
    background: #151515;
    height: 60px;
    margin: 10px auto;
    width: 95%;
    display: flex;
    align-items: center;
    padding: 3px 5px;
    border: 3px solid #202020;
    border-radius: 10px;
}



#bbox span{
    margin-left: auto;
    padding: 10px;
    font-weight: 1000;
    font-size: 20px;
}

#imgbox,#imgbox2,#imgbox3,#imgbox4{
    height: 50px;
    width: 50px;
    background: url("steve.jpg");
    background-size: cover;
    margin: 0 5px;
    margin-right: 10pz;
    align-items: center;
    display: flex;
    justify-content: center;
}

#imgbox2{
    background: url("top.png");
    background-size: cover;
}

#imgbox4{
    background: url("silver.png");
    background-size: cover;
}

#imgbox3{
    background: url("sec.png");
    background-size: cover;
}

#mname{
    font-size: 18px;
}

.rule {
  background: #191919;
  padding: 15px 20px;
  width: 90%;
  border-left: 4px solid #00c8ff;
  margin-bottom: 25px;
  border-radius: 6px;
  color: white;
  margin: 10px auto;
}

.rule:nth-last-child(1){
    margin-bottom: 100px;
}

.rule strong {
  color: #00c8ff;
}

#rules h1{
  text-align: center;
  color: #00c8ff;
  margin: 20px;
}

#about{
    color: white;
    overflow: scroll;
    
}

#about span{
    margin: 100px;
    color: gray;
}
/* About Section Styling */
#about.sec {
    background: #0f0f0f; 
    padding: 60px 0;
    border-radius: 20px;
    color: #e4e4e4;
    align-items: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
    font-family: 'Poppins', sans-serif;
}

/* Heading Style */
#about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00ff9d, #2dffd1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Paragraphs */
#about p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #cfcfcf;
    width: 90%;
}

 #hboxgrid{
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

#social{
    display: grid;
        grid-template-columns: repeat(2,1fr);
}
#about {
    
    animation: fadeIn 1s forwards ease-out;
    position: fixed;
    top: 0;
}

@media (max-width: 768px) {
    .nav ul {
        display: none;
    }
    
    nav{
        display: flex;
    }
    
    #hboxgrid{
        display: block;
    }
    #social{
    display: block;
  }
  
  #hbox h2{
    text-align: center;
    padding: 20px;
    padding-top: 0;
    margin: 5px;
    font-size: 30px;
}

#hbox span{
    width: 90%;
    font-size: 28px;
    margin: 10px;
    font-weight: 1000;
}
}
