@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.
 *


 */

.form-input {
  border-radius: 8px;
  border: solid #a9a9a9 1px;
  min-width: 440px;
  /*background: #f4f4f4;*/
}

input {
  transition: 100ms
}

input.bump {
  transition: 10ms;
  outline-width: 10px !important;
  transform: scale3d(1.05, 1.07, 1.05);
  outline-offset: 1px !important;
}

input.bump.focus\:outline-red-500 {
  filter: brightness(1.8);
  transform: scale3d(1.05, 1.07, 1.05) rotateZ(9deg);
}

.challenge-container {
  background: #F6E3C5;
  margin: 20px 0;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
}

.challenge-text {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.avatar-image {
  width: 256px;
  height: 256px;
  margin: 0;
}

.avatar-image[data-avatar-animation-state-value="hit"] {
  filter: invert(15%) sepia(53%) saturate(3207%) hue-rotate(321deg) brightness(95%) contrast(90%);
}

.flip {
  transform: scaleX(-1);
}
