html, body, ul, ol {
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: thin;
}

li {
  text-decoration: none;
  color: black;
}

@font-face {
  font-family: Futura;
  src: url(../fonts/FuturaBookC-Italic.ttf);
}
.second-block__contact-us, .second-section__description, .first-description__heading, .logo .logo__left-part {
  font-size: 35px;
  color: white;
  text-decoration: none;
  line-height: 1.25;
}

.copyright, .icon, .second-block__all-contacts, .third-section__first-block, .second-section__benefits, .image-block__slider-switch, .first-description__button .button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  font-family: Futura;
  text-decoration: none;
}

.image-block {
  position: relative;
  height: 800px;
  background-image: linear-gradient(to right, rgba(187, 187, 187, 0.244) 20%, rgba(153, 153, 153, 0.244) 100%), url(../img/nochnoj_gorod_dlitelnoe_vozdejstvie_doroga_140393_1920x1080-original.webp);
}

.image-block._active {
  background-position: 50% center;
  background-image: linear-gradient(to right, rgba(187, 187, 187, 0.244) 20%, rgba(153, 153, 153, 0.244) 100%), url(../img/nochnoj_gorod_ogni_goroda_panorama_136046_1920x1080.webp);
}

.image-block__navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5em;
}

.header__menu {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 3em;
}
.logo .logo__left-part {
  padding-right: 0.5em;
}

.nav {
  display: flex;
  padding-right: 3em;
}
.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav li {
  display: inline-block;
}
.nav a {
  text-decoration: none;
  font-family: Futura;
  font-size: 20px;
  color: white;
}
.nav .nav__item {
  padding-right: 3em;
}
.nav .nav__list {
  background-image: linear-gradient(white, white);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 3px;
  background-position-x: center;
  background-position-y: bottom;
  transition: all 0.25s cubic-bezier(0.4, 0.17, 0.5, 0.91);
}
.nav .nav__list:hover {
  background-image: linear-gradient(white, white);
  left: 0;
  background-size: 100% 1px;
  padding-bottom: 3px;
  transition: all 0.25s cubic-bezier(0.4, 0.17, 0.5, 0.91);
}

.image-block__first-description {
  padding-left: 135px;
  padding-top: 225px;
  width: 650px;
}

.first-description__button .button {
  color: white;
  text-decoration: none;
  font-size: 17px;
  margin-top: 10px;
  transition-duration: 0.3s;
  height: 50px;
  width: 125px;
  border-radius: 3px;
  background-color: #008ed6;
}
.first-description__button .button:hover {
  background-color: #017cbb;
}

.image-block__slider-switch {
  position: absolute;
  bottom: 40px;
  width: 100%;
}
.image-block__slider-switch .slider-switch {
  width: 80px;
  height: 3px;
  background-color: #bfbfbf;
  opacity: 0.3;
  margin-right: 1em;
  border-radius: 0.5em;
  cursor: pointer;
  -webkit-mask-image: radial-gradient(#fff, #000);
          mask-image: radial-gradient(#fff, #000);
  transition: all 0.4s cubic-bezier(0.29, 0.58, 0.05, 1);
}
.image-block__slider-switch .slider-switch._active {
  width: 80px;
  height: 3px;
  background-color: white;
  margin-right: 1em;
  border-radius: 0.5em;
  opacity: 1;
  transform: translateY(-1px);
  transition: all 0.4s cubic-bezier(0.29, 0.58, 0.05, 1);
}

.second-section__description {
  color: black;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.second-section__benefits {
  justify-content: space-around;
}

.benefit {
  width: 270px;
}

.benefit__text {
  color: #999999;
}

.line {
  width: 100%;
  height: 1px;
}
.line .line-line {
  height: 1px;
  margin-left: 5%;
  margin-right: 5%;
  background-color: #dadada;
}

.third-section__first-block {
  align-items: flex-start;
}

.left-part-block {
  padding-right: 100px;
}

.third-section__image {
  background-image: url(../img/elektroschitovoe-oborudovanie.webp);
  height: 500px;
  width: 500px;
  border-radius: 10px;
  background-position: 50% center;
}

.product .product__item {
  color: #999999;
  font-size: 20px;
  line-height: 2;
}

.third-section__second-block {
  background-color: #ededed;
  margin-top: 5%;
  height: 720px;
}

.second-block__stay-in-touch {
  text-align: center;
  padding-top: 25px;
  color: #008ed6;
}

.second-block__contact-us {
  color: black;
  text-align: center;
}

.second-block__all-contacts {
  align-items: flex-start;
  justify-content: space-around;
  padding-top: 150px;
}
.second-block__all-contacts .line {
  display: none;
}

.second-block__contact {
  width: 270px;
}
.second-block__contact li {
  list-style: none;
  margin-top: 15px;
  color: dimgray;
  text-align: center;
}

.copyright {
  background-color: #15141a;
  height: 160px;
}
.copyright .copyright__first-block {
  padding-bottom: 10px;
}
.copyright .copyright__first-block, .copyright .copyright__second-block {
  text-align: center;
}
.copyright span {
  color: #616060;
}

.map__block {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

@media screen and (max-width: 1300px) {
  .nav {
    padding-right: 3em;
  }
  .nav .nav__item {
    padding-left: 3em;
    padding-right: 0;
  }

  .third-section__first-block {
    padding-right: 50px;
    padding-left: 50px;
  }
}
@media screen and (max-width: 992px) {
  .nav {
    padding-right: 3em;
  }
  .nav .nav__item {
    padding-right: 0;
    padding-left: 3em;
  }

  .second-section__benefits {
    padding-left: 50px;
    padding-right: 50px;
  }

  .third-section__first-block {
    padding-right: 50px;
    padding-left: 50px;
  }
}
@media screen and (max-width: 882px) {
  html {
    scrollbar-width: none;
  }

  .image-block {
    height: 100%;
  }

  .image-block__slider-switch {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
  }
  .image-block__slider-switch .slider-switch {
    width: 80px;
    height: 3px;
    background-color: #bfbfbf;
    opacity: 0.3;
    margin-right: 1em;
    border-radius: 0.5em;
    cursor: pointer;
    -webkit-mask-image: radial-gradient(#fff, #000);
            mask-image: radial-gradient(#fff, #000);
    transition: all 0.4s cubic-bezier(0.29, 0.58, 0.05, 1);
  }
  .image-block__slider-switch .slider-switch._active {
    width: 80px;
    height: 3px;
    background-color: white;
    margin-right: 1em;
    border-radius: 0.5em;
    opacity: 1;
    transform: translateY(-1px);
    transition: all 0.4s cubic-bezier(0.29, 0.58, 0.05, 1);
  }

  .image-block__navigation {
    background-color: rgba(21, 20, 26, 0.4);
    position: fixed;
    padding-top: 1em;
  }

  .nav {
    display: none;
  }

  .logo {
    padding-left: 1.5em;
  }

  .logo__left-part {
    display: none;
  }

  .fixed {
    background-color: rgba(21, 20, 26, 0.4);
    position: fixed;
    padding-top: 1em;
  }

  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    margin-right: 2em;
  }

  .header__burger:before, .header__burger:after {
    content: "";
    background-color: white;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
  }

  .header__burger span {
    position: absolute;
    background-color: white;
    width: 0;
    width: 100%;
    height: 2px;
    top: 9px;
  }

  .header__burger:after {
    top: 0;
  }

  .header__burger:before {
    bottom: 0;
  }

  .header__menu {
    width: 0;
    height: 100vh;
    display: none;
  }

  .header__menu._active {
    display: block;
    height: 100vh;
    z-index: 100;
    position: fixed;
    width: 0px;
    background-color: white;
    right: 0;
    top: 0;
    right: 0;
    transition: all 0.8s cubic-bezier(0.29, 0.58, 0.05, 1);
  }

  .header__menu._in {
    width: 280px;
    display: block;
    height: 100vh;
    background-color: white;
    z-index: 100;
    transition: all 0.8s cubic-bezier(0.29, 0.58, 0.05, 1);
  }

  .header__menu._out {
    width: 280px;
    display: block;
    height: 100vh;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .header__menu._active._man {
    display: block;
    height: 100vh;
    z-index: 100;
    position: fixed;
    width: 280px;
    background-color: white;
    right: 0;
    top: 0;
    right: 0;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .header__mobile-blackout {
    display: none;
  }

  .header__mobile-blackout._active {
    position: fixed;
    display: block;
    z-index: 100;
    background-color: black;
    opacity: 0;
    top: 0;
    left: 0;
    width: 1000px;
    height: 100vh;
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .header__mobile-blackout._active._man {
    opacity: 0.6;
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .header__icon {
    position: absolute;
    top: 12px;
    right: 32px;
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0.2s;
  }

  .header__icon._active {
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1) 0.1s;
  }

  .header__container {
    margin-top: 76px;
    height: 100%;
  }
  .header__container li {
    text-decoration: none;
    color: black;
    list-style: none;
  }

  .header__item {
    border-top: 1px #dadada;
    border-bottom: 1px solid #f3f3f3;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .header__list {
    font-size: 25px;
    text-decoration: none;
    color: black;
    padding-left: 15px;
  }

  .image-block__first-description {
    width: auto;
    padding-left: 20px;
    padding-right: 10px;
    padding-top: 255px;
    padding-bottom: 100px;
  }

  .first-description__heading {
    display: inline-block;
  }

  .second-section__benefits {
    flex-wrap: wrap;
    width: 100%;
    padding: 0 0 0 0;
  }

  .benefit span {
    text-align: center;
  }

  .left-part-block {
    padding: 0;
  }

  .third-section__image {
    display: none;
  }

  .second-block__all-contacts {
    flex-wrap: wrap;
    padding-top: 50px;
  }
  .second-block__all-contacts .line {
    display: block;
  }

  .second-block__contact {
    padding-bottom: 15px;
  }

  .third-section__first-block {
    padding-right: 0;
    padding-left: 0;
  }

  .our-production {
    text-align: center;
    font-size: 35px;
  }

  .our-production_text {
    text-align: center;
  }

  .product, .our-production_text {
    padding-left: 25px;
    padding-right: 25px;
  }

  .third-section__second-block {
    padding-bottom: 80px;
    height: auto;
  }

  .map__block {
    display: block;
    width: 100%;
  }
}