body {
    background-image: url("drevo.jpg");
    min-height: 100vh;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  }
  
  p {
    font-size: 18px;
    padding-left: 20px;
  }
  
  .logo a {
    font-size: 2.5rem;
    color: bisque;
    margin-left: 2rem;
  }
  
  .navli {
    overflow: hidden;
    display: inline-block;
  }
  
  .list li a {
    margin-right: 20px;
    color: beige;
    text-decoration: none;
  }
  
  nav {
    background: transparent;
    padding: 0 15px;
    height: 7.5rem;
  }
  
  .navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }
  
  #main {
    border: 3px solid;
    width: 90%;
    max-width: 1100px;
    background-color: antiquewhite;
    border-radius: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  #section {
    background-color: rgb(243, 206, 179);
    padding: 20px;
    order: 1; /* Default order */
  }
  
  #aside {
    background-color: antiquewhite;
    padding: 20px;
    order: 2; /* Default order */
  }
  
  h2 {
    text-align: center;
    font-size: 25px;
  }
  
  footer {
    background: transparent;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    color: antiquewhite;
  }
  
  #prava, #vytvoril {
    padding: 15px 10px;
  }
  
  .list a {
    position: relative;
  }
  
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
    margin: 25px 0;
  }
  
  .grid-item {
    border: 6px solid black;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
  }
  
  .grid-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }
  
  .grid-item:hover {
    transition: 1s;
    background-color: antiquewhite;
  }
  
  .maly {
    font-size: smaller;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .vyrobkylist {
    list-style: circle;
    padding-left: 20px;
    margin-bottom: 30px;
  }
  
  .vyrobkylist li a {
    color: black;
  }
  
  h1 {
    text-align: center;
    font-size: 40px;
    padding: 10px 0;
  }
  
  .vstrede {
    text-align: center;
    margin-top: 10px;
  }
  
  .konkretne {
    padding-left: 20px;
    margin: 30px 0;
  }
  
  .spodok {
    text-align: center;
    margin: 60px 0 40px;
    line-height: 30px;
  }
  
  .firem {
    margin-bottom: 30px;
  }
  
  .popis {
    text-align: center;
  }
  
  .galeria img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 8px;
  }
  
  .aligncenter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-content: center;
    margin: 25px 25px;
  }
  
  #uvodobrazok {
    max-width: 100%;
    height: auto;
    margin: 20px auto 20px auto;
    border-radius: 8px;
  }
  
  #aside img {
    max-width: 100px;
    height: auto;
    margin: 10px auto 20px;
    display: block;
  }
  
  #aside p {
    font-size: 15px;
    text-align: center;
  }
  
  #aktuality {
    padding: 10px 0;
  }
  
  table, th, tr, td {
    border: 2px solid black;
    padding: 15px;
  }
  
  table {
    width: 90%;
    max-width: 1100px;
    margin: 25px auto 70px;
  }
  
  th {
    font-weight: bold;
  }
  
  .menopr, .ematc, .meno, .email, .predmet, .poznamka, .submit {
    margin: 20px auto;
  }
  
  #poznamka {
    height: 100px;
    width: 100%;
    max-width: 200px;
  }
  
  .firemnazov {
    margin-bottom: 20px;
  }
  li a:hover{
    text-decoration: none;
    font-weight: bold;

  }
  .d-block{
    border-radius: 10px;
  }
  .onasobr{

    display: block; 
    margin: 0 auto; 
    max-width: 300px;
   
}
  

.odoslat {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  margin-top: 30px;
}
  /* Media Queries pre rezponzivitu */
  @media (min-width: 768px) {
    #main {
      flex-direction: row;
    }
  
    #section {
      width: 80%;
      border-right: 3px solid;
      border-bottom: none;
      order: 1;
    }
  
    #aside {
      width: 20%;
      order: 2;
    }
    .logo a {
      font-size: 2.5rem;
      color: bisque;
      margin-left: 5rem;
    }
    .menopr{
      display: flex;
    }
    .navdiv{
      margin-right: 150px;
    }
  }
  @media (min-width: 900px) {
  #uvodobrazok {
    max-width: 300px;
    float: right;
    margin: 20px;
    border-radius: 8px;
  }
}