/* Стили для модального окна */
.contact-modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Контент модального окна */
.contact-modal-content {
  left: 50%;
  position: absolute;
  background-color: rgba(51, 51, 51, 0.90);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  width: 100%;
  color: #fff;
}

.contact-modal-content p {
  margin: 0;
}

/* Кнопка закрытия */
.contact-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

.contact-close:hover,
.contact-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Стили для списка контактов */
.contact-ul {
  list-style-type: none;
  padding: 0;
}

.contact-ul li {
  margin: 10px 0;
}

.pay2-ul {
  list-style-type: disc;
  padding: 0;
}

.pay2-ul li {
  margin: 10px 0;
  text-align: left;
}

.contact-a {
  text-decoration: none;
  color: #007bff;
  font-size: 16px;
  transition: all .3s ease-in-out;
}

.contact-a:hover {
  color: var(--red);
  text-shadow: 0px 0px 8px var(--redopas);
}

.pay-ul {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.pay-modal-content {
  left: 50%;
  position: absolute;
  background-color: rgba(51, 51, 51, 0.90);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  outline: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 850px;
  width: 100%;
  color: #fff;
}