
.main-section {
  width: 100%;
  min-height: 900px;
  padding: 0 0.5%;
  position: relative;
  border-radius: 0px 0px 80px 80px;
  background: url("../images/blog.svg") no-repeat center / cover;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.main-section h1 {
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 800;
  color: #fff;
    text-shadow: 7px 6px 7px #000;
    max-width: 400px;
    text-align: center;
}
.main-section>div{
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  
}

.main-section>div div{
    border-radius: 25px 25px 0 0;
    line-height: 80px;
      font-size: clamp(20px, 4vw, 36px);
  font-weight:500 ;
  color: #D62130;
  text-align: center;
  width: 95vw;
  background-color: #fff;
  max-width: 400px;
  height: 70px;
  margin-top: 50px;
}
.case-study {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.case-study > div {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 3%;
}
.case-study > div > a {
  width: 500px;
  margin: 0 10px 30px 10px;
  height: 218px;
  border-radius: 14px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 0 10px #b2b2b2;
}
.case-study > div > a >div:last-child{
  display: flex;
  flex-direction:column ;
  justify-content: space-evenly;
    width: 48%;
  height: 100%;
    overflow: hidden;
}
.case-study >p {
  font-size: 20px;
  font-weight: 400;
  color: #70707C;
  margin: 50px 0;
  max-width: 550px;
  text-align: center;
}
.case-study > div h3 {
  font-size: 18px;
  font-weight: 500;
  padding: 0 0 0 10px;
  width: 80%;
}
.case-study > div p {
  font-size: 14px;
  font-weight: 400;
  color: #797979;
  padding: 0 0 10px 10px;
  overflow: hidden;
}
.case-image {
  width: 50%;
  height: 100%;
}
.case-image > img {
  border-radius: 14px 14px 0 0;
      object-fit: fill;

}



@media (max-width: 750px) {

.case-study > div > a{
  width: 90vw;
}
 
}




