body {
    margin: 0;
    padding: 0;
    background-color: #04003F; /* Виправлено значення кольору */
    font-family: "Noah Regular", sans-serif;
    max-width: 100%; /* Максимальна ширина сторінки */
    margin: auto; /* Центрування сторінки по горизонталі */
    overflow-x: hidden; /* Забороняє горизонтальний скрол */
}
.section {
    width: 100%;
    margin: 0 auto;
}
a{
    text-decoration: none;  /* Видаляє підкреслення */
  color: inherit; 
}
 header {
    height: 650px; 
    width: 100%; 
    background-image: url('images/1-st.png');
    background-size: cover; 
    background-position: top center; /* Позиція зображення — зверху по центру */
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
     padding-left: 20px;
}
.navigation {
    width: 100%;
    height: 48px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000; /* Високий пріоритет */
}
/* Styling for the hamburger menu icon */
.hamburger {
    display: none;
    font-size: 1.3em;
    user-select: none;
}
.burger-menu{justify-content: space-between;
width: 85%;}
.burger-menu .nav-box{
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 75%;
    display: flex;
}
.burger-menu a{
    display: flex;
    list-style: none;
    grid-gap: 20px;
    justify-content: space-between;
    padding: 15px 15px;
 }
#checkbox_toggle {
    display: none; /* Сховати checkbox */
}
.checkbox-toggle {
        display: none;
    }
.navigation .logo {
    width: 122px;
    height: 29px;
    background-image: url('images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
}

.navigation .call-us {
    display: flex; /* Робимо контейнер флексбоксом */
    align-items: center; /* Центруємо текст по вертикалі */
    justify-content: center; /* Центруємо по горизонталі (не обов'язково) */
    background-color: #04003F;
    color: white;
    width: 154px;
    height: 48px;
    text-align: center;
    cursor: pointer;
}
.navigation .call-us a {
  text-decoration: none;  /* Видаляє підкреслення */
  color: inherit; 
    font-size: 16px;
    font-weight: bold;
    align-content: center;
    margin: auto;
    padding: 0;
}
.dropdown {
    position: relative;
    cursor: pointer;
    padding: 15px 12px;
    border-radius: 5px;
    display: inline-block;
     color: black;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 10%;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    min-width: 80px;
    color: black;
}
.dropdown:hover .dropdown-menu, 
.dropdown:focus-within .dropdown-menu {
    display: block;
}
    .burger-menu {
    display: flex;
    list-style: none;
    grid-gap: 20px;
    justify-content: space-between;
 }
.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    background-color: #04003F;
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    text-align: left;
}
.header-content {
   color: white;
   align-items: center;
   line-height: 0.1px;
   }
.header-content h1 {
    font-size: 76px;
    line-height: 1;
    font-weight: auto;
    background: linear-gradient(to right, #FFFFFF, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}
.header-content p {
    font-size: 20px;  
}
       /*-----------About+(heading for h2)-------------*/
.about {
    width: 1024px;
    height: 522px; /* Висота секції */
    color: white; /* Колір тексту за замовчуванням */
    align-content: center;
    justify-content: center;/*Простір між елементами*/
    margin: 0 15%;
    padding: 0;
}
/*.about .header-right {
    position: relative;
    margin-top: 30px;
    /*margin-left: 225px;}*/
.about .materials-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.about .materials-header .header-left {
    flex: 1;
}
.about .materials-header .header-right {
    flex: 1;
    padding-top: 20px;
    padding-left: 200px;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
}
.about .materials-heading {
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2;
}
.about .materials-heading span:first-child {
    color: white;   
}

.about .materials-heading span:nth-child(2) {
    color: #0056b3;
}


/* Контейнер для вмісту */
.about .content-about {
    height: 214px; /* Висота секції */
    width: 964px;
    display: flex;
    justify-content: space-between; /* Простір між блоками */
    align-items: center; /* Центрування по вертикалі */
    padding-left: 20px;
    font-size: 16px;
}

/* Перший блок (з текстом) */
.about .content-about-left {
    width: 50%; /* Ширина першого блоку */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Вирівнювання елементів по лівому краю */
    align-items: flex-start; 
}
.content-about-left .read-more {
    background-color: transparent;
    border: 2px solid white;
    width: 102px; /* Ширина кнопки */
    height: 32px; /* Висота кнопки */
    font-size: 14px;
    border-radius: 24px;
    cursor: pointer;
    display: flex; /* Використовуємо flexbox для центрованого тексту */
    align-items: center; /* Вертикальне вирівнювання */
    justify-content: center; /* Горизонтальне вирівнювання */
    margin: 0;
}
.content-about-left .read-more a{
    color: white;
}
.content-about-left .read-more:hover {
    background-color: #0056b3;
}
/* Другий блок (з картинкою) */
.about .content-about-right {
    width: 50%; /* Ширина другого блоку */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Вирівнювання елементів по лівому краю */
    align-items: flex-end; /* Вирівнювання по правому краю */
}
.about .content-about-right .image-container  {
    position: relative;
    width: 100%; /* Ширина зображення */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Вирівнювання зображення та тексту по правому краю */
}
.heading {
    font-size: 64px; /* Розмір шрифту */
    font-weight: 400; /* Regular стиль */
    line-height: 1.2; /* Висота рядка */
    display: inline-block;
}
/* Стиль параграфа */
.about p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px; /* Обмеження ширини тексту */
    margin-bottom: 70px;
}
/*-------------Заголовки---------------------*/
.head-container{
    height:  294px;    
}
/*----------------------materials-----------*/
.section.materials {
    background-color: white;
    color: black;
    max-width: 100%;
    margin: 0 auto;
}
/* Заголовок */
.materials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 20px;
}
.materials-header .header-left {
    flex: 1;
}
.materials-header .header-right {
    flex: 1;
    padding-top: 20px;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
}
.materials-heading {
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2;
}
.materials-heading span:first-child {
    color: black;
}
.materials-heading span:nth-child(2) {
    color: #0056b3;
}
/* Контейнер для картинок */
.row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  
}
.block {
    position: relative;
    overflow: hidden;
}
.block img {
    width: 99%;
    height: 480px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}
/* Затемнення при наведенні */
.block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 99%;
    background-color: rgba(0, 86, 179, 0.6); /* Синє затемнення */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}
/* Оверлейний текст */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: black;
    font-family: "Noah", sans-serif;
    transition: color 0.3s ease-in-out;  
}
/* Горизонтальний текст */
.title {
    padding-left: 20px;
    margin-top: 5px;
    text-align: left;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}
/* Вертикальний текст */
.vertical-text {
    font-size: 64px;
    font-weight: normal;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 30px; 
}
/* Ефект при наведенні */
.block:hover::before {
    opacity: 1;
}
.block:hover .overlay {
    color: white;
}
.block:hover img {
    filter: brightness(0, 86, 179, 1.3);
}
 .materials .read-more {
    margin-top: 20px;
    background-color: transparent;
    border: 2px solid #0056b3;
    color: #0056b3;
    width: 200px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}
.materials .read-more {
    margin: 10px 20px;
}
.materials .read-more:hover {
    background-color: #0056b3;
    color: white;
    margin: auto 20px;
}
/* Нижній блок */
.bottom-block img {
    width: 1200px;
    margin:0 11%;
    height: auto;
    margin-top: 30px;
}
/*--------------------Advantages--------------*/
.section.advantages {
    max-width: 1024px;
    justify-content: center;
    align-content: center;
    color: black;
    background-color: white;
}
.advantages .block {
    display: flex;
    height: 96px;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    text-transform: uppercase;
    border-bottom: 1px solid #1F1B53;
    padding: 10px 20px;
    color: white;
    text-align: left;
    position: relative;
    transition: background-color 0.3s ease-in-out;
}

.advantages .block:nth-child(odd) {
    background-color: #1F1B53;
}

.advantages .block:nth-child(even) {
    background-color: #252046;
}

.advantages .block:hover {
    background-color: #6681FF;
    cursor: pointer;
}

.advantages .block-number {
    font-size: 40px;
    font-weight: bold;
    flex-shrink: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages .block-text {
    flex-grow: 1;
    transition: opacity 0.3s ease-in-out;
    font-size: 24px;
}

.advantages .block:hover .block-text {
    opacity: 0;
}

.advantages .block::after {
    content: attr(data-hover);
    font-size: 16px;
    position: absolute;
    left: 70px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-transform: none;
    line-height: 1.4;
}

.advantages .block:hover::after {
    opacity: 1;
}


/*---------------Production---------------*/
.section.production{
    background-color: white;
    height: auto;
    max-width: 1024px;
    justify-content: center;
    align-content: center;  
}
.production .block1 {
    height: 280px;
    width: 100%; /* Займає всю ширину батьківського контейнера */
    display: flex;
    flex-wrap: nowrap;
    padding: 0 20px;
    
}

.production img {
    height: 258px;
    width: 468px;
    object-fit: cover;
    padding: 0 auto;
}
.production .block-left1, 
.production .block-right1 {
    height: 280px;
    width: 48%;
    display: flex;
    flex-direction: column; /* Встановлюємо вертикальне розташування */
    justify-content: space-between;
    background-color: white;
}

.production p{
    justify-content: flex-start;
    text-align: left;
    display: block;
    padding-bottom: 100px;
}
.production h3 {
    padding: 10px;
    display: block; /* Забезпечує відображення на окремому рядку */
    width: 100%; /* Щоб заголовок займав всю ширину */
}


/* ---------------------------Gallery------------------ */

/* Додаємо блок із картинками */
.gallery-general {
    margin: 0 16.5%;
    justify-content: center;
    align-content: center;
    width: 1024px;
    height: 1788px;
    display: flex;
    flex-direction: column;
   font-size: 14px;
    color: white;
    text-align: center;
}
.gallery-general .materials-header {
    height: 200px;
    margin-top: 50px;
     text-align: left;
}

.gallery-general .materials-heading span:first-child {
    color: white;
}

.gallery-general .materials-heading span:nth-child(2) {
    color: #0056b3;
}

.gallery-general .materials-header p {
    color: white;
}

.gallery-general button{
    display: block;
  margin: 0 auto; /* Розташовує кнопку по центру */
  padding: 10px 20px; 
  background-color: white; 
  color: black; 
  border: 2px solid black; /* Чорна обводка */
  border-radius: 24px; /* Закруглені краї */
  font-size: 16px; /* Розмір шрифту */
  cursor: pointer; /* Курсор у вигляді руки */
  text-align: center; /* Текст по центру */
  width: 200px; /* Ширина кнопки */
    margin-bottom: 25px;
}

.gallery {
    width: 100%;
    height: 864px;
    display: flex; /* Виправлено */
    position: relative;
}

.gallery img {
    position: absolute;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.5);
   
}

/* Позиціювання зображень */
.gallery .tl { width: 467px; height: 365px; top: 0; left: 0; z-index: 1; }
.gallery .tr { width: 342px; height: 268px; top: 0; right: 0; z-index: 1; opacity: 0.3;}
.gallery .bl { width: 324px; height: 312px; bottom: 0; left: 0; z-index: 1; opacity: 0.3; }
.gallery .br { width: 342px; height: 265px; bottom: 0; right: 0; z-index: 1; }

.gallery .center {
    width: 467px;
    height: 387px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Поверх інших */
}
.gallery .tl:hover,
.gallery .tr:hover,
.gallery .bl:hover,
.gallery .br:hover {
    z-index: 3;
    opacity: 1;
}
/* Збільшення при наведенні без зміщення */
.gallery .center:hover {
    transform: translate(-50%, -50%) scale(1.15);
}
/* ------------------------Gallery'S Text Block------------------ */
.marquee-container {
    width: 100%;
    height: 292px; /* Висота під 3 рядки */
    overflow: hidden;
    text-align: center;
    font-family: "North", sans-serif;
    font-size: 82px;
    text-transform: capitalize;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;  
}
/* Стилі для кожного слова */
.marquee-container .marquee-text span:first-child {
    font-weight: bold;
    color: #A3B3C9;
    text-shadow: 0px 0px 10px rgba(128, 128, 128, 1.8);
}
.marquee-container .marquee-text span:nth-child(2) {
    color: #1E3A4C;   
}
.marquee-container .marquee-text span:nth-child(3) {
    font-weight: bold;
    color: #A3B3C9;
    text-shadow: 0px 0px 10px rgba(128, 128, 128, 1.8);
}
.marquee-container .marquee-text span:nth-child(4) {
    color: #1E3A4C;   
}
/* Вміст тексту */
.marquee {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.marquee div {
   display: flex;
   min-width: 100%;
   white-space: nowrap;
}
/* Горизонтальна прокрутка */
@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
@keyframes marquee-right {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
/* Анімація прокручування */
.marquee div:nth-child(1) {
    animation: marquee-left 16s linear infinite;
    animation-play-state: var(--animation-status);
    white-space: nowrap;
}
.marquee div:nth-child(2) {
    animation: marquee-right 16s linear infinite;
    animation-play-state: var(--animation-status);
    white-space: nowrap;
}
.marquee div:nth-child(3) {
    animation: marquee-left 16s linear infinite;
    animation-play-state: var(--animation-status);
    white-space: nowrap;
}
/*------------------Footer--------------------------*/
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: white;
    color: black;
    padding: 20px;
}
.footer-block1 {
    flex: 1;
    text-align: left;
}
.footer-block1 p {
    margin: 5px 0;
    padding-left: 350px;
}
.footer-block1 a {
    color: black;
    text-decoration: none;
}
.footer-block2 {
    flex: 1;
    text-align: right;
}
.footer-block2 a {
    margin: 0 10px;
    font-size: 32px;
    color: black;
    text-decoration: none;
}
.footer-block2 i {
    height: 32px;
    width: 32px;
    display: inline-block;
}
.colortext {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}
/*---------------Catalog-----------*/
 .catalog-container {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap; 
      grid-gap: 20px;
      margin: 40px 0;
    }
.catalog h2{
    text-align: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 20px;
    display: flex;
}
    .catalog-button {
      font-size: 2rem;
      padding: 10px;
      background: white;
      border: 1px solid #ccc;
      border-radius: 8px;
      cursor: pointer;
      z-index: 2;
      
    }
    .catalog-image {
      width: 80vw;
      max-width: 700px;
      height: auto;
      cursor: zoom-in;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
#fullscreenViewer1,
#fullscreenViewer2{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}
#fullscreenViewer1.active,
#fullscreenViewer2.active{
  display: flex;
}
.fullscreen-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}
.fullscreen-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  padding: 0 20px;
}
.fullscreen-button {
    background: none;
    color: white;
    font-size: 3rem;
    border: none;
    cursor: pointer;
    margin: 20px;
}
/*-------------- Адаптація для телефонів------------- */
@media screen and (min-device-width: 0px) and (max-device-width: 430px){
* {
    max-width: 100%;
    box-sizing: border-box;
}
    html{
    max-width: 100%;
}
body{ 
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.section {
    width: 100%;
    margin: 0;
    padding: 0;
 }
header {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 460px;
    background-size: cover;
}
.header-content{
    text-align: left;
    margin-left: 15px;
}
.header-content h1{
    font-size: 36px;
    line-height: 1.2;
} 
.navigation {
    width: 100%;
     padding: 0;
    margin: 0;
    
}
.navigation .logo {
    width: 57px;
    height: 16px;
}
.hamburger {
    display: block;
    margin: 0;
    border-radius: 0;
    width: 70px;
    justify-content: center;
    text-align: center;
}
.burger-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 48px; /* або 100%, якщо menu всередині .navigation */
    left: 0;
    width: 100%;
    background-color: #04003F;
    z-index: 999;
}

.checkbox-toggle:checked + .hamburger + .burger-menu {
    display: flex; /* З flex, щоб працював flex-direction */
}

.burger-menu a,
.burger-menu #lin,
.burger-menu .dropdown,
.burger-menu .dropdown-menu,
.burger-menu .call-us{
   padding: 16px;
    color: white;
    width: 100%;
    text-align: center;
    border-top: 1px solid #ffffff22;
    background-color: #04003F;
    text-decoration: none;
    font-size: 16px;
}
    /*------------ABOUT---------*/
.about {
    max-width: 100%;
    height: 535px;
    justify-content: space-between;
    height: auto; /* Автоматична висота */
    padding: 0 20px;
    margin: 0;
}
 .about .materials-heading {
    font-size: 40px;
    font-weight: normal;
    line-height: 1.2;
}
.about .materials-header{
    margin: 0;
    padding: 0;
}
.materials-header p{
    padding: 0;
    margin: 10px 0;
}
.about .materials-header .header-left, 
.about .materials-header .header-right {
     width: 100%;
    background-size: cover;
    margin: 0;
    padding: 0;
    text-align: left;
}
.about .content-about{
    height: auto;
    width: 100%;
    display: flex; /* Додаємо flexbox для рівномірного розподілу */
    flex-wrap: wrap; /* Дозволяємо елементам обертатись на новий рядок */ 
    margin: 0;
    padding: 0;
}
.about .content-about-left {
    width: 100%; /* Ширина першого блоку */
}
.about .content-about-right {
   width: 100%; /* Повна ширина */
    display: flex; /* Використовуємо flexbox для центрування */
  /*  justify-content: center; /* Центруємо картинку по горизонталі */
  /* align-items: center; /* Центруємо картинку по вертикалі */
    text-align: left; 
}   
.about .content-about {
    width: 100%;
    max-width: 100%;
}
.about .content-about-right .image-container {
    display: flex; /* Додаємо flexbox для вирівнювання картинок */
    justify-content: center; /* Центруємо картинку по горизонталі */
    margin: 20px auto;
 }
.about .content-about-right .image-container img{
    margin: 0 0 0 20px;
    max-width: 100%;
    width: 100%;}
    /*-------------Materials-------------*/
.materials {
    display: flex;
    flex-direction: column; /* Вирівнюємо елементи по вертикалі */
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden; 
}
.materials-header {
    display: block;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    padding: 0 20px;
}
.materials .materials-header .header-left,
.materials .materials-header .header-right {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}
.materials-heading {
    font-size: 40px;
    font-weight: normal;
    line-height: 1.2;
}
.row {
    display: block; /* Всі елементи в рядку будуть з нової лінії */
}
.row .block {
    display: flex;
    flex-direction: column;/* Вертикальне розташування картинок і тексту */
    align-items: center; /* Центрування контенту */
}
.block img {
    transform: rotate(90deg); /* Перевертаємо картинку */
    max-width: 128px;
    height: 430px; 
    z-index: 1;
    background-size: cover;
    background-position: center;
    position: relative; /* Для позиціювання тексту */
    margin-bottom: -150px; /* відступ між картинками */
    margin-top: -150px;
}
.overlay {
     z-index: 2;
    top: -5px;
    text-align: center;
    position: absolute;
    padding-left: 10px;
}

.title {
    margin-top: 70px;
    z-index: 2;
    position: absolute;
    top: 15px;
    font-size: 20px;
    width: 100%;
    text-align: left; /* Центруємо текст */
    padding: 0 10px; /* Відступи по боках */
}
.vertical-text {
    position: absolute;
    bottom: 10px;
    font-weight: normal;
    writing-mode: horizontal-tb;
    transform: none;
    text-transform: uppercase;
    font-size: 60px !important;
}
.read-more {
    width: 100%;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    margin-top, margin-bottom: 20px;
    margin-left: 20px;
    }
.materials .bottom-block img {
    width: auto;
    max-width: 100%;
    max-height: 160px;
    margin-top: 20px;
}
/*----------section advantages----------*/
.advantages .materials-header{
    margin: 0;
    padding: 20px;}
.advantages .block{
     width: 100%;
     max-height: 96px; 
    margin: 0;
    padding: 0;
}
.advantages .materials-header{
    padding: 0;}
.advantages .materials-header .header-left,
.advantages .materials-header .header-right{
    padding: 0 20px;
}
.advantages .block-number{
    font-size: 24px;
}
.advantaged .block-text{
    font-size: 16px;
} 
/*------section production--------------*/ 
/* Основний стиль для .production */
.production {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}
.production .materials-header{
    padding: 0;}
.production .materials-header .header-left,
.production .materials-header .header-right{
    padding: 0 20px;
}
.production .block1 {
    height: auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Дозволяє елементам переноситися на нові рядки */
    margin-bottom: 20px;
}

.production h3, .production p {
    padding: 10px;
    display: block;
    width: 100%;
}

/* Стиль для картинок */
.production img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: auto;
}

/* Стиль для лівих і правих блоків */
.production .block-left1,
.production .block-right1 {
    justify-content: flex-start;
    background-color: white;
    padding: 10px;
    width: 100%; /* Ширина кожного блоку */
    display: flex;
    flex-direction: column; /* Встановлює правильний порядок елементів */
}

/* Заголовки та абзаци всередині блоків */
.production .block-left1 h3,
.production .block-left1 p,
.production .block-right1 h3,
.production .block-right1 p {
    display: block;
    width: 100%;
    margin: 10px 0;
    order: initial;
}

/* Порядок елементів для кожного з блоків */
.section .production .block1:nth-child(1) .block-left1 h3{
    order: 1; /* Заголовок перший */
}

.section .production .block1:nth-child(1) img {
    order: 2; /* Картинка друга */
}

.section .production .block1:nth-child(1) .block-right1 p{
    order: 3; /* Текст останній */
}

.production .block1:nth-child(2) .block-left1 h3{
    order: 2; /* Заголовок другий */
}
.production .block1:nth-child(2) img {
    order: 1; /* Картинка перша */
}
.production .block1:nth-child(2) .block-right1 p{
    order: 3; /* Текст останній */
}
.production .block1:nth-child(3) .block-left1 h3{
    order: 1; /* Заголовок перший */
}
.production .block1:nth-child(3) img {
    order: 2; /* Картинка друга */
}
.production .block1:nth-child(3) .block-right1 p{
    order: 3; /* Текст останній */
}

.production .block1:nth-child(4) .block-left1 h3 {
    order: 2; /* Заголовок другий */
}
.production .block1:nth-child(4) img {
    order: 1; /* Картинка перша */
}

.production .block1:nth-child(4) .block-right1 p {
    order: 3; /* Текст останній */
}

    /*----------gallery---------*/
.gallery-general {
    max-width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: space-between;/*Рівномірний розподіл*/
    font-size: 12px;
    text-align: left;
    padding: 0;
    margin: 0;
}
.gallery{
     display: flex;
      max-width: 390px;
      height: 490px;
      padding: 0;
}
.gallery-general .materials-header {
      padding: 20px 20px;
      margin:  0;
      height: auto;
      margin-top: 10px;
}
.gallery-general .materials-header .header-left,
.gallery-general .materials-header .header-right {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}
.gallery .tl { width: 180px; height: 208px; top: 86px; left: 5px; z-index: 1;  object-fit: cover;}
.gallery .tr { width: 123px; height: 123px; top: 10px; right: 5px; z-index: 1;}
.gallery .bl { width: 172px; height: 140px; bottom: 5px; left: 25px; z-index: 1; }
.gallery .br { width: 200px; height: 150px; top: 205px; right: 0; z-index: 1; object-fit: cover;}
.gallery .center {
    width: 250px;
    height: 210px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Поверх інших */
}
 .marquee-container{
        height: 170px;
        font-size: 50px;
        padding-bottom: 40px;
    }
.gallery-general button{
        margin: 42px auto;
    }
    /*-------footer--------*/
.footer-block1{
    justify-content: flex-start;
}  
footer {
    width: 100%;
    height: auto;
    display: block;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
}
.footer-block1 {
    margin: 40px auto;
    text-align: left;
}
.footer-block1 p {
    margin: 15px 0;
    padding-left: 20px;
}
.footer-block2 {
    text-align: left;
    width: 100%;
    justify-content: space-between;
}
.footer-block2 a {
    margin: 0 10px;
    font-size: 24px;
    padding: 0 2px;
}
.footer-block2 i {
    height: 32px;
    width: 32px;    
}
.colortext {
    padding-top: 40px;
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
}
    /*---------------Catalog-----------*/
.catalog-container {
    height: auto;
    flex-direction: column;
}
.catalog-button {
    background-color: white;
    color: black;
    font-size: 1.5rem;
    margin-top: 5px;
}
.fullscreen-nav {
    display: none;
}

}
   