.powered-by {
  height: 64px;
  background: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
}

.powered-by__logo{
  display: flex;
}

.powered-by__logo img {
  width: 200px;
  max-height: 40px;
}

.contact{
	background-color: #f5f5f5;
}
/* Video Modal
-----------------------------------------*/
.video-modal,
.video-modal .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
}
.video-modal {
	overflow: hidden;
	position: fixed;
	opacity: 0.0;

  -webkit-transform: translate(500%,0%);
  transform: translate(500%,0%);

  -webkit-transition: -webkit-transform 0s linear 0s;
  transition: transform 0s linear 0s;


  /* using flexbox for vertical centering */

  /* Flexbox display */
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  /* Vertical alignment */
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.video-modal .overlay {
  z-index: 0;
  background: rgba(134, 4, 4, 0.4); /* overlay color */

  opacity: 0.0;

  -webkit-transition: opacity 0.2s ease-out 0.05s;
  transition: opacity 0.2s ease-out 0.05s;
}


.video-modal-content {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: 1;
  
	margin: 0 auto;

	overflow-y: visible;

	background: #000;
  
  width: calc(100% - 12em);
  height: 0;
  padding-top: calc((100% - 12em) * 0.5625); /* 16:9 calc */
}

/* Scaling to fit within the current Viewport size:
   When viewport aspect ratio is greater than 16:9
   work off the height instead of the width for calc */
 @media (min-aspect-ratio: 16/9) {
  .video-modal-content {
    width: 0;
    height: calc(100vh - 10em);
    padding-top: 0;
    padding-left: calc((100vh - 10em) * 1.7778); /* 16:9 calc */
  }
}

/* Mobile Layout Tweaks - side margins reduced */
@media (max-width: 640px) {
	.video-modal-content {
		width: calc(100% - 1em);
    padding-top: calc((100% - 1em) * 0.5625); /* 16:9 calc */
	}
}

/* modal close button */
.close-video-modal {
	display: block;
    position: absolute;
    left: 0;
    top: -40px;

    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* set the iframe element to stretch to fit its parent element */
iframe#youtube {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;

	background: #000;
	box-shadow: 0px 2px 16px rgba(0,0,0,0.5);
}

/* show the modal: 
   add class to the body to reveal */
.show-video-modal .video-modal {
	opacity: 1.0;

	transform: translate(0%,0%);
	-webkit-transform: translate(0%,0%);
}
.show-video-modal .video-modal .overlay {
	opacity: 1.0;
}
.show-video-modal .video-modal-content {
	transform: translate(0%,0%);
	-webkit-transform: translate(0%,0%);
}

#video_button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2);
}

#video_button img {
  max-width: 280px;
  height: auto;
}

.swiper-img {
  width: 100vw;
  height: 350px;
  object-fit: cover;
}

.swiper-content {
  //position: absolute;
  top: 60px;
  left: 0px;
  //background: rgba(180, 180, 180, 0.4);
  padding: 20px 8px;  
}

.swiper-content h3 {
  font-size: 24px;
}
.swiper-content h3 span {
  font-size: 24px;
}

.swiper-text {
  display: flex;
  letter-spacing: 2px;
  flex-direction: column;
}

.pros__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 0;
}

.pros__wrapper2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 0;
}

.pros__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 0;
}

.offer__card {
  margin: auto;
  position: relative;
}

.offer__card img {
  max-width: 250px;
}
.our-work__text {
  max-width: 600px;
  margin: auto;
}

.offer__card--text {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  width: 100%;
  height: 80px;
  background: rgba(134, 4, 4, 0.4);
  text-align: center;
}

.form__wrapper {
  max-width: 950px;
  margin: auto;
}

.offer-contact__wrapper {
  //background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.map-responsive{
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  margin-left: 20px;
  margin-right: 20px;
  height:0;
}
.map-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.realisations__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.realisations__wrapper a img {
  object-fit: cover;
  width: 100%;
  max-height: 100%;
}
.realisations__wrapper a {
  position: relative;
}
.realisations__wrapper a::after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background: rgba(134, 4, 4, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease-in;
}
.realisations__wrapper a::before {
  content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg id='icomoon-ignore'%3E%3C/g%3E%3Cpath d='M16 6.404c-5.847 0-10.404 3.66-15.994 9.593 4.816 5.073 8.857 9.6 15.994 9.6s12.382-5.73 15.994-9.492c-3.697-4.407-8.943-9.7-15.994-9.7zM16 24.53c-6.336 0-10.16-3.929-14.524-8.532 5.192-5.414 9.32-8.527 14.524-8.527 6.161 0 10.975 4.443 14.558 8.591-3.523 3.674-8.293 8.469-14.558 8.469z' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M16 9.603c-3.528 0-6.398 2.87-6.398 6.397s2.87 6.397 6.398 6.397 6.398-2.87 6.398-6.397-2.87-6.397-6.398-6.397zM16 21.331c-2.939 0-5.331-2.391-5.331-5.331s2.392-5.331 5.331-5.331 5.331 2.391 5.331 5.331c0 2.939-2.392 5.331-5.331 5.331z' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M16 12.268c-2.058 0-3.732 1.674-3.732 3.732s1.674 3.732 3.732 3.732c2.058 0 3.732-1.674 3.732-3.732s-1.674-3.732-3.732-3.732zM16 18.666c-1.47 0-2.666-1.196-2.666-2.666s1.196-2.666 2.666-2.666 2.666 1.196 2.666 2.666c0 1.47-1.196 2.666-2.666 2.666z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E%0A");
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease-in;
}
.realisations__wrapper a:hover::after {
  opacity: 1;
}
.realisations__wrapper a:hover::before {
  opacity: 1;
}

@media screen and (min-width: 601px) {
  
  #video_button img {
    max-width: 400px;
  }
  .pros__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 32px 32px;
  }
  .swiper-img {
    height: 400px;
  }
  .map-responsive{
    margin-left: 30px;
    margin-right: 30px;
  }
  .swiper-content h3 {
    font-size: 38px;
  }
  .swiper-content h3 span {
    font-size: 38px;
  }
  .swiper-content {
    top: 70px;
    left: 20px;
    padding: 24px 8px;  
  }
  .offer-contact__wrapper {
    padding: 48px 20px;
  }
  .offer__card img {
    max-width: 300px;
  }
}

@media screen and (min-width: 861px) {
  .swiper-img {
    height: 80vh;
  }
  #video_button img {
    max-width: 1200px;
  }
  .swiper-content {
    top: 70px;
    left: 40px;
    //padding: 60px 24px;  
  }
  .realisations__wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .offer__card img {
    max-width: 100%;
	margin-bottom: 40px;
  }
}

@media screen and (min-width: 1080px) {
  .pros__wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px 5px;
  }
  .pros__wrapper2 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 32px 32px;
  }
  .offer-contact__wrapper {
    padding: 64px 20px;
  }
  .offer__card img {
    max-width: 270px;
	margin-bottom: 40px;
  }
  .offer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px 15px;
  }
  .swiper-content {
    top: 100px;
    left: 50px;
    //padding: 64px 24px;  
  }
  .form-row {
    padding-top: 200px;
    display: grid;
    grid-template-columns: 4fr 6fr;
  }
  .realisations__wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 1280px) {
  .swiper-content {
    top: 120px;
    left: 70px;
    //padding: 100px 70px;  
  }
  .offer-contact__wrapper {
    padding: 100px 20px;
  }
  .offer__card img {
    max-width: 100%;
	margin-bottom: 40px;
  }
}

.offer__card--text_dwa {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  width: 100%;
  height: 50px;
  //background: rgba(161, 244, 8, 0.7);
  background: #000;
  text-align: center;
}


@media screen and (max-width: 800px) {
.offer__card img {
  max-width: 100%;
  margin-bottom: 40px;
}
}

