/* addition styles */

.build-card{
  margin-bottom: 50px;
}

/* addition styles end */



.pre-product {
  height: 130px;
  background: #23211b;
}

.form-warning-form {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  
}
.wrapper-form {
max-width: 1200px;
padding-left: 20px;
padding-right: 20px;
margin: 0 auto;
}



.page-galery h2{
  color:#cc2b44}
  .page-galery >article >p,.page-galery >article >h2 {
  font-size:20px;
  text-align:center;
  font-weight:500;
  max-width:720px;
  font-family: "Regular";
  margin:10px auto;
  color:#000;
  }

@media only screen and (min-width: 1381px){
.wrapper-form {
  padding-left: 0;
  padding-right: 0;}
} 
.wrapper-form {
padding-left: 20px;
padding-right: 20px;
margin: 0 auto;
}
@media only screen and (min-width: 1381px){
.wrapper-form {
  padding-left: 0;
  padding-right: 0;}
}
.form-warning-form {
width: 100vw;
margin-left: calc(-50vw + 50%);
padding: 50px 0 80px;
background-color: #DFDFDF;
}
.form-warning__content-form {

}
.warning-form__title-form {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  max-width: 730px;
}
.warning-form__subtitle-form {
  max-width: 620px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  margin-top: 15px;
}
@media only screen and (min-width: 769px){
.warning-form__title-form {
  font-size: 30px;
  line-height: 40px;}

.warning-form__form-form {
  margin-top: 50px;
}
}



* {
border: 0;
margin-top: 0 ;
/* padding: 0; */
box-sizing: border-box;
}

.card-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-column-gap: 10px;
grid-row-gap: 10px;
max-width: 1200px;
width: 100%;
margin-top: 30px;
}

@media (min-width: 540px) {
.card-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

@media (min-width: 960px) {
.card-grid {
  grid-template-columns: repeat(6, 1fr);
}
}

.card {
list-style: none;
position: relative;
}

.card:before {
content: "";
display: block;
padding-bottom: 150%;
width: 100%;
}

.card__background {
background-size: cover;
background-position: center;
border-radius: 24px;
bottom: 0;
filter: brightness(0.75) saturate(1.2) contrast(0.85);
left: 0;
position: absolute;
right: 0;
top: 0;
transform-origin: center;
transform: scale(1) translateZ(0);
transition: filter 200ms linear, transform 200ms linear;
}


.card:hover .card__background{
transform: scale(1.05) translateZ(0);
}

.card-grid:hover > .card:not(:hover) .card__background{
filter: brightness(0.5) saturate(0) contrast(1.2) blur(20px);
}


.card__content {
left: 0;
padding: 24px;
position: absolute;
top: 0;
}

.card__category {
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
margin-bottom: 24px;
text-transform: uppercase;
}

.card__heading {
color: rgba(255, 255, 255, 0.9);
font-size: 1.3rem;
text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
line-height: 1.4;
}

.items-foto >div:hover{
z-index:100;
transform: scale(1.5);
transition:0.4s
}

.item{
position:relative;

}

.h2-item{
width:100%;
display:block;
text-align:center;
text-shadow: 0 0 10px #000;
left:0px;
top:35px;
position:absolute;
font-size:24px;
font-weight:500;
color:#fff;
pointer-events:none;
}

@media (max-width: 540px){
.h2-item{
top:15px;
font-size:10px;
}}





@media (max-width: 900px) {
  .pre-product {
    height: 90px;
  }
}
.slider-sec.article-slider{
  max-width: 1260px;
  margin: 130px auto -120px;
}
p >a {
  display: block;
  text-align: center;
}
.breadcrums {
  margin-top: 20px;
  margin-bottom: 20px;
  color: #ccc;
}
.breadcrums a {
  color: var(--main-color);
  text-decoration: none;
}
.articles-section {
  margin-top: 140px;
/* 	padding-top: 100px; */
  padding-bottom: 100px;
}
.project-cards {
  margin-bottom: 30px;
  width: 31%;
  display: inline-block;
  vertical-align: top;
  border-radius: 5px;
  height: 330px;
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 40px 20px 20px;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 700px) {
  .project-cards {
    width: 48%;
    height: 220px;
  }
}
@media (max-width: 550px) {
  .project-cards {
    width: 100%;
    height: 185px;
  }
}
.project-cards:before {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  content: "";
  opacity: 1;
  transition: 0.5s;
}
@media (max-width: 700px) {
  .project-cards:before {
    opacity: 1;
  }
}
.project-cards:hover:before {
  opacity: 0.7;
}
.project-cards .name {
  position: relative;
  z-index: 3;
  font-family: "Bold";
  font-size: 30px;
}
.project-cards .pic {
  position: absolute;
  display: block;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.artdate {
  position: relative;
  z-index: 3;
  font-size: 20px;
  text-align: left;
  margin-top: 20px;
}


@media (max-width:800px){


  .articles-section{
    margin-top: 80px;
  }
  .slider-sec.article-slider{
     margin: 60px auto -60px;
    padding-right: 20px;
    padding-left: 20px;
  }
}
