body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-size: cover;
  font-size: 16px;
}

.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}    

.container {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.header {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  width: 100%;
  box-sizing: border-box;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 100px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  background-color: white;
}

.nav a, .nav div {
  color: #000;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

.nav a:hover, .nav div:hover {
  background-color: rgba(221, 221, 221, 0.8);
}

.nav div {
  position: relative;
}

.nav div .dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(249, 249, 249, 0.9);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.nav div:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: rgba(221, 221, 221, 0.8);
}

.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  height: 100%;
  width: 250px;
  background-color: #333;
  color: white;
  padding: 20px;
  box-sizing: border-box;
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
  z-index: 1000;
}

.sidebar.active {
  right: 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

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

.sidebar img.logo {
  margin-bottom: 20px;
  width: 100%;
  height: auto;
}

.sidebar .dropdown-content {
  display: block;
  padding-left: 20px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.content {
  flex: 1;
  padding: 20px;
  overflow: hidden;
}

.content::after {
  content: "";
  display: table;
  clear: both;
}

.text-content {
  overflow: hidden;
}

.text-content h1, .text-content h2, .text-content h3, 
.text-content h4, .text-content h5, .text-content h6 {
  clear: none;
}

.text-content ul, .text-content ol {
  padding-left: 40px;
}    

.content-image {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 40%;
}

.footer {
  background-color: rgb(162, 162, 162);
  padding: 10px 0;
  width: 100%;
  box-sizing: border-box;      
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer a {
  color: black;
  text-decoration: none;
}

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

.burger {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1001;
  background-color: #333;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

.header-inner {
  text-align: center;
  padding: 20px;
}

.header-inner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

.header-inner h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.header-inner h2 {
  font-size: 2rem;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .background-wrapper {
    display: none;
  }
  
  body {
    background-color: #f0f0f0;
    font-size: 14px;
  }

  .header-inner h1 {
    font-size: 2.2rem;
  }

  .header-inner h2 {
    font-size: 1.8rem;
  }
}    

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }

 .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 60px;
  }
  
  /* Ensure the logo height is fixed and centered */
  .logo img {
    height: 60px;
    width: auto;
  }
  
  /* Style the burger menu and center it vertically with the logo */
  .burger {
    display: block;
    height: 40px;
    width: 40px;
    line-height: 40px; /* Vertically center the text inside the button */
    text-align: center;
    background-color: #333;
    color: white;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
  }  
  
  
  .nav {
    display: none;
  }
  
  
  .sidebar {
    display: block;
  }
  
  .nav.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
  }
  
  .footer-content {
    flex-wrap: wrap;
  }

  .content {
    display: flex;
    flex-direction: column;
  }

  .content-image {
    float: none;
    order: 1;
    margin-right: 0;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .text-content {
    order: 2;
  }

  .header-inner h1 {
    font-size: 1.8rem;
  }

  .header-inner h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  .burger, .sidebar {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner h1 {
    font-size: 1.5rem;
  }

  .header-inner h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 481px) and (max-width: 1200px) {
  .header-inner h1 {
    font-size: calc(1.5rem + 1vw);
  }

  .header-inner h2 {
    font-size: calc(1.2rem + 0.8vw);
  }
}