body{
    display: flex;
    justify-content: center;
    padding-top: 5%;
    margin: 0;
    background: linear-gradient(179.4deg, rgb(12, 20, 69) -16.9%, rgb(71, 30, 84) 119.9%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    padding-bottom: 20%;
    box-sizing: border-box;
}
  

.nav {
  background-color: black;
  width: 100%;
  position: fixed; 
  top: 0; 
  left: 0;
  z-index: 1;
}

.nav-bar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  background-color: black; 
  padding: 10px 20px; 
  margin: 0 auto; 
  box-sizing: border-box;
  flex-wrap: wrap;
}

.brand {
  color: white;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
}

.brand:hover {
  text-decoration-line: underline;
}

.nav-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; 
}

.btn {
  border: solid white 2px;
  color: white; 
  text-decoration: none; 
  padding: 5px 10px;
  border-radius: 5px; 
  display: inline-block; 
  max-width: 150px;
  overflow: hidden; 
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1; 
}

.btn:hover {
  background-color: gray; 
  box-shadow: 1px 1px 15px;
}

.btn .icon {
  margin-left: 8px; 
}

.btn:hover .icon {
  transform: scale(1.1); 
}

.game-count {
  color: rgb(255, 255, 255);
  font-size: 15px;
  font-weight: bold;
}


  .form{
    background: rgba(0, 0, 0, 0.6);
    position: relative;
    top: 100px;
  }


  footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    width: 100%;
    position: fixed; 
    bottom: 0;
    left: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-in-out forwards;
    transform: translateY(100%);
  }
  
  @keyframes slideUp {
    to {
        transform: translateY(0%);
    }
  }
  
  .footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    text-align: center;
  }
  
  .logo-section h1 {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0;
  }
  
  .social-section {
    display: flex;
    gap: 20px;
  }
  
  .social-section a {
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .social-section a:hover {
    opacity: 0.8;
    transform: scale(1.1);
  }
  
  .social-section img {
    width: 60px;
    height: 60px;
  }
  
  .info-section p {
    margin: 0;
    font-size: 1em;
    color: #cccccc;
  }
  
  
  
  @media only screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
    }
    .social-section {
        justify-content: center;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
    }
    .social-section {
        justify-content: center;
    }
  }

  

  @media only screen and (max-width: 480px) {

    .nav-bar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
        padding: 10px;
        background-color: black;
    }
    
    .btn {
      height: 40px;  
      width: 100%;   
      background-color: black;
      border: solid white 2px;
      color: white;
      cursor: pointer;
      font-size: 16px;
      text-align: center;
      padding: 0;    
      box-sizing: border-box; 
      overflow: hidden;  
      white-space: nowrap;  
      text-overflow: ellipsis; 
    }
    
  
  }
  
