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


 */

 .header {
  position: absolute;
  top: 0px;
  right: 0px;
  text-align: right;

  .sign-out-button {
    padding: 10px;
    background-color: transparent;
    border: 0px;
  }
 }
 
 #actions-panel {
  position: absolute;
  top: -100px;
  left: -200px;

  .btn:hover {
    background-color: red!important;
  }
 }

 canvas {
  /* border: 0px!important; */
 }

 .canvas-container{
  position: absolute!important;
  top: 0px!important;
  z-index: -1;
 }
 .upper-canvas {
  /* set the border to the same colour as the browser window ui */
  border: 10px solid var(--browser-window-ui-colour)!important;
 }
 .lower-canvas {
  border: 10px solid 
 }

 .modal-content {
  background-color: transparent;
  border-width: 0px;
 }
.modal-body {
  background-color: #9cbbff;
  background-color: transparent;
  padding: 0px;
  margin-top: 0px;
}
.modal-header {
  background-color: transparent;
  border-width: 0px;
}
.modal {
  background-color: rgba(77, 77, 77, 0.5);

  img {
    filter: drop-shadow(20px 20px 10px rgba(0,0,0,0.5));
    max-height: 85vh;
  }
}

body {
  background-color: #ffd2fd;

  /* text input should be rounded */
  input[type="text"] {
    border-radius: 20px;
  }
}

.loading-message {
  width: 800px; 
  position: absolute;
  left: calc(50% - 400px);
  filter: drop-shadow(5px 5px 0px rgba(0,0,0,0.3));
  background-color: #f0f0f0;
  border-radius: 20px;
  font-size: 25px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 60px;
}

.main-input-form {

  .print-stickers-message {
    position: absolute;
    /* center the message */
    left: calc(50% - 300px);

    margin-top: 20px;

    font-size: 20px;
    font-weight: bold;

    background-color: #f0f0f0;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
    z-index: 10;
  }

  width: 800px; 
  position: absolute;
  left: calc(50% - 400px);
  margin-top: 60px;
  .ff {
    filter: drop-shadow(5px 5px 0px rgba(0,0,0,0.3));
  }
  .btn.btn-left-edge {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}

.gallery {
  margin-top: 40px;
  margin-left: 30px;
  margin-right: 30px;
  img {
    filter: drop-shadow(0px 3px 3px rgba(0,0,0,0.5));
    min-width: 300px;
    max-width: 300px;
    max-height: 350px;
    /* ensure scale is maintained */
    object-fit: contain;
    overflow: visible;
  }
  img:hover {
    filter: drop-shadow(0px 7px 7px rgba(0,0,0,0.5));
    /* transform: scale(1.1); */
  }
}
