.container{
  display:flex;
    width: 100%;
flex-flow: row wrap;
 justify-content: center;
    flex-basis: fit-content; 

 
}

.menu{
      display:flex;
    width: 100%;
flex-flow: row wrap;
 justify-content: center;
    flex-basis: fit-content; 
    flex-wrap: nowrap | wrap | wrap-reverse;
    margin: 10px 10px 10px 10px;
    
}

.menuitem{
   font-weight: bold;
    font-size: 20px;
    color: white;
    width: 25px;
    font-family: Arial, Helvetica, sans-serif; 
    border-radius: 5px;
    border: 2px solid #000;
    background-color: dimgrey;
    text-align: center;
    height: 25px;
    margin: 2px 2px 2px 2px; 
}

.gamebox{
   

    /*border-radius: 25px;
    border: 2px solid #000;
    background-color: white;*/
    margin: 10px 10px 50px 10px;

    
    padding: 10px;
    width: 200px;
    height: 200px;
    transition: width 1s, height 1s;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 5px 8px 0 rgba(0, 0, 0, 0.19);
}

.gamebox .image {
    opacity: 0.5;
     /*border-radius: 25px; */
    padding: 0px;
    width: 200px;
    height: 200px;
    transition: opacity 1s, width 1s, height 1s;
}



.gamebox:hover{
/* width: 350px;
height: 350px; */
   animation: shake 0.5s;
    /*  animation-iteration-count: infinite; */
}

.menuitem:hover{
   background-color: darkred;
        transition: 0.2s;
}

.gamebox:hover .image {
  opacity: 1.0;
    /* width: 350px;
    height: 350px; */
    animation: shake 0.5s;
    /* animation-iteration-count: infinite; */
}
.gamebox:hover .title {

   /* width: 350px; */

}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;

}

.title{
    text-align: center;
    height: 25px;
    width: 100%;
    padding: 0px;
    transition: .5s ease;
    text-shadow: 2px 2px 5px gray;
    /*font-weight: bold;*/
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    word-wrap: break-word;
}

.gameplay{
      
    display:flex;
    width: 100%;
    justify-content: center; 
}

.genreselect {
  height: 30px;
  min-width: 150px;
  padding: 0px 0px 0px 0px;
  margin: 0px 5px 0px 0px;
  border: none;
  border-radius: 4px;
  background-color: #f1f1f1;
    font-weight: bold;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    word-wrap: break-word;
}

.fgalogo{
  display: block;
  margin: 10px auto 10px auto;
  /*margin-left: auto;
  margin-right: auto;*/
  width: 50%;  
    
}

.icon{
    width:25px;
    height:25px;
    
}

.googlead{

  margin: 25px auto 25px auto;
}

.choosecss {
    display: block;
    margin-left: 90%;
    opacity: 0.3;
    transition: opacity 1s, width 1s, height 1s;
   }

.choosecss:hover {
    opacity: 1;
   }


.footer{
  display: block;
  padding: 10px 0px 10px 0px;
  margin: 10px auto 10px auto;
  text-align: center;
  color:white;
  width: 100%;   
  background-color: dimgrey;
  /*font-weight: bold;*/
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    word-wrap: break-word;
}

a:link, a:visited, a:hover {
  text-decoration: none;
    color: inherit;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}