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


@layer base {
  body.mahoop h1 {
    @apply text-3xl text-center text-zinc-600 sm:text-4xl font-medium bg-sky-500 text-white dark:bg-amber-600 dark:text-slate-200 py-2 shadow-2xl;
  }
  body.mahoop h2 {
    @apply my-6 text-2xl text-zinc-600 sm:text-2xl font-medium dark:text-slate-200;
  }
  body.mahoop h3 {
    @apply text-base text-zinc-700 font-medium text-lg sm:text-xl dark:text-slate-200;
  }
  body.mahoop h4 {
    @apply text-sm text-zinc-700 font-medium dark:text-slate-200 uppercase;
  }
  .primary-button {
    @apply rounded py-4 px-5 bg-sky-500 dark:bg-amber-600 text-white dark:text-slate-300 font-medium cursor-pointer border-2 border-sky-500 dark:border-amber-600 hover:bg-sky-600 hover:border-sky-600 dark:hover:bg-amber-700 dark:hover:border-amber-600;
  }
  .remove-button {
    @apply rounded-lg py-4 px-5 dark:bg-red-800 bg-red-500 text-white dark:text-slate-300 font-medium cursor-pointer border-2 border-red-500 hover:bg-red-600 hover:border-red-600 dark:border-red-700 dark:hover:bg-red-700 dark:hover:border-red-700;
  }
  .cancel-button {
    @apply rounded-lg py-4 px-5 dark:bg-zinc-800 bg-zinc-500 text-white dark:text-slate-300 font-medium cursor-pointer border-2 border-zinc-500 hover:bg-zinc-600 hover:border-zinc-600 dark:border-zinc-500 dark:hover:bg-zinc-600 dark:hover:border-zinc-600;
  }
  .text-field {
    @apply placeholder:opacity-50 block shadow-sm rounded-lg resize-none px-6 py-4 w-full text-lg focus:outline-offset-0 focus:outline-0 focus:ring-0 focus:border-sky-600 dark:bg-slate-500 dark:text-slate-300 dark:placeholder:text-white border-sky-500 dark:border-amber-600 border-2;
  }
  .half-rounded {
    @apply rounded-none rounded-t-lg rounded-l-lg;
  }
  .primary-container {
    @apply bg-white dark:bg-slate-700 dark:text-slate-400 rounded-lg px-4 py-4 mt-6 sm:mt-8;
  }
}

/* Add custom utility classes here */
@layer utilities {
  .text-shadow {
    text-shadow: 0 0 2px rgb(0 0 0 / 90%), 0 0 2px rgb(0 0 0 / 90%), 0 0 2px rgb(0 0 0 / 90%), 0 0 2px rgb(0 0 0 / 90%)
  }
}
/*
 * 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.
 *


 */

 textarea+.spinner {
   top: 45px;
 }

 .milestone+.spinner {
   top: 80px;
 }
 /* loader animations */
 .spinner {
  position:absolute;
  top:35px;
  left:50%;
  transform:translate(-50%,-50%);
 }

 .lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: rgb(132, 39, 168);
  animation: lds-facebook 0.5s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.button_to .lds-facebook div {
  background: rgb(255, 255, 255);
}

.dark .lds-facebook div {
  background: rgb(255, 255, 255);
}

.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}
@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}

.random-mask {
  height: 29px;
  overflow: hidden;
  position: relative;
}

.random-container {
  position: absolute;
  top: 0px;
  transition: top 0.8s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
  width:100%;
}

.random-item {
  max-height: 29px;
  background-size: contain;
  display: block;
  text-align: center;
}

.visible {
  opacity: 1;
}

table.wday {
  border-collapse: separate;

  th { font-size: 10px; min-width: 13px;}
}

tr.wday {
  height: 13px;
}

td.wday_index {
  width: 13px;
  min-width: 13px;
  border-spacing: 6px;
  font-size: 8px;
  text-align: center;
  font-weight: bold;
}

td.empty {
  fill: beige;
  background-color: beige;
}

td.wday {
  min-width: 13px;
  border-spacing: 6px;
  shape-rendering: geometricPrecision;
  border-radius: 2px;
  outline: 1px solid beige;
  outline-offset: -1px;
}

.scroll-x-container {
  overflow-x: auto;
  width: 496px;

  .content {
    padding-bottom:20px;
  }
}

