body {
    font-family: Garamond, serif;
    transition: background-color 0.5s ease;
    background-color: rgb(241, 241, 241);
}

.social-logo {
    width: 40px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    margin-right: 6px; /* Adjust spacing between logos */
}

body.dark-mode {
    background-color: #000000;
    color: rgb(255, 255, 255);
  }

  .container {
    max-width: 100%; /* Change this to 100% */
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid #ffffff00;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s ease;
    background-color: rgba(255, 255, 255, 0.884);
  }
  
  body.dark-mode .container {
    background-color: rgba(86, 86, 79, 0.7); /* Dark mode translucent */
  }

  header,
  footer {
    background-color: rgb(255, 251, 233);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    padding: 10px 20px;
  }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.main-links {
    display: flex;
    gap: 10px; /* Adjust the gap between links */
}

.social-links {
    display: flex;
    gap: 2px; /* Adjust the gap between social links */
    margin-top: 7px; /* Space between main links and social links */
}

.mode-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
}


#about {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.about-content {
  flex: 1 1 60%;
  text-align: left;
  padding-right: 20px;
}

.about-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 80%; /* Adjust the width to reduce the image size */
  height: auto; /* Maintain the aspect ratio */
  border-radius: 50%;
  object-fit: cover; /* Cover the area without distorting */
  flex-shrink: 1; /* Allow the image to shrink if needed */
  flex-basis: 200px; /* Set an initial size before shrinking or growing */
}

  

body.dark-mode header,
body.dark-mode footer {
  background-color: rgba(43, 37, 19, 0.7);
  color:rgb(255, 241, 184);
  display: flex;
  justify-content: space-between;
  align-items: center; /* Dark mode translucent */
}

/* Rest of your CSS remains unchanged */

  
  h1 {
    font-size: 3.5rem;
    margin: 0;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  nav li {
    margin-right: 1rem;
  }
  
  nav a {
    color: #282828;
    text-decoration: node;
    transition: transform 0.5s ease;
    font-size: 1.5rem;
  }
  nav a:hover {
    transform: translateX(2px);
  }
  body.dark-mode nav a {
    color: rgb(255, 255, 255); /* Adjust color for dark mode */
    }
  button {
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.3rem 0.3rem; /* Adjust padding if necessary to fit the circular shape */
    transition: background-color 0.5s ease;
    float: none; /* Remove float to avoid affecting dimensions */
    margin-right: 1rem; /* Consider adjusting or removing this if it affects the circular shape */
    background-color: #242424;
    color: #fff;
    border-radius: 50%; /* Apply border-radius to make the shape circular */
    width: 50px; /* Set a specific width */
    height: 50px; /* Set a specific height to match the width */
    display: inline-block; /
  }
  
  button:hover {
    background-color: #fff;
    color: #242424;
  }

  body.dark-mode button:hover {
    background-color: #242424;
    color: #fff;
  }

  body.dark-mode button {
    background-color: #fff;
    color: #242424;
  }

  button:active {
    background-color: #242424;
    color: #fff;
  }
  
  section {
    margin-bottom: 2rem;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  p {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: justify;
  }
  
  ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  
  li {
    flex-basis: calc(33.33% - 1rem);
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
  
  img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.5s ease;
  }
  
  img:hover {
    transform: scale(1.05);
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #ccc;
  }
  /* Adjustments for medium-sized screens */
  @media (max-width: 768px) {
    .about-content {
      text-align: left;
    }
    .main-links,
    .social-links {
      flex-direction: column;
    }
    .header-content h1 {
      font-size: 2.5rem; /* Smaller font size for mobile */
    }
    .main-links,
    .social-links {
      gap: 5px; /* Reduce gap between links */
    }
    .mode-switcher button {
      font-size: 1rem; /* Smaller font size for mobile */
    }
    #about {
      flex-wrap: wrap;
    }
    .about-image,
    .about-content {
      width: 100%;
    }
    p{
      text-align: left;
    }
  }
  
  @media (max-width: 480px) {
    .main-links,
    .social-links {
      padding: 10px 0; /* Increase padding for better touch targets */
    }
    .about-content,
    .about-image {
      flex: 1 1 100%; /* Full width for better readability */
    }
    .about-image {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column; /* Stack items vertically on mobile */
    }
    .about-image img {
      max-width: 100%; /* Full width for better readability */
      height: auto; /* Maintain the aspect ratio */
      border-radius: 50%; /* Circular shape */
      object-fit: cover; /* Cover the area without distorting */
      flex-shrink: 1; /* Allow the image to shrink if needed */
      flex-basis: 200px; /* Set an initial size before shrinking or growing */
      margin-top: 20px; /* Add some space above the image */
    }
    .about-content {
      text-align: left;
    }
    p{
      text-align: left;
    }
  }