/* PARALELAGRAM HEADING CODE  */
.parallelogram {
  width: 550px;
  height: 100px;
  margin-left:auto;
  margin-right:auto;
  background: transparent;
    transform: rotate(-5deg) skew(-20deg);
  text-align:center;
  line-height:180%;
  border:1px red dotted;
}
/* PARALELAGRAM HEADING CODE  *?

@font-face {
  font-family: 'superhero-1'; /*a name to be used later*/
  src: url('/fonts/Heroes\ Legend.ttf'); /*URL to font*/ 
}
@font-face{
  font-family: 'superhero-1';
  src: url('/fonts/Bangers.ttf');
}
@font-face{
  font-family: 'superhero-2';
  src: url('/fonts/aAhaWow.ttf');
}
@font-face{
  font-family: 'superhero-3';
  src: url('/fonts/Adventure.otf');
}
@font-face{
  font-family: 'superhero-4';
  src: url('/fonts/KOMIKAX_.ttf');
}
@font-face{
  font-family: 'superhero-5';
  src: url('/fonts/Fifth-Grader.ttf');
}
@font-face{
  font-family: 'superhero-6';
  src: url('/fonts/JustDoRight-ZlV8.ttf');
}
@font-face{
  font-family: 'superhero-7';
  src: url('/fonts/crimesyndicate3d.ttf');
}
@font-face{
  font-family: 'superhero-8';
  src: url('/fonts/cruiserfortresschromeital.ttf');
}
@font-face{
  font-family: 'superhero-9';
  src: url('/fonts/captcanaveral3dital.ttf');
}
@font-face{
  font-family: 'superhero-10';
  src: url('/fonts/centaurushalf.ttf');
}
@font-face{
  font-family: 'superhero-11';
  src: url('/fonts/StarGuardDropCaseItalic-lmpe.otf');
}


#outer-dropzone {
  height: 140px;
}

#inner-dropzone {
  height: 80px;
}

.dropzone {
  background-color: #ccc;
  border: dashed 4px transparent;
  border-radius: 4px;
  margin: 10px auto 30px;
  padding: 10px;
  width: 80%;
  transition: background-color 0.3s;
}

.drop-active {
  border-color: #aaa;
  border:4px solid red;
}

.drop-target {
  border-color: blue;
  border-style: solid;
}

.drag-drop {
  display: inline-block;
  z-index: 1;
  min-width: 40px;
  padding: 2em 0.5em;

  color: #fff;
  background-color: #29e;
  border: solid 2px #fff;

  touch-action: none;
  -webkit-transform: translate(0px, 0px);
          transform: translate(0px, 0px);

  transition: background-color 0.3s;
}

.drag-drop.can-drop {
  color: #000;
  background-color: #4e4;
}

.canvas .tool_wrapper {
    display: inline-block;
    width: auto;
    height: auto;
  }
  
  .canvas .tool_wrapper .tool_handle {
    height: 10px;
    line-height: 10px;
    padding: 0;
    margin: 0;
    margin-top: -10px;
    text-align: right;
  }
  
  .canvas .tool_wrapper .tool_handle .ui-icon {
    margin-top: -.30em;
  }
  
  .canvas .tool_wrapper .ui-resizable-se {
    margin-left: -5px;
    margin-top: -5px;
  }
  
  .canvas .tool_wrapper .button {
    width: 60px;
    height: 1.5em;
    border-radius: .2em;
    text-align: center;
    padding: 0.5em;
  }

  .canvas .tool_wrapper .superhero {
    width: 60px;
    height: 1.5em;
    border-radius: .2em;
    text-align: center;
    padding: 0.5em;
  }


  .powers-img{
    width: 100%;
  }
.drag-container > .powers-img{  /* SIZE OF POWER WHEN DRAGGED ONTO CANVAS */
    height: 10%;
    width:10%;
}
  .superhero-img{ /* SUPERHERO IMAGE IN LEFT HAND PANEL */
    width: 100%;
    min-height: 150px;;
    z-index:999;
  }
.drag-container > .superhero-img{
    height: 80%;
    width:50%;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
header {   /* HEADER */
  background-color: #139044;
  color:black;
  padding: 20px;
  padding-top:50px;
}
footer {   /*  FOOTER    */
  background-color: #139044;
  color:black;
  padding: 20px;
  padding-top:40px;
  }
.logo{
  width: 100%;
}
.background-img{
    width: 100%;
}
#main-canvas{ /* MIDDLE CANVAS */
    height: 100vh;
    z-index: 0;
    background-color: #fff;
    overflow: hidden;
    margin: auto;
  border:0px blue dashed
}

.dex-btn{ /* SAVE MY HERO BUTTON */
  background-color: #fff900;
  color: #000;
  border: #de6449 3px solid;
  border-radius: 10px;
  padding: 10px;
}

.trash-btn{ /* START AGAIN BUTTON */
  margin-top:20px;
  background-color: #fff900;
  color: #000;
  border: #de6449 3px solid;
  border-radius: 10px;
  padding: 10px;
}

.drag-container{    
    min-width: 150px;
    min-height:150px;
    width: 100%;
}

.drag-handle{
  height: 25px;
  background-color: black;
  color:white;
}

/* LEFT HAND PANEL FOR HEROES AND POWERS   */
.superheroes-div{ 
  border: 3px solid #1e336e;
  border-radius: 5px;
  background-color: #139004;
  max-height: 100vh;
  z-index: 999;
  overflow: hidden;
}
.superhero-list{
  overflow-y: scroll;
  max-height: 60vh;
  max-width: 100%;
}

.background-list{
  overflow-y: scroll;
  max-height: 80vh;
  max-width: 100%;
  padding:0 16px;
}

.superhero-title{
  font-family: superhero-2;
  width:auto;
  text-align: center;
  margin-top:60px;
  z-index: 2;
  position: relative;
  font-size:3.75rem;
  text-shadow: -10px 6px 10px #303030;
  height: 70px;
  margin-left: 30px;
  padding-right: 30px;
  padding-top: 0px;
  background: transparent;
  line-height: 100%;
  border-bottom: 0px red dotted;
  border: 0px red dotted;
  color: red;
  transform: skew(-30deg, -7deg);
}

.main-container{
padding:30px;
}
.tool-container{
  float:left;
  right: 30px;
  top:30px;
  z-index: 999;
}
#trash{ 
  font-size: 15px;
}
#trash:hover{
  color: yellow;
}
body{                 /* BACKGROUND OF PAGE */
  background-color: #d4f6d9;
}
.title-color-picker{
  max-width: 220px;
  min-width: 220px;
  background-color: #d4f6d9;
  border:3px green solid;
}
.powers-list{
  overflow-y: scroll;
  max-height: 80vh;
  max-width: 100%;
  margin: 20px auto;
  width:100%;
  height:100%;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  grid-row: auto auto;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  padding-bottom: 140px;
}

.capes-list{
  overflow-y: scroll;
  max-height: 80vh;
  max-width: 100%;
  margin: 20px auto;
  width:100%;
  height:100%;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  grid-row: auto auto;
  grid-column-gap: 20px;
  grid-row-gap: 20px; border:1px red solid
}


.backgrounds-div { /* RIGHT HAND PANEL FOR BACKGROUNDS  WHEN MOBILE WIDTH */
  margin-left:0px;
  border: 0px solid #1e336e;
  border-radius: 5px;
  background-color: #139004;
  z-index: 999;
  
}

.background-list{ /* BOX AROUND BACKGROUNDS INSIDE RH PANEL */
  margin: 20px auto;
  width:100%;
  height:auto;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-row: auto auto;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  border:0px red solid
}

.container{  /* BOX AROUND ALL SUPERHERO FIGURES IN LH PANEL */
  margin: 20px auto;
  width:100%;
  height:100%;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-row: auto auto;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
  .box{ /* BOX FOR EACH SUPERHERO FIGURE IN LH PANEL */
    background-color:#ccc;
    padding:20px;
    border-radius:10px;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    font-family:sans-serif;
  }
  .title-box{
    grid-column: 1 / -1;
  }
  
/*OVERRIDE BOOTSTRAP*/
.nav-link{
  width:180px;
  height:40px;
  padding: 5px;
  background: red;
  text-align:center;
  color:white;
  font-weight:bold;
  margin-top:10px;
  border:2px yellow solid;
}
.nav-tabs{
  margin-bottom: 15px;
}
.col-form-label{
  margin-bottom: 10px;
    color: #1e336e;
    font-weight: bold
}

.modal-title{
  color: #1e336e;
  font-weight: bold;
  text-decoration: underline;

}
