.swiper1 {
  width: 100%;
  height: 60vh;

}
.swiper1 .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.swiper1 .slide-text {
  position: absolute;
  bottom: 5vh;
  left: 15vh;
}

.swiper1 .swiper-slide h2 {
  background-color: #189185;
  font-size: 4vh;
  color: black;
  padding: 2vh;
  opacity: 0.8;
  width: fit-content;
  margin: 0;
}

.swiper1 .swiper-slide h3 {
  background-color: #272727;
  font-size: 2vh;
  color: #d2d2d2;
  padding: 2vh;
  opacity: 0.8;
  width: fit-content;
  margin: 0;
}

.swiper1 .swiper-slide h2 a {
  color: black;
}

.swiper1 .swiper-slide h2 a:hover {
  color: #272727;
  text-decoration: none;
}

.swiper-models {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 5vh;
  opacity: 1;

}

.swiper-models:hover {
  opacity: 1;
}

.swiper2 {
  width: 100%;
  height: 8vh;
  overflow: hidden;
  background-color: #272727;
  border: 1vh solid;
}



.swiper2 .swiper-slide {

  text-align: center;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}


.about {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0px auto;
  margin-bottom: 5vh;
}

.about h1, h1 {
  font-size: 4.5vh;
  color: #189185;
  text-align: center;
  width: 100%;
  margin-bottom: 15px;
}

.abouttextx {
  border-left: 5px solid #189185;
  background-color: #2727271c;
}

.abouttextx p {
  font-size: 2.5vh;
  padding: 1.5vh;
  text-indent: 1.7vh; /* Отступ первой строки */
  text-align: justify; /* Выравнивание по ширине */
}

.abouttext p {
  font-size: 1.7vh;
  padding-top: 1vh;
  text-indent: 1.7vh; /* Отступ первой строки */
  text-align: justify; /* Выравнивание по ширине */
}

.abouttextx p::before {
  content: "\201C";
  font-size: 3em;
  line-height: 0.1em;
  vertical-align: -.45em;
  color: #27272738;
}

.abouttextx p::after {
  content: "\201D";
  font-size: 3em;
  line-height: 0.1em;
  vertical-align: -.45em;
  color: #27272738;
}

.newsblock {
  max-width: 1100px;
  margin: 0px auto;
  width: 100%;
  height: 100%;
}

.unoblock {
  height: 28vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.projectcontent {
  position: absolute;
  left: 3vh;
  bottom: 3vh;
  right: 10vh;
  padding: 1vh;
  background-color: #189185;
  max-height: 7vh;
  overflow: hidden;
  opacity: 0.8;
}

.projectcontentlink {
  background-color: #189185;
  font-size: 2vh;
  color: #272727;
  font-weight: 900;
  margin: 0;
}

.projectcontent:hover {
  opacity: 1;
}

.projectcontentlink:hover {
  text-decoration: none;
  color: #272727;
}


@media screen and (max-width: 1024px) and (min-width : 768px) and (orientation: portrait){

  .swiper1 {
    height: 30vh;
  }

  .swiper1 .slide-text {
    position: absolute;
    bottom: 5vh;
    right: 0;
    left: auto;
  }

  .swiper1 .swiper-slide h2 {
    font-size: 3vh;
    padding: 1vh;
  }

  .about {
    padding: 1vh;
  }

  .unoblock {
    height: 18vh;
  }

  .swiper-models {
    margin-bottom: 0;
  }

  .about {
    margin-bottom: 0;
  }

}

@media screen and (max-width: 767px) and (orientation: portrait){

  .swiper1 {
    height: 30vh;
  }

  .swiper1 .slide-text {
    position: absolute;
    bottom: 5vh;
    right: 0;
    left: auto;
  }

  .swiper1 .swiper-slide h2 {
    font-size: 3vh;
    padding: 1vh;
  }

  .abouttext p {
    font-size: 2vh;
    padding: 2vh;
  }

  .col-sm-4 {
    width: 100%;
    margin: 3vh auto;
    padding-right: 3vh;
    padding-left: 0;
  }

  .projectcontent {
    left: 12vh;
    bottom: 3vh;
    right: 0;
    border-left: 1vh solid #f3f3f3;
    border-right: 0;
  }

  .secondNews .projectcontent {
    left: 0;
    bottom: 3vh;
    right: 12vh;
    text-align: right;
    border-right: 1vh solid #f3f3f3;
    border-left: 0;
  }

  .secondNews {
    padding-right: 0;
    padding-left: 3vh;
  }

  .unoblock {
    height: 35vh;
  }

  .projectcontent {
    max-height: 14vh;
  }

  .projectcontent a {
    font-size: 2.5vh;
  }
}
