*{
    margin: 0;
    padding: 0;
}

body{
    background: url('./img/MMG2.png');
    background-size: cover;

}


.rank-header{
    background: linear-gradient(-45deg,#ca9731, #f6b934,#ca9438);
width: 100%;
height: 150px;
border-bottom: 2px solid #272727;
}


.rank-header h1{
    text-align: center;
    font-size: 60px;
    padding: 60px 40px;
}




/* Navigation */
.main-nav{
    position: absolute;
    float: right;
    list-style-type: none;
    margin-top: 30px;
    margin-left: 20px;
    z-index: 3;
}

.main-nav li{
    display: inline-block;

}

.main-nav li a{
    color:rgb(248, 248, 248);
    text-decoration: none;
    padding: 5px 20px;
    font-family: sans-serif;
    font-size: 25px;

}

.main-nav li.active a{
    border: 1px solid white;

}


.main-nav li a:hover{
    border: 1px solid white;
    color: black;
}


/*  Body Info */


.rank-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 300px;
    background: rgba(255, 255, 255, 0.8);
}

.ril{
    margin: 40px;
    padding: 20px;
    background: rgba(19, 19, 19, 0.7);
    box-shadow: 0 10px 15px rgba(0, 0, 0, .8);
    border-radius: 8px;

}


.ril h2{
    color: rgb(250, 250, 250);
    text-align: center;
    font-size: 35px;
    border-bottom: 2px solid rgb(245, 188, 1);
    padding: 0 40px;
    width: 60%;
    margin-left: 20px;
}

.ril p{
    padding: 10px;
    color: white;
}




.rir{
    padding: 20px;
}


.rir h2{
    position: relative;
    color: rgb(197, 197, 197);
    background: #272727;
    border: 2px solid rgb(245, 188, 1);
    text-align: center;
    font-size: 35px;
    width: 60%;
    left: 20%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .8);

}

.rir p{
    padding: 20px;
}




/* Player Rankings Container*/

.pr-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 2fr;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);


}

.pr-div{
    position: relative;
    grid-column: 2/4;
    text-align: center;
    overflow: hidden;
    margin: 0 100px;

}

.pr-div p{
    padding: 20px;
}

.pr-div h2{
    font-size: 40px;
    color: rgb(236, 236, 236);
    border: 2px solid #ffbb00;
    background: #272727;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .8);
    margin: 10px;

}

.player-earnings{
    grid-row: 2;
    grid-column: 2/4;
}

.player-earnings ul{
   list-style: none;
}

.player-earnings li{
    border-bottom: 1px solid #ffbb00;
    margin: auto 40px;
    font-size: 20px;
    overflow: hidden;

}

.player-earnings li span{
    color: green;
}


.player-earnings table, td, th{
    font-size: 20px;
    border: 1px solid black;
}


.player-earnings table{
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.player-earnings th{
    color: #ffbb00;
    background: #272727;
}



















/* Footer Section */
.footer-main-div{
    width: 100%;
    height: auto;
    margin: auto;
    background: #272727;
    padding: 20px 0px;
    display: inline-block;
}

.footer-social-icons{
    position: relative;
    width: 100%;
    height: auto;
    margin: auto;
    top: 20px;
}

.footer-social-icons ul{
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.footer-social-icons ul li{
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px 10px;
    border-radius: 100%;
    background: goldenrod;

}

.footer-social-icons ul li a{
    color: #272727;
    font-size: 25px;
    display: block;
}

.footer-social-icons ul li a i{
    line-height: 50px;
}





footer{
    width: 100%;
    margin-bottom: 0;
    display: inline-block;
    height: 100px;
    border-top: 2px goldenrod solid;
    background-color: #272727;
}

.footer-copyright{
    width: 50%;
    float: left;
    font-size: 35px;
}

.footer-copyright p{
    padding-left: 10%;
    color: white;
    font-size: 0.7em;
    text-transform: capitalize;
    letter-spacing: 1px;
}



@media screen and (max-width:760px){

    *body{
        width:720px;
    }


/*  Body Info */


.rank-info{
    display: grid;
    grid-template-columns: 1fr;
    height: 300px;
    background: rgba(19, 19, 19, 0.6);
}

.ril{
    margin: 40px;
    padding: 20px;
    background: #272727;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .8);
    border-radius: 8px;

}


.ril h2{
    color: rgb(250, 250, 250);
    text-align: center;
    font-size: 35px;
    border-bottom: 2px solid rgb(245, 188, 1);
    padding: 0 40px;
    width: 60%;
    margin-left: 20px;
}

.ril p{
    padding: 10px;
    color: white;
}




.rir{
    display: none;
    padding: 20px;
}


.rir h2{
    position: relative;
    color: rgb(197, 197, 197);
    background: #272727;
    border: 2px solid rgb(245, 188, 1);
    text-align: center;
    font-size: 35px;
    width: 60%;
    left: 20%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .8);

}

.rir p{
    padding: 20px;
}

/* Player Rankings Container*/

.pr-container{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr;
    width: 100%;

}

.pr-div{
    position: relative;
    grid-column: 2/4;
    text-align: center;
    overflow: hidden;
    margin: 0 100px;

}

.pr-div p{
    padding: 20px;
}

.pr-div h2{
    font-size: 40px;
    color: rgb(236, 236, 236);
    border: 2px solid #ffbb00;
    background: #272727;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .8);
    margin: 10px;

}

.player-earnings{
    grid-row: 2;
    grid-column: 2/4;
}

.player-earnings ul{
   list-style: none;
}

.player-earnings li{
    border-bottom: 1px solid #ffbb00;
    margin: auto 40px;
    font-size: 20px;
    overflow: hidden;

}

.player-earnings li span{
    color: green;
}


.player-earnings table, td, th{
    font-size: 20px;
    border: 1px solid black;
}


.player-earnings table{
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.player-earnings th{
    color: #ffbb00;
    background: #272727;
}

}