.logo {
  max-width: 50px;
}
.firstScreen {
  height: 100vh;
 /* margin-top: -40px;*/
  /*min-height: calc(100vh - 40px);*/
  position: relative;
  overflow: hidden;

}
.firstScreen__video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}

.firstScreen__video iframe{
  width: 100vw;
  height: 300vw;
}

.firstScreen__wrapper {
  position: absolute;
  top: 0;right: 0;bottom: 0;left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
}
.firstScreen__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.firstScreen__title,.firstScreen__subtitle {
  color: #fff;
}

#uslugi {
  background-color: #fff;
}

.card-img-top{
  aspect-ratio: 3/1;
  object-fit: cover;
}

.object__img{
  aspect-ratio: 3/1;
  object-fit: cover;
}

.carousel-caption{
  right: 0;
  left: 0;
  bottom: 0;
  padding-top: 3rem;
  padding-right: 6rem;
  padding-left: 6rem;
  background: linear-gradient(0deg, rgba(33,37,41,0.8) 70%, transparent 100%);
}

.carousel-control-next-icon,
.carousel-control-prev-icon{
  width: 4rem;
  height: 4rem;
}

.carousel-caption h5{
  font-size: 2.5rem;
  font-weight: bold;
}
.carousel-caption p{
  font-size: 1.5rem;
}

.partners__wrap{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.partners__item{
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/2;
}

.partners__item img{
  max-width: 100%;
  max-height: 100%;
}

.bg-dark{
  color: white;
}

.fos__wrap{
  border: 2px solid #ffc107;
  border-radius: .25rem;
}

.contacts__map{
  min-width: calc(50vw - 1.25rem);
}

.contacts__map iframe{
  width: 100%;
  height: 100%;
  min-height: 20rem;
}

@media screen and (max-width: 991px) {
  .carousel-caption h5{
    font-size: 1.5rem;
  }
  .carousel-caption p{
    font-size: 1rem;
  }
  .firstScreen__video iframe{
    width: 200vw;
  }

}

@media screen and (max-width: 767px) {
  .object__img {
    aspect-ratio: 1;
  }
  .partners__wrap{

    grid-template-columns: 1fr;
  }
  .partners__item{
    aspect-ratio: auto;
  }
  .carousel-caption{
    padding-right: 3rem;
    padding-left: 3rem;
  }

}

@media screen and (max-width: 576px) {
  .firstScreen__video iframe{
    width: 300vw;
  }

}



/*.card-body{*/
/*  flex-direction: column;*/
/*  display: flex;*/
/*  align-items: flex-start;*/
/*}*/
