@font-face {
  font-family: 'Century Gothic';
  src: rel="preload" url('path/to/century-gothic.woff2') format('woff2'),
    url('path/to/century-gothic.woff') format('woff') as="font";
}

address {
  font-style: normal;
}


html {
  box-sizing: border-box;
  overflow-x: hidden;

}

body {
  position: relative;
  font-family: 'Century Gothic', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-image: url('../img/main/BG-1920.webp');
  background-size: cover;
  background-repeat: no-repeat;
}


* *::after *::before {
  box-sizing: inherit;

}

a {
  text-decoration: none;

}

img {
  max-width: 100%;

}

.container {
  width: 85%;
  margin: 0 auto;
  padding: 1.5% 1%;
}

/* header */

.header {
  height: auto;
  top: 10px;
  max-width: 100%;
}

.header-block {
  display: flex;
  max-width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content:space-between;
  align-items: center;
}

.navigation-1,
.navigation-2 {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 5%;
}

.span-1-header {
  color: white;
}

.span-2-header {
  color: white;

}

.span-3-header {
  color: white;
  color: #079CEF;

}

.vk-header {
  height: 5vh;

}

.tg-header {
  height: 5vh;
}


.buy-button-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 2.5px 7px;
  background-color: white;
  color: black;
  font-weight: bold;
  border: 2px solid white;
  cursor: pointer;
  border-radius: 14px;
  font-size: 12px;
}


/* H1 */

.h1-block {
  max-width: auto;
  min-height: 1vh;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1vh;
  display: flex;
  flex-direction: row;
  justify-content: space-around;

}

.left-side-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 55%;
  flex-grow: 1;
}


.big-romb {
  padding: 0;
  background-image: url('/img/h1/romb-filled.webp'); /* Путь к вашему изображению */
  background-position: center; /* Центрирование изображения */
  background-repeat: no-repeat; /* Изображение не повторяется */
}

.romb-span-1,
.romb-span-2,
.romb-span-3 {
  color: white;
  min-height: 1vh;
  padding-top: 10vh;
  width: 100%;
  font-size: 16px;
  background-image: url(/img/h1/romb.webp);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 17vh;


  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
}

.top-figures {
  width: 100%;
  height: 100%;
  display: flex;

}

.bottom-figures {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}

.top-aligned {
  align-self:flex-end;

}

.bottom-aligned {
  align-self: flex-start;

}

.text-wrapper-1 {
  margin-top: 1%;
  /* Добавляем отступ сверху для текста */
  margin-bottom: 1%;
  /* Добавляем отступ сверху для текста */
  width: 40%;
}


.text-wrapper-2 {
  margin-top: 1%;
  /* Добавляем отступ сверху для текста */
  margin-bottom: 1%;
  /* Добавляем отступ сверху для текста */
  width: 80%;
}



.right-side-h1 {
  display: flex;
  flex-direction: column;
  max-width: 45%;
}

.logo-h1 {
  max-width: 75%;
  max-height: 75%;
}

.text-h1 {
  color: white;
  margin-bottom: 3%;
  font-size: 250%;

}

.span-h1 {
  color: white;
  font-size: 100%;
  height: 100%;
}


.buy-button-h1 {
  display: none;
  margin-left: 0;
  width: auto;
  padding: 10px 15px;
  background-color: transparent;
  color: #079CEF;
  border: 2px solid #079CEF;
  cursor: pointer;
  /* Меняем курсор на указатель */
  border-radius: 14px;
  font-size: 14px;
  transition: background-color 0.3s;
  /* Добавляем эффект при наведении */

}


/* H2 */

.h2-block {
  min-width: 100%;
  min-height: 1vh;
  margin-bottom: 2%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.pic-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 5vh;
  max-width: 100%;
  margin-top: 5%;
  margin-bottom: -2.5%;
  min-height: 100%;
  background-color: rgba(7, 156, 239, 0.35);
  /* Фон с прозрачностью 35% */
  padding: 1%;
  /* Добавим немного отступа вокруг содержимого блока */
  border-radius: 10px;
  /* Слегка скруглим углы для эстетики */
}

.image-gallery {
  display: inline-block;
  position: relative;
  min-width: 20%;
  max-width: 20rem;
}

.images img {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 8px;
}

.images img.active {
  display: block;
}

.next {
  position: absolute;
  right: 0.1rem;
  top: 50%;
  font-size: 20px;
  color: grey;
  /* Меняем цвет стрелки на желтый */
  cursor: pointer;
  /* Добавляем черный фон */
  width: 30px;
  /* Задаем ширину квадрата */
  height: 30px;
  /* Задаем высоту квадрата */
  margin-right: 5px;
  display: flex;
  /* Добавляем display: flex для активации flexbox */
  justify-content: center;
  /* Центрируем содержимое по горизонтали */
  align-items: center;
  /* Центрируем содержимое по вертикали */
  border-radius: 50%;
  /* Добавляем немного скругления углов */
  transform: translateY(-50%);
  /* Исправлено для правильного центрирования по вертикали */
}

.product-info {
  width: 20rem;
  margin-top: 1rem;
  text-align: left;
  vertical-align: middle;
}

.product-info-p1 {
  font-size: 15px;
  margin-top: 1px;
  margin-bottom: 5px;
  font-weight: normal;
  margin-left: 0;
  color: white;
  justify-content: left;
  align-items: left;
}

.product-info-p2 {
  font-size: 15px;
  margin-top: 1px;
  margin-bottom: 5px;
  margin-left: 0;
  color: white;
  justify-content: left;
  align-items: left;
}

.buy-button {
  align-self: flex-end;
  margin-top: 2%;
  margin-left: 0;
  padding: 10px 15px;
  /* Устанавливаем отступы внутри кнопки */
  background-color: transparent;
  color: white;
  /* Цвет текста кнопки */
  border: 2px solid #079CEF;
  cursor: pointer;
  /* Меняем курсор на указатель */
  border-radius: 14px;
  /* Скругляем углы кнопки */
  font-size: 16px;
  /* Размер шрифта текста внутри кнопки */
  transition: background-color 0.3s;
  /* Добавляем эффект при наведении */
}

.buy-button:hover {
  background-color: #057CBA;
  /* Меняем цвет фона кнопки при наведении */
}



/* H3 */


.h3-block {
  display: flex;
  min-height: 45vh;
  margin-top: 2%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 4%;
}

tbody {
max-width: auto;

}

.h3-text {
  margin: 5.5%;
  text-align: center;
  font-size: calc(2.75vh + 2.75vw);
  max-width: 100%;
  color: white;
  font-weight: normal;

}

.table-style {
  width: 100%;
  border-collapse: collapse;
  color: rgba(79, 206, 239, 1);
  background: linear-gradient(45deg, rgba(73, 185, 232, 0.35) 0%, rgba(31, 77, 96, 0.35) 100%);
  border-radius: 14px;
}

.table-style td,
.table-style th {
  border: none;
  padding: 15%;
  text-align: center;
}

.table-style th {
  padding: calc(0.75vh + 0.75vw);
  font-size: calc(1.25vh + 1.25vw);
}

.table-style td {
  padding: calc(0.5vh + 0.5vw);
  font-size: calc(1.15vh + 1.15vw);
}

.logo-cell {
  width: 100px;
  height: 100px;
}

.cell-info {
  width: 100px;
  height: 100px;
  border-bottom: solid;
  border-top: solid;
  border-width: 1px;
}



/* H4 */

.h4-block {
  background-image: url('../img/h4/bachground.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  /* Центрируем по горизонтали */
  align-items: center;
  text-align: center;
  height: 100vh;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 2.5%;
}

#name,
#phone {
  background-color: white;
  color: black;
  width: 100%;
  /* Ширина на всю доступную ширину родителя */
  padding: 0.5rem;
  /* Внутренние отступы */
  margin: 5px 0;
  /* Отступы сверху и снизу */
  border: 2px solid #079CEF;
  /* Тонкая рамка серого цвета */
  border-radius: 14px;
  /* Скругление углов рамки */
  box-sizing: border-box;
  /* Чтобы ширина включала в себя padding и border */
}

#name::placeholder,
#phone::placeholder {
  color: #999;
  /* Цвет плейсхолдера (серый) */
}

.text-order {
  font-size: 1.5rem;
  color: #079CEF;
}

.text-after-order {
  font-size: 1.5rem;
  color: white;
}

.name-form {
  margin-top: 1.5rem;

}

.name-phone {
  margin-top: 1.5rem;

}

.callback-form {
  background: linear-gradient(to right, rgba(0, 28, 130, 1) 0%, rgba(12, 12, 31, 1) 100%);
  padding: 2.5rem;
  width: 500px;
  /* Примерная ширина блока */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Простой тень для эффекта поднятия блока */
  margin-top: 7.5rem;
  margin-bottom: 5rem;
  color: white;
  border-radius: 14px;
}

.callback-form h2 {
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 5px;
}

.form-group label {
  display: block;
}

.form-group input {
  width: calc(100% - 10px);
  /* Уменьшаем ширину на padding */
  padding: 5px;
}

.send-button {
  margin-top: 7%;
  background-color: transparent;
  border: 1px solid 079CEF;
  font-size: 1.2rem;
  padding: 3%;
  color: white;
  border-radius: 14px;
  border: 2px solid #079CEF;
}


/* H5 */

.h5-block {
min-height: 45vh;
display: flex;
flex-direction:row;
gap: 2%;
margin-bottom: 2%

}

.delivery-imag {
  flex-grow: 2;
  max-width: 60%;

}

.delivery-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 40%;
  margin-top: 3%;
  color: white;
  gap: 8%;
}

.delivery-text-head {
font-size: 32px;
}

.delivery-text-span {
  font-size: 22px;
}


/* H8 */

.h8-block {
  display: flex;
  min-height: 85vh;
  max-width: 100%;
  background-image: url('../img/h8/Contacts.webp'), url('../img/h8/Rectangle 665.webp');
  background-position: right, right;
  /* Позиция первого (верхнего) и второго изображения */
  background-repeat: no-repeat, no-repeat;
  background-size: 46.45% 82.5%, 50% 100%;
  /* Размер первого (верхнего) и второго изображения */
  background-position-y: 3rem, 0;
  background-position-x: 96.5%, 100%;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0.1%;
}

.h8-right {

  min-width: 50%;
  max-width: 100%;
  display: flex;
  flex-direction:row;
  justify-content:center;
}

.h8-right-container {
min-height: 52.5vh;
max-height: 67.5vh;
width: 89%;
margin-top: 60px;
padding-left: 7.5%;
padding-right: 5%;
display: flex;
flex-direction: column;
gap: 12.5%;
}


.h8-right-title {
margin:0;
}

.h8-container-mail-tel {
  min-width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

.roznica,.opt {
max-width:100%;
display: flex;
flex-direction: column;
}

.contact-data {
max-width: 90%;
display: flex;
flex-direction: column;
gap: 1vh;
}

.mail {
  min-width: 100%;
  min-height: 25px;
  padding-left: 25px;
  background-image: url(/img/h8/Vector.webp);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 20px;
  display: flex; /* Используем Flexbox */
  justify-content: left; /* Прижимаем текст к правому краю */
  align-items: center; /* Центрируем текст по вертикали */
}

.tel {
  min-width: 100%;
  min-height: 25px;
  padding-left: 25px;
  background-image: url(/img/h8/icon-contacts.webp );
  background-repeat: no-repeat;
  background-position: left;
  background-size: 20px;
  display: flex; /* Используем Flexbox */
  justify-content: left; /* Прижимаем текст к правому краю */
  align-items: center; /* Центрируем текст по вертикали */
}


  .h8-container-adresses {
    max-width: 100%;
    display:flex;
    flex-direction: column;
    gap: 3vh;
    flex-wrap: wrap;
  }

  .h8-container-adresses-sklad, .h8-container-adresses-ofiss {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2vh;
  }

  .address-lication {

    max-width: 90%;
    padding-left: 25px;
    background-image: url(/img/h8/location-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 20px;
    display: flex; /* Используем Flexbox */
    justify-content: left; /* Прижимаем текст к правому краю */
    align-items: center; /* Центрируем текст по вертикали */

  }



#map {
  min-height: 85vh;
  max-height: 100vh;
  min-width: 50%;
  max-width: 50%;
}

/* scroll */

.scroll {
height: 2.5%;
width: auto;
position: absolute;
bottom: 8.5vh;
right: 13vw;
}

/*footer*/

.footer {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin: 0;
  height: 13vh;
  width: 100%;
}


.footer-logo {
  height: 80%;
  margin-top: 20%;

}

