html, body {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: black;
    display: flex;
    justify-content: center; /* центрируем контейнер горизонтально */
    align-items: center;     /* центрируем контейнер вертикально */
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* элементы ближе к центру */
    align-items: center;     /* центр по горизонтали */
  }

  .image {
     /* отступ между картинкой и кнопкой */
    
    
    transform: scale(1.5);
    align-items: center; 
    /* размер картинки оставляем как есть */
  }

  .alert-box {
    background: white;
    border-radius: 29px;
    padding-top: 27px;
    padding-right: 85px;
    padding-bottom: 16px;
    padding-left: 85px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;
    position: absolute;
    opacity: 0;
    transform: scale(0.9);
    animation: appear 0.8s ease forwards;
    animation-delay: 0.5s;
  }

  .alert-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .alert-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .alert-btn {
    display: block;
    color: #007aff;
    font-size: 17px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .alert-btn:active {
    opacity: 0.6;
  }
    
    @media (max-width: 1000px)  {
        
        .alert-box {
    background: white;
    border-radius: 87px;
    padding-top: 27px;
    padding-right: 85px;
    padding-bottom: 35px;
    padding-left: 85px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;

    opacity: 0;
    transform: scale(0.9);
    animation: appear 0.8s ease forwards;
    animation-delay: 0.5s;
  }

  .alert-title {
    margin-top: 40px;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 10px;
  }

  .alert-text {
    font-size: 38px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .alert-btn {
    display: block;
    color: #007aff;
    font-size: 38px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .alert-btn:active {
    opacity: 0.6;
  }
    
}

  @keyframes appear {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes disappear {
    to {
      opacity: 0;
      transform: scale(0.9);
    }
  }