ul { margin: 0; padding: 0; list-style: none; }
body
{
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
}
.main-header
{ 
    display: grid;
    grid-template-columns: 100px auto;
    padding: 5px;
    background-image: url('dirt.jpg');
    background-repeat: repeat;
    background-size: 200px 250px;
    min-height: 50px;
    text-align: center;
    position: relative; /* Dodane */
      
           
}
.main-header nav
{
    
    text-align: right;
    background-repeat: no-repeat;
    background-position: right top;
    padding: 7px; 
    margin-right: 150px;
    background-size: 100px auto;
}
.play
{
margin-bottom: 10px;
justify-content: center;
}
.content nav
{
  display: inline-block;
  width: 100px;
  height: 50px;
  text-align: center; 
  color: white;
  text-decoration: none;
  font-size: 20px;
   
}
.play nav
{
    text-align: center;
    background-image: url('button.png');
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 150px;    
    padding-top: 10px;
    
}
.glowny
{
    background-image: url('stone.jpg');
    background-repeat: repeat;  
    background-size: 200px 250px; 
    z-index: 1; 
    min-height: 500px;   
    
}
.logo
{ 
    height: 140px;
}
a
{
    color: white;
    
}
.book
{
    background: rgba(1, 1, 1, 0.1);
    margin-bottom: 20px; 
    padding: 70px; 
    min-height: 1000px;
    z-index: -1;
    place-items: center;
    align-items: center;                 
    justify-content: center;
    background-image: url('tło.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size:contain ;         
}
.tab
{
    background: rgba(1, 1, 1, 0.1);
    margin-bottom: 20px; 
    padding: 70px; 
    min-height: 1000px;
    z-index: -1;
    place-items: center;
    align-items: center;                 
    justify-content: center;
    background-image: url('tabliczka2.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size:contain ;        
}
.serwer
{
  min-height: 1000px;
}
.account
{
  margin: 0 auto;
  text-align: center;
  padding-top: 50px;
}
.content
{
    
    min-height:300px;
    text-align: center;
    padding-top: 25%; 
    max-width:  150px;
    font-size: 25px; 
    
}
.list
{
    
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
   
}

.main-footer
{
    background: url('bedrock.png');
    background-repeat: repeat;
    background-size: 150px 200px;
    min-height: 150px;
}
/* Styl hamburgera */
.hamburger 
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    cursor: pointer;
    margin-left: auto;
     
  }
  
  .hamburger span 
  {
    display: block;
    height: 4px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: 0.3s;
  }
  
  /* Menu domyślnie ukryte */
  .menu
  {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #222;
    text-align: center;
    z-index: 1000; 
  }
  
  .menu ul 
  {
    list-style: none;
    
  }
  .con
  {
    padding: 25px;
    background-image: url('button.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 20px;
    margin-top: 5px;
    max-width: 170px;
  }
  
  .menu li 
  {
    padding: 15px;
    background-image: url('button.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  .menu a 
  {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }
  
  /* Kiedy menu jest aktywne */
  .menu.active {
    display: block;
  }
  
  /* Animacja hamburgera */
  .hamburger.active span:nth-child(1) 
  {
    transform: translateY(10px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) 
  {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) 
  {
    transform: translateY(-10px) rotate(-45deg);
  }
  .main-header nav 
  {
    text-align: center;
  }
  .register
  {
    height: 530px;
   
    text-align: center;
    padding-top: 10%;
  }
  #createAccountPanel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1001;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  #createAccountPanel.active
   {
    display: block;
  }
  /* Tło przyciemniające */
  #overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  #overlay.active 
  {
    display: block;
  }
  table
   {
    border: 4px solid #333;
    background-color: #d4c29b;
    box-shadow: 0 0 10px #000;
    font-size: 24px;
    border-collapse: collapse;
    margin: 0 auto;
}

caption 
{
    caption-side: top;
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
    text-shadow: 2px 2px #888;
}

th, td 
{
    border: 2px solid #9b8b6f;
    padding: 15px 25px;
    text-align: left;
    color: #222;
}

th 
{
    background-color: #9b8b6f;
    color: white;
}

tr:nth-child(even)
{
    background-color: #e8d8b8;
}
.pagination
{
  text-align: center;
}
.lista
{
  padding-top: 50px;
}
/* Kontener wyszukiwania */
.search-container 
{
  width: 30%;
  padding: 20px;
  float: left;
}

/* Kontener tabeli */
.table-container 
{
  width: 65%;
  padding: 20px;
  float: left;
}

.suggestions-list 
{
  max-height: 200px;
  overflow-y: auto;
  padding-left: 0;
  margin-top: 5px;
}

.suggestion-item 
{
  padding: 8px 12px;
  border: 1px solid #ddd;
  cursor: pointer;
  background-color: white;
}

.suggestion-item:hover 
{
  background-color: #f8f9fa;
  border-color: #ddd;
}
.search
   {
    margin: 0 auto;
    display: block;
    margin-top: 5px;
    width: 100%;
    justify-content: center; /* centrowanie w poziomie */
    align-items: center; 
 
   }
   .custom-bootstrap-input 
   {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  
  .custom-bootstrap-input:focus
   {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }
  .mb-3 .con
  {
    background-size: cover;
    padding: 5px;
  }
  .menu .con
  {
    margin: 0 auto;
  }
.avatar-container {
        position: relative;
        width: 150px;
        height: 150px;
        margin: 0 auto;
      }
      .avatar {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 0 0 1px;
      }
      .avatar-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        opacity: 0;
        border-radius: 50%;
        cursor: pointer;
        transition: opacity 0.2s ease-in-out;
      }
      .avatar-container:hover .avatar-overlay {
        opacity: 1;
      }
      #avatar-input {
        display: none;
      }

 .edit
 {
  margin:0 auto;
 }
@media screen and (min-width: 800px)
 {
    .columns
    { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        grid-gap: 20px; 
        margin-bottom: 0px; 
        min-height: 800px;        
    }  
   
    .book
    {       
        margin-bottom: 20px; 
        font-size: 30px; 
        min-height: 800px;
        text-align: center;
        background-image: url('tłobazowe.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: contain;          
    }
    .tab
    {  
        margin-bottom: 20px; 
        font-size: 30px; 
        min-height: 200px;
        text-align: center;
        background-image: url('tabliczka2.png');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: contain;    
    }
    .content
    {       
        text-align: center;
       
        padding: 100px;
        max-width:  700px;
        margin-top: -140px;   
    }
    .list
    {
        margin-bottom: 20px; 
        font-size: 30px; 
        min-height: 200px;
        text-align: center;
        padding: 100px;   
    } 
    .glowny
    {
        position: relative; /* tworzy kontekst pozycji dla pseudoelementu */
    }  
    .glowny::before
    {
        min-width: 100%;
        background: url('stone.jpg') no-repeat center top;
        background-size: 250px 200px;
        z-index: -1; /* gwarantuje, że pseudoelement będzie za zawartością */
     }
     .main-header 
     {
        background: #f4f4f4;
        display: flex;
        justify-content: flex-end; /* Nawigacja po prawej stronie */
        align-items: center;
        padding: 10px 20px;
        background-image: url('dirt.jpg');
        background-repeat: repeat;
        background-size: 200px 250px;
        min-height: 120px;
        position: relative; /* Kontekst dla absolutnego pozycjonowania logo */
    }
    
    .main-header nav 
    {
        display: flex;
        gap: 15px; /* Odstęp między linkami */
        margin-right: 20px;
        text-align: center;
        margin-left: 100%;
    }
    
    .main-header nav a 
    {
    display: inline-block;
    width: 100px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: white;
    text-decoration: none;
    font-size: 20px;
       
    }
    .register
    {
      min-height: 700px;
      width:40%; 
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
     
    }
    .register form
    {
    text-align: center; 
    justify-content: center; 
    align-items: center;   
    color: white;
    max-width: 600px;
    margin-bottom: 150px;
    
    }
      .hamburger 
      {
          display: none;
      }
    
      .menu 
      {
        display: block;
        position: static;
        background: transparent;
      }
    
      .menu ul 
      {
        display: flex;
        justify-content: center
       
      }
    
      .menu li 
      {
        padding: 15px 20px;
        margin-left: 15px;  
      }
    
      .search
      {
        margin: 0 auto;
        display: flex;
        justify-content: center; /* centrowanie w poziomie */
        align-items: center;  
      }
    
    
    .main-header .logo 
    {
        height: 140px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: -2.5%;
    }
    #createAccountPanel 
    {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      border: 1px solid #ccc;
      padding: 20px;
      z-index: 1001;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    #createAccountPanel.active 
    {
      display: block;
    }
    #overlay 
    {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }
    #overlay.active 
    {
      display: block;
    } 
    .content nav
    {
      display: inline-block;
      width: 100px;
      height: 50px;
      text-align: center; 
      color: white;
      text-decoration: none;
      font-size: 20px; 
    }
    .lista
    {
      min-height: 620px;
      text-align: center;
      display: flex;
      justify-content: center; /* centrowanie w poziomie */
      align-items: center;  
    }
    .lista table, tr, th, td
    {
      border: 3px;
      border-style: solid;
      border-color: black; 
    }
    .buttons .con
    {
      padding: 15px;
      background-image: url('button.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      font-size: 20px;
      max-width: 170px;
      margin:  0 auto;
    }
    .custom-bootstrap-input
     {
      font-size: 1.1rem;
      padding: 0.6rem 1rem;
      max-width: 400px;
    }
    
}