.article-about {
  max-width: 1200px;
  margin: 0 auto;
}

.pic-sec {
  width: 100%;
  margin: 30px auto 0px;
}

.article-about img {
  margin: 0px auto;
  box-shadow: 0px 0px 5px #d0c9c9;
}

.pic-sec__grid,
.card_img {
  text-align: center;
  height: 100%;
  width: 100%;
}

.card_im a{height: 100%;
  width: 100%; }


  .case-disaine__item-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover ;
    object-position: 0px -0px !important;
  }
.pic-sec__grid {
  width: 600px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

.first-img {
  grid-column: span 3;
}

.article-about {
  display: flex;
  gap: 30px;

}

.white_transparent-btn,
.red_transparent-btn,
.white_transparent-border-16-btn {
  margin: 0px auto;
  width: 500px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.28px;
  color: #d5c514;
  border: 4px solid #fff;
  border-radius: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  cursor: pointer;
  transition: 0.25s all;
  position: relative;
  overflow: hidden;
}

.article-about .text {
  margin-top: -40px;
}
.article-about .text {
  white-space: pre-line;
  word-wrap: break-word;
  margin: 30px;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}
.article-about p {
  text-indent: 30px;
}

.red_transparent-btn:before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  left: -110%;
  width: 100%;
  background-color: #0186cd;
  transition: all 0.3s;
  z-index: -1;
  animation-name: red_btn_animation;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

div.btn_goto_tarifs .btn_goto_tarifs {
  margin: 0 auto;
  width: fit-content;
}

@keyframes fill{
0% {
  left: -100%;
}
50% {
  left: 0;
}
100% {
  left: 100%;
}
}

@keyframes colorChange{
0%, 100% {
  color: #E57F27;
}
50% {
  color: white;
}
}

.red-border-16-btn, .black-border-16-btn {
  display: inline-block;
  width: 80%;
  margin: 30px auto;
  height: 60px;
  line-height: 55px;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  color: #E57F27;
  background: white;
  border: 4px solid #E57F27;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 70px;
  animation: colorChange 5s infinite ease-in-out;
}
.red-border-16-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #E57F27;
  z-index: -1;
  animation: fill 5s infinite ease-in-out;
}

.posts-sec{
text-align: center;
}


.posts{
  display: flex;
  justify-content: center;
  width: 1200px;
  margin: 30px auto;
  flex-wrap: wrap;
  gap: 4%;
}

.posts .case-item{
width: 47%;
flex: none;
}

.case-item__popup .button {
  height: 60px;
  top: 35%
}

.wrapper .article-about  h2{

  color: #0186CF !important;
  }



.article-about .title-mobile{
display: none ;
}

@media (max-width: 767px) {

  .article-about{
    flex-direction: column;
  }

  .red_transparent-btn {
    margin-top: 0;
  }

  .article-about img {
    margin-left: 10px;
    margin-right: 10px;
    width: calc(100% - 20px);
  }

  .red_transparent-btn {
    width: 300px;
  }

  .red_transparent-btn {
    padding: 16px;
    margin-top: 15px;
  }
  .article-about p, .article-about li, .article-about div {
    width: 100%;
}
.article-about .text {
  width: 100%;
  margin: 0px;
}
.posts{
  width: 100%;
  flex-direction: column;
}
.posts .case-item{
  width: 100%;
  
  }
  .case-item__popup .button{
    top:25%
  }

  .article-about .title-desc{
    display: none;
  }

  .wrapper .article-about .title-mobile {
    display: block;
    color: #0186CF  !important;;
  }
  .article-about h2::before {
    display: none;
  }

  .pic-sec{

    margin: 0px auto;
  }
}