* {
    user-select: none;
}


html, body {
    height: 100%;
    margin: 0;
    background: black;
    display: grid;
}

body {
    display: flex;
    justify-content: center;  /* по горизонтали */
    align-items: center;      /* по вертикали */
    height: 100vh;            /* 100% высоты экрана */
    margin: 0;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(20px, 3vw, 55px);;
    color: white;
    font-weight: 700;
    margin-bottom: 2vh;
}




.authorization-bg {
    border-radius: 1vw;
    border: 0.1vw;
    padding: 2em 2em;
    background-color: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 1.5vw 0.5vw rgba(255, 255, 255, 0.075);
}



.authorization {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    p {
          font-family: 'Inter', sans-serif;
          font-size: clamp(8px, 1vw, 20px);;
          color: gray;
          font-weight: 400;
          margin: 0.5vh;
          margin-bottom: 2.5vh;
    }
    h1 {
        font-family: 'Inter', sans-serif;
        font-size: clamp(12px, 1.75vw, 30px);;
        color: white;
        font-weight: 800;
        margin: 0.5vh;
    }

    a {
        flex-direction: row;
        margin-bottom: 1vh;
        font-size: clamp(10px, 1.25vw, 25px);;
        color: white;
        font-weight: 500;
        border: 0.1vw;
        padding: 0.6em 2em 0.6em 1em;
        border-radius: 1vw; /* если нужна строго прямоугольная обводка */
        text-decoration: none; /* убираем подчёркивание */
        background-color: rgba(255, 255, 255, 0.075);
    }

    a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        font-size: clamp(10px, 1.255vw, 25px);
    }

}




.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
a {
    font-family: 'Inter', sans-serif;
    pointer-events: auto;

}


  @media (max-width: 800px) {
      .authorization {
          p {
              font-size: clamp(14px, 2.1vw, 40px);
          }
          h1 {
              font-size: clamp(20px, 3.1vw, 60px);
          }
          a {
              font-size: clamp(14px, 2.1vw, 40px);;
          }
          a:hover {
              font-size: clamp(14.2px, 2.1vw, 42px);
        }

      }
  }


.bubble {
    position: absolute;
    bottom: -50px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(8px);
    animation: rise 5s linear infinite;
    opacity: 0;
}



@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-120vh);
    opacity: 0;
  }
}
