* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#blog-main-heading{
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#blog-main-heading h1{
    font-size: 40px;
    color: white;
    background-color: rgb(0, 0, 0,0.5);
    text-align: center;
    padding: 20px 0;
    width: 100%;
}
.blog-section {
  padding: 30px 0;
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  height: fit-content;
}

.blog-card {
  background-color: white;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid black;
  box-shadow: 0 2px 8px rgba(0, 0, 0);
  width: 320px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0,0.5);

}

.blog-image {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.blog-content {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.blog-title {
  font-size: 1.2rem;
  width: 100%;
  color: #333;
}

.blog-date {
  font-size: 0.9rem;
  width: 100%;
  color: #777;
}
