.shareicon {
    background-image: url(assets/share.png);
    width: 37px;
    height: 40px;
    position: absolute;
    z-index: 1;
    background-size: cover;
    display: block;
    margin: -27px 0 0 160px;
}


.pagearea {
    position: absolute;
    left: 20px;
    top: 10px;
    right: 20px;
    bottom: 20px;
    border-radius: 51px;
    background-color: white;
    color: black;
}

.container {
    display: inline-block;
    width: 100%;
    margin: 20px 10px 0 10px;
    }
    
.site-branding {
        float: left;
        width: 200px;
    }
    
.site-branding img {
        width:200px;
    }
    
.site-branding h2 {
        font-size: 12px;
    }
    


h2 {
    margin:10px 0px;
    padding: 5px;
    font-size: 42px;
    color: black;
    background-color: whitesmoke;
}

h3 {
     font-size: 30px;
    color: black; 
    text-decoration: none;
}

a span {
    font-size: 15px;
    background-color: blue;
    padding: 5px 10px;
    border-radius: 15px;
    color: white;
    display: inline-block;
    margin: 0px 25px;
}

#nav {
    display: inline-block;
    clear: left;
    float: left;
    margin: 20px 0px;
}

.nav_button {
    padding: 5px 20px 8px 20px;
    margin: 10px 10px;
    background-color: dodgerblue;
    color: white;
    font-weight: 600;
    border-radius: 18px;
    display: inline-block;
}

.nav_button:hover {
    background-color: darkblue;
}


#centreContent {

  max-width: 90%;
  margin: auto;

}


#featured {
    display: inline-block; 
}

.pinned {
    width: 325px;
    display: inline-block;
    margin: 20px;
}


#rightpanel {
    display: inline-block;
    margin: 15px 30px 5px 20px;
}

.pagearea {
    bottom: unset;
}

.gridgame {
   background: white;
    border: solid 5px #00000042;
    border-radius: 10px;
    padding: 10px;
    width: 200px;
    height: 200px;
    display: inline-block;
    margin: 10;
}

.gridgame a {
    clear:both;
    font-size: 18px;
    color: black;
    font-weight: 700;
    text-decoration: none;
    
}

.gridgame img {
    height: 150px;
    max-width: 170px;
}

#copyright {
    position: fixed;
    right: 100;
}




@media (orientation: portrait) {

    body {
        background: white;
    }    
        
    .pagearea {
        background-color: white;
        left: 1px;
        right: 1px;
    }
    
    .site-branding img {
        width: 50%;
    }
    
    .site-branding h2 {
        font-size: 32px;
    }
    
    .nav_button {
        border-radius: 40px;
        display: inline;
        font-size: 44px;
        padding: 5px 40px 12px 40px;
        margin: 10px auto;
    }
    
    #nav {
            margin: 45px 0px;
    }
    
    #nav a {
        display:flex;
    }
    
    
    h2, h3 {
        
        margin: 12px 0px 40px 0px;
        color: black;
    }
    
    h2 {
        font-size: 2.2em
    }
    
    .pinned {
        width: 46% !important;
    }
    
    #rightpanel {
        width: 100%;
        margin: 36px auto;
        
    }
    
    #rightpanel div {
        display: inline-table;
        width: 49% !important;
    }
    
    
    .game, #content  {
        
        width: 380px !important;
        height: 844px !important;
        
        top: 5 !important;
    }
    
    #content {
        
       /* transform: scale(1.5,1.5);*/
    }
    
    .site-branding {
        
    float: none !important;
    width: 92% !important;
    margin: 25px;
    }
    
    
    
    .shareicon {
        width: 60px;
        height: 62px;
        margin: -28px 0 0 336px;
    }
    
    .gridgame {
        height: 400px;
        width: 400px;
    }
    
    .gridgame img {
        height: 320px;
        max-width: 370px;
    }
    
    .gridgame a {
        font-size: 30px;
    }
        
    
    div {
        margin: 0px auto;
        float: none !important;
        font-size: 26px;
    }
    
    .tables-grid {
        margin-left: 0px;
    }
    
    .tables-grid table {
        margin: 8px 10px 10px 10px;
    }
    
    
    #exit {
        left: 15px;
        top: 15px;
    }
    
    #copyright {
        position:inherit !important;
    }
    

    
}
