* {
  font-family: Georgia, sans-serif;
}

h1 {
  font-size: 32px;
  margin: 0 0 0 0;
  height: 50px;
}

h1 a {
  color: #000;
  text-decoration: none;
/*  padding: 6px;
  border: 2px solid #000000;*/
}

h1 a:hover {
  text-decoration: underline;
}

h2 {
/*  margin-left: 20px;*/
}

body {
  margin: 40px 40px;
}

p {
  font-size: 16px;
  line-height: 26px;
  padding-bottom: 10px;
}

.content {
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 30px;
  padding-left: 100px;
}

.banner {
  float: left;
  width: 300px;
  margin-left: 20px;
}

.nav {
    float: right;
    width: 400px;
}


.section-content {
  margin: 50px 0 30px 0;
}

.section-content2 {
  margin: 30px auto;
  float: left;
  padding-left: 250px;
  width: 1100px;
  box-sizing: border-box; 
}

.details {
  margin: 20px;
  float: left;
  font-size: 18px;
  width: 1000px;
}

.details p {
  margin: 2px 0;
}

.text {
  float: left;
  width: 600px;
}

/*.image {
  overflow:hidden;
  width: 350px;
  float: left;
}*/

.left-image {
  width: 250px;
  float: left;
  font-size: 12px;
  text-align: left;
}

.left-image img {
  width: 220px;
  float:left;
  padding-top: 10px;
  padding-right: 50px;
  padding-bottom: 20px;
}

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

.footer {
  font-size: 12px;
  text-align: right;
  margin: 30px auto;
  width: 960px;
  padding-right: 150px; }


h2 img {
  width: 775px;
  margin: 0 20px 20px 20px;
}

ul, ol {
  padding-left: 20px;
}

li {
  padding-bottom: 5px;
  font-size: 15px;
  line-height: 22px;
}

nav {
  text-align: left;
  display: inline-block;
  text-align: center;
  margin-left: 70px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0;
}

nav li {
  display: inline-block;
  padding: 0;
}

nav li:first-child a {
}

nav a {
  color: black;
  font-size: 15px;
  text-decoration: none;
  padding: 6px 12px;
  display: block;
}

nav a:hover {
  font-weight: bold;
}

@media (max-width: 768px) {
  body {
    margin: 20px;
  }

  h1 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 10px;
  }

  p, li {
    font-size: 16px;
    line-height: 24px;;
  }

  h2 img {
    width: 100%;
    height: auto;
  }

  .content,
  .section-content2,
  .details,
  .footer,
  .text,
  .banner,
  .nav,
  .left-image {
    width: 100% !important;
    max-width: 100%;
    float: none;
    box-sizing: border-box;
    padding: 0 15px;
    margin: 0 auto;
  }

  /* Adjusting banner alignment */
  .banner {
    text-align: center;
  }



  /* Fixing nav bar alignment and spacing */
  .nav {
    text-align: center;
    margin-top: 5px;
    padding: 0;
  }

  nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
  margin: 0;
}

  /* Image responsiveness */
  .left-image img {
    width: 110px;  /* Keeps the image size as before */
    height: auto;
    padding: 0;
    margin-right: 2em;
    display: block;
  }

.details {
  margin-top: 2em; /* Match this with the nav margin-top */
}

/* Optional: Adjust margin-top for .text inside .details for consistency */
.text {
  margin-top: 2em;
}
}