@font-face {
  font-family: "Baron Neue";
  src: url('../fonts/baronneue.woff2') format('woff2'), url('../../fonts/baronneue.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Baron Neue";
  src: url('../fonts/baronneueblack.woff2') format('woff2'), url('../../fonts/baronneueblack.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  height: 100%;
}

body {
  margin: 0;
}

.page {
  display: grid;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
  font-family: "Baron Neue", "Arial", sans-serif;
  font-size: 34px;
  line-height: 43px;
  font-weight: 400;
  min-width: 330px;
  min-height: 100%;
  word-break: break-word;
  color: #ffffff;
  background-image: linear-gradient(-270deg, rgba(255, 0, 0, 0.5) 0, rgba(255, 0, 0, 0.5) 1px, rgba(255, 255, 0, 0.4) 1px, rgba(255, 255, 0, 0.4) 2px, rgba(0, 128, 0, 0.5) 2px, rgba(0, 128, 0, 0.5) 4px, rgba(0, 0, 0, 1) 4px);
  background-color: #000000;
  box-sizing: border-box;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.renovation {
  display: grid;
  gap: 20px;
}

h2 {
  margin: 0;
  font-size: 68px;
  line-height: 68px;
  text-align: center;
}

p {
  margin: 0;
}

/* Кнопка */
.button-telegram {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-telegram__button {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
  min-width: 300px;
  height: 55px;
  padding-left: 60px;
  padding-right: 60px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  color: #ffffff;
  background-color: #2481cc;
  border-radius: 33px;
  box-sizing: border-box;
}

.button-telegram__button--shine {
  background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, #64b5ef 75.52%, rgba(100, 181, 239, 0) 100%);
  background-repeat: no-repeat;
  animation: bg-move linear 5s infinite;
}

.button-telegram__button::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 23px;
  width: 33px;
  height: 33px;
  background-image: url("../icon/icon-telegrem.svg");
  background-size: cover;
  background-repeat: no-repeat;
}

.button-telegram__button:hover,
.button-telegram__button:focus {
  background-color: #0088cc;
}

@keyframes bg-move {
  0% {background-position: -500px 0;}
  100% {background-position: 1000px 0;}
}
