* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-style: normal;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --gray: #1f2126;
  --red: #db0200;
  --white: #fff;
  --akcent: #eec0bf;
}

:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "Inter", sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
}

.main {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.main__box {
  display: flex;
  flex-direction: column;
  height: 90%;
  max-height: 240px;
  justify-content: space-between;
}

.main__item {
  height: 50%;
  width: 50%;
  padding: 0px 0px 0px 38px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0px;
}

.main__pic {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.main__piranius .main__pic::before, .main__tools .main__pic::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/piranius.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.main__first-click .main__pic::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/first-click.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.main__matosov .main__pic::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/matosov.svg");
  background-size: contain;
  background-repeat: no-repeat;
}



.main__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  color: var(--gray);
}

.main__text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 20px;
  color: var(--gray);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 37px;
}

.main__piranius span {
  font-weight: 600;
  color: var(--red);
}

.main__link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  color: var(--white);
  display: inline-block;
  width: 280px;
  height: 40px;
  background: var(--red);
}

.main__piranius,  .main__tools {
  background: #f7f7f7;
}

.main__first-click, .main__matosov {
  background: #212121;
}

.main__first-click .main__text, .main__first-click .main__title, .main__matosov .main__text, .main__matosov .main__title {
  color: var(--white);
}

.main__first-click span {
  font-weight: 600;
}

.main__item:hover {
  background-color: var(--red);
}

.main__item:hover .main__title, .main__item:hover .main__text {
  color: var(--white);
}

.main__item.main__piranius:hover span {
  color: var(--gray);
}

.main__item.main__piranius:hover .main__pic:before, .main__item.main__tools:hover .main__pic::before {
  background: url("../img/piranius__white.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.main__item.main__matosov:hover .main__pic:before {
  background: url("../img/matosov__white.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.main__item:hover .main__link {
  background: var(--white);
  color: var(--red);
}

.footer {
  /*display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: url("../img/footer__rect.svg");
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-backdrop-filter: blur(80px);
          backdrop-filter: blur(80px);
  padding: 0px 37px;
  z-index: 2;*/
  display: none;
}

.footer__fon {
  /*background: radial-gradient(114.02% 90.44% at 46.73% 63.2%, rgb(57, 53, 53) 0%, rgb(89, 113, 130) 77.0833313465%, rgb(39, 55, 69) 100%);
  opacity: 0.3;
  z-index: 1;*/
  display: none;
}

.footet__all {
  /*position: absolute;
  bottom: 50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 96.875%;
  height: 72px;
  border-radius: 7px;*/
  display: none;
}

.footer:before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gray);
  margin-right: 23px;
}

.footer:after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gray);
  margin-left: 23px;
}

.footer__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer__icon {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 32px;
  font-size: 0px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.footer__facebook {
  background: url("/img/facebook.svg");
}

.footer__instagram {
  background: url("/img/instagram.svg");
}

.footer__youtube {
  background: url("/img/youtube.svg");
}

.footer__in {
  background: url("/img/in.svg");
}

.footer__viber {
  background: url("/img/viber.svg");
}

.footer__telegram {
  background: url("/img/telegram.svg");
}

.footer__whatsapp {
  background: url("/img/whatsapp.svg");
  margin-right: 0px;
}

.not-found {
  background-color: #f4f4f4;
  background-image: url(../img/fish-bg.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  padding-bottom: 30px;
  height: 100%;
}

.not-found .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.not-found__link {
  margin-top: 70vh;
  display: block;
  background-color: #db0200;
  width: 278px;
  height: 70px;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  line-height: 70px;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--font-family);
}

.not-found__h1 {
  font-size: 24px;
  color: #212121;
  font-weight: bold;
  text-align: center;
  font-family: var(--font-family);
}

@media (max-width: 1300px) {
  .main__item {
    padding-right: 5px;
  }
  .main__title {
    font-size: 24px;
  }
  .main__pic {
    width: 34px;
    height: 34px;
    margin-right: 15px;
  }
  .main__text {
    font-size: 18px;
  }
  .main__link {
    max-width: 280px;
    width: 100%;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
  }
  .main__box {
    width: 100%;
    max-height: 210px;
  }
  .footer__icon {
    width: 51px;
    height: 51px;
    margin-right: 30px;
    background-size: contain;
  }
  .footer__whatsapp {
    margin-right: 0px;
  }
  .footer::after {
    margin-left: 38px;
  }
  .footer::before {
    margin-right: 38px;
  }
  .footer {
    padding: 0px 52px;
  }
  .footet__all {
    width: 93.75%;
  }
}
@media (max-width: 920px) {
  .main__link {
    font-size: 20px;
  }
  .main__item {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main__text {
    font-size: 21px;
    margin-bottom: 10px;
  }
  .main__title {
    font-size: 20px;
  }
  .main__pic {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }
  .main__top {
    margin-bottom: 10px;
  }
  .footet__all {
    bottom: 11px;
  }
  .main__box {
    margin-bottom: 0px;
  }
}
@media (max-width: 767px) {
  .main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .main__item {
    width: 100%;
    height: auto;
  }
  .main__pic {
    width: 23px;
    height: 23px;
    margin-right: 8px;
  }
  .main__title {
    font-size: 16px;
  }
  .main__item {
    padding-left: 30px;
    padding-right: 0px;
    padding-top: 46px;
    padding-bottom: 48px;
  }
  .main__top {
    margin-bottom: 19px;
  }
  .main__link {
    max-width: 258px;
    height: 46px;
    line-height: 46px;
    font-size: 20px;
  }
  .main__text {
    font-size: 18px;
    margin-bottom: 16px;
  }
  body {
    background: #f7f7f7;
    padding-bottom: 0px;
  }
  .footer.footet__all {
    position: relative;
    width: 94.87%;
    height: 49px;
    border-radius: 5px;
    bottom: 0px;
  }
  .footer__icon {
    width: 22.5px;
    height: 22.5px;
    margin-right: 13px;
    background-size: contain;
  }
  .footer {
    padding: 0px 17px;
  }
  .footer::before {
    margin-right: 10px;
  }
  .footer::after {
    margin-left: 10px;
  }
  .footer__whatsapp {
    margin-right: 0;
  }
  .footer__fon.footet__all {
    position: absolute;
    bottom: 11px;
    width: 94.87%;
    height: 49px;
    border-radius: 5px;
  }
  .main {
    height: auto;
  }
  body {
    height: auto;
    position: relative;
  }
  .main__matosov {
    padding-bottom: 38px;
  }
  .main__box {
    margin-bottom: 0px;
  }

  .not-found__link {
    margin-top: 30vh;
  }

  .main__piranius {
    order: 1;
  }

  .main__first-click {
    order: 2;
  }

  .main__tools {
    order: 3;
  }

  .main__matosov {
    order: 4;
  }
  
}