

.hobbie_header{
    position: relative;
    /* height: 15px; */
    /* background-color: blue; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hobbies .content{
    display: flex;
    justify-content: center;
    align-items: center;
}

.hobbies-info{
  height: 100%;
    display: flex;                /* enables flexbox */
    justify-content: center;      /* centers horizontally */
    align-items: center;          /* centers vertically */
}

/* Grid Layout */
.hobbies-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  
}

/* Card Styling */
.hobbie-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  height: 100%;
}

.hobbie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

/* Image */
.hobbie-card img {
  width: 100%;
  /* height: 180px; */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Title */
.hobbie-card h3 {
  color: #388e3c;
  font-size: 1.3rem;
  margin-bottom: 12px;
      font-family: "Titan One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Description */
.hobbie-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

/* Responsive (Mobile: 1 Column) */
@media (max-width: 768px) {
  .hobbies-container {
    grid-template-columns: 1fr;
  }
}
