html, body {
    background: #FAF8EF;
}

.navbar {
    
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}
.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* Dropdown Button */
.dropbtn {
  background-color: #FAF8EF;
  color: black;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #FAF8EF;}

@media screen and (max-width: 520px) {
    .main-container {
        
        width: 450px !important;
  margin: 0 auto;
    }

    .footer li.nav-item {
        margin-left: 5px;le
        margin-right: 5px;
    }
}

@media screen and (min-width: 520px) {
    .main-container {
         margin: auto !important;
        width: 525px !important;
  margin: 0 auto;
        
    }
    
    .content-adv{
        max-width: 100px;
        min-height: 450px;
        display: flex;
        text-align: center;
        vertical-align: middle;
        border: 2px dashed lightgray;
    }

    .footer.navbar {
        padding: 0px !important;
    }    
}

.navbar-brand {
    color: rgb(31, 31, 31) !important;
}

.left-advert {
    text-align: left;
    margin-top: 10px;
    width: 300px;
}

.hor-content-adv {
    display: block;
    text-align: center;
    border: 2px dashed lightgray;
}

nav.header {
    border: 1px solid #EDEDED;
    border-width: 0 0 1px 0 !important;
}

nav.footer {
    border: 1px solid #EDEDED;
    border-width: 1px 0 0 0 !important;
}

.left-advert .content-adv, .right-advert .content-adv{
    position:fixed;
    width: 120px;

}

.right-advert {
    text-align: right;
    margin-top: 10px;
    width: 300px;
}


/* Color and Images for Project Containers  */


.tile-3x3 {
  background: url('../css/tilesimg/3x3.jpg');
  height: 30%;
}

.tile-4x4 {
  background: url('../css/tilesimg/4x4.jpg');
  background-size: cover;
}

.tile-5x5 {
  background: url('../css/tilesimg/5x5.jpg');
  background-size: cover;
}

.tile-reverse {
  background: url('../css/tilesimg/reverse.jpg');
  background-size: cover;
}

.tile-hexagon {
  background: url('../css/tilesimg/hexagon.jpg');
  background-size: cover;
}
.tile-fortnite {
  background: url('../css/tilesimg/fortnite.jpg');
  background-size: cover;
}

.tile-pokemon {
  background: url('../css/tilesimg/pokemon.png');
  background-size: cover;
}

.tile-minecraft {
  background: url('../css/tilesimg/minecraft.png');
  background-size: cover;
}

.tile-tetris {
  background: url('../css/tilesimg/tetris.png');
  background-size: cover;
}

.tile-flappy {
  background: url('../css/tilesimg/flappy.png');
  background-size: cover;
}
.tile-doge {
  background: url('../css/tilesimg/doge.jpg');
  background-size: cover;
}

.tile-bunnies {
  background: url('../css/tilesimg/bunnies.jpg');
  background-size: cover;
}
.tile-holidays {
  background: url('../css/tilesimg/holidays.jpg');
  background-size: cover;
}
.tile-starbucks {
  background: url('../css/tilesimg/starbucks.jpg');
  background-size: cover;
}
.tile-cupcakes {
  background: url('../css/tilesimg/cupcakes.jpg');
  background-size: cover;
}
.tile-number-puzzle {
  background-color:#e76de7;
}
.tile-hover:hover {
  background-color:#FEDE00;
}
img{
   height: 50%;
   max-width: 50%;
}
.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.column-4 {
  float: left;
  width: 50%;
  padding: 10px;
  margin:15px;
  height: 250px;
}
.child {
  flex: 1;
}
.tile-text {
  text-align:center;
  font-size:20px;
  color:#000000;
}
.section-heading {
  text-align:center;
  color:#102C4E;
  margin-top: 70px;
  margin-bottom:70px;
  font-size: 35px;
}
.tileimgcontainer{
  display: block;
}
.tilecol{
  float: left;
  width: 33.33%;
  height: 300px;
}
.tilecontents{
  margin-left: 20px;
  margin-right: 20px;
}
@media screen and (max-width: 520px) {
    .column-4 {
  float: left;
  width: 90%;
  padding: 5px;
  margin:10px;
  height: 120px;
  text-align:center;
}
.tile-text {
  text-align:center;
  font-size:15px;
  color:#000000;
}
.tilecol{
  float: left;
  width: 33.33%;
  height: 150px;
}
}


body {
    margin: 0;
  padding: 0;

}

.footer {
    height: 64px;
    margin-top: auto;
}

.main-container .heading {
    margin-top: 5px;
}

.scores-container {
    margin-top: 0px;
}

.above-game a:hover {
    color: white !important;
}

.footer .navbar-collapse {
    display: flex!important;
    flex-basis: auto;
}

.footer .justify-content-md-center {
    justify-content: center!important;
}

.footer .navbar-nav {
    flex-direction: row;
}
.content{
 border: 0px solid black;
 border-radius: 3px;
 padding: 5px;
 margin: 0 auto;
 width: 50%;
}

.post{
 border-bottom: 1px solid black;
 padding: 10px;
 margin-top: 10px;
 margin-bottom: 10px;
}

.post:last-child{
 border: 0;
}

.post h1{
 font-weight: normal;
 font-size: 30px;
}

.post a.link{
 text-decoration: none;
 color: black;
}

.post-text{
 letter-spacing: 1px;
 font-size: 15px;
 font-family: serif;
 color: gray;
 text-align: justify;
}
.post-action{
 margin-top: 15px;
 margin-bottom: 15px;
}

.like,.unlike{
 border: 0;
 background: none;
 letter-spacing: 1px;
 color: lightseagreen;
}

.like,.unlike:hover{
 cursor: pointer;
}