* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

ul {
  list-style-type: none;
}

.header-main {
  height: 65px;
  width: 100%;
  background-color: #808080;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-main-logo-list li + li {
  margin-top: -5px;
}

.header-main-logo-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-main-logo-text svg {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.header-main-container {
  width: 100%;
  padding: 0 10%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 auto;
}

.header-main-logo-list-element {
  font-weight: 500;
  font-size: 18px;
}

.header-main-name-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-main-name-list-element {
  font-weight: 500;
  font-size: 18px;
  color: black;
}

.header-main-name-list-element svg {
  width: 15px;
  height: 15px;
}

.header-main-name-list li + li {
  margin-top: -5px;
}

.header-main-services-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header-main-services-links-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-main-services-links-list-element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.logo-link {
  width: 30px;
  height: 30px;
}

.services-link {
  height: 65px;
  text-decoration: none;
  padding: 0 20px;
  color: black;
  font-weight: 500;
  background-color: transparent;
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.services-link:hover {
  color: black;
  background-color: #aeaeae9d;
}

.card-title {
  color: white;
  font-size: 42px;
  position: absolute;
  z-index: 3;
  letter-spacing: 3px;
  top: 154.5px;
  left: 55.5px;
}

.second-card {
  left: 1px;
  top: 128.8px;
}

.third-card {
  left: 42.5px;
}

.fourth-card {
  left: 105px;
}

.fifth-card {
  left: 0.5px;
  top: 103.2px;
}

.last-card {
  left: 3px;
}

.card-link {
  text-decoration: none;
  color: white;
  font-size: 42px;
  padding: 5px 15px;
  border: 1px solid white;
  position: absolute;
  z-index: 5;
  left: 24.5px;
  top: 152px;
  display: none;
  -webkit-transition: inherit;
  transition: inherit;
  border-radius: 7px;
  background-color: rgba(128, 128, 128, 0.215);
}

.card-link:hover {
  background-color: #a8a8a882;
}

.card:hover .card-img {
  -webkit-filter: brightness(30%);
          filter: brightness(30%);
}

.card:hover .card-title {
  display: none;
}

.card:hover .card-link {
  display: block;
}

.card-img {
  border-radius: 50px;
  -webkit-filter: brightness(70%);
          filter: brightness(70%);
  z-index: 1;
  width: 360px;
  height: 360px;
}

.main-main {
  width: 100%;
  background-color: #A8A8A8;
  padding-bottom: 40px;
}

.main-text {
  color: white;
  font-size: 42px;
  -webkit-filter: brightness(100%);
          filter: brightness(100%);
  opacity: 0.8;
}

.main-logo {
  width: 100%;
  height: 90vh;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.537)), to(rgba(0, 0, 0, 0.8))), url(/components/images/header-main.jpg);
  background: linear-gradient(rgba(0, 0, 0, 0.537), rgba(0, 0, 0, 0.8)), url(/components/images/header-main.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: 50% 15%;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.main-container {
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-width: 1140px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.card {
  width: 360px;
  height: 360px;
  border-radius: 50px;
  position: relative;
  margin-bottom: 20px;
}

.card:nth-child(4) {
  margin-bottom: 0;
}

.card:nth-child(5) {
  margin-bottom: 0;
}

.card:nth-child(6) {
  margin-bottom: 0;
}

.section-title {
  margin: 16px auto 20px auto;
  font-size: 42px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.main-logo-title {
  margin: 16px auto 0 auto;
  font-size: 42px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  color: wheat;
}

.text-container {
  margin: 0 auto;
  max-width: 1140px;
  margin-bottom: 16px;
}

.about-us-history {
  font-size: 24px;
}

.contacts-title {
  padding-top: 20px;
  margin: 0 auto 20px auto;
  font-size: 42px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.cremation-novoros {
  width: 1140px;
}

.main-service-text {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.underline {
  text-decoration: underline;
}

.about-us {
  width: 100%;
}

.about-us-hr {
  border: 1px solid #808080;
  width: 570px;
  height: 2px;
}

.about-us-container {
  max-width: 1140px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.about-us-worktime {
  width: 1140px;
}

.about-us-worktime-list {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.about-us-worktime-list-element {
  font-size: 32px;
}

.about-us-numbers {
  width: 570px;
}

.about-us-numbers-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.about-us-numbers-list-element {
  font-size: 28px;
}

.about-us-numbers-list-element svg {
  width: 20px;
  height: 20px;
}

.where-are-title {
  width: 1140px;
}

.shop-img {
  width: 560px;
  height: 600px;
}

.everyday {
  text-decoration: underline;
}

.card-service {
  width: 360px;
  height: 600px;
}

.card-service img {
  width: 360px;
  height: 600px;
}

.margin-20 {
  margin-top: 20px;
}

.pdf-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 20px;
  font-size: 28px;
  color: rebeccapurple;
}

.pdf-link:hover {
  color: #9d0000;
}

.pdf-link svg {
  width: 30px;
  padding-right: 5px;
}

.footer-main {
  width: 100%;
  height: 220px;
  background-color: #808080;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.footer-container {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 1140px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer-logo-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer-logo-info svg {
  width: 125px;
  height: 125px;
}

.footer-text {
  max-width: 400px;
  margin-left: 10px;
  font-weight: 500;
  font-size: 16px;
}

.footer-list-element {
  font-weight: 500;
  font-size: 16px;
}

.footer-list-element svg {
  width: 15px;
  height: 15px;
}

.footer-number-name-list li + li {
  margin-top: 10px;
}

.address-text {
  text-align: center;
  font-size: 24px;
  width: 1140px;
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .header-main-container {
    padding: 0 1%;
  }
  .header-main-name-list-element {
    font-size: 14px;
  }
  .header-main-logo-list-element {
    font-size: 14px;
  }
  .main-service-text {
    font-size: 20px;
  }
  .about-us-container {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .text-container {
    text-align: center;
  }
  .main-container {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .cremation-novoros {
    width: 667px;
  }
}

@media (max-width: 667px) {
  .main-logo {
    height: 40vh;
  }
  .header-main-logo-text {
    display: none;
  }
  .header-main-name-block {
    display: none;
  }
  .services-link {
    font-size: 14px;
  }
  .main-text {
    font-size: 18px;
  }
  .section-title {
    font-size: 28px;
  }
  .card:nth-child(4) {
    margin-bottom: 20px;
  }
  .card:nth-child(5) {
    margin-bottom: 20px;
  }
  .card:nth-child(6) {
    margin-bottom: 20px;
  }
  .about-us-worktime-list-element {
    text-align: center;
    font-size: 24px;
  }
  .about-us-numbers-list-element {
    font-size: 24px;
  }
  .shop-img {
    width: 360px;
    height: 450px;
  }
  .yandex-map {
    width: 360px;
    height: 450px;
  }
  .footer-text {
    font-size: 12px;
  }
  .footer-logo-info svg {
    display: none;
  }
  .footer-list-element {
    font-weight: 300;
    font-size: 14px;
  }
  .contacts-title {
    font-size: 32px;
  }
  .cremation-novoros {
    width: 360px;
  }
  .pdf-link {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .pdf-link svg {
    display: none;
  }
  .main-logo-title {
    font-size: 24px;
  }
}
/*# sourceMappingURL=style.css.map */