
* {box-sizing: border-box;}

body { 
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.header {
  overflow: hidden;
  background-color: #00ff00;
  padding: 20px 10px;
}

.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  background-color: #ddd;
  color: black;
}

.header a.active {
  background-color: dodgerblue;
  color: white;
}

.header-right {
  float: right;
}

@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .header-right {
    float: none;
  }
}

/* Container for Sidebar and Content */
.container {
    display: flex;
    margin: 20px auto;
    max-width: 1200px;
}

/* Sidebar Styles */
.sidebar {
    background-color: #ffffff;
    padding: 20px;
    width: 25%;
    border-right: 2px solid #ddd;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: auto;
}

.sidebar h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #2E8B57;
}

.sidebar p {
    color: #666;
    line-height: 1.6;
}

/* Content Styles */
.content {
    padding: 20px;
    width: 75%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
    min-height: 420px;
}

.content h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2E8B57;
}

.content p {
    color: #555;
    line-height: 1.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack logo and nav on mobile */
        align-items: flex-start; /* Align items to the left */
    }

    .logo {
        margin-bottom: 10px; /* Space between logo and nav */
    }

    nav ul {
        flex-direction: row; /* Keep nav items in a row on mobile */
        gap: 10px; /* Adjust spacing for mobile view */
        margin: 0; /* Reset margin */
    }

    .container {
        flex-direction: column; /* Stack sidebar and content */
    }

    .sidebar {
        width: 100%;
        margin-bottom: 20px;
        border-right: none; /* Remove border on mobile */
    }

    .content {
        width: 100%;
        margin-left: 0; /* Remove left margin */
    }
}
.footer {
    background-color: #00ff00;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer .container {
    color: #ffffff;
  margin-left: 470px;
}

.footer span {
    font-size: 0.9em;
}