@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
  margin: 0;
/* background-color: #000000; */
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;

  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}


/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

/**
  Плавный скролл
 */
html {
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not(
  [fill="none"],
  [fill^="url"]
)) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not(
  [stroke="none"],
  [stroke^="url"]
)) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --color-light: #ffffff;
  --color-dark: #000000;
  --color-light-green: #B3E976;

  --border-radius: 32px;
  --border-radius-small: 16px;

  --font-family-base: 'Manrope', sans-serif;

  --heading-height: 44px;

  --max-width: 1600px;

  --container-width: 90%;
  --container-height: 80vh;
  --container-padding-x: 16px;

  --transition-duration: 0.2s;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-light);
  font-size: 18px;
  line-height: 1.75;
}

a {
  color: var(--color-light);
  text-decoration: none;
}

h1 {
  font-family: var(--font-family-base);
  font-size: 72px;
  line-height: 1.1;
  color: var(--color-light);
}

h2 {
  font-family: var(--font-family-base);
  font-size: 48px;
  line-height: 1.2;
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-weight: 600;
  color: var(--color-light);
}

h3 {
  font-family: var(--font-family-base);
  font-size: 24px;
  line-height: 1.5;
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-weight: lighter;
}

h5 {
  font-family: var(--font-family-base);
  font-size: 32px;
  line-height: 1.3;
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-weight: 500;
  -webkit-text-stroke: 0.3px black;
}

.text-16 {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-dark);
}

.text-18 {
  font-family: var(--font-family-base);
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-light);
  font-weight: 500;
}

.text-24 {
  font-family: var(--font-family-base);
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-light);
}

.text-32 {
  font-family: var(--font-family-base);
  font-size: 32px;
  line-height: 1.3;
  color: var(--color-light);
  font-weight: 600;
}

.header-bg {
  position: relative;
  width: 100%;
  height: 100vh; 
  background: url('images/header.jpg') no-repeat center top; 
  background-size: cover; 
  background-position: 60% 90%;
  background-position: center top;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  place-self: anchor-center;
  align-content: center;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  place-self: anchor-center;
  align-content: center;
  white-space: nowrap;
}

.explore-more {
  font-size: 24px;
}

.explore-more-arrow {
  padding-left: 8px;
}

.header-menu-container a{
  margin-left: 10px;
  margin-right: 10px;
}

.header {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  column-gap: 20px;
}

.header-logo {
  width: 100%;   
  height: auto; 
  display: block;
}

.header-menu-item-logo {
  display: none;;
}

.header-menu {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  background: rgba(13, 22, 21, 0.32);
  backdrop-filter: blur(1.899999976158142px);
}

.header-menu-list {
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
  padding: 0;
  padding-right: 20px;
  padding-left: 10px;
}

.header-menu-item {
  flex: 1; 
  text-align: center; 
}

.header-menu-link {
  display: inline-block;
  width: 100%;
  padding: 10px 5px 10px 5px; 
  margin: 5px 0px 5px 0px;
  font: var(--font-family-base);
  font-weight: 500;
  font-size: 14px;
}

.header-menu-link:hover {
  color: var(--color-light-green);
}

.is-highlighted:hover {
  color: var(--color-dark);
}

.burger-toggle {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}


.is-highlighted {
  background-color: var(--color-light-green);
  color: var(--color-dark);
  border-radius: 10px;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-wrap: nowrap;
  padding: 120px 0px 120px 0px;
  height: var(--container-height);
}
.under-header-block {
  display: flex;
  flex-direction: row;
}

.header-block {
  width: 60%;
}

.text-block {
  width: 60%;
}

.explore-more {
  align-self: end;
  margin-left: auto;
}

.explore-more img {
  display: inline-block;
  vertical-align: middle;  
}

.about-us-bg {
  padding: 120px 0px 56px 0px;
  background-color: rgba(248, 248, 240, 1);
}

.about-us {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: nowrap;
  color: var(--color-dark);
  font-family: var(--font-family-base);
  font-weight: 500;
}

.about-us-title {
  width: 30%;
}

.about-us-title h3 {
  border-bottom: 4px solid var(--color-light-green);
  padding-bottom: 5px;
  display: inline-block;
}

.about-us-content {
  width: 70%;
  margin-left: auto;
}

.about-us-images {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 40px;
  gap: 20px;
  flex-wrap: nowrap;
}

.about-us-image {
  height: 370px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-us-image1 {
  background-image: url('images/about_us1.png');
  width: 70%;
  height: auto;
  border-radius: 10px;
}

.about-us-image2 {
  background-image: url('images/about_us2.png');
  width: 30%;
  border-radius: 10px;
  text-align: -webkit-right;
}

.services {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: nowrap;
  color: var(--color-dark);
  font-family: var(--font-family-base);
  font-weight: 500;
}

.services-bg {
  padding: 120px 0px 120px 0px;
  background-image: url('images/services_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-title {
  width: 30%;
}

.services-title h3 {
  color: var(--color-light);
  border-bottom: 4px solid var(--color-light-green);
  padding-bottom: 5px;
  display: inline-block;
}

.services-content {
  width: 70%;
  margin-left: auto;
}

.services-content-cards {
  padding-top: 170px;
}

.services-content-title {
  width: 55%;
}

.services-content-title h2 a {
  color: var(--color-light-green);
}

.card-title a {
  color: var(--color-light-green);
}

.services-content-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-content-card {
  background-color: rgba(19, 48, 29, 1);
  border-radius: 20px;
  padding: 32px;
}

.card-content {
  padding-top: 56px;
}

.products-bg {
  padding: 120px 0px 120px 0px;
  background-color: rgba(248, 248, 240, 1);
}

.products {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-wrap: nowrap;
  color: var(--color-dark);
  font-family: var(--font-family-base);
  font-weight: 500;
}

.products-header {
  display: flex;
  flex-direction: column;
}

.products-sub {
  width: 100%;
  padding-top: 48px;
  display: flex;
  flex-direction: row;
}

.products h2 {
  color: var(--color-dark);
}

.products h3 {
  border-bottom: 4px solid var(--color-light-green);
  padding-bottom: 5px;
  display: inline-block;
}

.products-sub-text {
  max-width: 20%;
}

.products-sub-text p {
  text-align: left;
  
}

.products-sub-title h2 {
  max-width: 45%;
}

.products-content-cards {
  display: flex;
  flex-direction: row;
  padding-top: 100px;
  gap: 60px;
}

.products-content-cards > * {
  flex: 1;
}

.products-content-card {
  position: relative;
  height: 580px; 
  overflow: hidden;
  cursor: pointer;
}

.products-card-gradient {
  position: absolute;
  background: linear-gradient(to bottom, rgba(13, 22, 21, 0), rgba(13, 22, 21, 0.6));
  border-radius: 20px;
  width: 100%;
  height: 20%;
  top: 80%;
}

.products-card-title {
  z-index: 100;
  position: absolute;
  bottom: 0;
  left: 5%;
  bottom: 5%;
  width: 94%;             
  height: 100%;           
  display: flex;
  align-items: flex-end;  
  transition: transform 0.7s ease; 
}

.products-content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: opacity 0.3s ease;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(179, 233, 118, 1);
  color: var(--color-dark);
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: end;
  opacity: 0;
  transition: opacity 0.2s ease 0.2s;
}

.card-overlay p {
  padding-bottom: 5%;
  width: 90%;
}

.products-content-card:hover .card-overlay {
  opacity: 1;
}


.products-content-card:hover .products-card-title {
  transform: translateY(calc(-90% - -1rem));
  top: 5%;
}

.products-content-card:hover .products-card-title p {
  color: var(--color-dark);
}

.contact-us-bg {
  padding: 120px 0px 120px 0px;
  height: 800px;
  background-image: url('images/contact_us_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-us-bg .container {
  height: 100%;
  align-content: unset;
}

.contact-us {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-us-title {
  width:40%;
  text-wrap-style: balance;
}

.contact-us-title a {
  color: var(--color-light-green);
}

.contact-us-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  /* text-wrap-style: balance; */
}

.contact-us-text {
  max-width: 45%;
}
.contact-us-button {
  align-self: end;
}

.contact-us-button a{
  display: inline-block;
  min-width: 150px; 
  padding: 10px 20px;
  text-align: center;
}

.footer-bg {
  padding: 120px 0px 40px 0px;
  background-image: url('images/footer-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer {
  display: flex;
}

.footer-title {
  width: 30%;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
}

.footer-title h3 {
  border-bottom: 4px solid var(--color-light-green);
  padding-bottom: 5px;
  display: inline-block;
}

.footer-content {
  width: 70%;
  margin-left: auto;
}

.footer-content-title a{
  color: var(--color-light-green);
}

.footer-content-cards {
  display: flex;
  padding-top: 170px;
  gap: 24px;
}

.footer-content-card {
  flex: 1;
  background-color: rgba(19, 48, 29, 1);
  border-radius: 20px;
  padding: 24px;
  min-width: 0; 
}

.footer-content-card-title {
  padding-top: 64px;

}

.footer-content-card-contact {
  overflow-wrap: break-word;
  padding-top: 16px;
}

.footer-content-card-contact a{
  color: var(--color-light-green);
  text-decoration: underline;
  cursor: pointer;
}


.footer-end {
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  display: flex;
  margin-top: 92px;
}

.footer-end-icon {
  width: 30%;
  padding-top: 40px;
}

.footer-end-copyright {
  width: 100%;
  padding-top: 40px;
  text-align: end;
}

.footer-mobile {
  display: none;
}

@media (max-width: 1920px) {

  .header-container {
    padding: 56px 56px 0px 56px;
  }

  .container {
    padding: 56px;
  }

  .header-bg {
    background-size: cover;
    background-position: 60% 30%; 
  }
}

@media (max-width: 1480px) {
  .header-bg {
    background-size: cover;
    background-position: 60% 90%; 
  }
}

@media (max-width: 1280px) {
  .header-menu-list {
    column-gap: 20px;
  }
}

@media (max-width: 840px) {

  h1 {
    font-size: 60px;
  }
  
  .header-menu-container {
    white-space: nowrap;
  }

  .header-menu-container a{
    margin-left: 0px;
    margin-right: 0px;
  }

  .products-content-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; 
  }

  .products-sub-title {
    width: 70%;
  }

  .products-content-card {
    flex: 0 0 calc(50% - 30px); 
    box-sizing: border-box;      
    margin-bottom: 0px;
  }

  .products-card-gradient {
    width: 100%;
    height: 20%;
    top: 80%;
  }

  .products-card-title {
    width: 100%;             
    height: 100%;           
  }

  .products-content-card img {
    width: 100%;
    height: 100%;
  }

  .card-overlay {
    width: 100%;
    height: 100%;
  }

  .footer-mobile {
    display: block;
  }

  .footer {
    display: none;
  }
}

/* Burger menu */
@media (max-width: 700px), (max-height: 700px) {

  .burger-wrapper {
    display: block;
    position: relative;
  }

  .header-container {
    padding: 0px;
  }

  .header-menu {
    border-radius: 0px;
  }

  .header-menu-item-logo {
    padding: 30px;
  }

  .header-menu-item-logo img{
    width: 196px;
    height: 34px;
  }

  .header-menu-item-logo {
  display: block;
  }

  .burger-container {
  padding: 10px;
  background-color: var(--color-light-green);
  border-radius: 5px;
  z-index: 100;
  }

  .burger-toggle {
    display: none; 
  }

  .burger {
    display: flex;
  }

  .header-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-light);
    flex-direction: column;
  }

  .burger-toggle:checked ~ .header-menu {
    display: flex;
  }

  .burger-toggle:checked ~ .header-menu ~ .container {
    overflow: hidden;
  }

  .header-menu-list {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .header-menu-link {
    color: var(--color-dark);
    font-size: 24px;
  }

  .burger span {
    z-index: 10;
    display: block;
    height: 3px;
    width: 100%;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .burger-toggle:checked + .burger span:nth-child(1) {
    position: relative;
    transform: rotate(45deg);
    top: 44.5%;
  }
  .burger-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  .burger-toggle:checked + .burger span:nth-child(3) {
    position: relative;
    transform: rotate(-45deg);
    bottom: 44.5%;
  }
}

@media (max-width: 700px), (max-height: 700px) {

  h2 {
    font-size: 36px;
  }
  
  h3 {
    font-size: 16px;
  }

  h5{
    font-size: 22px;
  }

  .text-32 {
    font-size: 22px;
  }

  .text-24 {
    font-size: 14px;
    line-height: 1.4;
  }

  .header {
    padding: 30px;
    background-color: rgba(13, 22, 21, 0.32);
  }

  .under-header-block {
    flex-direction: column;
  }

  .header-block {
    width: 100%;
  }

  .explore-more {
    padding-top: 10%;
    align-self: unset; 
    margin-left: unset;
    font-size: 18px;
  }

  .text-block {
    width: 100%;
  }

  .header-content {
    justify-content: center;
    text-align: -webkit-center;
  }

  .about-us-bg {
    padding: 60px 0px 60px 0px;
  }

  .about-us {
    flex-direction: column;
  }

  .about-us-title {
    white-space: nowrap;
  }

  .about-us-title h3{
    border-bottom: 2px solid var(--color-light-green);
  }

  .about-us-content {
    padding-top: 20px;
    width: 100%;
  }

  .about-us-image1 {
    width: 100%;
    height: 192px;
  }

  .about-us-image2 {
    display: none;
  }

  .services-bg {
    padding: 60px 0px 60px 0px;
  }

  .services {
    flex-direction: column;
  }

  .services-content {
    padding-top: 20px;
    width: 100%;
  }

  .services-content-title {
    width: 100%;
  }

  .services-title h3 {
    border-bottom: 2px solid var(--color-light-green);
  }

  .services-content-cards {
    padding-top: 48px;
  }

  .card-content {
    padding-top: 32px;
  }

  .products-bg {
    padding: 60px 0px 60px 0px;
  }

  .products-title h3 {
    border-bottom: 2px solid var(--color-light-green);
  }

  .products-sub {
    padding-top: 24px;
    flex-direction: column;
  }

  .products-sub-title {
    width: 100%;
    text-wrap-style: balance;
  }

  .products-sub-text {
    width: 100%;
    padding-top: 48px;
    text-wrap-style: balance;
  }

  .products-sub-title h2 {
    max-width: 100%;
  }

  .products-sub-text {
    max-width: 100%;
  }

  .products-content-cards {
    padding-top: 48px;
    flex-direction: column;
  }

  .products-content-card img{
    height: 200px;
  }

  .card-overlay {
    font-size: 14px;
  }

  .contact-us-bg {
    height: auto;
    padding: 60px 0px 60px 0px;
  }

  .contact-us {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contact-us-content {
    flex-direction: column;
  }

  .contact-us-title {
    width: 100%;
    text-align: center;
  }

  .contact-us-text {
    padding-top: 48px;
    max-width: 100%;
  }

  .contact-us-button {
    padding-top: 48px;
    align-self: center;
  }

  .footer-bg {
    padding: 60px 0px 20px 0px;
  }

  .footer-title h3 {
    border-bottom: 2px solid var(--color-light-green); 
  }

  .footer-content-title {
    padding-top: 24px;
  }

  .footer-wrapper {
    flex-direction: column;
  }

  .footer-content-cards {
    flex-direction: column;
    padding-top: 48px;
  }

  .footer-end-icon {
    display: none;
  }

  .footer-end-copyright {
    width: 100%;
    text-align: center;
  }
}

@media (max-height: 800px) {
  .header-block h1 {
    font-size: 60px;
  }
}

@media (max-height: 600px) {
  .header-block h1 {
    font-size: 46px;
  }
}

@media (max-width: 400px) {
  .header-block h1{
    font-size: 46px;
  }
}