* {
  padding: 10px;
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}
.card a {
  text-decoration: none;
}

.row-padding img {
  margin-bottom: 12px;
}

.hero-image {
  width: 100%;
  height: 80%;
}
main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 10px; /* Adjust gap as needed */
  grid-template-columns: 70% 30%;
}
img {
  width: 100%;
}

.side-card img {
  width: 150%;
  background-color: aliceblue;
  background: solid green;
}
.button {
  /* Overall button styles */
  background-color: #fff; /* Example primary button color */
  color: #fff; /* Example white text color */
  padding: 10px 20px; /* Example padding */
  border: 20px;
  border-radius: 5px; /* Example rounded corners */
  cursor: pointer; /* Indicate clickable element */
  display: inline-block; /* Ensure inline behavior */
  text-decoration: none; /* Remove underline from anchor tag (inherited) */
  font-size: 16px; /* Example font size */
  font-weight: bold; /* Example bold text */
}

.button a {
  /* Inherit styles from button to anchor tag */
  color: inherit; /* Inherit color from button */
}
.posts {
  grid-column: 1;
  grid-row: 1;
}
.side-bar {
  grid-column: 2;
}

.comment-box {
  margin-top: 0;
  padding-top: 0;
  grid-column: 1;
  grid-row: 2;
}
p a {
  text-decoration: none;
}
.card {
  background-color: #fffaeb;
  box-sizing: border-box;
  border: 2px solid #a05e9f;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  gap: 5px;
}

.card-columns {
  display: inline-block;
}
.card img {
  width: 100%;
  height: 200px;
}

/* footer styles */
footer {
  display: flex;
  flex-direction: row;
}
/* Back to top*/
.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 50px;
  padding: 10px;
  background-color: black;
  border-radius: 5px;
  text-decoration: none;
  color: white;
}

.back-to-top:hover {
  background-color: gray;
}

/*footer styles end */

.card-columns {
  @include media-breakpoint-only(lg) {
    column-count: 4;
  }
  @include media-breakpoint-only(xl) {
    column-count: 5;
  }
}

/* Media queries for responsiveness */

/* For screens smaller than 768px (phones) */
@media (max-width: 768px) {
  body,
  main {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  /* Adjust button styling for smaller screens */
  .button {
    font-size: 14px; /* Adjust font size for better readability */
    padding: 8px 15px; /* Adjust padding for smaller buttons */
  }
}
