.main-container {
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.main-container p, h1 {
  color: #3EB5F1;
  font-family: ubuntu, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 72px;
}

.header {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}


.info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
}

.info-image {
  width: 150px;
  height: auto;
}


.info-phone {
  font-size: 18px;
  font-weight: bold;
}

#table-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 10px;
  padding: 0 50px;
}

.row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.item {
  width: calc(20% - 10px);
  height: 0;
  padding-bottom: calc(10% - 10px);
  /* border: 1px solid #ccc; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.item img {
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .item {
      width: calc(50% - 10px); /* 3 элемента в строке (100% / 3) с учетом gap */
      padding-bottom: calc(33.33% - 10px); /* Высота равна ширине */
  }
}

@media (max-width: 480px) {
  .item {
      width: calc(100% - 10px); /* 2 элемента в строке (100% / 2) с учетом gap */
      padding-bottom: calc(50% - 10px); /* Высота равна ширине */
  }
  .info-container {
    flex-direction: column; /* Элементы располагаются вертикально */
    align-items: flex-start; /* Выравниваем по левому краю */
}

.info-phone {
    margin-top: 10px; /* Отступ сверху для номера */
}

}