/* я css */
:root {
  --color1: #259b24;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* min-height: 100vh; */

  display: flex;
  flex-flow: column wrap;
  align-items: center;
  color: #363636;
  line-height: 1.6;
  font-size: 18px;
}

.bold {
  font-weight: 700;
}

mark {
  color: inherit;
  background: none;
  text-decoration: underline;
}

.container {
  width: 85%;
}

.hide {
  display: none;
}

/* pop up menuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu */
.popupMenu {
  height: 250px;
  background-color: #ededed;
  position: fixed;
  z-index: 3;
  left: 50%;
  top: -100%;
  transform: translate(-50%, -50%);
  padding: 2% 100px;
  transition: top ease 0.4s;
}

.popupMenu__center {
  display: flex;
  justify-content: center;
}

.popupMenu__title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 2%;
}

.popupMenu__networks {
  display: flex;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  gap: 0 20px;
  align-items: center;
}

.popupMenu__img {
  width: 100%;
  height: 50px;
}

.krestik {
  position: absolute;
  top: -10px;
  right: -3px;
  font-size: 25px;
  cursor: pointer;
  font-weight: 700;
}

/* pop up menu enddddddddddddddddddddddddddd */

/* header startttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt  */

header {
  display: flex;
  align-items: center;
  gap: 0 10px;
  background-color: var(--color1);
  /* border-radius: 2px; */
  margin-bottom: 20px;
  justify-content: space-between;
  padding: 20px 30px;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
}

.logo>*:not(:last-child) {
  margin-right: 10px;
}

.logo__img {
  height: 50px;
  max-width: 100%;
}

.logo__text {
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 25px;
}

.menu {
  display: flex;
}

.menu>*:not(:last-child) {
  margin-right: 30px;
}

.search__label {
  opacity: 0.5;
  transition: opacity .2s ease;
}

.search {
  margin-left: 5px;
  height: 22px;
  color: #363636;
}

.search__results {
  background-color: #fff;
  position: absolute;
  right: 0;
  width: 75%;
  z-index: 1;
  top: 27px;
}

.search__li {
  padding: 10px;
  border: solid 1px rgba(0, 0, 0, 0.1);
}

.search__a {
  color: #363636;
}

.search__a:hover {
  font-weight: 700;
  background-color: var(--color1);
  transition: all 0.1s ease-in;
}

.menu_input {
  position: relative;
}

.menu_el {
  position: relative;
  cursor: pointer;
}

.contextMenu {
  background-color: #fff;
  position: absolute;
  z-index: 1;
}

.contextMenu__link {
  color: #363636;
}

.contextMenu__item {
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid 1px rgba(0, 0, 0, 0.1);
  /* width: 100%; */
  min-width: 134px
}

.contextMenu__item:hover {
  transition: all 0.1s ease-in;
  background-color: var(--color1);
  font-weight: bold;
}

.icon {
  height: 20px;
  width: 20px;
}

/* header endddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd  */

/* **************************************intro*************************************************** */

.intro {
  display: flex;
  justify-content: space-around;
  gap: 0 20px;
  margin-bottom: 30px;
}

.slider__container {
  overflow: hidden;
  width: 100%;
  max-height: 460px;
  box-shadow: -1px 0 10px rgba(0, 0, 0, 0.25);
  position: relative;
  align-self: flex-start;
}

.slider {
  display: flex;
  /* gap: 0 50px; */
  transition: transform 1s ease;
}

.slider__buttons {
  display: flex;
  gap: 0 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.offSlider {
  position: absolute;
  bottom: 1px;
  right: 2px;
}

.slider__button {
  height: 15px;
  width: 15px;
  border: 1px solid #000;
  border-radius: 100%;
  cursor: pointer;
}

.makeBlack {
  background-color: #000;
}

.intro__img {
  height: auto;
  transition: visibility 1s ease;
}

.intro__description {
  width: 100%;
}

/* **************************************intro end*************************************************** */

/* **************************************title*************************************************** */
/* эт та фигня которая посередине hello */
.catalog {
  width: 100%;
  height: 60px;
  background-color: var(--color1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
}

/* **************************************title end*************************************************** */

/* **************************************typeofprcdct*************************************************** */
/* эт та фигня которая посередине яблони/груши */
.typeOfPruduct__container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.typeOfPruduct__text {
  font-size: 20px;
  font-weight: bold;
}

/* **************************************typeofprucdeuct end*************************************************** */

/* **************************************card*************************************************** */
.card {
  display: flex;
  justify-content: space-around;
  gap: 0 20px;
  margin-bottom: 30px;
}

.card__image-container {
  position: relative;
  align-self: flex-start;
}

.card__image {
  max-height: 800px;
}

.card__title {
  text-align: center;
  font-size: 40px;
  position: absolute;
  bottom: 0;
  left: 50%;
  color: var(--color1);
  background-color: #363636;
  transform: translate(-50%, -0%);
  line-height: 1.2;
  width: 100%;
  overflow: hidden;
}

.card__description {
  width: 100%;
  display: flex;
  flex-flow: column wrap;
}

.description__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.description__price {
  font-size: 22px;
}

.description__price>span {
  font-size: 25px;
  font-weight: bold;
}

.description__link {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.description__button {
  background-color: var(--color1);
  padding: 10px 50px;
}

/* **************************************card end*************************************************** */

/* **************************************autro*************************************************** */
.autro {
  background-color: var(--color1);
  margin-bottom: 100px;
}

.autro__text {
  font-size: 18px;
}

/* **************************************autro end*************************************************** */

/* **************************************footer*************************************************** */
footer {
  background-color: var(--color1);
  width: 100%;
  padding: 0px 50;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: end;
}

.footer__year {
  font-size: 20px;
  font-weight: bold;
}

/* **************************************footer end*************************************************** */
@media (max-width: 980px) {
  header {
    flex-flow: column wrap;
    gap: 10px 0;
  }

  .intro {
    flex-flow: wrap-reverse;
    gap: 20px 0;
  }

  .slider__container {
    max-width: 75%;
  }

  .card {
    flex-flow: wrap;
    gap: 20px 0;
    margin-bottom: 40px;
  }

  .card__image {
    max-height: 500px;
  }

  .card__title {
    font-size: 40px;
  }

  .description__text {
    margin-bottom: 20px;
  }
}

@media (max-width: 670px) {
  .menu {
    flex-flow: column wrap;
    gap: 0px 0;
    align-items: center;
  }

  .menu>* {
    margin: 0 !important;
  }
}

@media (max-width: 580px) {
  .card__title[data-name-is-long="1"] {
    font-size: 35px;
  }
}

@media (max-width: 515px) {
  .card__title[data-name-is-long="1"] {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .card__title[data-name-is-long="0"] {
    font-size: 35px;
  }

  .card__title[data-name-is-long="0.5"] {
    font-size: 35px;
  }

  .card__title[data-name-is-long="1"] {
    font-size: 25px;
  }
}

@media (max-width: 420px) {
  .card__title[data-name-is-long="0.5"] {
    font-size: 30px;
  }

  .card__title[data-name-is-long="1"] {
    font-size: 22px;
  }

}

@media (max-width: 400px) {
  .logo {
    flex-flow: column wrap;
  }

  .menu_input {
    display: flex;
    align-items: center;
    position: relative;
  }

  .search {
    width: 100%;
  }

  .description__bottom {
    flex-flow: column;
    align-items: end;
    gap: 10px 0;
  }

  .description__button {
    text-align: center;
    max-width: min-content;
  }
}

@media (max-width: 365px) {
  .card__title[data-name-is-long="1"] {
    font-size: 18px;
  }

  .card__title[data-name-is-long="0.5"] {
    font-size: 25px;
  }
}