* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  background-image: url(https://files.catbox.moe/o9mld3.jpg);
  text-align: center;
}

.topnav {
  background-image: url(https://files.catbox.moe/x82yx5.jpg);
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px; /* Increased padding */
  height: 60px; /* Increased height */
}

.topnav a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 15px 25px; /* Increased padding */
  text-decoration: none;
  font-size: 16px; /* Increased font size */
  transition: background 0.2s;
}

.topnav a:hover {
  background-color: rgba(95, 190, 100, 0.7);
  color: #fff;
}

.left-sidebar,
.right-sidebar {
  position: fixed;
  top: 68px; /* Increased top margin */
  width: 180px;
  height: calc(100% - 68px);
  background-image: url(https://files.catbox.moe/x82yx5.jpg);
  padding: 40px 20px;
  box-sizing: border-box;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
  text-align: left;
  z-index: 999;
  color: white;
}

.left-sidebar {
  left: 0;
}

.right-sidebar {
  right: 0;
}

.sidebar a {
  color: black;
  text-decoration: none;
  background: white;
  padding: 15px 20px;
}

.sidebar a:hover {
  background: wheat;
}

header {
  background-image: url(https://files.catbox.moe/f9mgrw.png);
  background-position: center;
  background-size: repeat;
  padding: 50px 0 30px 0;
  text-align: center;
  margin-top: 76px;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  width: 50%; /* Decrease the width to 80% */
}

header h1,
header h2,
header p {
  color: #fff;
  padding: 20px 0;
}

.main-content {
  margin-left: 250px;
  margin-right: 250px;
  padding: 100px 50px 50px 50px;
  background: #F0E4CC;
  min-height: 80vh;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  text-align: left;
  margin-top: calc(60px + 20px); /* Calculates minimum top margin based on nav height */
}

h1,
h2 {
  text-align: center;
  padding: 30px 0;
}

@media (max-width: 900px) {
  .left-sidebar,
  .right-sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
    margin-right: 0;
    padding: 70px 20px 20px 20px;
    max-width: 100%;
  }
  .topnav {
    position: static;
  }
}

.scroll-container {
  width: 300px;
  height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid #000000;
  padding: 20px;
  margin: 20px;
  box-sizing: border-box;
  background-color: #f5fcef;
}

.scroll-content {
  font-size: 16px;
  line-height: 1.5;
  height: 100%;
  padding: 20px;
}