@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab&family=Sansita+Swashed:wght@500;600;700&display=swap");
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Slab';
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.navblock {
  position: fixed;
  left: 0;
  right: 0;
  min-height: 70px;
  background: #000;
  color: #fff;
  font-family: 'Roboto Slab';
  font-weight: normal;
}

.navblock .container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr;
      grid-template-columns: 1fr 3fr;
  grid-gap: 15%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.main-logo {
  max-width: 200px;
}

.main-logo img {
  width: 100%;
}

.main-menu ul {
  list-style: none;
  padding-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.main-menu ul a {
  color: #e6d9d9;
  font-size: 17px;
}

.main-menu ul a:hover {
  color: #d82e2e;
}

.main-content {
  padding: 170px 0 40px;
}

.main-content .container {
  font-family: 'Roboto Slab';
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 25% 50%;
      grid-template-columns: 25% 50%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main-content__title h1 {
  font-weight: 700;
}

.main-content__title h2 {
  font-weight: normal;
}

.main-content__image {
  max-width: 600px;
}

.main-content__image img {
  width: 100%;
}

.main-portfolio {
  font-family: 'Roboto Slab';
  padding-top: 60px;
  padding-bottom: 100px;
}

.main-portfolio h1 {
  text-align: center;
  font-weight: 500;
}

.main-portfolio h2 {
  display: block;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.main-portfolio__gallery {
  padding-top: 30px;
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  border-top: 2px solid #000;
}

.main-portfolio__gallery .figure {
  width: 25%;
}

.main-portfolio__gallery .figure img {
  width: 100%;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.main-portfolio__gallery h3 {
  font-size: 18px;
  text-align: center;
}

.portfolio-link {
  color: #000000;
  display: block;
  text-align: center;
  font-size: 20px;
}

.product {
  border: 1px solid #000;
  margin-top: 30px;
  padding: 10px 30px;
  width: 30%;
  height: 500px;
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.product h2 {
  margin: 0;
  font-weight: normal;
  font-size: 20px;
}

.product img {
  border: 2px solid #000;
  width: 100%;
  max-height: 250px;
}

.product img:hover {
  border-color: #d82e2e;
}

.product__descr p {
  margin: 0;
  font-size: 13px;
}

.footer-black {
  min-height: 100px;
  background: #000;
}

.about {
  padding-bottom: 100px;
  padding-top: 80px;
}

.about h1 {
  font-size: 26px;
}

.about h2 {
  font-size: 20px !important;
  text-align: center;
}

.about__content {
  line-height: 1.3;
  font-size: 16px;
  text-align: justify;
}

.about__title {
  text-align: center;
  border-bottom: 2px solid #000;
  margin: 50px 0;
}

.about__image {
  float: left;
  max-width: 400px;
  margin: 50px 30px 10px;
}

.contacts {
  padding: 50px;
  padding-top: 80px;
}

.contacts__title {
  text-align: center;
  font-size: 24px;
  border-bottom: 2px solid #000;
  margin: 50px 0 25px;
  font-weight: normal;
}

.contacts__tel {
  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;
  margin-bottom: 40px;
}

.contacts__subtitle {
  font-weight: normal;
  font-size: 18px;
  margin-right: 5px;
}

.contacts a {
  display: block;
  font-size: 20px;
}

.contacts .form__title {
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  margin-bottom: 0px;
}

.contacts__form {
  max-width: 500px;
  margin: 0px auto 20px;
  display: -ms-grid;
  display: grid;
}

.contacts__form .form__item {
  padding: 5px;
  margin-top: 10px;
  border: 2px solid #000000;
  border-radius: 3px;
  font-size: 15px;
}

.contacts__form textarea::-webkit-input-placeholder {
  font-size: 15px;
  font-family: 'Roboto Slab';
}

.contacts__form textarea:-ms-input-placeholder {
  font-size: 15px;
  font-family: 'Roboto Slab';
}

.contacts__form textarea::-ms-input-placeholder {
  font-size: 15px;
  font-family: 'Roboto Slab';
}

.contacts__form textarea::placeholder {
  font-size: 15px;
  font-family: 'Roboto Slab';
}

.contacts__form .submit {
  background: #000000;
  color: #fff;
  cursor: pointer;
}

.paginator {
  line-height: 150%;
  text-align: center;
  margin: 15px;
}

.paginator > span {
  display: inline-block;
  margin: 20px 5px 0;
  padding: 5px 10px;
  border: 2px solid #000;
  cursor: pointer;
}

.paginator_active {
  color: #d82e2e;
}

.portfolio-filter {
  font-size: 14px;
}

.portfolio-filter .btn-thematic {
  width: 160px;
}

.main-portfolio .portfolio-filter {
  font-size: 16px;
  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;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.main-portfolio .sort-block {
  font-size: 16px;
  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;
}

.main-portfolio button {
  background: #000;
  color: #fff;
  font-size: 13px;
  width: 120px;
  padding: 5px;
  margin: 3px 6px;
  cursor: pointer;
}

.main-portfolio button:hover {
  color: #d82e2e;
}

.main-portfolio button:focus {
  border: 2px solid #a02222;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.hide {
  display: none !important;
}

.scroll-top {
  background: none;
  border: none;
  font-size: 20px;
  position: fixed;
  bottom: 20px;
  right: 40px;
  cursor: pointer;
  text-decoration: underline;
}

.scroll-top::focus {
  border: none;
}

.autor {
  font-weight: 700;
  font-size: 18px;
}

.all-works {
  padding-top: 130px;
}

@media (max-width: 1300px) {
  .container {
    max-width: 95%;
  }
}

@media (max-width: 901px) {
  .main-logo {
    max-width: 150px;
  }
  .main-menu ul {
    font-size: 18px;
  }
  .product {
    width: 47%;
  }
  .product img {
    width: 80%;
    max-height: 300px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 750px) {
  .main-portfolio {
    padding-top: 30px;
  }
  .main-content__title h1 {
    font-size: 22px;
  }
  .main-content__title h2 {
    font-size: 20px;
  }
  .main-menu ul {
    font-size: 16px;
  }
  .main-logo {
    margin-top: 15px;
  }
  .main-content {
    padding-top: 85px;
  }
  .about {
    padding-top: 20px;
  }
  .about h1 {
    font-size: 22px;
  }
  .about img {
    margin-top: 0;
  }
  .contacts {
    padding-top: 0;
  }
  .contacts h1 {
    font-size: 22px;
  }
  .contacts__tel {
    margin: 0;
  }
  .contacts__tel h2 {
    font-size: 18px;
  }
  .navblock {
    position: relative;
  }
  .navblock .container {
    -ms-grid-columns: 2fr 7fr;
        grid-template-columns: 2fr 7fr;
  }
  .navblock .container a {
    font-size: 15px;
  }
}

@media (max-width: 630px) {
  .navblock .container {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    padding-bottom: 20px;
  }
  .main-menu ul {
    margin-top: -15px;
  }
}

@media (max-width: 550px) {
  .about__image {
    width: 80%;
  }
  .about__content {
    margin: 10px;
  }
  .product {
    width: 90%;
  }
  .product h2 {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  .contacts h1 {
    font-size: 18px;
  }
  .contacts__tel h2 {
    font-size: 15px;
  }
  .contacts__tel a {
    font-size: 18px;
  }
  .contacts .form__title {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .main-portfolio h1 {
    font-size: 24px;
  }
  .main-menu ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .main-menu ul li {
    margin: 5px 10px;
  }
}

@media (max-width: 1050px) {
  .gallery-block {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .gallery-block figure {
    min-width: 300px;
  }
}

@media (max-width: 820px) {
  .gallery-block figure {
    min-width: 200px;
  }
}

@media (max-width: 650px) {
  .main-content {
    padding: 40px 30px;
  }
  .main-content .container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .main-content__title {
    text-align: center;
  }
  .main-content__title h1 {
    font-weight: 700;
  }
  .main-content__title h2 {
    font-weight: normal;
  }
  .main-content__image {
    max-width: 600px;
  }
  .main-content__image img {
    width: 100%;
  }
}

@media (max-width: 610px) {
  .gallery-block figure {
    min-width: 70%;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 24px;
  }
  .main-portfolio h2 {
    font-size: 24px;
  }
}

@media (max-width: 1000px) {
  .about__title {
    font-size: 24px;
  }
}

@media (max-width: 300px) {
  .about__content {
    font-size: 16px;
  }
  .contacts__form {
    margin-left: -30px;
  }
}
/*# sourceMappingURL=style.css.map */