html {
    overflow-x: hidden;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #384B5EFF;
    margin: 0px 75px 20px 75px;
    overflow-x: hidden;
    /* max-width:fit-content; */
  }

  header {
    padding: 25px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* position: fixed; */
    top: 0;
    left: 0px;
    right: 0px;
    z-index: 100;
    /* border-bottom: 1px solid #F2F2F2; */
  }

  .logo {
    width: 175px;
    height: auto;
  }

 .header-right {
    margin-right: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .header-right a {
    color: #ffffff;
    margin: 0 10px 0 10px;
    text-decoration: none;
    font-size: 14.5px;
  }
  
  .header-right a:hover {
    color: #EB6769FF;
  }

  .header-right a:nth-child(2) {
    color: #EB6769FF; /* Replace "red" with your desired color value */
  }

  .nav-container {
    position: relative;
    display: inline-block;
  }

  .nav-toggle {
    padding: 10px 10px;
    /* background-color: #333; */
    color: white;
    cursor: pointer;
    user-select: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f9f9f9;
    min-width: 125px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
  }

  .nav-item {
    color: #333 !important;
    padding: 8px 8px;
    text-decoration: none;
    display: block;
  }

  .nav-item:hover {
    color: #EB6769FF !important;
  }

  /* Show menu on hover of either toggle or menu itself */
  .nav-container:hover .nav-menu {
    display: block;
  }

  .nav-toggle:hover {
    background-color: #EB6769FF;
    border-radius: 4px;
  }

  .profile-pic {
    width: 22.5px;
    height: 22.5px;
  }

  .text-section {
    background-color: #f9f9f9;
    padding: 10px 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    /* max-height: 50px; */
    /* border: 1px solid #1cb05a; */
  }
  
  .text-container {
    /* max-width: 800px; */
    margin: 0 auto;
    text-align: center;
  }
  
  .text-container h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .text-container p {
    font-size: 16px;
  }  

  .search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 20px;
    /* border: 1px solid #1cb05a; */
  }
  
  #search-input {
    padding: 10px;
    width: 350px;
    /* margin-left: 20px; */
  }
  
  #search-button {
    background-color: #EB6769FF;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    padding: 10px 20px;
    margin-left: 10px;
  }

  .write-blog-button {
    display: inline-block;
    background-color: #EB6769FF;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    padding: 10px 20px;
    text-decoration: none;
  }

  .write-blog-button:hover, #search-button:hover {
    background-color: #FFB84DFF;
  }

  .content {
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%;
    /* border: 1px solid #44475b; */
  }

  .row {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 20px;
    /* border: 1px solid #1cb05a; */
  }

  .blog-card {
    flex-basis: calc((100% - 40px) / 3);
    height: auto;
    margin-right: 20px;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    /* justify-content: center; */
    position: relative;
    box-sizing: border-box;
  }
 
  .blog-card:nth-child(3n) {
    margin-right: 0;
  }
  
  .blog-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  .blog-card .blog-title {
    font-size: 15px;
    text-decoration: none;
    color: #EB6769FF;
    font-weight: bold;
    /* border: 1px solid #1cb05a; */
  }
  
  .blog-card .blog-title:hover {
    color: #FFB84DFF;
  }

  .blog-card p {
    margin: 15px 0;
  }
  
  .blog-card .blog-content {
    font-size: 12px;
    max-height: 4.8em; /* Adjust the max height to show only 3 lines (16px * 3) */
    line-height: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    color: #BCC1CAFF;
  }

  .likes-loves {
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    align-items: center;
  }
  
  .likes-loves p {
    font-size: 16px;
    margin: 5px;
  }

  .blog-card p {
    font-size: 12px;
  }
  
  .tags {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-size: 8px;
  }
  
  .tags span {
    margin-right: 5px;
    padding: 3px 3px;
    border: 1px solid #ccc;
    border-radius: 3px;
    border: 1px solid #EB6769FF;
    background-color: #f2fdf7;
  }

  .tags-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    /* border: 1px solid #1cb05a ; */
  }

  .publish-date {
    margin: 0;
    font-size: 12px;
  }

  .tags-wrapper p {
    color: #BCC1CAFF;
  }

  footer {
    background-color: #44475b;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 0;
  }