/* Reset some default browser styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
  }
  
  /* Add background color to the body */
  body {
    background-color: #686767;
    background-image: url('/public/background.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  /* Style for game list container */
  #game-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    z-index: 2;
    position: relative;
  }
  
  /* Style for each game button */
  button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  /* Style for Unity container */
  #unity-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh; /* Full viewport height */
    z-index: 1;
    position: relative;
  }
  
  /* Style for Unity iframe */
  #unity-iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
@media (max-width: 480px){
  #unity-iframe{
    zoom: 1.0; /*Регулируйте по мере необходимости*/
  }
}
  
/* Responsive Design for Small Screens */
@media screen and (max-width: 768px) {
    #unity-container {
      height: 50vh;
    }
    #game-list {
      height: 50vh;
    }
  }
/* #back-to-menu {
  display: block;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 3;
  position: relative;
} */


#back-to-menu {
    display: block;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 3;
    position: relative;
    align-items: center;
    justify-content: center;
  }
  
  #back-to-menu:hover {
    background-color: #0056b3;
  }