@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap");

:root {
  --font-family-1: "Questrial", sans-serif;
  --font-family-2: "Montserrat", sans-serif;
  --font-family-3: "Ubuntu Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

html,
body {
  overscroll-behavior: none;
  backface-visibility: hidden;
  scroll-behavior: auto !important;
}

body.no-scroll::-webkit-scrollbar {
  background: transparent !important;
}

::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background-image: linear-gradient(
    0deg,
    hsl(0deg 0% 0%) 0%,
    hsl(344deg 0% 5%) 23%,
    hsl(344deg 0% 9%) 43%,
    hsl(344deg 0% 9%) 59%,
    hsl(344deg 0% 5%) 76%,
    hsl(0deg 0% 0%) 100%
  );
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ec9016;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ec9016;
}

::selection {
  color: black;
  background: rgb(236, 144, 22);
  border-radius: 30px;
}

.notification-popup {
  font-family: var(--font-family-1);
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: rgb(187, 185, 185);
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  z-index: 10000000;
  transition: top 0.4s ease, opacity 0.4s ease;
  width: 480px;
  background: rgba(0, 0, 0, 0.253);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.notification-popup.show {
  top: 100px;
  opacity: 1;
}

.notification-popup.success {
  border: 2px solid #43bd25;
}

.notification-popup.error {
  border: 2px solid #ff0000;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

textarea::-webkit-scrollbar {
  display: none;
}

textarea {
  scrollbar-width: none;
}

textarea {
  overflow: scroll;
}

.grecaptcha-badge {
  display: none;
}

.recaptcha-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.error-message {
  font-size: 14px;
  margin-top: 5px;
}

.g-recaptcha > div {
  background-color: green;
}

/* Responsive reCAPTCHA */
@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

main {
  background-image: linear-gradient(
    0deg,
    hsl(0deg 0% 0%) 0%,
    hsl(344deg 0% 5%) 23%,
    hsl(344deg 0% 9%) 43%,
    hsl(344deg 0% 9%) 59%,
    hsl(344deg 0% 5%) 76%,
    hsl(0deg 0% 0%) 100%
  );
}

.but-container {
  display: flex;
  gap: 10px;
  border: 2px solid #515151;
  border-radius: 100px;
  width: 330px; /* Adjust for responsiveness below */
  justify-content: center;
  align-items: center;
  height: 45px;
  transition: border 1s ease;
}

/* ---------- Transition Overlay ---------- */
.transition-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999999999;
}

/* ---------- Circles ---------- */
.circle {
  position: absolute;
  width: 250vmax; /* Huge, always fills screen */
  height: 250vmax;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: center;
  translate: -50% -50%; /* Center from click point */
  pointer-events: none;
}

/* Colors */
.circle.blue {
  background: #fc7609;
}

.circle.red {
  background: #131313;
}

/* ---------- Expand Animation ---------- */
.circle.expand {
  animation: expand 2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes expand {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}