* {
  padding: 0;
  margin: 0;
}

h6 {
  font-size: 40px;
  color: black;
}

.box_container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
  border: 0px solid black;
  padding: 10px;
  background-image: url("");
}

.box1 {
  width: 48%; /* Adjust width for two boxes to fit side by side */
  height: 350px; /* Adjust height for desktop version */
  margin-bottom: 20px; /* Add some space between boxes */
  border-radius: 10px;
  overflow: hidden;
  position: relative; /* Add relative positioning */
  transition: width 0.7s;
}

.box1:hover {
  width: 55%;
  transition: width 0.5s;
}

.img_box1 {
  width: 100%; /* Adjust width to make the image fully appear */
  height: 100%; /* Adjust height to make the image fully appear */
  background-size: cover;
  filter: blur(0);
  transition: filter 0.3s ease;
}

.box1:hover .img_box1 {
  filter: blur(8px);
}

.text_overlay {
  position: absolute;
  top: 55%; /* Adjust the position of the text */
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.box1:hover .text_overlay {
  opacity: 1;
  pointer-events: auto;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.5rem;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  .box_container {
    flex-direction: column; /* Stack boxes vertically on mobile devices */
    align-items: center; /* Center the boxes on mobile devices */
  }

  .box1 {
    width: 100%; /* Set the width to full for better stacking on mobile */
    height: 200px; /* Adjust height for mobile version */
    max-width: none; /* Reset the maximum width for mobile version */
    margin-bottom: 20px; /* Add some space between stacked boxes */
  }
}