body{
  margin-left: 2em;
  background-color: white;
  color: #000;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1{
  font-size: x-large;
  text-align: center;
}

li p {
 margin-top: 0em;
 margin-bottom: 1.5em;
}

/* Default container style */
.container {
  max-width: 1200px;
  margin: 0 auto; /* Center the container */
  width: 100%; /* Take up full width by default */
  margin-bottom: 5em; /* Adjust the value as needed */
}

.centered {
  text-align: center;
}

.large{
  font-size: large;
}

.larger{
  font-size: x-large;
}

.error-message {
  background-color: red;
  color: white;
  padding: 0.5em;
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.error-message::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\f071"; /* Unicode for Font Awesome warning sign */
  font-family: "Font Awesome 5 Free";
  margin-right: 0.5em;
}

.top-icon{
  margin-right: 1.5em;
}

/* Sitemap & navigation: Aligns all enclosing elements vertically centered */
.navigation {
  display: flex;
  align-items: center;
  display: flex;
  justify-content: space-between;
  background-color: #333; /* Adjust as needed */
  padding: 1em;
  border-radius: 5px; /* Rounded edges, adjust as needed */
}

.language-flags {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push language flags to the right */
}

.language-flag,
.language-flag-active,
.language-flag-inactive {
  height: 20px;
  margin-left: 0.2em;
  margin-right: 0.2em;
  transition: transform 0.3s, opacity 0.3s; /* Add transition for smooth effect */
}

.language-flag-inactive {
  transform: scale(0.8); /* Enlarge the image by 10% */
  opacity: 0.75;
}

.language-flag-active {
  border: 1px solid #ffffff; /* Red color, adjust as needed */
  border-radius: 5px; /* Rounded edges, adjust as needed */
  transform: scale(1.1); /* Enlarge the image by 10% */
}

/* Hover effect for inactive element */
.language-flag-inactive:hover {
  transform: scale(1.2); /* Enlarge the image by 20% on hover */
  opacity: 1; /* Reset opacity on hover */
}

.sitemap ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.sitemap li {
  margin: 0 10px; /* Adjust spacing between sitemap items */
  white-space: nowrap;
}

.sitemap a {
  text-decoration: none;
  color: #fff; /* Adjust link color */
  font-weight: bold;
}

.sitemap a:hover {
  text-decoration: underline;
}

/* Style for the active class */
.sitemap a.active {
  font-weight:bolder;
  color: black;
  background-color: white;
  padding: 0.5em;
  border-radius: 5px;
  border-width: 0px;
}

.footer {
  font-size: 0.8em;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  background-color: #333; /* Adjust as needed */
  padding: 1em;
  border-radius: 5px; /* Rounded edges, adjust as needed */
  color: #fff; /* Text color, adjust as needed */
}

.footer-links ul {
  list-style: none; /* Remove the default list-style (bullets) */
  display: flex;
  margin: 0;
  padding-left: 0;
}

.footer-links a.active {
  text-decoration: none;
  color: black;
  background-color: white;
  font-weight: bold;
  padding: 0.2em;
  border-radius: 5px;
  border-width: 0px;
}

.footer-links a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.release-header {
  background-color: #333; /* Dark gray background color */
  color: #fff; /* White text color */
  font-weight: bold; /* Bold text */
  padding: 1em; /* Padding inside the box */
  border-radius: 8px; /* Rounded corners */
  margin: 0.5em 0; /* Overall margin */
  width: calc(100% - 2em); /* Full width with margin considered */
  position: relative;
}
.release-header a{
  text-decoration: none;
  color: #fff;
}

.release-header h2 {
  margin: 0; /* Remove default margin */
}

.release-header-info {
  position: absolute;
  top: 0;
  right: 0;
  color: #000;
  background-color: white;
  border-radius: 5px;
  padding: 5px;
  margin-top: 1em; /* Adjust margin as needed */
  margin-right: 0.5em;
}

.date-box {
  background-color: lightgray; /* Slightly brighter gray background color */
  font-weight: bold; /* Bold text */
  padding: 0.5em; /* Padding inside the box */
  border-radius: 8px; /* Rounded corners */
  margin: 0.5em 0 1em 0; /* Top margin reduced */
  width: calc(100% - 2em); /* Full width with margin considered */
}

.date-box a {
  color: #000;
}

.bullet-list li p {
  margin-bottom: 0.5em;
}

.info-box {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a box shadow for a subtle lift effect */
}

.info-icon {
  background-color: #3498db; /* Blue background color */
  color: #fff; /* White text color */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.warning-icon {
  background-color: #bd6217; /* Orange background color */
  color: #fff; /* White text color */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.info-icon i {
  font-size: 24px; /* Adjust font size as needed */
}

.info-text {
  flex: 1;
  padding: 10px;
}

.download-hint {
  font-weight: bolder;
  background-color: lightgrey;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  border-radius: 5px;
  line-height: 1.7em;
  white-space: nowrap;
}

.table {
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
}

.table-frame{
  border: #000;
  border-radius: 8px;
  border-width: 2px;
  border-style: solid;
  margin-top: 0.5em;
  padding-top: 0.5em;
}

.table-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em; /* Adjust margin as needed */
  margin-left: 1em;
}

.table-header-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0em; /* Adjust margin as needed */
  background-color: #333;
  color: #fff;
  padding-left: 1em;
  border-radius: 9px;
}
.table-header-row a{
  color: #fff;
}

.table-header-row-2 {
  display: flex;
  align-items: center; /* Center vertically */
}

.spacing{
  margin: 0.5em;
}

.auto-table-cell {
  width: 33.33%; /* 1/3 of the table */
  display: flex;
  align-items: center; /* Center vertically */
}

.w35-table-cell {
  width: 30%; /* 25% of the table */
  display: flex;
  align-items: center; /* Center vertically */
  font-weight: bold;
}

.link-table-cell {
  flex-grow: 1; /* Use remaining width */
  display: flex;
  align-items: center; /* Center vertically */
  color: #000;
}

.link-table-cell a {
  display: block; /* Make links fill the entire width of the cell */
  white-space: nowrap; /* Prevent line breaks within links */
  overflow: hidden; /* Hide overflowed content */
  text-overflow: ellipsis; /* Display ellipsis for overflowed content */
}

.table-row a {
  font-weight: bold;
  color: #000;
}

.github-container{
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   margin-top: 2em;
   margin-bottom: 2em;
}
.github-banner {
  font-size: x-large;
  background-color: #222;
  color: white;
  padding: 1em; /* Add padding to the box */
  border-radius: 4em;
  text-align: center;
  display: inline-block; /* Make the box shrink to the content */
}

.github-banner i {
  font-size: xx-large;
}

.github-banner-link {
  color: white;
  text-decoration: none;
}

.github-banner-link:hover,
.github-banner-link:visited {
  color: white; /* Maintain the same color for hover and visited states */
  text-decoration: none;
}

.message-form {
  position: relative;
}

.message-form form {
  max-width: 600px;
  margin: auto;
}

.message-form label {
  display: block;
  margin-top: 1em;
  padding-bottom: 0.5em;
}

.message-form input[type="email"],
.message-form input[type="text"],
.message-form textarea {
  width: 100%; /* Set the width to 100% for these elements */
  padding: 1em;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  margin-bottom: 1em; /* Add some space between elements */
}

.message-form textarea {
  resize: both;
  height: 20em;
}

.message-form input[type="submit"],
.message-form input[type="reset"] {
  padding: 1em;
  font-size: larger;
  background-color: darkgreen;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.message-form input[type="submit"]:hover,
.message-form input[type="reset"]:hover {
  background-color: greenyellow;
  color: #000;
}

.download-box {
  width: 60%;
  margin: 20px auto;
  border: 5px solid darkgreen;
  border-radius: 15px;
  overflow: hidden;
}

.header-row {
  background-color: darkgreen;
  color: white;
  text-align: center;
  padding: 10px;
}

.container-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-cell-left {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  float: left;
  width: 40%; /* Adjusted width */
  height: 100%;
  color: darkgreen;
}
.container-cell-left p {
  margin: 0.5em;
}

.container-cell-right {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  float: right;
  width: 60%; /* Adjusted width */
  border-left-width: 5px;
  border-right-width: 0px;
  border-top-width: 0px;
  border-bottom-width: 0px;
  border-style: solid;
  border-color: darkgreen;
}

.box {
  background-color: #ccc;
  margin: 10px;
  padding: 20px;
  text-align: center;
}

.full-width-box {
  background-color: darkgreen;
  color: white;
  clear: both;
  padding: 10px;
  text-align: center;
}
.full-width-box h2 a,
.full-width-box h2 a:hover,
.full-width-box h2 a:visited
{
  color: white;
}

/* --- RESPONSIVE DESIGN */

/* Adjust container width for smaller screens */
@media (max-width: 1200px) {
  .container {
      padding: 20 20px; /* Add padding to improve readability */
      margin-bottom: 10em; /* Adjust the value as needed */
  }
}

/* For screens smaller than 850px, move content below flags */
@media (max-width:850px) {
  .sitemap li,
  .footer li {
    font-size: 0.8em;
  }
  .download-box{
    width: 80%;
  }
}

/* For screens smaller than 750px, move content below flags */
@media (max-width:750px) {
  .sitemap ul,
  .footer ul {
    flex-direction: column; /* Stack flags vertically for smaller screens */
  }

  .footer ul{
    align-items: center;
  }

  .sitemap a.active {
    padding: 0em !important;
  }

  .sitemap li{
    padding-bottom: 0.25em;
  }

  /* Add margin to content after language flags */
  .content-after-flags {
    margin-top: 50px;
  }

  .w35-table-cell, .table-row a , .date-box{
    font-size: small;
  }
  .download-box{
    width: 100%;
  }
}

/* Additional adjustments for even smaller screens if needed */
@media (max-width: 600px) {
  .container {
      padding: 0 10px; /* Further reduce padding for very small screens */
      margin-bottom: 15em; /* Adjust the value as needed */
  }
}

/* For screens smaller than 480px, move content below flags */
@media (max-width:480px) {
  .language-flags{
    flex-direction: column; /* Stack flags vertically for smaller screens */
  }

  /* Add margin to content after language flags */
  .content-after-flags {
    margin-top: 50px;
  }
}
