
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    /* bg */
    background: url('../img/test3.png') ;
    background-repeat: repeat; 
    background-size: cover; 
    background-position: center;
    background-color: #0a74be;
  /* bg */
    color: #fff;
    text-align: center;
    padding: 20px;
    height: 100vh;
    background-attachment: fixed;
  }
.header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
  }
  h1{
    font-size: 35px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 50px;
  }
.btn {
    background-color: #f6a700;        
    color: white;
  
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: flex;
    justify-content: center;
    text-align: center;
     align-items: center;   
     width: 240px;
     height: 70px;
  }
  .btn svg{
    width: 30px;
    align-items: center;
    fill: white;

  }
  /* .btn:hover {
    transform: scale(1.05);
    background-color: #ffa800;
  } */
  
  .btn:active {
    /* transform: scale(0.97);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); */
    /* background-color: azure; */
  }

  .fixed-button {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
  }
.instruction{
  position: relative;
  background-color: #ffffffd9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.instruction p,h2{
  color: black;
}
.instruction p{
  font-size: 20px;
  text-align: left;
  margin-bottom: 5px;
}
.instruction p:nth-child(4){
  margin-bottom: 15px;
}

h2{
  margin-bottom: 15px;
}  
.frog{
  position: absolute;
  top: 120%;
  left: 50%;
  width: 200px;
   transform: translate(-50%, -50%);
  width: 200px; /* или auto */
  height: auto;
}
.instruction .text{
  font-size: 15px;
}
/* btn mes */
/* .fixed-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFA500;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
} */

.copy-alert {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  font-size: 14px;
  z-index: 999;
}



/* 1. Стили кнопки по умолчанию (пример) */
.copy-button {
    background-color: #FFA500; /* Исходный синий цвет */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Для плавного перехода цвета */
}

/* 2. Стили для успешного копирования (ЗЕЛЕНЫЙ ЦВЕТ) */
.copy-success{
    background-color: #4CAF50; /* Ярко-зеленый */
}





/* ========================================= */
/* 1. СТИЛИ ДЛЯ КОНТЕЙНЕРА ПРЕЛОАДЕРА */
/* ========================================= */
#preloader {
    position: fixed; /* Фиксирует на экране */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a74be; /* Цвет должен соответствовать background-color вашего body */
    z-index: 9999; /* Гарантирует, что он будет поверх всего */
    display: flex; /* Центрируем спиннер внутри */
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-out; /* Плавное исчезновение */
}

/* Скрывает прелоадер после загрузки */
.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden;
}

/* ========================================= */
/* 2. СТИЛИ ДЛЯ АНИМАЦИИ КРУЖКА */
/* ========================================= */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3); /* Светлый "след" */
    border-radius: 50%;
    border-top-color: #ffffff; /* Белый цвет для вращающейся части */
    animation: spin 1s ease-in-out infinite; /* Применяем анимацию */
}

/* ========================================= */
/* 3. ОПРЕДЕЛЕНИЕ АНИМАЦИИ */
/* ========================================= */
@keyframes spin {
    to { transform: rotate(360deg); } /* Вращение на 360 градусов */
}


  /* Планшеты */
@media (min-width: 768px) {
    h1 {
      font-size: 28px;
    }
    .btn {
      font-size: 20px;
      padding: 16px 40px;
    }
  }
  
  /* Десктоп */
  @media (min-width: 1024px) {
    .container {
      max-width: 480px;
    }
    h1 {
      font-size: 32px;
    }
  }