/* =========================
   1. Box sizing
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
   2. Remove default margins
   ========================= */
* {
  margin: 0;
  padding: 0;
}

/* =========================
   3. HTML & body defaults
   ========================= */
html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background-color: #000000;
  line-height: 1.5;
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  padding: 0;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}



/* =========================
   4. Media elements
   ========================= */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================
   5. Forms
   ========================= */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  
}

textarea {
  resize: vertical;
}

/* =========================
   6. Links
   ========================= */
a {
  color: inherit;
  text-decoration: none;
  
}

/* =========================
   7. Lists
   ========================= */
ul,
ol {
  list-style: none;
}

/* =========================
   8. Headings & text
   ========================= */
  h1{
    font-size: inherit;
    font-weight: inherit;
    
  }
 h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  
}


span{
  
}

p {
  overflow-wrap: break-word;
  
}

/* =========================
   9. Tables
   ========================= */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* =========================
   10. Accessibility & UX
   ========================= */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* =========================
   11. Reduced motion
   ========================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


.wrapper{
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* max-width: 1440px; */
  justify-content: center;
}

@media(min-width: 864px){
  .wrapper{
    max-width: 1440px;
  }
}


/* =========================================
   MOBILE BUTTON FLASH EFFECT
   ========================================= */
/* Застосовуємо ТІЛЬКИ для пристроїв із тачскріном (телефони/планшети) */
@media (hover: none) {
  
  button, 
  [class*="__btn"] {
    /* Робимо перехід дуже швидким (0.1с) */
    transition: background-color 0.1s ease, color 0.1s ease !important;
    
    /* Прибираємо стандартне напівпрозоре сіре підсвічування на iOS/Android */
    -webkit-tap-highlight-color: transparent; 
  }

  /* Стан у момент самого торкання пальцем */
  button:active, 
  [class*="__btn"]:active {
    background-color: #ffffff !important;
    color: #000000 !important; /* Текст стає чорним, щоб читався на білому тлі */
    
    /* Додаємо легке збільшення або зменшення (за бажанням, можна прибрати) */
    transform: scale(0.98) !important; 
  }
  
}