table{
    padding: 1;
    background-color: black;
    height: 50%;
    width: 35%;
    position: fixed; left: 2%;
    border-radius: 10px;
    background-size: cover;
    opacity:  0.6;
}
.rankingbody{
    background-image: url(worldcuptropy.png);
}
.div1{
    margin-top: 4%;
    width: 99%;
    border-radius: 10px;
    background-color: black;
    padding: 0px;
}
h1{
    color: rgb(141, 44, 44);
    font-size: 40px;
}
div.menytekst{
    border-radius: 10px;
    width: 20%; 
    padding: 2px;
    background-color: white;
}
h2{
    color: brown;
    margin-left: 5%;
    font-size: 30px;
}
h3{
    margin-left: 10%;
}
a:link{
    text-decoration: none;
    color: #000;
}
a:hover{
    text-decoration: none;
    color: rgb(226, 83, 83);
}
a:active{
    text-decoration: none;
    color: rgb(199, 231, 84);
}
.MessiRank{
    background-color: white;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    position:fixed; right: 65.8%; top: 40%;
}
.messifakta{
    padding: 1;
    background-color: black;
    height: 50%;
    width: 35%;
    position: fixed; right: 2%; top: 40%;
    border-radius: 10px;
    background-size: cover;
    opacity:  0.6;
    /* background-image: url(messigoal.gif);*/
}
h4{
    position: fixed; right: 67%; top: 40%;
    font-size: 25px;
    padding: 2px;
}
h7{
    position: fixed; right: 52%; top: 40%;
    font-size: 25px;
    padding: 2px;
}

h9{
    position: fixed; right: 37%; top: 40%;
    font-size: 25px;
    padding: 2px;
}

.RonaldoRank{
    background-color: white;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    position:fixed; right: 50.8%; top: 40%;
}

.AboutMaradonna{
    background-image: url(maradonna.png);
    background-size: cover;
}

.maradonnaRank{
    background-color: white;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    position:fixed; right: 35.8%; top: 40%;
}

.RankingBody{
    background-size: cover;
    background-image: url(HimmelBackgrunn.png);
}

.MessiRankBack{
    background-image: url(MessiPicture.png);
    width: 20%;
    height: 20%; 
}
.AboutRonaldo{
    background-image: url(ronaldo.png.jpg);
    background-size: cover;
}
.AboutMessi{
    background-size: cover;
    background-image: url(messifeiring.png);
}
h8{
    color: white;
    font-size: 20;
}

.messioverskrift{
    margin-top: 4%;
    width: 99%;
    border-radius: 10px;
    background-color: black;
}
h6{
    color: white;
    font-size: 20;
}
.nav{
    width: 30%;
    height: 100%;
    position: fixed; right: 0; top: 0;
    background-color: gray;
    overflow: hidden;
}

.menu a{
    display: block;
    padding: 30px;
    color: white;
}

.menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    color: white;
    position: fixed; right: 0; top: 0;
    padding: 40px 20px;
    z-index: 100;
}


.hamb-line {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    z-index: 1;
    
}

.hamb-line::before,
.hamb-line::after{
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
    z-index: 1;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
    z-index: 2;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 4000px) {
    
.nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
}

.menu li{
        float: left;
}

.menu a:hover{
        background-color: transparent;
        color: var(--grey);
}
  
.hamb{
        display: none;
}

}

/* a:visited{
    text-decoration: none;
    color: rgb(0, 0, 0);
} */
