* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: #fff;
  color: #3c434a;
}

a {
  text-decoration: none;
  outline: none;
}

h1, h2, h3, h4, h5 {
  display: block;
  background: #207f3b;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  text-shadow: 1px 1px 2px black, 0 0 0.5rem #fff;
  padding: 0.5rem;
  margin: 0 auto;
}

@media (min-width: 576px) {
  h1, h2, h3, h4, h5 {
    font-size: 1.6rem;
  }
}

@media (min-width: 1024px) {
  h1, h2, h3, h4, h5 {
    font-size: 1.8rem;
  }
}

@media (min-width: 1600px) {
  h1, h2, h3, h4, h5 {
    font-size: 2rem;
  }
}


header {
  width: 100%;
  background: #3c434a;
  color: #fff;
  border-bottom: 6px solid #207f3b;
  box-shadow: 0px 2px 4px 0px #000000;
}


.top {
  max-width: 1920px;
  padding: 0.5rem 0;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 1024px) {
  .top {
    padding: 0.5rem 1rem;
  }
}





.main-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  background: #3c434a;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0;
  position: absolute;

}

@media (min-width: 1024px) {
  .main-menu {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    position: relative;
  }
}


.contact-menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0 1rem 0 0;
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .contact-menu {
    display: none;
  }
}

@media (min-width: 1200px) {
  .contact-menu {
    margin: 0;
  }
}

.hidden-mail {
  display: none;
}
.hidden {
  display: none;
}

@media (min-width: 576px) {
  .hidden {
    display: block;
  }
}

@media (min-width: 768px) {
  .hidden-mail {
    display: block;
  }
  .hidden {
      display: block;
  }
}

@media (min-width: 1200px) {
  .hidden-mail {
    display: none;
  }
  .hidden {
      display: none;
  }
}

@media (min-width: 1366px) {
  .hidden {
    display: block;
  }
}

@media (min-width: 1600px) {
  .hidden-mail {
    display: block;
  }

}


.menu-link {
  display: block;
  color: #fff;
  padding: 0.5rem;
  
  transition: all 0.6s ease-out;
}

.menu-link:hover {
  background: #207f3b;
  text-shadow: 1px 1px 2px black, 0 0 0.5rem #fff;
  transition: all 0.6s ease-out;
}

@media (min-width: 400px) {
  .menu-link {
    padding: 1rem 1.5rem;
  }
}


.active-link {
  background: #207f3b;
  margin: 0;
  text-shadow: 1px 1px 2px black, 0 0 0.5rem #fff;
}

@media (min-width: 1024px) {
  .active-link {
    margin: 0 0.2rem;
  }
}


.social-top-icon {
  width: 3rem;
  display: block;
  margin: 0.3rem;
  background: #fff;
  border-radius: 10rem;
  border: 2px solid #fff;
  transition: all 0.6s ease-out;
}
 
.social-top-icon:hover {
  background: #207f3b;
  border: 2px solid #207f3b;
  transition: all 0.6s ease-out;
}

.center {
  text-align: center;
}


main {
  max-width: 1920px;
  margin: 0rem auto;
  padding: 0 1rem; 
}

.main-block {
  box-shadow: 0px 2px 4px 0px #000000;
  margin: 2rem auto;
}









aside {
  max-width: 1920px;
  margin: 2rem auto;
  padding: 1rem;
}

.aside {
  display: flex;
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  .aside {
    display: grid;
    grid-template: auto / 1fr 1fr; 
  }

  .advantage-description {
    margin-right: 2rem;
  }
}




.advantage-description {
  place-self: center center;
}

.advantage-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: center;
}

@media (min-width: 576px) {
  .advantage-list {
    display: grid;
    grid-template: auto / 1fr 1fr;
  }

  .advantage-li {
    margin: 0.5rem;
  }
}

.advantage-star {
  margin: 1rem auto;
  width: 5rem;
}

.advantage-title {
  font-size: 1.5rem;
  font-weight: 600;
}





.main-gabion {
  display: grid;
  grid-template: auto / 1fr;
  place-items: center start;
  grid-gap: 1rem;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .main-gabion {
    grid-template: auto / 1fr 1fr;
  }
}

.gabion-about {
  display: block;
  width: 100%;
}

.gabion-about-description {
  font-size: 1.3rem;
  font-weight: bold;
}
@media (min-width: 1200px) {
  .gabion-about-description {
    font-size: 1.6rem;
    font-weight: bold;
  }
}

.gabion-all-photos {
  margin: 0;
  padding: 1rem;
}

.gabion-photos, .gabion-goods {
  display: grid;
  
  grid-template: auto / 1fr;
  place-items: center center;
  padding: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .gabion-photos, .gabion-goods {
    grid-template: auto / 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .gabion-photos, .gabion-goods {
    grid-template: auto / 1fr 1fr 1fr 1fr; 
  }
}

.gabion-photos-li {
  margin: 0.5rem;
}

.link-group {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.good {
  display: block;
  margin: 0.5rem;
  padding: 0 0 0.5rem 0;
  border: 3px solid #207f3b;
  text-align: center;

}

.btn-good{
  margin: 0.5rem auto 0 auto;
}



footer {
  width: 100%;
  background: #3c434a;
  color: #fff;
  border-top: 6px solid #207f3b;
  box-shadow: 0px -2px 4px 0px #000000;
}

.bottom {
  max-width: 1920px;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-auto-flow: row;
}

@media (min-width: 768px) {
  .bottom {
    grid-auto-flow: column;
    grid-template: repeat(2, auto) / repeat(2, 1fr);
  }

  .bottom-main-menu {
    order: 0;
  }

  .bottom-use-menu {
    order: 2;
  }

  .bottom-contact {
    order: 2;
  }
  
  .bottom-social {
    order: 1;
  }
}

@media (min-width: 1920px) {
  .bottom {
    grid-template: auto / repeat(4, 1fr);
  }

  .bottom-main-menu {
    order: 0;
  }

  .bottom-use-menu {
    order: 1;
  }

  .bottom-contact {
    order: 3;
  }
  
  .bottom-social {
    order: 2;
  }
}

.bottom-menu {
  background: #207f3b;
  color: #fff;
  border: 2px solid #fff;
  list-style: none; 
  padding: 1rem;
  text-align: center;
  margin: 1rem 0 0 0;
}
.bottom-menu-ul {
  list-style: none; 
  margin: 0;
  padding: 0;
}

.bottom-menu-link {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #fff;
  border-radius: 2rem;
  color: #fff;
  background: #207f3b;
  display: block;
  transition: all 0.6s ease-out;
}

.bottom-menu-link:hover {
  color: #207f3b;
  background: #fff;
  transition: all 0.6s ease-out;
}

.bottom-contact-link {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #fff;
  border-radius: 2rem;
  color: #fff;
  background: #207f3b;
  display: block;
  transition: all 0.6s ease-out;
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px black, 0 0 0.5rem #fff;
  display: block;
  margin: 0 0 1rem 0;
}
.use-gabion {
  padding: 1rem;
}

.btn-green {
  display: inline-block;
  padding: 1rem 2rem;
  
  font-size: 1rem;
  margin: 1rem 0;
  background: #207f3b;
  color: #fff;
  border: 3px solid #3c434a;
  transition: all 0.6s ease-out;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px black, 0 0 0.3rem #fff;
  text-align: center;
  
  font-weight: 600;
}

.btn-green:hover {
  background: #fff;
  color: #207f3b;
  transition: all 0.6s ease-out;
  text-shadow: none;
  box-shadow: 0px 0px 4px 0px #000000;
}

@media (min-width: 1200px) {
  .btn-green {
    margin: 2rem 0;
    font-size: 1.4rem;
  }
}


.use {
  width: 100%;
}

.copy {
  text-align: center;
  font-size: 0.8rem;
}

.m1 {
  margin: 0 1rem;
}

.alert {
  display: block;
  color: #3a87ad;
  background-color: #e2eff5;
  border-color: #c7e0ec;
  padding: 1rem;
  margin: 0 0 1rem 0;
}
/* Меню */

.gamburg {
  display: block;
}
@media (min-width: 1024px) {
  .gamburg {
    display: none;
  }
}

@media (max-width: 1023.98px) {
  .mobile-menu {
    display: none;
    transition: all 0.6s ease-out;
  }
}

.hamburger {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  /* -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none; */
}

.hamRotate.active {
  transform: rotate(45deg);
}
  
.line {
  fill:none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke:#fff;
  stroke-width:5.5;
  stroke-linecap:round;
}
  
.top-hamburger {
  stroke-dasharray: 40 121;
}
  
.bottom-hamburger {
  stroke-dasharray: 40 121;
}
  
.ham4.active .top-hamburger {
  stroke-dashoffset: -68px;
}
  
.ham4.active .bottom-hamburger {
  stroke-dashoffset: -68px;
}



/* Галерея */

.photos-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photos-gallery-li {
  width: 100%;
  height: auto;
  padding: 0.3rem;
}

.photos-gallery-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .photos-gallery {
    display: grid;
    grid-auto-rows: 300px;
    grid-gap: 0.25rem;
    grid-auto-flow: row dense;
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
  }


  .photos-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  } 
  
}

@media (min-width: 1200px) {
  .photos-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
  }
}
@media (min-width: 1920px) {
  .photos-gallery {
    
    grid-auto-rows: 400px;
  }
}




@media (min-width: 1024px) {
  .grid-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (min-width: 1024px) {
  .grid-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}



.response-gallery {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}

@media (min-width: 576px) {
  .response-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .response-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    
  }
}

.response-gallery-block {
  display: flex;
  flex-direction: column;
  padding: 0;
}

@media (min-width: 576px) {
  .response-gallery-block {
    padding: 1rem 0;
  }
}

.response-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0.5rem;

  border-radius: 1rem;
}


.image-gallery {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .image-gallery {
    padding: 0.5rem;
    display: block;
    -moz-column-count: 2; 
    -webkit-column-count: 2;
    column-count: 2;
    column-gap: 0.25rem;
  }
}
@media (min-width: 1200px) {
  .image-gallery {
    -moz-column-count: 3; 
    -webkit-column-count: 3;
    column-count: 3;
  }
}


.menu-two {
  position: relative;
}

@media (max-width: 1023.98px) {
  .level-two {
    display: none;
  }
}


@media (min-width: 1024px) {
  .level-two {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #3c434a;
    max-width: 270px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 6px solid #207f3b;
   
    
  }
  .menu-two:hover > .level-two {
    display: flex;
    
  }

  .level-two-li {
    margin: 0;
    padding: 0.5rem;
  }

  .level-two-li:hover {
    background: #207f3b;
    transition: all 0.6s ease-out;
  }

  .level-two-link {
    display: block;
    color: #fff;
  }
}

/* contacts */

.link-for-contact {
  font-weight: 600;
  color: #3c434a;
  border-bottom: 3px solid #207f3b;
}

.link-for-contact:hover {
  border-bottom: 3px dashed #207f3b;
}

