body {
    margin: 0;
    font-family: sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0; /* Example background */
}

p {
  margin-bottom: 0rem; /* Shrinks space below each paragraph */
  margin-top: 0rem; /* Shrinks space below each paragraph */
}

h1, h2, h3 {
  margin-bottom: 0rem; /* Shrinks space below each paragraph */
  margin-top: 0.02rem; /* Shrinks space below each paragraph */
}

h1 {
  font-size: 1.2rem;
}

h2 {
  font-size: 1rem;
}

.listmargin {
  margin-left: 5px;
}

.price {
  margin-left: 10px;
}

ul,ol, li {
            margin: 0;
            padding: 0;
        }
        
.header-content {
  display: flex; /* Makes the div a flex container */
  justify-content: space-between; /* Pushes items to opposite ends */
  align-items: center; /* Vertically centers items if they have different heights */
  /* padding: 10px 20px; Add some padding for spacing */
  background-color: #f0f0f0; /* Example background */ 
  margin-top: 0;
  padding-top:0;
}

.company-name {
  /* No specific alignment needed here, as flexbox handles its position */
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 3px;
  padding-bottom: 0;
}

.content-switcher {
  padding: 4px;
  background-color: #f0f0f0;
  font-size: 1em;
}


.language-switcher {
  display: flex;
  justify-content: flex-end;
  padding: 4px;
  background-color: #f0f0f0;
  font-size: 0.7em;
}

.language-switcher .lang-button {
  padding: 4px 4px;
  margin-left: 4px;
  border: 1px solid #ccc;
  background-color: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
}

/* Visited - must come before hover to allow hover to override */
.language-switcher .lang-button:visited {
  color: #666;
}

/* Hover - make sure it overrides :visited */
.language-switcher .lang-button:hover {
  color: #d994b0;
  background-color: #f8f8f8;
    outline: 1px solid #d994b0; /* Safe, doesn't persist on mobile */
}

/* Active page */
.language-switcher .lang-button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}



.header {
  display: flex; /* Makes the div a flex container */
 flex-direction: column;
  justify-content: space-between; /* Pushes items to opposite ends */

    /* This property aligns inline content (like text) to the left within the block element */
    text-align: left;
    border: 1px solid blue; /* Just for visual demonstration */
    padding: 10px;
    width: 60%; /* Example width */
    margin: 20px auto; /* Center the div itself for better visibility */
  }



/* No more .lang-text display rules needed here as content is static per page */
.image-background-container {
   display: flex;
    flex-wrap: wrap;
    flex: 1 1 45%; /* roughly 2 per row with spacing */
    align-items: center;
 
}


.image-background-container figure {
    align-items: center;
    flex: 1 1 45%; /* roughly 2 per row with spacing */
    width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* background-color: #f9f9f9; */
    /* background-color: #f0f0f0; */
    /* box-sizing: border-box; */
   text-align: center;
}

.image-background-container img {
   align-items: center;
    flex: 1 1 45%; /* roughly 2 per row with spacing */
    flex-grow: 1;
    width: 100%;
    /* height: 600px; */
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-background-container img:hover {
    transform: scale(1.02);
    z-index: 1;
}

.image-background-container figcaption {
    padding: 8px 5px;
    text-align: center;
    font-size: 0.9em;
    color: #333;
    background-color: #f0f0f0; /* Example background */
    flex-shrink: 0;
}

body > *:not(.image-background-container):not(.language-switcher) {
    position: relative;
    z-index: 10;
    padding: 20px;
    /* background-color: rgba(255, 255, 255, 0.8); */
    background-color: #f0f0f0; /* Example background */
    flex-grow: 1;
}


.image-container {
      flex-direction: column;
      align-items: center;
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      padding: 10px;
  }

  .image-container img {
    width: 300px; /* adjust based on your design */
    height: 360px;
    border-radius: 8px; /* optional */
  }

  ul, ol {
    margin-left: 30px;
  }
  .container { max-width: 900px; margin: auto; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }

 footer {
   text-align: center; font-size: 0.9em; color: #666; margin-top: 40px; 
  }


/* desktop */
  @media (min-width: 768px) {
  .image-container {
    flex-direction: row; /* horizontal by default */
  }

  .image-container img {
     /* width: 450px; 
     height: 600px; */
    flex: 1 1 32%; /* 4 in a row on desktop */  

  }

  .image-background-container img {
     flex: 1 1 22%; /* 4 in a row on desktop */  
  } 

  .image-background-container figure {
       flex: 1 1 22%; /* 4 in a row on desktop */
   }

  .price {
  margin-left: 200px;
  }

  .listmargin {
  margin-left: 20px;
  }


  .company-name {
    /* No specific alignment needed here, as flexbox handles its position */
    font-size: 1.5em;
  }

  p {
    margin:0;
    padding:0;
    line-height: 1.7;
  }
h1 {
  padding:0;
  margin-top:0;
  margin-bottom:0;
  font-size: 1.6rem;
}

h2 {
  padding:0;
  margin-top:0;
  margin-bottom:0;
  font-size: 1.2rem;
}
h3 {
   margin-top:0;
    margin-bottom:0;
}
li {
            margin: 5px;
            padding: 5px;
        }

 }

