@import url('https://fonts.googleapis.com/css2?family=Merriweather&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Overpass&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Merriweather&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Overpass&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Merriweather&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Overpass&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Shippori+Mincho+B1&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    
    color: #ffffff;
    
    margin: 0;
    padding: 0;
     
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    flex-direction: column;
    margin-bottom: 0px;
    
}
.navbar-custom {
  background-color: #7dd3a7;
  color: #f3fcf7;
  height: 90px; 
}

.navbar-toggler {
  margin-left: auto;
}

.navbar-brand .logo {
width: 150px;
display: flex;
align-items: center;
}

li, a, button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  list-style: none;
}

.navbar {
  width: 100%;
  color: #f3fcf7;
}

.nav-item {
  margin-top: -10px;
  margin-right: 15px;
  color: #f3fcf7;
}

.navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500; 
  color:#2E865F; 
  padding: 0 15px;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s;
}

.navbar-nav .nav-item .nav-link.active {
  font-weight: bold;
  color: #000;
}

.navbar-nav .nav-item .nav-link:hover {
  color: #fff;
  background-color: #4CAF50;
  border-radius: 5px;
  transform: translateY(-3px);
}

.loginbut {
  margin-bottom: 30px;
}

/* Ensure CSS priority */
.navbar-custom .navbar-nav .nav-link {
  color: #333 !important; /* Override any other styles */
}

.navbar-custom .navbar-nav .nav-link.active {
  color: #000 !important;
  font-weight: bold;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: #fff !important;
  background-color: #4CAF50 !important;
}

/* Ensure responsiveness */
@media (max-width: 992px) {
  .navbar-brand .logo {
      width: 120px;
  }
  .navbar-nav .nav-link {
      font-size: 18px;
      padding: 10px;
  }
}

@media (max-width: 768px) {
  .navbar-brand .logo {
      width: 100px;
  }
  .navbar-nav .nav-link {
      font-size: 16px;
      padding: 8px;
  }
}




.posts {
  
  padding-left: 0px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0px;
  background-color: #ffffff;
}

.posts .post {
  margin-bottom: 20px;
  padding-top: 220px;
  height: 300px;
  display: flex;
  padding: 40px 120px;
  background-color: #ffffff;
  color: #000000;
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  text-align: center; /* Center text within content */
}

.posts .post:nth-child(2n + 1) {
  margin-bottom: 70px;
  padding-top: 220px;
  height: 300px;
  background-color: #eff6ba;
  color: #322b21;
}
#dropdown-container {
  position: relative; /* Ensure that the close icon is positioned relative to the dropdown */
  margin-left: 480px;
  margin-right: 480px;
  background-color: #cdcbcb;
  margin-bottom: 10px;
}
.hidden {
  display: none;
}

.close-icon {
  color: #000; /* Change color to fit your design */
  padding: 10px;
  z-index: 1000; /* Make sure the icon is on top of other elements */
}


.post:nth-child(2n + 1) .content .user {
  margin-top: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #15323f;
}

.post .img {
  flex: 2;
  position: relative;
  display: flex;
  justify-content: center; /* Center image horizontally */
}

.post .img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.post .content {
  flex: 3;
  text-align: center;
  height: auto;
}

.post .content .user {
  margin-top: 20px;
  margin-bottom: -230px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #000000;
  justify-content: center;
}

.post .content .user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 30px;
}

.post .content .user .info {
  margin-top: 30px;
  gap: 0;
}

.post .content .user span {
  font-weight: bold;
}

.post .content .user p {
  margin-top: 0px;
  gap: 0;
}

.post .content h1 {
  font-weight: 700;
  margin: 20px 0;
}

.post .content p {
  max-width: 80%;
  margin: 0 auto;
}

.contain{
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-bar{
  width: 80%;
  max-width: 600px;
  height: 50px;
  color: #000000;
  background: rgba(197, 249, 165, 0.619);
  display: flex;
  align-items: center;
  border-radius: 60px;
  padding: 10px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px) saturate(180%);

}
.search-bar input{
  background: transparent;
  flex: 1;
  border: 0;
  outline: none;
  padding: 24px 20px;
  font-size: 20px;
  color: #000000;
}
::placeholder{
  color: rgb(29, 151, 98);
}
.search-bar button{
  border: 0;
  width: 70px;
    height: 30px;
    margin: 8px auto;
    display: block;
     outline: none;
    border: none;
    border-radius: 5px;
    transition: .2s ease-in;
    cursor: pointer;
  background: #ecf39e;
}
  .content {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .content h1 {
    margin-top: 170px;

    font-size: 48px;
  }
  
  .content p {
    /* Adjust this value to reduce or increase the space */
    font-size: 18px;
    height: 200px;
    padding-bottom: 300px;
  }
  
  
  
  
/* ////FOOTER */

footer {
  font-family: "Poppins", sans-serif;
  position: absolute;
  margin-bottom: 0 auto;
  height: auto;
  min-height: 290px;
  overflow: auto;
}

@media (max-height:880px) {
  footer {
      position: static;
  }
  header {
      padding-top: 40px;
  }
}

.footer-distributed {
  color: #f3fcf7;
  background-color: #7dd3a7;
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 16px "Poppins", sans-serif;
  padding: 50px 50px 60px 50px;
  margin-top: 170px;
}

.footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
  width: 30%;
  padding-bottom: 20px;
}

.footer-distributed h3 {
  color: #000000;
  font: normal 36px 'Cookie', cursive;
  margin: 0;
}


.footer-distributed h3 span {
  color: #000000;
}

/* Footer links */

.footer-distributed .footer-links {
  color: #000000;
  margin-top: 40px;
  margin: 20px 0 12px;
}

.footer-distributed .footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
}

.footer-distributed .footer-company-name {
  color: #000000;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
  width: 35%;
}

.footer-distributed .footer-center i {
  background-color: #ffffff;
  color: #000000;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}

.footer-distributed .footer-center p {
  display: inline-block;
  color: #000000;
  vertical-align: middle;
  margin: 0;
}

.footer-distributed .footer-center p span {
  display: block;
  /* font-weight: normal; */
  font-size: 14px;
  line-height: 2;
}

.footer-distributed .footer-center p a {
  color: #012b2e;
  text-decoration: none;
  ;
}

/* Footer Right */

.footer-distributed .footer-right {
  width: 30%;
}

.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #000204;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}

.footer-distributed .footer-company-about span {
  display: block;
  color: #000000;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-distributed .footer-icons {
  margin-top: 25px;
}

.footer-distributed .footer-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  /* background-color: #ffffff; */
  border-radius: 2px;
  font-size: 20px;
  /* color: #000000; */
  text-align: center;
  line-height: 35px;
  margin-right: 3px;
  margin-bottom: 5px;
}

.footer-distributed .footer-icons a:hover {
  background-color: #ffffff;
}

.footer-links a:hover {
  color: #027575;
}

@media (max-width: 880px) {
  .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
      display: block;
      width: 100%;
      margin-bottom: 40px;
      text-align: center;
  }
  .footer-distributed .footer-center i {
      margin-left: 0;
  }
}       
   
.disabled {
  pointer-events: none; /* Prevents all interactions */
  opacity: 0.5; /* Optional: Makes the section appear disabled */
}
#delete-dialog {
  position: fixed; /* Stay in place */
  top: 50%; /* Center the dialog vertically */
  left: 50%; /* Center the dialog horizontally */
  transform: translate(-50%, -50%); /* Offset by 50% to truly center it */
  z-index: 1000; /* Ensure it appears on top of other elements */
  background-color: #a7a7a7; /* Soft pastel teal background color */
  padding: 20px; /* Add some padding */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15); /* Slightly more pronounced shadow */
  width: 320px; /* Slightly wider dialog */
  text-align: center; /* Center align text */
}

#delete-dialog h3 {
  color: #042c25; /* Deep teal color for the warning text */
  margin-bottom: 20px; /* Space below the warning text */
  font-family: 'Arial', sans-serif; /* Clean font for the text */
}

.btn-delete {
  padding: 10px 20px; /* Add padding to buttons */
  border-radius: 5px; /* Rounded corners for buttons */
  border: none; /* Remove default border */
  font-size: 14px; /* Font size for the button text */
  cursor: pointer; /* Pointer cursor on hover */
  margin: 0 10px; /* Space between buttons */
  background-color: #8e0000; /* Soft coral color for delete button */
  color: rgb(0, 0, 0); /* White text */
}

.btn-cancel {
  padding: 10px 20px; /* Add padding to buttons */
  border-radius: 5px; /* Rounded corners for buttons */
  border: none; /* Remove default border */
  font-size: 14px; /* Font size for the button text */
  cursor: pointer; /* Pointer cursor on hover */
  margin: 0 10px; /* Space between buttons */
  background-color: #125a49; /* Soft pastel green-teal for cancel button */
  color: #000000; /* Deep teal text color */
}
