@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind forms;
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');


/* General */

.modal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* ervoor zorgen dat de container boven andere elementen staat */
}

.modal {
  /* modal CSS, maar zonder de transform-regel */
  padding: 2em;
  overflow: auto;
  background-color: white;
  border-radius: 5px;
  margin: 2em;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.2), 0 5px 10px 0 rgba(0,0,0,0.19);
}

/* Forms */
.form-group {
  padding: 1em;
}

.form-label {
  @apply block text-sm font-medium leading-6 text-gray-900;
}

.form-field {
  border-radius: 5px;
}


/* Home */

.home-button {
  @apply bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded;
}

.navbar-logo {
  @apply bg-gradient-to-r from-white from-50% to-blue-500;

  padding-right: 5em;
  padding-top: 0.5em;
  padding-bottom: 0;
  padding-left: 1em;
  overflow: hidden;
}

.navbar-button {
  @apply bg-blue-700 hover:bg-blue-800 text-white font-bold rounded;

  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.5em;
}

.navbar-text {
  @apply text-white hover:text-blue-300 font-semibold;

  margin-top: 1em;
}

.navbar-menu-text {
  @apply text-gray-500 hover:text-blue-300 font-semibold;
}

.flash-alert {
  color: red;
  margin: 1em;
  padding: 1em;
}

.flash-notice {
  color: orange;
  margin: 1em;
  padding: 1em;
}

/* Question show */

.button {
  @apply p-3 m-4 content-center rounded bg-red-200 font-medium shadow-lg hover:bg-red-400;
}

.number-button {
  @apply button;
}

.question {
  @apply text-center p-4 h-24;
}

.answer {
  @apply flex justify-center p-10 h-24;
}

.clicked {
  @apply bg-red-400
}

.selected {
  @apply bg-red-800
}

.footer {
  padding: 1rem 0;
  max-height: 200px;
}

.select-with-padding {
  padding-right: 1.8rem;
}

/*

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


 */

 @import "tailwindcss/base";
 @import "tailwindcss/components";
 @import "tailwindcss/utilities";
 @import "tailwindcss/forms";
 @import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
