* {
  user-select: none;
}

html {
  --light-bg: #2b2b36;
}



.homepage {
  width: 100%;
  min-width: 330px;
  position: fixed;
  height: 100svh;
  /* border: 2px solid pink; */
}

.home-contents{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  gap: auto;
  height: 85%;
}

input[type="button"].home-button,
button.home-button,
.payment__methods {
  font-size: 1.3rem;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  min-width: 300px;
  white-space: normal;
}

input[type="button"].home-button:hover,
button .home-button:hover {
  background-color: #eee;
  color: #131318;
}

button:focus {
  outline: none;
}

button.bank {
  padding: 15px 30px 5px 30px;
}

.bank > img {
  width: 100%;
  margin-bottom: 10px;
}

.bank, input.home-button {
  border: #eee;
  background: var(--light-bg);
  border-radius: 25px;
}

.invisible {
  display: none;
}

.tinkoff > img {
transform: scaleY(0.9);
}

.sber > img {
transform: scale(0.9);
}

.payment__methods {
  text-align: center;
  align-items: center;
  /* border: 1px solid white; */
  padding: 0px;
}

.payment__methods .phone {
  position: relative;
  /* border: 1px solid #eee; */
  padding-inline: 5px 7px;
  white-space: nowrap;
}

.phone::after {
  content: 'телефон скопирован';
  font-size: 1rem;
  text-align: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #eee;
  color: #131318;
  position: absolute;
  transition: all .5s ease;
  opacity: 0;
}

.copied:after {
  animation: copying 1.5s normal ease;
}

img.copy {
  display: inline;
  height: 1rem;
  margin-top: -3px;
}

.indent {
  margin-inline: 20px 15px;
}

.home-footer {
  height: 100px;
  width: 100%;
  background-color: #131318;
  color: #131318;
  position: absolute;
  bottom: 0;
  box-shadow: 20px #eee;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-inline: 80px;
  /* border-top: 2px solid #2b2b36; */
}

.home-footer a {
  color: #eee;
  font-size: 2.5rem;
}

.home-footer a:hover {
  opacity: .6;
}

.home-footer::before {
  width: 85%;
  content: '';
  height: 3px;
  top: 0;
  position: absolute;
  background-color: var(--light-bg);
  border-radius: 1px;

}

@keyframes copying {
  0% {opacity: 0}
  45%{opacity: 1}
  55% {opacity: 1}
  100% {opacity: 0}
}

@media (hover: none) and (pointer: coarse) {
  input[type="button"].home-button:hover,
  button .home-button:hover {
    background-color: #2b2b36;
    color: #eee;
    border: transparent;
  }

  input[type="button"]:focus,
  button:focus {
    background-color: #2b2b36;
    border: none;
  }
}