@import "./style.css";

body {
  font-size: 0.95rem;
  background-color: #f1f1f1;
}

.title {
  margin-top: -0.85em;
  font-weight: 700;
  text-shadow: 0 0 0px #ffee0033, 0px 0px 1px #ffb0004f, 0 0 1rem #fdd80059, 0 0 0.2rem #a77c0987;
  background: linear-gradient(0deg, #000 25%, white 50%, #000 75%) 0 0;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 0px #000000) drop-shadow(1px 2px 2px #000000);
}

.title-logo {
  user-select: none;
  filter: drop-shadow(1px 2px 2px #00000077) drop-shadow(0px 0px 1px #5e5e10cb) drop-shadow(0 0 0.5rem #ffe96bc2) drop-shadow(0 0 0.1rem #a1660c88);
  max-height: 15vh;
}

.pulse {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  letter-spacing: 0.15rem;
  size-adjust: 120%;
  src: url(css/notoserifhebrew_v25_20231225.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

textarea {
  font-family: 'Noto Serif Hebrew', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.app-msg {
  font-family: 'Noto Serif Hebrew', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  h3:first-of-type {
    color: var(--primary);
  }
}

@media (max-width: 768px) and (orientation: portrait)  {
  html {
    font-size: calc(12px + 0.25vw);
  }

  .title-logo {
    max-height: 12vh;
  }

  .navbar-text {
    margin: 0;
  }
}

@media (max-height: 768px) and (orientation: landscape)  {
  html {
    font-size: calc(12px + 0.25vh);
  }

  .title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 4px;
  }

  .title-logo {
    height: 52px;
    min-height: 52px;
    padding-top: 0.5rem;
  }

  .title {
    margin: 0 0.5rem;
  }

  #queryForm #query-content-text-input {
    height: 3rem;
  }

  .navbar-text {
    padding: 0;
  }

  .container-lg.my-md-3.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
