/* styles.css */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 60px;
  /* высота фиксированного хедера, чтобы контент не ушел под него */
  background: url('/images/back.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  overflow-y: auto;
  /* лучше не scroll, а auto */
  text-align: center;
  font-family: Arial, sans-serif;
}

.header {
  padding-right: 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 60px;
  background: #242526;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  box-sizing: border-box;
  align-content: center;
  padding-left: 20px;
  /* padding-top: 15px; */
}

.header-left {
  float: inline-start;
}

.header-left a {
  text-decoration: none;
  /* Убрать подчеркивание ссылки */
  color: inherit;
  /* Сохранить цвет текста */
}

.header-right {
  float: inline-end;
}

.header a,
.privacy-policy-text a,
.center-text a {
  color: orange;
  text-decoration: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.center-text {
  font-size: 3em;
  font-weight: bold;
  margin: 0;
  padding: 10px;
  margin-top: 35vh;
  /* margin-top:15%; */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.additional-text {
  font-size: 1.2em;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 65%;
  margin: 0 auto;
  /* Горизонтальное центрирование */
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  position: fixed;
  bottom: 70px;
  width: 100%;
  flex-direction: row;
}

.button {
  margin: 0 10px;
}

.button img {
  width: 174px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid white;
  cursor: pointer;
}

@media (max-width: 600px) {
  .header {
    font-size: 1.2em;
    padding: 15px;
  }

  .center-text {
    font-size: 2em;
    margin-top: 15%;
  }

  .additional-text {
    font-size: 1em;
    width: 85%;
    /* Increase width for better readability on smaller screens */
    margin-top: 20px;
  }

  .button-container {
    flex-direction: column;
    position: static;
    margin-top: 20px;
    padding-bottom: 25px;
  }

  .button {
    margin: 10px 0;
  }

  .button img {
    width: 150px;
    height: 50px;
  }
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.header .material-symbols-outlined {
  color: orange;
}

.privacy-policy-center-text {
  font-size: 3em;
  font-weight: bold;
  margin: 0;
  padding: 10px;
  margin-top: 10vh;
  /* margin-top:15%; */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.privacy-policy-text {
  font-size: 1.2em;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 90%;
  text-align: left;
  margin: 0 auto;
  flex:1;
}

.header-right a.header-left {
  margin-right: 15px;
  /* расстояние между ссылками */
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-size: 20px;
}

.logo-link .material-symbols-outlined {
  font-size: 28px;
  margin-right: 6px;
  vertical-align: middle;
}

.logo-text {
  vertical-align: middle;
}


.main-content {
  flex: 1;
  /* занимает всё доступное место между хедером и футером */
}

.footer-bar {
  background: #111;
  padding: 20px;
  text-align: center;
  margin-top: auto;
  /* чтобы футер прижимался к низу */
}

h1, h2 {
  color:orange;
}


.footer-bar a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
}

.footer-bar a:hover {
  text-decoration: underline;
}

.footer-bar p {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
}


.payment-form {
  max-width: 400px;
  margin: 100px auto;
  background: #111;
  padding: 20px;
  border-radius: 8px;
  color: #eee;
}

.payment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.payment-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #222;
  color: #eee;
  font-size: 16px;
  box-sizing: border-box;
}

.payment-form input::placeholder {
  color: #999;
  font-size: 16px;
}

/* Удаление спиннеров */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  /* Firefox */
}

.payment-form button {
  background-color: #0078d7;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

.payment-form button:hover {
  background-color: #005ea1;
}

.info-text {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
}

.payment-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #222;
  color: #eee;
  font-size: 16px;
  box-sizing: border-box;
  appearance: none;
}

.payment-form select:focus {
  outline: none;
  border-color: #0078d7;
}

.info-text {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  color: #eee;
  font-size: 16px;
  line-height: 1.6;
}
.info-text code {
  background: #222;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff176;
}