@import url("https://fonts.googleapis.com/css2?family=Moderustic&family=SUSE:wght@600&display=swap");
body {
  font-family: "Moderustic", "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f5ff;
  color: #333;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /* overflow: hidden; */
}
.overlay {
  position: sticky;
  /* width: 100%;
  height: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.back-btn {
  top: 20px;
  left: 20px;
  font-size: 1em;
  text-decoration: none;
  color: #38b6ff;
  background: transparent;
  border: 2px solid #38b6ff;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s ease;
}

.back-btn:hover {
  background: #38b6ff;
  color: #fff;
}
/* Navigation Bar */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1.5px;
}
.main-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.posts-container {
  /* flex: 2;
  overflow-y: auto; */
  padding: 20px 30px;
  background: #f9f9f9;
  border-radius: 12px;
  width: 700px;
}

.posts-container::-webkit-scrollbar {
  width: 2px;
}

.posts-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4596ed, #1c74d2);
  border-radius: 10px;
}

.create-post-container {
  /* flex: 1; */
  background: #fff;
  border-left: 1px solid #ddd;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  overflow-y: auto;
  position: sticky;
  top: 20px;
  height: 500px;
  margin: 10px;
  border-radius: 12px;
  border: 1px solid blue;
}

.create-post-container h3 {
  margin-top: 0;
  color: #333;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.create-post-container .profile-photo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  justify-content: center;
}

.create-post-container .profile-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 1px solid #007bff;
}

.create-post-container .profile-photo input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #f9f9f9;
  transition: border 0.3s;
}

.create-post-container .profile-photo input:focus {
  border-color: #007bff;
  outline: none;
}

.create-post-container input,
.create-post-container textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background: #f9f9f9;
  transition: border 0.3s;
}

.create-post-container input:focus,
.create-post-container textarea:focus {
  border-color: #007bff;
  outline: none;
}

.create-post-container button {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.create-post-container button:hover {
  background: linear-gradient(90deg, #0056b3, #003a8f);
  transform: translateY(-2px);
}

.post {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 25px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 800px;
  border: 1px solid rgb(135, 187, 235);
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #007bff, #0056b3);
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.post h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.post p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.grid-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.grid-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

.like-button {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s, transform 0.2s;
}

.like-button:hover {
  background: linear-gradient(90deg, #0056b3, #003a8f);
  transform: translateY(-2px);
}

.like-button span {
  font-weight: bold;
}

.comment-section {
  margin-top: 15px;
}

.comment-section input {
  width: calc(100% - 90px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-right: 5px;
  background: #f9f9f9;
  font-size: 14px;
}

.comment-section button {
  padding: 10px 12px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s, transform 0.2s;
}

.comment-section button:hover {
  background: #1e7e34;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .create-post-container {
    position: static;
    height: auto;
    box-shadow: none;
    border-left: none;
    margin-bottom: 20px;
  }
}

.delete-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc3545;
  color: white;
  border: none;
  width: 80px;
  height: 30px;
  border-radius: 12px;
  /* display: none; */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s, transform 0.2s;
}

.delete-button:hover {
  background: #b02a37;
  transform: scale(1.1);
}

.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

.like-button {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s, transform 0.2s;
}

.like-button:hover {
  background: linear-gradient(90deg, #0056b3, #003a8f);
  transform: translateY(-2px);
}

.like-button span {
  font-weight: bold;
}
.create-post {
  width: 100%;
}
.create-post-container input,
.create-post-container textarea {
  width: 92%;
}
@media (max-width: 768px) {
  .post {
    width: 86%;
  }
  .create-post-container {
    margin: 0px;
  }
}

.travel-website-footer {
  background-color: #222;
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 40px 0;
}

.travel-footer-heading {
  font-size: 18px;
  color: rgb(0, 102, 255);
  margin-bottom: 15px;
}

.travel-footer-container a {
  color: #ff5e14;
  text-decoration: none;
  transition: color 0.3s;
}

.travel-footer-container a:hover {
  color: #fff;
}

.travel-footer-container ul {
  list-style: none;
  padding: 0;
}

.travel-footer-contact-info li,
.travel-footer-quick-links li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.travel-footer-contact-info li i,
.travel-footer-quick-links li a:hover {
  color: #ff5e14;
  font-size: 18px;
}

.travel-footer-quick-links a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.travel-footer-quick-links a:hover {
  color: #ff5e14;
}

/* Social Links */
.travel-footer-social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.travel-footer-social-links a {
  background: #333;
  color: #fff;
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}

.travel-footer-social-links a:hover {
  background: #1476ff;
  transform: scale(1.1);
}

/* Subscribe Form */
.travel-footer-subscribe-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.travel-footer-input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
  background: #333;
  color: #fff;
}

.travel-footer-button {
  padding: 10px 20px;
  background: #14a1ff;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.travel-footer-button:hover {
  background: #1261e0;
}

/* Footer Bottom */
.travel-footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  /* border-top: 1px solid #444; */
}

.travel-footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.col12 {
  display: flex;
}
.col-lg-4 {
  padding: 0px 40px;
  width: 50%;
}
.leftF {
  width: 70%;
}
.travel-footer-contact-info,
.travel-footer-quick-links {
  display: flex;
  flex-direction: column;
}

.travel-footer-contact-info li,
.travel-footer-quick-links li {
  list-style: circle;
  padding: 2px 1px;
  border-radius: 0;
  width: 100%;
  height: auto;
  border: none;
  transform: translateY(0px);
  transition: 0.2s ease-in-out;
  color: black;
}
.travel-footer-contact-info li::before,
.travel-footer-quick-links li::before {
  background-color: transparent;
}
.travel-website-footer {
  background-color: #f0f5ff;
  color: black;
}
.text-center {
  width: 100%;
  justify-content: center;
  text-align: center;
}
@media (max-width: 480px) {
  .col12 {
    flex-direction: column;
  }
}
.travel-footer-social-links {
  padding: 10px;
}
.social-div {
  padding: 20px 36px;
}
.create-post-container .profile-photo img {
  width: 100px;
  height: 100px;
}
.hidden {
  display: none;
}
body::-webkit-scrollbar {
  display: none; /* Hides scrollbar in Webkit browsers */
}
