/* общие стили */

@font-face {
  font-family: "Inconsolata";
  src: url("../font/Inconsolata_Expanded-Regular.ttf");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: url("../font/Inconsolata-Bold.ttf");
  font-weight: bold;
    font-display: swap;

}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

* {
  line-height: 130%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;

  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  list-style-type: none;
  text-decoration: none;
  min-height: 100%;
  background-color: #fff;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  background-color: #f8f6df;
}
footer,
main,
section {
  display: block;
}
template {
  display: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s linear;
}
a:active,
a:hover {
  text-decoration: underline;
}
strong {
  font-weight: bold;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
small {
  font-size: 80%;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
input,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
select {
  text-transform: none;
}
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
textarea {
  overflow: auto;
}
ul {
  list-style-type: none;
  padding: 0;
}
figure {
  margin: 0;
}
html {
  height: 100%;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

.body {
  font-family: "Inconsolata", sans-serif;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}


/* хедер */

.hero {
  width: 100%;
   margin: 0 auto;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f55;
  background-image: url(../img/1.webp);
   position: relative;
  margin-bottom: 50px;
}

.hero.recipes-page {
    background-image: linear-gradient(45deg, #00000057, #0000001e) ,url(../img/10.webp);
}

.hero::after {
  content: "";
  background-color: #000;
  width: 100%;
  position: absolute;
  top: 0;
   left: 0;
   opacity: 0.3;
  height: 100%;
}
 
 

.header__header {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  background-color: #ffc090;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 10;
  color: #3f3e45;
  border-bottom: 1px solid #6f6d7b;
}

.--container-outer {
  background-color: transparent;
  padding: 0;
  position: static;
  border: none;
}

.--container-inner {
  flex-direction: column;
  padding-top: 200px;
  align-items: center;
  text-align: center;
  z-index: 2;
}
.team-member img {
  margin: 30px 0;
  border-radius: 10px;
  max-width: 300px;
  width: 100%;
}

.--container-inner span {
  color: rgb(126, 12, 12);
  font-size: 22px;
  text-transform: uppercase;
}

.header-container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
  margin: 0 40px;
  align-items: center;
}

.hero .header-container{
  margin: 0 auto;
  padding: 10em 30px;
}

.header__header-logo {
 
  text-align: center;
  display: block;
  color: #000;
  font-size: 1.8em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.header__header-logo:hover {
  opacity: 0.6;
  text-decoration: none !important;
}

.header__header-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style-type: none;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 28px;
  text-transform: uppercase;
  text-decoration: none;
  color: #6f6d7b;
  font-size: 20px;
  justify-content: flex-end;
}

.header__header-menu-item {
  text-decoration: none;
  color: #3f3e45;
  font-size: 18px;
}

.header__main {
  padding: 103px 15% 0 0;
  width: 33%;
  margin: 0 auto;
}

.header__main-title {
  font-size: 36px;
  text-transform: uppercase;
  width: 40%;
  line-height: 1.3;
  color: #fff;
  margin: 10px 0;
   width: min-content;
  text-align: center;
  position: relative;
  z-index: 5;
}

.header__main-subtitle {
  margin-top: 10px;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
    z-index: 5;
line-height: 130%;
 }

.button {
  text-decoration: none !important;
  border: 4px solid peachpuff;
  padding: 5px;
  width: 150px;
  box-sizing: border-box;
  height: 65px;
  color: #000;
  text-transform: uppercase;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.flex-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gap20 {
  gap: 20px;
}

.decor {
      width: 80%;

  margin: 0 auto;
  border: 5px solid #8472;
  padding: 30px;
  border-radius: 0px 50px;
}

.welcome-text {
  font-size: 16px;
  line-height: 20px;
}

.works p {
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  max-width: 80%;
}

.works h3 {
  padding-bottom: 10px;
  border-bottom: 2px solid peachpuff;
}

#flexgrid {
  text-align: center;
  gap: 30px;
  flex-wrap: wrap;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: baseline;
}
#flexgrid div {
  height: 100%;
  gap: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#flexgrid img {
  width: 80px;
  height: 80px;
object-fit: cover;
aspect-ratio: 1/1;
  background-color: #fff;
  border-radius: 13px;
}

#two {
  margin-top: 50px;
  padding: 1%;
}

.hhh {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px solid peachpuff;
  padding-bottom: 13px;
  width: 100%;
}

.catalog-box-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.button:hover {
  background-color: peachpuff;
  transition: 1s;
}

.promo {
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

 
.promo-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.main {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  flex-direction: column;
}

.main__container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  padding: 0 40px;
}

.main-container__categories {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 130%;
}

.mt-15 {
  margin-top: 15px!important;
}

.categories-header {
  font-size: 35px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.categories-list {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  height: 130px;
}

.category {
  width: 100px;
  height: 100px;
}

.category img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.category figcaption {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  color: rgb(126, 12, 12);
}

.categories-list-text {
  display: flex;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

.category-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.catalog-box:not(:first-child) {
  margin-top: 30px;
}

.double-box {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  width: 80%;
}

.double-box a {
  margin: 20px auto 0;
}

.double-box img {
  aspect-ratio: 2/3;
   object-fit: cover;
  max-height: 350px;
  margin: 0 auto;
  border-radius: 15px;
}

.hero.second {
  margin-top: 50px;
  background-image: linear-gradient(45deg, #00000036,#0000006c),url(../img/6.webp);
}

.category-text h3 {
  font-size: 30px;
}

.category-text p {
  text-align: center;
  font-size: 20px;
  line-height: 130%;
}

.gallery {
  margin-top: 30px;
  display: flex;
  gap: 70px;
  flex-direction: column;
  padding-bottom: 50px;
  border-bottom: 1px solid #6f6d7b;
}

.gallery__article {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 85px;
}

.gallery__article img {
  width: 50%;
  background-size: cover;
  background-position: left 0 center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.gallery__article-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery__article-text a {
  color: rgb(126, 12, 12);
  font-style: oblique;
}

.hh1 {
  text-align: center;
   padding-bottom: 13px;
  width: 100%;
line-height: 130%;}

.works {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;
  gap: 30px;
  margin: 50px auto 0;
}

.works div > p:not(:last-child) {
  margin-bottom: 20px;
}

.works div > p {
}

.works__header {
  margin-bottom: 50px;

  font-size: 35px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.works-articles {
  gap: 30px;
  display: flex;
  flex-wrap: wrap;
}

.works-article {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.catalog__title h2 {
  color: #fff;
}

.catalog__title {
  width: 60%;
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
  color: #000 !important;
}

.works-article img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 200px;
  border-radius: 13%;
}

.form {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 50%;
  margin: 70px auto 0;
}

.form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-header {
  font-size: 35px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.form-container {
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 40px;
  gap: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-field {
  width: 370px;
  height: 48px;
  padding: 12px 10px;
  border: 1px solid peachpuff;
  border-radius: 3px;
  font-size: 18px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  cursor: pointer;
  color: #000;
}

textarea.form-field {
  min-width: 370px;
  max-width: 370px;
  min-height: 48px;
}

input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

.checkbox {
  margin-top: 15px;
}

.checkbox a {
  color: #000;
  text-transform: none;
  font-weight: bold;
}

.footer {
  margin-top: 50px;
  border-top: 1px solid #6f6d7b;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: peachpuff;
}

.footer-section {
  margin: 50px 40px;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section div {
  width: 40%;
}

.footer-section > div > .header__header-logo {
  text-decoration: none !important;
  width: auto !important;
}

.footer-section p {
  font-size: 20px;
  margin: 0 0 50px;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: #000;
}

.contacts span {
  font-size: 16px;
  font-weight: bold;
}

.contacts a {
  color: #000;
  font-weight: normal;
  text-decoration: none;
}

.docs {
  border-top: 1px solid #6f6d7b;
  background-color: #f8f6df;
  width: 100%;
   display: flex;
   padding: 15px 30px;
   align-items: center;
  justify-content: center;
  gap: 25px;
}

.docs-link {
  font-size: 16px;
  color: #000;
}

.footer-section {
  flex-direction: column;
  align-items: center;
}
.footer-section div {
  width: auto;
  text-align: center;
}

.contacts {
  text-align: center;
}
.form-field {
  width: 100%;
}
.footer-section p {
  font-size: 18px;
}

.header-doc {
  min-height: auto !important;
}
 

.terms {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 80%;
  margin: 0 auto;
      margin-top: 150px;

}

.terms__title {
  color: rgb(126, 12, 12);
  text-transform: uppercase;
}

.terms__text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.terms__text h3 {
  color: rgb(126, 12, 12);
}

.catalog__title {
  align-items: center;
  color: #fff;
  z-index: 3;
}

.catalog__title h1 {
  color: #fff;
}

.catalog__title h2 {
  line-height: 1.5;
}

.catalog__title p {
  font-size: 25px;
  padding: 25px 0;
}

.header__banner {
  background-position: center;
  position: relative;
}

.header__banner::after {
  content: "";
  background-color: #000;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  opacity: 0.6;
  z-index: 2;
}

.team {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}
.team-member {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
  padding: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.team-member h2 {
  font-size: 20px;
  margin: 10px 0;
}
.team-member p {
  font-size: 1em;
  line-height: 1.5;
  color: #333;
}

.catalog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.catalog h2 {
  text-align: center;
  margin-bottom: 50px;
}

.catalog__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.catalog-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.product-promo {
  border: 1px solid peachpuff;
  background-color: #fff;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  height: 100%;
  min-height: 325px;
}
.product-promo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.product-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.product-title p {
  font-weight: 400;
  font-size: 12px;
  margin-top: 10px;
}

.product-title + a {
  color: rgb(126, 12, 12);
  text-decoration: underline;
}

.catalog__text {
  margin: 120px 0 50px;
  border: 2px solid rgb(17, 92, 59);
  padding: 25px;
  font-style: oblique;
  border-radius: 50px;
}

.product-promo {
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  padding: 20px;
  flex: 1 1 300px;
  text-align: center;
}
.product-promo h2 {
  font-size: 1.5em;
  margin: 10px 0;
}
.product-promo img {
  width: 100%;
  height: 220px;
  margin-bottom: 0;
  object-fit: cover;
   border-radius: 10px;
   margin-top: 10px;
}

.product {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px;
  padding: 15px;
   text-align: center;
   transition: all 0.3s linear;
 }

.product:hover {
  background: linear-gradient(45deg, #ffc090,#f8f6df);
}
 .product:hover .ingredients {
  background: #fff;
 }

 .terms a {
  color: #000;
  font-weight: bold;
 }
.product img {
  width: 100%;
  height: 150px;
  aspect-ratio: 3/1;
  object-fit: cover;
  border-radius: 10px;
}
.product h3 {
  font-size: 1.4em;
  margin: 10px 0;
}
.product p {
  font-size: 0.9em;
  color: #333;
  margin: 10px 0;
}
.ingredients {
  font-size: 0.8em;
  color: #666;
  background: #ffc090;
  padding: 5px 10px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto!important;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1130px) {
  .terms {
    width: 100%;
  }
  .team-member h2 {
    font-size: 16px;
  }

  #flexgrid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
  #flexgrid div {
    gap: 10px;
  }
  

  .promo-box div:first-child {
    display: none;
  }
  .promo-box {
    grid-template-columns: repeat(3, 1fr);
  }
  .works-articles {
    -ms-grid-columns: 1fr 50px 1fr;
    grid-template-columns: repeat(2, 1fr);
  }

  .works-article:last-child {
    display: none;
  }

  .--container-inner {
    padding-bottom: 100px;
  }

  .main-about {
    margin: 150px 40px 0;
  }
}

@media (max-width: 750px) {
  
  .team {
    flex-wrap: wrap;
  }

  #flexgrid {
    grid-template-columns: repeat(1, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .promo-box {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .header__header-logo {
    width: auto;
  }
  .works-articles {
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery__article {
    flex-direction: column;
  }

  .gallery__article:nth-child(n + 2) {
    flex-direction: column-reverse;
  }
  .category-text h3 {
    font-size: 25px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
  }
  .header__header-menu {
    justify-content: center;
  }

  #flexgrid div > p {
    height: auto;
  }
  .category-text {
    width: auto;
  }
 
  .main-container__categories {
    padding: 50px 15px 0;
  }
  #two {
    padding: 0 15px;
  }
  .works {
    padding: 0 15px 50px;
  }
  .form {
    max-width: none;
    padding: 0 15px;
  }
  .categories-list-text {
    flex-wrap: wrap;
    gap: 30px;
  }

  .category-text {
    width: auto;
  }
  .categories-list {
    margin-top: 50px;
    flex-direction: column;
    height: auto;
  }
  .category {
    width: 150px;
    height: 150px;
  }
 
.double-box, .docs {
  flex-direction: column;
}
  
}

@media (max-width: 500px) {

  .decor {
    width: 90%;
  }
  .terms h2 {
    font-size: 16px;
  }
  .category-text p {
    font-size: 12px;
  }

  .main-container__categories {
    margin-top: 0;
  }

  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .main__container {
    padding: 0 20px;
  }
  .decor {
    padding: 20px;
  }

  .hh1 {
    font-size: 16px;
  }
 
  .header-container {
    align-items: center;
    justify-content: center;
  }

  .catalog__title h1 {
    font-size: 24px;
  }

  .catalog__title h2, .header__main-subtitle {
    font-size: 18px !important;
  }
 

  .header__header-menu {
    justify-content: center;
    flex-direction: column;
  } 

  .header__main-title {
    font-size: 30px;
  }

  textarea.form-field {
    min-width: 100%;
    max-width: 100%;
    height: 80px;
  }

  .terms__title {
    font-size: 25px;
  }

  .terms__title + h2 {
    font-size: 18px;
  }

  .catalog__title {
    width: 100%;
    font-size: 12px;
  }

  .main__container {
    gap: 0;
  }
}
