@font-face {
  font-family: 'Pfagorasanspro';
  src: url('../assets/fonts/pfagorasanspro-black.woff2') format('woff2'),
    url('../assets/fonts/pfagorasanspro-bold.woff2') format('woff2'),
    url('../assets/fonts/pfagorasanspro-medium.woff2') format('woff2'),
    url('../assets/fonts/pfagorasanspro-reg.woff2') format('woff2'),
    url('../assets/fonts/pfagorasanspro-ultrablack.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
 font-family: 'Pfagorasanspro';
}

h2 {
  font-size: 1.7rem;
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}

/* FIX BOOTSTRAP */
@media (min-width: 1600px) {
  .container {
    max-width: 1520px;
  }

  .modal-xl {
    max-width: 1500px;
  }
}

.full-width {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

/* END FIX BOOTSTRAP */

/* RESET */
a {
  color: #000;
}

a:hover {
  color: #000;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

textarea {
  resize: none;
}

/* END RESET */

/* HEADER */
.header {
  position: fixed;
  left: 0;
  right: 0;
  background-color: #000;
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: 3;
}

.show {
  transform: translateY(0);
  transition: 0.5s;
}

.header-phone {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1200px) {
  .header-phone {
    flex-direction: row;
  }
}

.header-phone img {
  width: 1.5rem;
}

/* END HEADER */

/* SECTION MAIN */
.section-main {
  background-image: url("../assets/img/bg/header-fon.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.section-main__phone img {
  width: 1.5rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
}

.section-main__menu-button {
  padding-left: 2rem;
  font-size: 2rem;
}

.section-main__menu-button:hover {
  cursor: pointer;
}

.header-door {
  position: relative;
  left: -70px;
}

.header-door__second {
  position: absolute;
  left: 70px;
  top: 40px;
}

.header-door__third {
  position: absolute;
  top: 80px;
  left: 140px;
}

.section-main__button a {
  border-bottom: 1px dashed #e1be78;
}

/* SECTION MAIN END */

/* SECTION CATALOG */
.catalog-card {
  position: relative;
  width: 358px;
  height: 400px;
  display: block;
  position: relative;
  margin-top: 50px;
  margin-bottom: 38px;
}

.catalog-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-item {
  transition: 0.5s;
}

.product-item:hover {
  transform: scale(1.1);
  transition: 0.5s;
}

/* SECTION CATALOG END */

/* SECTION DOP CATALOG */
.section-dop-catalog {
  background-color: #F2F4F7;
}

.dop-card {
  overflow: hidden;
  border-radius: 1.6rem;
  width: 20rem;
}

.dop-card img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.wrapper {
  height: 170px;
  overflow: hidden;
}

.dop-card:hover {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-animation: button-pulse 0.8s 0s ease-out 1;
  animation: button-pulse 0.8s 0s ease-out 1;
  box-shadow: none;
}

.dop-card img {
  transition: 0.5s;
}

.dop-card:hover img {
  transform: scale(1.5) rotate(5deg);
  transition: 1s;
}

/* SECTION DOP CATALOG END */

/* SECTION ABOUT */
.about-card {
  position: relative;
  border: none;
  transition: 1s;
  border-radius: 1rem;
}

.about-card::after {
  position: absolute;
  content: "";
  background-color: #F2F4F7;
  border-radius: 1rem;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.about-card:hover:after {
  background-color: transparent !important;
  transition: 1s;
}

.about-card:hover>.about-card__text {
  color: #fff;
}

.about-card:hover>.about-card__text i {
  color: #e1be78;
}

.about-card__text {
  position: absolute;
  z-index: 1;
}

.about-card__text i {
  font-size: 4rem;
}

.slick-slide:focus {
  outline: none;
}
.slick-next,
.slick-prev {
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
  background-color: #e1be78;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  z-index: 9;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  background-color: #e1be78;
}

/* SECTION ABOUT END */

/* SECTION ACHIEVEMENT */
.section-achievement {
  background-image: url("../assets/img/bg/conditions-fon.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* SECTION ACHIEVEMENT END */

/* SECTION WORK */
.section-work {
  background-image: url("../assets/img/bg/step-fon.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.work-block img {
  width: 2rem;
}

.section-work__item {
  border-top: 5px solid #000;
}

.section-work__item_right {
  position: relative;
  border: 5px solid #000;
  border-left: 0;
  border-radius: 0 100px 100px 0;
}

.section-work__item_left {
  position: relative;
  border: 5px solid #000;
  border-right: 0;
  border-radius: 100px 0 0 100px;
  margin-top: -5px;
}

.section-work__item_right::after {
  position: absolute;
  top: 15px;
  content: url("../assets/img/icons/arrow-right.png")
}

.section-work__item_left::after {
  position: absolute;
  top: 15px;
  left: 20px;
  content: url("../assets/img/icons/arrow-left.png")
}

/* END SECTION WORK */

/* SECTION QUESTION */
.section-question {
  background-image: url("../assets/img/bg/want-fon.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.section-question input,
textarea {
  width: 100%;
  height: 53px;
  border-radius: 27px;
  background-color: #ffffff;
  color: #2c2c2c !important;
  padding-left: 41px;
  margin-bottom: 29px;
  border: none;
}

.section-question input:focus {
  outline: none;
}

.section-question textarea:focus {
  outline: none;
}

.client-message {
  height: 200px;
}

/* END SECTION QUESTION */

/* FOOTER */
.footer-block img {
  width: 2rem;
}

/* END FOOTER */

/* CUSTOM */
.carousel-control-next img {
  width: 3rem;
}

.carousel-control-prev img {
  width: 3rem;
}

.price {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 700;
  color: red;
}

.second-font {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 100;
}

.second-font_small {
  font-size: 1rem;
}

.colored {
  color: #e1be78;
}

.line::after {
  position: absolute;
  content: '';
  z-index: 2;
  width: 100px;
  height: 5px;
  background-color: #e1be78;
  bottom: -10px;
  left: 0;
}

.line_center::after {
  left: 50%;
  transform: translate(-50%);
}

.down::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 35px;
  background-color: #ffffff;
  bottom: -40px;
  left: 50%;
}

.main-btn {
  width: 248px;
  height: 60px;
  border-radius: 30px;
  border: 1px solid #e1be78;
  text-align: center;
  color: #fff;
  background-color: transparent;
}

.main-btn:focus {
  outline: none;
}

.main-btn__catalog {
  width: 170px;
  height: 60px;
}

.info-btn {
  border: 1px solid green;
}

.main-btn:hover {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-animation: button-pulse 0.8s 0s ease-out 1;
  animation: button-pulse 0.8s 0s ease-out 1;
  box-shadow: none;
}

.info-btn:hover {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-animation: button-pulse__info 0.8s 0s ease-out 1;
  animation: button-pulse__info 0.8s 0s ease-out 1;
  box-shadow: none;
}

.product-form__modal {
  background-color: rgba(232, 232, 232, 0.5);
}


@-webkit-keyframes button-pulse {
  0% {
    box-shadow: 0 0 8px 6px #e1be78, 0 0 12px 14px #e1be78;
  }

  100% {
    box-shadow: 0 0 18px 6px rgba(225, 190, 120, 0), 0 0 4px 71px rgba(225, 190, 120, 0);
  }
}


@keyframes button-pulse {
  0% {
    box-shadow: 0 0 8px 6px #e1be78, 0 0 12px 14px #e1be78;
  }

  100% {
    box-shadow: 0 0 18px 6px rgba(225, 190, 120, 0), 0 0 4px 71px rgba(225, 190, 120, 0);
  }
}

@-webkit-keyframes button-pulse__info {
  0% {
    box-shadow: 0 0 8px 6px #0080009f, 0 0 12px 14px #0080009f;
  }

  100% {
    box-shadow: 0 0 18px 6px rgba(225, 190, 120, 0), 0 0 4px 71px rgba(225, 190, 120, 0);
  }
}

@keyframes button-pulse__info {
  0% {
    box-shadow: 0 0 8px 6px #0080009f, 0 0 12px 14px #0080009f;
  }

  100% {
    box-shadow: 0 0 18px 6px rgba(225, 190, 120, 0), 0 0 4px 71px rgba(225, 190, 120, 0);
  }
}

.modal-input {
  height: 59px;
  border-radius: 30px;
  border: 1px solid #e8e8e8;
  background-color: #e8e8e8;
  text-align: center;
  margin-bottom: 25px;
}

.modal-input:focus {
  outline: none;
}

.bg-red {
  background-color: red;
}

/* EMD CUSTOM */