@import url('https://fonts.googleapis.com/css?family=Exo:900');
 body {
     height: 100vh;
     width: 100vw;
     overflow: hidden;
     margin: 0;
     padding: 0;
     position: relative;
}
 body::before {
     height: 100vh;
     width: 100vw;
     overflow: hidden;
     position: relative;
     content: "";
     background-image: url('meme-pattern-daniel-de-klawn.jpg');
     background-size: 100% 100%;
     opacity: 0.1;
     top: 0;
     left: 0;
     bottom: 0;
     right: 0;
     position: absolute;
     z-index: -1;
     animation: 5s linear infinite animate-before;
}
 @keyframes animate-after {
     from {
         background-position: 0 0;
    }
     to {
         background-position: 398px 398px;
    }
}
 @keyframes animate-before {
     from {
         background-position: -398px -398px;
    }
     to {
         background-position: 0 0;
    }
}

.window {
  margin: auto;
  width: 90%; /* adjustment */
  border: 0px solid;
  padding: 10px;
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  text-align: center;

  /* added for mobile scrollable content */
  overflow: auto;
  max-height: 100vh;
}

@media (min-width: 768px) {  /* for larger screens */
  .window {
    width: 35%;
    max-height: auto; /* reset the max-height on larger screens */
  }
}

 .window-border {
     box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(0, 0, 0), 12px 12px 1px 1px rgba(0, 0, 0, 1);
     background-color: #fff;
}
 .button-border {
     box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(0, 0, 0), 8px 8px 1px 1px rgba(0, 0, 0, 1);
     background-color: #fff;
}

#drop_zone {
    border: 2px dashed #bbb;
    border-radius: 10px;
    width: 100%; /* 100% of the parent container */
    max-width: 450px; /* Will not exceed 450px */
    height: auto; /* keep the aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin:auto;
}

#diagram_zone {
    width: 100%; /* 100% of the parent container */
    max-width: 280px; /* Will not exceed 280px */
    height: auto; /* keep the aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
}

@media (min-width: 1024px) {  /* for larger screens */
    #diagram_zone {
        width: 450px; /* Will be set to 650px on devices larger than 1024px */
        max-width: 100%; /* Allow the width to be responsive on larger screens */
    }
}

 #previewImage {
     display: none;
     width: 100%; /* 100% of the parent container */
     max-width: 450px; /* Will not exceed 450px */
     height: auto; /* keep the aspect ratio */
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     margin:auto;
}

 h1 {
     padding-top: 20px;
     font-family: 'Exo', sans-serif;
     text-transform: uppercase;
     font-size: 38px;
     align-items: center;
     justify-content: center;
     text-align: center;
}
 .footer {
     font-family: verdana, sans-serif;
     text-transform: uppercase;
     font-size: 10px;
     align-items: center;
     justify-content: center;
     text-align: center;
     text-decoration-line: none;
     color: black;
}
 a {
     font-family: verdana, sans-serif;
     text-transform: uppercase;
     font-size: 10px;
     align-items: center;
     justify-content: center;
     text-align: center;
     text-decoration-line: none;
     color: black;
}

p {
     font-family: verdana;
     align-items: center;
     text-align: center;
     text-decoration-line: none;
     color: black;
}

 .button {
     font-family: monospace;
     background-color: #4173a2;
     border: none;
     color: white;
     padding: 5px 5px;
     text-align: center;
     text-decoration: none;
     display: inline-block;
     font-size: 16px;
     margin: 4px 2px;
     cursor: pointer;
}

.disabled-button:disabled {
  background-color: gray;
}

.download-button {
  background-color: #2E8B57;
}

 .tooltip-inner {
     background-color: #79f0b0 !important;
     color: black;
     font-size: 8pt;
     text-align: left;
     min-width: 100px;
     max-width: 100%;
}
 .tooltip.top .tooltip-arrow {
     border-top-color: #79f0b0;
}
 .tooltip.right .tooltip-arrow {
     border-right-color: #79f0b0;
}
 .tooltip.bottom .tooltip-arrow {
     border-bottom-color: #79f0b0;
}
 .tooltip.left .tooltip-arrow {
     border-left-color: #79f0b0;
}
 #sustcheck {
    /* 1 for fully inverted picture or 0 for standard one filter: invert(1);
    */
}
