html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  padding-top: 100px;
}

ul {
  margin: 0;
}

body a {
  text-decoration: none;
}

body p.author {
  font-weight: bold;
  margin-bottom: 0 !important;
}

.navbar {
  border: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: "Lobster", serif;
  font-weight: 700;
  font-size: 36px;
  font-style: normal;
  text-transform: capitalize;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar .dropdown-toggle::after {
  display: none !important;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.banner {
  background-image: url("https://djangoblog.lon1.digitaloceanspaces.com/djangoblog/static/blog/image/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 600px;
  padding-top: 14rem;
  padding-bottom: 6rem;
  margin-bottom: 0;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.banner-content {
  position: relative;
  color: white;
  z-index: 2;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}

.banner-heading {
  color: #fff;
}

.banner-subheading {
  font-size: 1.25rem;
  font-weight: 300;
  color: #fff;
}

@media (max-width: 767px) {
  .banner {
    padding-top: 10rem;
    padding-bottom: 4rem;
    min-height: 400px;
  }
}

.card-destinations {
  height: 300px;
  position: relative;
  width: 100%;
  border-radius: 8px;
}

.card-destinations {
  overflow: hidden;
  object-fit: cover;
  display: block;
}

.card-destinations img {
  transition: transform 0.2s ease;
}

.card-destinations:hover img {
  transform: scale(1.05);
}


.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center text */
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px 20px;
}

.card-img-top {
  height: auto;
  width: 100%;
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
  object-fit: cover;
}

.card-img-top-container {
  overflow: hidden;
  object-fit: cover;
  display: block;
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
}

.card-latest-blog {
  overflow: hidden;
}

.card-latest-blog img {
  transition: transform 0.2s ease-in-out;
}

.card-latest-blog:hover img {
  transform: scale(1.05);
}

.user-profile-photo {
  transition: transform 0.2s ease-in-out;
}

.user-profile-photo:hover {
  transform: scale(1.05);
}

.content-section {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 6px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.sidebar {
  margin-top: 60px;
  padding: 10px 20px;
}

.comment-body {
  background: #e0dfdf;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
  text-transform: capitalize;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.avatar {
  height: 50px;
  width: 50px;
  border: 2px;
  border-color: #fff;
  border-width: 2px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #ddd;
}

.media-body {
  width: 100%;
}

button#userDropdown {
  outline: none;
  border: none;
}

button#userDropdown:focus {
  outline: none;
  border: none;
}

.divider {
  margin: 5rem 0;
}

.blog-link,
.profile-link {
  color: #02327a;
}

.blog-link:hover,
.profile-link:hover {
  color: #fe750c;
}

.card-blog {
  transition: background 0.6s ease-in-out;
}

.card-blog:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transform: translateY(-2px) scale(1.01);
  transition: box-shadow 0.2s, transform 0.2s;
}

.fa-bookmark:hover,
.fa-brands:hover {
  color: #fe750c;
}

.banner .btn {
  color: #fff !important;
}

.banner .btn:hover {
  color: #010101 !important;
}


