/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 80px;
}

.post-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 20px;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-header h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.date-posted {
  font-size: 14px;
  color: #777;
}

.post-media {
  margin-top: 20px;
}

.media-img {
  width: 100%;
  border-radius: 8px;
  max-height: 400px;
  object-fit: cover;
}

.post-body {
  margin-top: 20px;
}

.post-body p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.icons {
  display: flex;
  gap: 10px;
}

.icon-btn {
  background-color: transparent;
  border: none;
  color: #007bff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icon-btn:hover {
  color: #0056b3;
}

.icon-btn i {
  margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .post-header {
    flex-direction: column;
    text-align: center;
  }

  .post-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #4A90E2;
    padding: 15px 20px;
    color: white;
  }
  
  .nav-left {
    display: flex;
    align-items: center;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

  .header {
    background: linear-gradient(135deg, rgb(255, 225, 0), rgb(255, 149, 0)); /* Gradient from yellow to orange */
    color: rgb(0, 0, 0);
    font-weight: bolder;
    padding: 15px;
    text-align: left;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align main content to the left */
    gap: 15px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.social-icons {
    margin-left: 60%; /* Pushes icons to the right */
    display: flex;
    gap: 10px; /* Adds spacing between icons */
    
}

.social-icons img {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    
}

.social-icons img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}




.hero {
    background: url('bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.hero:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    transition: color 0.3s ease;
}

.hero h1:hover {
    color: #00ff80;
}

  .header img {
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    vertical-align: middle; /* Align the image vertically */
    background-color: white; /* Set the background color to white */
    padding: 5px; /* Add padding to ensure the background is visible around the image */
}

.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-button {
    background-color: transparent;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  .profile-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f1f1f1;
    min-width: 140px;
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 9px 12px;
    text-decoration: none;
    display: block;
    font-size: 12px;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  /* Hide menu icon by default */
.menu-icon {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.post-title {
    font-size: 16px;
    font-weight: bold;
    color: #333; /* Adjust color as needed */
    margin-bottom: 5px;
}




  /* Show menu icon on mobile */
@media screen and (max-width: 760px) {
    .menu-icon {
        display: block;
    }

    .social-icons {
        display: none;
    }

    .dropdown {
        display: none;
    }
    p{
        font-size: 7px;;
    }