#twitterFont {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
@font-face {
  font-family: "Whirlybats";
  src: url("./WhirlyBatsVariable.woff2");
}

.wb-icon {
  font-family: "Whirlybats";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overflow-x: hidden;
}

body {
  position: relative;
}

@font-face {
  font-family: Whirlybirdie;
  src: url(./WhirlyBirdieVariable.woff2);
  font-display: swap;
}

@font-face {
  font-family: Whirlybats;
  src: url(./WhirlyBatsVariable.woff2);
}

#wbats {
  font-family: "Whirlybats";
  animation: whirlyAnimate 1s linear infinite;
}

#wb-bold {
  font-family: "Whirlybirdie", Arial, Helvetica, sans-serif;
  font-variation-settings: "wght" 100, "wdth" 150, "ital" 0;
}
#wb-light {
  font-family: "Whirlybirdie", Arial, Helvetica, sans-serif;
  font-variation-settings: "wght" 70, "wdth" 150, "ital" 0;
}

/* :start */

@keyframes whirlyAnimate {
  0% {
    font-variation-settings: "anim" 100;
  }
  100% {
    font-variation-settings: "anim" 200;
  }
}

/* :end */

body {
  font-family: "Avenir Next", system-ui, -apple-system,
    /* Firefox supports this but not yet `system-ui` */ "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* twiktwok Logo */

.logo-bird-main {
  color: white;
  /* font-size: 6em; */
  animation-name: animate;
  animation-duration: 1.5s;
  animation-fill-mode: linear;
  animation-iteration-count: infinite;
}

@keyframes animate {
  0%,
  100% {
    text-shadow: -4.5px -4.5px 0 #0ff, 4.5px 4.5px 0 #f00;
  }
  25% {
    color: #55acee;
    text-shadow: 4.5px 4.5px 0 #0ff, -4.5px -4.5px 0 #f00;
  }
}

/* Contact Widget */
.contact-circle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
}

.contact-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.contact-circle svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 16px;
}

.contact-modal {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #9ca3af;
  line-height: 1;
}

.contact-modal-close:hover {
  color: #374151;
}

.contact-modal h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #111827;
}

.contact-modal p {
  color: #4b5563;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-modal input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.contact-modal input[type="email"]:focus {
  outline: none;
  border-color: #3b82f6;
}

.contact-modal button[type="submit"] {
  width: 100%;
  padding: 12px 16px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-modal button[type="submit"]:hover {
  background: #2563eb;
}

.contact-modal-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #9ca3af;
  font-size: 0.875rem;
}

.contact-modal-divider::before,
.contact-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.contact-modal-divider span {
  padding: 0 12px;
}

.contact-modal-x-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #4b5563;
  text-decoration: none;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.contact-modal-x-link:hover {
  border-color: #000;
  color: #000;
}

.contact-modal-x-link svg {
  width: 20px;
  height: 20px;
}
