.banner {
  width: 100%;
  height: 500PX;
}


.banner_main2 {
  position: relative; /* Needed for ::before overlay to position correctly */
  background-image: url('../IMG/Slider/bLOG2SLIDE1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%; /* Full viewport height */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Prevent scrollbars from pseudo-element */
  z-index: 0;
    background-position-x: right;
}

.banner_main2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background: linear-gradient(0deg, rgb(145, 219, 255) -17%, rgba(255, 255, 255, 0) 17%);
  /* z-index: 1; */
}


.baneer_cont2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    left: 0;
    right: 0;
    bottom: 35%;
    padding: 0 12vw;
    transform: translateY(35%);
    z-index: 10;
    font-family: "linotype-didot";
    max-width: 60vw;
}

.baneer_cont2 h1 {
    font-size: 42px;
    line-height: 3.75rem;
}

.baneer_cont2 p{
        font-family: "Barlow Condensed", sans-serif;
  margin-bottom: 1rem;
  line-height: 2rem;
  font-size: 22px;
}

.navigation{
  position: absolute;
  top: 0;
  left: 30px;
}
.navigation ul{
  display: flex;
  justify-content: center;
  align-content: center;
  margin-top: 10px;
}
.navigation ul li{
  list-style: none;
  margin-right: 10px;
}
.navigation ul li a{
  text-decoration: none;
  font-weight: 600;
  color: black;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
}

.navigation ul li a:hover{
  color: rgb(73, 73, 73);
}

.blog_cont{
    width: 1210px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 100px;
  margin: 65px auto;
}

.blog_img{
    width: 516px;
  height: 344px;
  border-radius: 9px;
  overflow: hidden;
}

.blog_img img{
    width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog_text{
 width: 820px;
  margin: auto;
    margin-top: auto;
  margin: 40px auto;
    
}
.blog_text h2{
    font-family: "linotype-didot";
  font-size: 2.25rem;
  font-weight: bold;
  line-height: 3rem;
  margin-top: 2rem;
  color: #1e1e1e;
}

.blog_text p{
    font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: var(--slds-c-card-text-color,var(--sds-c-card-text-color));
  margin-bottom: 15px;
  margin-top: 15px;
  color: #737373;
  text-align: justify;
}

.blog_text button{
    padding: 14px 22px;
  background: #f4f4f4;
  border: 1px solid black;
  border-radius: 50px;
  font-size: 1.125rem;
  transition: all .1s ease-in-out;
  transform: scale(1);
}

.blog_text button:hover{
    background: white;
    transform: scale(1.02);
}

.main{
  color: black;
  font-weight: 600;
}


@media (max-width: 1200px) {
  .blog_cont {
    flex-direction: column;
    gap: 50px;
    width: 90%;
  }

  .blog_img,
  .blog_text {
    width: auto;
    padding: 0 70px;
  }
  
}

@media (max-width: 768px) {
  .banner {
   height: 240px;
  }

  .blog_text {
  /* width: 820px; */
  margin: auto;
  margin-top: auto;
  margin: 40px auto;
  padding: 0 31px;
  text-align: center;
}
  .baneer_cont2 {
    bottom: 25%;
    padding: 0 8vw;
    transform: translateY(25%);
    max-width: 90vw;
  }

  .baneer_cont2 h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .baneer_cont2 p {
    font-size: 18px;
    line-height: 1.8rem;
  }

  .blog_text h2 {
    font-size: 1.75rem;
    line-height: 2.5rem;
  }



  .blog_text button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .blog_img {
    height: auto;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 480px) {
  .baneer_cont2 h1 {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .baneer_cont2 p {
    font-size: 16px;
    line-height: 1.5rem;
  }

  .blog_text h2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }



  .blog_text button {
    font-size: 1rem;
    padding: 10px 18px;
  }

  .blog_img {
    border-radius: 6px;
  }

  .banner_main2{
    background-position-x: center;
  }

  .baneer_cont2 {
  position: unset;}
}
