
.main{
  max-width: 100%; 
  height: auto; 
  background: rgb(255, 255, 255); 
}

.navigation {
  position: absolute;
  top: 2%;
  transform: translateX(-50%);
  left: 50%;
  display: flex;
  justify-content: space-between;
  width: 95%;
  height: 66px;
  padding-left: 70px;
  padding-right: 70px;
  padding-top: 11px;
  padding-bottom: 11px;
  background-color: white !important;
  border-radius: 15px;
  overflow: hidden;
  align-items: center;
  z-index: 1000;
}

.navigation  a {
  text-decoration: none;
  color: #000000;
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}



.nav-links,
.logo {
  flex: 0 1 20%;
}

.btns {
  flex: 0 1 30%;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.background-video {
  position: relative;
}
video {
  display: block;
  height: 100%;
  width: 100%;
}

.heading {
  position: absolute;
  top: 20%;
  font-size: 19px;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.main-background-text {
  display: inline-block;
  position: absolute;
  padding: 10px;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 100;
  color: #74BC28;
  font-size: 50px;
  font-weight: 700px;
  background-color: #21370aae;
}

.shar{
  background: none;
  width: 18px;
  height:18px;
}

.heading-text {
  color: #74BC28;
}

.content {
  position: relative;
  z-index: 1; /* Поверх видео */
  color: white;
  width: 100%; 
  justify-content: center; 
  align-items: center; 
  gap: 29px; 
  display: inline-flex;
  flex-wrap: wrap;
  padding: 20px;
}

.cr1{
  width: 269.89px; 
  height: 224px; 
  position: relative
}
.rectangle{
  width: 263.67px;
  height: 224px;
  left: 0px;
  top: 0px;
  position: absolute;
  border: 2px solid rgba(0, 0, 0, 0.799);
}


/* BIG img */

.big-img {
  position: relative;
}
.bigimg1{
  width: 100%;
}
.bigimgtext{
  position: absolute;
  left:67px;
  top: 50%;
  transform: translateY(-50%);
  width: 80%; 
  color: #414141;
  font-size: 76px; 
  font-family: Arial; 
  font-weight: 700; 
  text-transform: uppercase;
  word-wrap: break-word
}

.arrow{
  padding-right: 15px;
}

/* contact */

.question{
  width: 100%;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: linear-gradient(to right, #7bc043, #019875);
  padding: 40px;
  border-radius: 15px;
  width: 100%;
  position: relative;
  color: white;
}

.my{
  position: relative;
  color:#fff;
  z-index: 1;
  background-color: #74BC28;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top:20px;
}

.rad-con{
  display: flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  flex-wrap: wrap;
  padding: 20px;
  justify-content: space-between;
}

.rad-con a {
  text-decoration: none !important;
}

.prj{
  display: flex;
  gap: 10px;
  width: 100%;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.cr-block {
  padding-top: 50px;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.rad-img {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* footer */
.footer{
  margin-top: 100px;
  display: flex;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-right: auto;
}

.carousel-wrapper {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.carousel {
  width: 1310px; /* Ширина контейнера карусели */
  min-width: 200px;
  overflow: hidden; /* Скрыть элементы за границами карусели */
  margin: 0 auto;
  z-index: 2;
}

.prj {
  display: flex;
}

.prj-item {
  position: relative;
  flex: 0 0 200px;
  border-radius: 15px;
  margin-right: 10px; /* Расстояние между элементами */
}

.img-prj-bg {
  width: 100%;
  border-radius: 15px;
}

.text-prj {
  position: absolute;
  width: 190px;
  top: 20px;
  margin-left: 15px;
  color: white;
  text-shadow: 
  -1px -1px 0 #000,  
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000;
  font-size: 18px; 
  font-family: Roboto; 
  font-weight: 600; 
  z-index: 2;
  text-transform: uppercase; 
  word-wrap: break-word;
}

.mainbackground-text {
  position: absolute;
  display: block;
  font-size: 40px;
  left: 50%;
  bottom: 200px;
  text-align: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #74BC28;
}


.carousel-arrow {  
  justify-content: center;
  line-height: 48px;
  z-index: 100;
  height: 55px;
  width: 55px;
  position: absolute;
  font-size: 41px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #70c270d8;
  border-radius: 50%;
  display: flex;
  user-select: none;
  cursor: pointer;
}

.carousel-arrow.left {
  left: -40px;
}


.carousel-arrow.right {
  right: -40px;
}

@media (max-width: 1416px) {
  .carousel {
    width: 870px;
  }
} 


@media (max-width: 1781px) {

  .heading-text {
    font-size: 35px;
  }
}

@media (max-width: 1520px) {
  .heading-text {
    font-size: 25px;
  }
}


@media (max-width: 1020px) {
  .mainbackground-text {
    font-size: 24px;
  }
  .navigation {
    padding: 5px 35px;
  }
  .heading-text {
    font-size: 18px;
  }
  .carousel {
    width: 90%;
    padding: 0 20px;
    overflow: hidden;
  }
}

.menu-burger {
  display: none;
}
@media (max-width: 816px) {
  .navigation {
    position: fixed;
    width: 100%;
    height: 100%;
    flex-direction: column;
    top: -100%;
    z-index: 100;
    align-items: stretch;
    justify-content: start;
    transition: all 0.4s ease;
  }

  .carousel-wrapper {
    position: relative;
  }

  .carousel {
    width: 240px;
  }

  .mainbackground-text {
    position: relative;
    font-size: 18px;
    top: 0;
    transform: translate(-50%, 0);
    text-wrap: wrap;
  }


  .navigation.active {
    top: 0;
  }

  .logo {
    justify-content: center;
  }

  .nav-links {
    flex-direction: column;
    justify-content: start;
  }

  .btns {
    flex-direction: column-reverse;
    justify-content: start;
  }

  .menu-burger {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    width: 50px;
    height: 40px;
    z-index: 2000;
  }

  .menu-burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color:#74BC28;
  }

  .menu-burger span::after,
  .menu-burger span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color:#74BC28;
  }
  .menu-burger span::after {
    top: 0;
  }

  .menu-burger span::before {
    bottom: 0;
  }
  .menu-burger.active span {
    visibility: hidden;
  }

  .menu-burger.active span::after {
    visibility: visible;
    top: 18px;
    transform: rotate(-45deg);
  }

  .menu-burger.active span::before {
    visibility: visible;
    bottom: 18px;
    transform: rotate(45deg);
  }
}

@media (max-width: 798px) {
  .heading-text {
    font-size: 14px;
  }
  .bigimgtext {
    font-size: 40px; 
  }
  .arrow {
    width: 60px;
  }

  .arrow img {
    width: 100%;
  }
  .contact-form {
    padding: 20px;
  }

  .prj-item {
    margin-right: 0;
  }

  .prj {
    gap: 0;
    width: 200px;
  }
}



.social-media{
  display: flex;
  gap: 20px;
}



@media (max-width: 812px) {

  .bigimgtext {
    font-size: 20px; 
  }

  .social-media{
    gap: 10px
  }
}

@media (max-width: 780px) {
  .heading {
    flex-direction: column;
  }
}

@media (max-width:495px) {
  .rad-con {
    justify-content: center;
  }
}