body {
  font-size: 16px;
  font-family: "Didact Gothic", sans-serif;
  color: #0c0b0b;
  -webkit-hyphens: none;
          hyphens: none;

  background: #ffffff;

      -ms-hyphens: none;
}

.first-screen {
  position: relative;

  color: #ffffff;

  background: #4a4a4a url("../img/first-screen-bg.jpg") 50% 50% no-repeat;
  background-size: cover;
}

.first-screen::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  background: url(../img/first-screen-bg-2.png) bottom center no-repeat;
  background-size: contain;
}

.first-screen .container {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 74px);
  padding: 100px 15px;

  text-align: center;
}

.first-screen-description {
  margin-bottom: 45px;

  font-size: 80px;
  font-family: "Pacifico", cursive;
  letter-spacing: 0.1em;
  text-shadow: 0 3px 11px rgba(0, 0, 0, 0.15);
}

.first-screen-title {
  margin-bottom: 65px;
}

.btn-danger {
  padding: 15px 35px;

  font-size: 18px;
  color: #ffffff;

  background-color: #d5130f;
  border-color: #d5130f;
  border-radius: 50px;
}

.btn-danger:hover {
  color: #ffffff;

  background-color: #0c0b0b;
  border-color: #0c0b0b;
}

.btn-light {
  padding: 7px 15px;

  color: #0c0b0b;

  background: #ffffff;
  border-color: #ffffff;
  border-radius: 50px;
}

.first-screen .btn-danger {
  font-size: 22px;
}

.main-section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 100px;

  font-size: 40px;
  text-align: center;
}

.main-form {
  padding: 100px 0;

  color: #ffffff;

  background: url("../img/main-form.jpg") 50% 50% no-repeat;
  background-size: cover;
}

.main-form-content {
  width: 600px;
  margin-left: 10%;
  padding: 0 15px;
}

.main-form-title {
  margin-bottom: 35px;

  font-size: 46px;
  line-height: 1.1;
  font-family: "Pacifico", cursive;
  letter-spacing: 0.1em;
}

.main-form-description {
  margin-bottom: 35px;

  font-size: 24px;
}

.main-footer {
  padding: 50px;

  color: #ffffff;

  background: #0c0b0b;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copyright a:hover {
  text-decoration: none;
}

.main-navbar {
  padding: 0;

  background: #ffffff !important;
  box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;

  color: #1a9058;
}

.logo:hover {
  color: #1a9058;
  text-decoration: none;
}

.logo img {
  width: 50px;
  margin-right: 5px;
}

.logo-title {
  font-size: 24px;
  font-family: "Pacifico", cursive;
  letter-spacing: 0.1em;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 25px 20px;

  font-weight: 700;
  font-size: 18px;
  color: #0c0b0b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #ffffff;

  background: #1a9058;
}

.nav-phone {
  font-weight: 700;
  font-size: 22px;
}

.services-item {
  align-items: center;
}

.services-img {
  padding: 0;
}

.services-content {
  padding: 0 30px;
}

.services-content p {
  margin: 30px 0;

  text-align: justify;
  -webkit-hyphens: auto;
          hyphens: auto;

      -ms-hyphens: auto;
}

.main-content p,
.main-content ul,
.main-content ol {
  font-size: 18px;
  text-align: justify;
  -webkit-hyphens: auto;
          hyphens: auto;

      -ms-hyphens: auto;
}

.services-content .btn-danger {
  padding: 10px 35px;

  font-size: 16px;
}

.portfolio-section {
  position: relative;

  padding-bottom: 70px;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  width: 100%;
  height: 100%;

  background: url("../img/portrolio-bg.jpg") 50% 50% no-repeat;
  background-size: cover;
  opacity: 0.2;
}

.portfolio-section::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;

  width: 333px;
  height: 634px;

  background: url("../img/portrolio-bg-1.png") 50% 50% no-repeat;
  background-size: contain;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.portfolio-section .container {
  position: relative;
  z-index: 1;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.portfolio-content {
  height: 100%;
  padding: 20px;

  color: #ffffff;

  background: #1a9058;
}

.portfolio-title {
  margin-bottom: 20px;
}

.portfolio-title a {
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}

.portfolio-info {
  margin: 0;
  margin-bottom: 20px;
  padding: 0;

  list-style: none;
  font-size: 18px;
}

.portfolio-info li {
  position: relative;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.portfolio-info li::before {
  content: "";

  display: block;
  width: 35px;
  height: 35px;
  margin-right: 15px;

  background: #ffffff;
  border-radius: 50%;
}

.portfolio-info li:last-of-type {
  margin-bottom: 0;
}

.portfolio-info li span {
  width: calc(100% - 50px);
}

.portfolio-info li.portfolio-persons::before {
  background: #ffffff url("../img/svg/portfolio-persons.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.portfolio-info li.portfolio-place::before {
  background: #ffffff url("../img/svg/portfolio-place.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.breadcrumb {
  margin: 0;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
}

.main-title-header {
  padding: 50px 0;
}

.main-title-header::before {
  opacity: 0.3;
}

.main-title-header::after {
  content: "";
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: url("../img/main-title-header.png") 50% 100% no-repeat;
  background-size: cover;
  -webkit-transform: none;
          transform: none;
}

.main-content {
  padding: 100px 15px;
}

.portfolio-page .portfolio-info {
  margin-bottom: 0;
}

.main-content .main-list {
  list-style: none;
}

.main-content .main-list li {
  position: relative;

  margin-bottom: 10px;
}

.main-content .main-list li:last-of-type {
  margin-bottom: 0;
}

.main-content .main-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25px;

  width: 10px;
  height: 10px;

  background: #1a9058;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.portfolio-page-title {
  margin: 50px 0;
}

.slick-dots {
  position: absolute;
  bottom: 50px;
  left: 50%;

  margin: 0;
  padding: 0;

  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.slick-dots li {
  display: none;
  margin-bottom: 0;
}

.slick-dots li::before {
  display: none;
}

.slick-dots .slick-active {
  display: block;
  padding: 5px 15px;

  font-size: 22px;
  color: #ffffff;

  background: #1a9058;
}

.gallery-thumb,
.thumbnail {
  display: block !important;
}

.slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;

  width: 50px;
  height: 50px;
  padding: 0;

  font-size: 0;

  background: #1a9058;
  border: none;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;

  transition: all 0.5s ease;
}

.slick-arrow:hover {
  opacity: 0.8;
}

.slick-next {
  right: 15px;

  background: #1a9058 url("../img/svg/slick-next.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.slick-prev {
  left: 15px;

  background: #1a9058 url("../img/svg/slick-prev.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.map {
  align-items: center;
}

.map-contacts {
  margin-bottom: 0;
  padding: 20px 0;
}

.map-contacts li {
  position: relative;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.map-contacts li::before {
  content: "";

  display: block;
  width: 35px;
  height: 35px;
  margin-right: 15px;

  background: #1a9058;
  border-radius: 50%;
}

.map-contacts li.map-phone::before {
  background: #1a9058 url("../img/svg/map-phone.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.map-contacts li.map-mail::before {
  background: #1a9058 url("../img/svg/map-mail.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.map-contacts li.map-time::before {
  background: #1a9058 url("../img/svg/map-time.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.map-contacts li.map-address::before {
  background: #1a9058 url("../img/svg/map-address.svg") 50% 50% no-repeat;
  background-size: 20px;
}

.map-contacts li:lasf-of-type {
  margin-bottom: 0;
}

.map-contacts li span,
.map-contacts li a {
  width: calc(100% - 50px);
}

.portfolio-page .main-title-header .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.portfolio-page-content {
  width: calc(100% - 300px);
  padding-right: 15px;
}

.portfolio-page-btn {
  width: 300px;
  padding-left: 15px;

  text-align: right;
}

::-moz-selection {
  background: rgba(26, 144, 88, 0.3);
}

::selection {
  background: rgba(26, 144, 88, 0.3);
}

.taj {
  font-size: 20px;
  text-align: justify;
  -webkit-hyphens: auto;
          hyphens: auto;

      -ms-hyphens: auto;
}

.about-title {
  margin-bottom: 20px;

  font-size: 2rem;
  font-family: "Pacifico", cursive;
  letter-spacing: 0.05em;
}

.about-signature {
  padding-top: 1rem;

  border-top: 1px solid #1a9058;
}

.about-signature-name {
  font-weight: 700;
}

.about-signature-company {
  font-style: italic;
}

.map-contacts li.map-callback::before {
  display: none;
}

.map-contacts li.map-callback .btn-danger {
  display: inline-block;
  width: auto;
  margin: 20px 0;
  padding: 5px 25px;
}

@media (min-width: 1200px) {
}

@media (min-width: 992px) and (max-width: 1199px) {
  .services-content p {
    margin: 20px 0;
  }

  .services-title {
    font-size: 1.5em;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .first-screen-description {
    line-height: 1.1;
  }

  .services-title {
    font-size: 1.5em;
  }

  .services-item:nth-of-type(even) {
    display: flex;
    flex-direction: column-reverse;
  }

  .services-content {
    padding: 15px;
  }
  .portfolio-page .main-title-header .container {
    flex-direction: column;
  }
  .portfolio-page-content,
  .portfolio-page-btn {
    width: 100%;
    padding: 0;
  }
  .portfolio-page-content {
    margin-bottom: 15px;
  }
  .portfolio-page-btn {
    text-align: left;
  }
  .portfolio-page-btn .btn-danger {
    padding: 10px 25px;

    font-size: 16px;
  }
  .main-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .first-screen .container {
    height: inherit;
  }

  .main-form-content {
    width: 100%;
    margin-left: 0;
    padding: 0 15px;
  }

  .first-screen-description {
    font-size: 34px;
    line-height: 1.1;
  }

  .first-screen-title {
    margin-bottom: 35px;

    font-size: 1.5rem;
  }

  .first-screen .btn-danger {
    font-size: 16px;
  }

  .navbar-expand-lg .navbar-nav .nav-link,
  .nav-phone {
    padding: 15px;
  }

  .logo {
    margin-left: 15px;
  }

  .navbar-light .navbar-toggler {
    margin-right: 15px;
  }

  .main-section,
  .main-content {
    padding: 50px 0;
  }

  .main-content {
    padding: 50px 15px;
  }

  .portfolio-section {
    padding-bottom: 20px;
  }

  .section-title {
    margin-bottom: 50px;

    font-size: 1.75rem;
  }

  .services-content {
    padding: 15px;
  }

  .portfolio-section::after {
    display: none;
  }

  .main-form {
    padding: 50px 0;
  }

  .services-item:nth-of-type(even) {
    display: flex;
    flex-direction: column-reverse;
  }

  .main-form-title {
    font-size: 40px;
  }

  .main-form-description {
    font-size: 22px;
  }

  .btn-danger {
    padding: 10px 25px;
  }
  .portfolio-page .main-title-header .container {
    flex-direction: column;
  }
  .portfolio-page-content,
  .portfolio-page-btn {
    width: 100%;
    padding: 0;
  }
  .portfolio-page-content {
    margin-bottom: 15px;
  }
  .portfolio-page-btn {
    text-align: left;
  }
  .portfolio-page-btn .btn-danger {
    padding: 10px 25px;

    font-size: 16px;
  }
  .main-title-header {
    padding-bottom: 50px;
  }
  .main-title {
    font-size: 2rem;
  }
  .slick-dots {
    bottom: 15px;
  }
  .slick-dots .slick-active {
    font-size: 16px;
  }
  .about-img {
    margin-bottom: 30px;
  }
}
