
/*Навигация*/
.mySwiper .swiper-button-prev::after,
.mySwiper .swiper-button-next::after{
  color: #c05025;
}
/*Навигация*/

.mySwiper{
  margin-top: 0px;
}

.swiper{
      width: 100%;
      height: 100%;
      z-index: -1;
}
.swiper-slide{
      text-align: center;
      font-size: 18px;
      background-color: aliceblue;
      display: flex;
      justify-content: center;
      align-items: center;
}
    
.swiper-slide img{
      width: 100%;
      object-fit: cover;
      border-radius: 5px;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev{
      right: 0px !important; 
      left: auto;
    }
    .swiper-button-prev, .swiper-rtl .swiper-button-next{
      left: 0px !important; 
      right: auto;
    }

/*.team{
  overflow: hidden;
  margin: 0;
  width: 100%;
  list-style: none;
  text-align: center;
}*/
.team .team-card{
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

.team .team-card img{

}
.why-card{
  min-height: 197px;
  background: #c05025;
  color: #fff;
  border-radius: 5px;
  padding: 10px 10px 10px 10px;
}
.team .team-card .team-descr{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.team-card{
  position: relative;
}
.descr-card{
  line-height: 1;
  height: 60px;
  position: absolute;
  bottom: 5%;
/*  left: 10px;*/
  text-transform: uppercase;
  color: #384d41;
  padding: 20px 25px 10px 25px;
  background-color: #fff;
  border-radius: 0px 5px 5px 0;
  font-weight: 400;
  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.22);
  text-align: center;
}

/* Эффект при наведении */
.team-card .team-descr::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-linear-gradient(top, rgba(72,76,97,0) 0%, rgba(0,0,0,1) 95%);
  background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgba(0,0,0,1) 95%);
  content: '';
  opacity: 0;
  -webkit-transform: translate3d(0,50%,0);
  transform: translate3d(0,50%,0);
}
.team-card h3 {
  line-height: 1;
  font-size: 30px;
  position: absolute;
  top: 80%;
  left: 0;
  width: 100%;
  color: #c05025 !important;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.35s, color 0.35s;
  transition: transform 0.35s, color 0.35s;
  -webkit-transform: translate3d(0,-50%,0);
  transform: translate3d(0,-50%,0);
}
.team-card .team-descr::before,
.team-card p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
.team-card p {
  top: 74%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2em;
  width: 100%;
  opacity: 0;
  color: #fff;
  font-size: 18px;
  -webkit-transform: translate3d(0,10px,0);
  transform: translate3d(0,10px,0);
}
.team-card:hover h3 {
  color: #fff;
  -webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
  transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
  opacity: 1;
}
.team-card:hover .team-descr::before ,
.team-card:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* Эффект при наведении */




.why-title{
  margin-left: 10px;
  text-transform: uppercase;
  font-size: 18px;
}


/*Адаптация*/

@media (max-width: 991px){
.why-card{
  min-height: 278px;
  padding: 5px 5px 5px 5px;
}
.why-title{
  font-size: 68%;
}
.team-card p {
  font-size: 15px;
  bottom: -7px;
}
.team-card h3 {
  font-size: 20px;
  top: 87%;

}
.descr-card{
  height: 60px;
}
}

@media (max-width: 767px){

.why-card{
  min-height: 224px;
  padding: 5px 5px 5px 5px;
}
.why-title{
  font-size: 15px;
}
.team-card p {
  font-size: 23px;
  bottom: -25px;
}
.team-card h3 {
  font-size: 27px;
  top: 87%;
}


}

@media (max-width: 676px){


.team-card p {
  font-size: 30px;
  bottom: -25px;
}
.team-card h3 {
  font-size: 40px;
  top: 87%;

}
}

@media (max-width: 573px){
.descr-card{
  height: 60px;
}

.team-card p {
  font-size: 30px;
  bottom: -25px;
}
.team-card h3 {
  font-size: 40px;
  top: 87%;

}
}


@media (max-width: 420px){


.team-card p {
  font-size: 25px;
  bottom: -30px;
  top: 72%;
  line-height: 1;
}
.team-card h3 {
  font-size: 34px;
  top: 75%;

}
}
@media (max-width: 350px){


.team-card p {
  font-size: 25px;
  bottom: -25px;
}
.team-card h3 {
  font-size: 28px;
  top: 87%;

}
}
/*Адаптация*/