@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* body { */
/*   font-family: "Comfortaa"; */
/* } */

@media (min-width: 1000px) {

  body {
    max-width: 1000px;
    margin: 0 auto;
  }
}

h1,
h2,
h3 {
  font-family: 'Corben'
}

.flash {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 0.5rem;
}

.flash-container {
  display: flex;
  justify-content: center;
}

.flash--alert {
  background-color: #FEE2E2;
  color: #B91C1C;
}

.flash--notice {
  background-color: #D1FAE5;
  color: #047857;
}

.meter {
  box-sizing: content-box;
  height: 20px;
  /* Can be anything */
  position: relative;
  background: #cdcdcd;
  border-radius: 25px;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
}

.meter>span {
  display: block;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgb(43, 194, 83);
  background-image: linear-gradient(center bottom,
      rgb(43, 194, 83) 37%,
      rgb(84, 240, 84) 69%);
  box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;

  transition: width 0.5s ease;
}

.meter>span:after,
.animate>span>span {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(-45deg,
      rgba(255, 255, 255, 0.2) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.2) 75%,
      transparent 75%,
      transparent);
  z-index: 1;
  background-size: 50px 50px;
  animation: move var(--animation-duration, 2s) linear infinite;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

.animate>span:after {
  display: none;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 50px 50px;
  }
}

.orange>span {
  background-image: linear-gradient(#f1a165, #f36d0a);
}

.red>span {
  background-image: linear-gradient(#f0a3a3, #f42323);
}

.nostripes>span>span,
.nostripes>span::after {
  background-image: none;
}

.floating-action-bar {
  padding: 1rem;
  padding-top: 0.5rem;
  background: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  border: 1px solid rgba(229, 170, 210, 0.5);
  background: var(--fallback-b1, oklch(var(--b1)));
}

.floating-navbar-header {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 2;
}

.autocomplete-list {
  display: flex;
  flex-direction: column;
  position: absolute;
  max-width: 90%;
}

.autocomplete-list__item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.autocomplete-list__item:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.autocomplete-list__item:hover {
  background-color: #F9FAFB;
}

blockquote {
  position: relative
}

blockquote {
  font-family: "Marck Script", cursive, serif;
  font-size: 18px;
  font-style: italic;
  margin: 0.25em 0;
  padding: 0.35em 40px;
  line-height: 1.45;
  position: relative;
}

blockquote:before {
  display: block;
  padding-left: 10px;
  content: "\201C";
  font-size: 5em;
  position: absolute;
  left: -20px;
  top: -20px;
}

.input-without-border {
  border-style: none;
  outline: none;
  box-shadow: none;
}

.input-without-border:focus {
  border-style: none;
  outline: none;
  box-shadow: none;
}

.search-input {
  border-style: none;
  outline: none;
  box-shadow: none;
}

.search-input:focus {
  border-style: none;
  outline: none;
  box-shadow: none;
}


/* blockquote:before { */
/*   font-family: Georgia, serif; */
/*   position: absolute; */
/*   font-size: 6em; */
/*   line-height: 1; */
/*   top: 0; */
/*   left: 0; */
/*   content: "\201C"; */
/* } */
/**/
/* blockquote:after { */
/*   font-family: Georgia, serif; */
/*   position: absolute; */
/*   float: right; */
/*   font-size: 6em; */
/*   line-height: 1; */
/*   right: 0; */
/*   bottom: -0.5em; */
/*   content: "\201D"; */
/* } */
