/* 
* {
  border: 1px dotted pink;
  box-sizing: border-box;
} */

#homeLink {
  font-size: 1.5rem;
  color: #33ff33;
  font-weight: bold;
  text-decoration: none;
  text-transform: none;
  font-family: monospace;
}

@font-face {
  font-family: __Public_Sans_faff0b;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/dist/static/neoBrutal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1ea0-1ef9,U+20ab
}
 
@font-face {
  font-family: __Public_Sans_faff0b;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/dist/static/neoBrutal.woff2) format("woff2");
  unicode-range: U+0100-02af,U+0304,U+0308,U+0329,U+1e00-1e9f,U+1ef2-1eff,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff
}

@font-face {
  font-family: __Public_Sans_faff0b;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/dist/static/neoBrutal.woff2) format("woff2");
  unicode-range: U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+0304,U+0308,U+0329,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd
}
/* NOTE HERE sdsdsdsd*/
@font-face {
  font-family: __Public_Sans_Fallback_faff0b;
  src: local("Arial");
  ascent-override:90.37%;descent-override:21.40%;line-gap-override:0.00%;size-adjust:105.12%
}

/* VARIABLES TO IMPLEMENT COLOR SCHEMES */ 
  /* Reference vars like this:  var(--colorVar_001) */
  /* Regex to find all vars:  --[0-9a-zA-Z-]+ */
  /* Regex to find all plain hex codes: #[a-zA-Z0-9]{6} */

/* USE LIKE: var(--colorVar_001) */
:root {

  /* main background color */    
  --mainBGcolor: #2c292d;

  /* MONOKAI THEME */
  --colorVar_000: #2c292d;
  --colorVar_001: #ffd866;
  --colorVar_002: #ff6188;
  --colorVar_003: #ac9ef2;
  --colorVar_004: #a9dc76;
  --colorVar_005: #f94646;
  --colorVar_006: #fc9867;
  --colorVar_006: #78dce8;
  
  --colorVar_neutral_000: #fff;
  --colorVar_neutral_001: #fdf9f3;
  --colorVar_neutral_002: #dcdbdb;
  --colorVar_neutral_003: #bcbbbb;
  --colorVar_neutral_004: #908e8f;
  --colorVar_neutral_005: #6c6a6c;
  --colorVar_neutral_006: #575558;
  --colorVar_neutral_007: #3e3b3f;
  --colorVar_neutral_008: #2c292d;

  /* TERMINAL GREEN */
  --colorVar_terminalGreen: #33ff33;

  /* PINK AS FUCK */
  --colorVar_pinkAsFuck: #e622c5;
  --colorVar_pinkAsFuckLight: #e69fda;
  --colorVar_pinkAsFuckTransparent: #e69fda44;
  /* BASIC BUTTON */
  --buttonColorVar_001: var(--colorVar_neutral_007);
  --buttonColorVar_001_accent: var(--colorVar_terminalGreen);
  --buttonColorVar_001_hover: var(--colorVar_neutral_008);

}

html {
  background-color: var(--mainBGcolor);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: calc(0.625rem + 0.41666666666666663vw);
  height: 100vh;
  /* overflow: hidden; */
}

@media screen and (max-width:1920px) {
  html {
    font-size: calc(0.625rem + 0.41666666666666674vw);
  }
}

@media screen and (max-width:1440px) {
  html {
    font-size: calc(0.8126951092611863rem + 0.20811654526534862vw);
  }
}

@media screen and (max-width:479px) {
  html {
    font-size: calc(0.7494769874476988rem + 0.8368200836820083vw);
  }
}

/* LAUNCH FRAME DEFAULT CUSTOM STYLES */

/* Enhance text rendering */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* DON'T DECORATE LINKS WITH SHIT */
a:link { 
  text-decoration: none; 
} 
a:visited { 
  text-decoration: none; 
} 
a:hover { 
  text-decoration: none; 
} 
a:active { 
  text-decoration: none; 
}

/* DRAWER COMPONENT */

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: start;
  justify-content: start;
  background-color: rgba(128, 128, 128, 0.5); /* Gray background */
  transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
  opacity: 0;
  visibility: hidden;
  color: var(--colorVar_terminalGreen);
  font-size: larger;
}

.drawer-content {
  position: relative;
  z-index: 10;
  width: 300px;
  height: 100%;
  /* border: 2px solid black; */
  background-color: var(--colorVar_neutral_008);
  transform: translateX(-300px);
  transition: transform 0.5s ease-in-out;
  font-weight: bold;
}

/* When the drawer is visible */
.drawer.show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.drawer.show .drawer-content {
  transform: translateX(0);
}

#drawer .drawer-content p {
  margin-bottom: 20px; /* Adds space below each paragraph */
}

#drawer .drawer-content h2 {
  margin-top: 30px; /* Adds space above each heading */
  margin-bottom: 10px; /* Adds space below each heading */
}

/* CUSTOM BUTTON COMPONENT */
.custom-button {
  position: relative;
  display: inline-block;
  text-decoration: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 15px;
  margin: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.custom-button:hover {
    transform: translate(3px, 3px);
    box-shadow: none;
}
/* BASIC BUTTON */
.basic-button {
  border: 2px solid var(--buttonColorVar_001_accent);
  background-color: var(--mainBGcolor);
  box-shadow: 4px 4px 0px 0px var(--buttonColorVar_001_accent);
}
.basic-button:hover {
  background-color: var(--buttonColorVar_001_hover);
}

/* TOOLTIPS */
.tooltip {
  background-color: var(--mainBGcolor);
  color: var(--colorVar_terminalGreen);
  border: 1px solid var(--colorVar_terminalGreen);
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;  /* Padding inside the tooltip */
  position: absolute;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;  /* Smooth transition for tooltip appearance */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;  /* Keeps the tooltip on a single line */
  bottom: 30px;  /* Distance from button */
  display: block;
  visibility: hidden;
  font-size: 14px;  /* Smaller font size for tooltip */
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);  /* Soft shadow for aesthetics */
  z-index: 1000;  /* Ensures tooltip is on top of other elements */
  visibility: hidden;  /* Hidden by default */
}

/* DROPDOWN-BUTTON COMPONENT */
.dropdown-button {
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  border: 2px solid var(--buttonColorVar_001_accent);
  background-color: var(--mainBGcolor);
  font-weight: bold;
  cursor: pointer;
  box-shadow: 4px 4px 0px 0px var(--buttonColorVar_001_accent);
  transition: all 0.3s ease-in-out;
  margin: 5px 10px;
  padding: 15px;
}

.dropdown-button:hover {
    transform: translate(3px, 3px);
    box-shadow: none;
    background-color: var(--buttonColorVar_001_hover);
}

.tooltip {
  position: absolute;
  /* Other styling for the tooltip like background, color, padding etc. */
}

/* ACCORDION COMPONENT */
.accordion {
    width: 500px;
    border-radius: 15px;
    border: 2px solid var(--colorVar_000);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}

.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--mainBGcolor);
    margin: 5px 10px;
    padding: 15px;
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

.accordion-content {
    overflow: hidden;
    background-color: var(--mainBGcolor);;
    transition: height 0.3s ease-in-out;
    height: 0;
}

/* DROPDOWN COMPONENT */
.dropdown-container {
  position: relative;
  width: 200px;
}

.dropdown-button {
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 5px 10px;
  padding: 15px;
  background-color: var(--mainBGcolor);
  border: 2px solid var(--buttonColorVar_001_accent);
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 4px 4px 0px 0px var(--buttonColorVar_001_accent);
  transition: all 0.3s ease-in-out;
}

.dropdown-button:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.dropdown-list {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  border: 2px solid var(--buttonColorVar_001_accent);
  border-radius: 15px;
  text-align: center;
  font-weight: bold;
  box-shadow: 4px 4px 0px 0px var(--buttonColorVar_001_accent);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.dropdown-item {
  display: block;
  margin: 5px 10px;
  padding: 15px;
  background-color: var(--mainBGcolor);
  border-bottom: 2px solid var(--buttonColorVar_001_accent);;
}

.dropdown-item:hover {
  background-color: var(--mainBGcolor);
}

.dropdown-item:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom: none;
}

/* ITEM SELECT COMPONENT */
.select-container {
  position: relative;
  width: 200px;
}

.select-button {
  text-decoration: unset;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 5px 10px;
  padding: 15px;
  background-color: var(--mainBGcolor);
  border: 2px solid var(--buttonColorVar_001_accent);
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 4px 4px 0px 0px var(--buttonColorVar_001_accent);
  transition: all 0.3s ease-in-out;
}

.select-button:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.select-options {
  text-decoration: unset;
  position: absolute;
  top: 70px;
  left: 0;
  /* width: 100%; */
  color: black;
  border: 2px solid var(--buttonColorVar_001_accent);
  border-radius: 15px; 
  font-weight: bold;
  box-shadow: 4px 4px 0px 0px var(--buttonColorVar_001_accent);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.select-option {
  display: block;
  margin: 5px 10px;
  padding: 15px;
  background-color: var(--mainBGcolor);
  border-bottom: 2px solid var(--buttonColorVar_001_accent);;
  text-align: center;
}

.select-option:hover {
  background-color: var(--colorVar_004_hover);
}

.select-option:last-child {
  border-bottom: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#inkEggRose {
  margin: 0px;
  height: 80vh;
}

#mainDiv { 
  text-align: center;
  text-align: -webkit-center;
  color: var(--colorVar_terminalGreen);
}

/* #tools-pixelate-me-container {
  width: 640px; 
  height: 480; 
  overflow: hidden;
}

#tools-pixelate-me-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated; 
} */

/* ############################################# END SIZING AND FLEXBOX RULES ############################################# */
.flex-grid {
  display: flex;
}
.flex-grid .col {
  flex: 1;
}
.flex-grid-thirds {
  display: flex;
  justify-content: space-between;
}
/* Specific column widths within flex-grid layout sections */
.flex-grid-thirds .col {
  width: 32%; /* Specific width for 3 columns layout */
}

@media (max-width: 400px) {
  .flex-grid {
    display: block;
  }
}

.flex-grid-thirds {
  display: flex;
  justify-content: space-between;
}
.flex-grid-thirds .col {
  width: 32%;
}

body {
  padding: 20px;
}
.flex-grid { 
  margin: 0 0 20px 0;
}

/* Styling for buttons and input elements to fill their container */
.custom-button, audio, textarea, .grow-to-fit {
  /* width: 100%; Ensures these elements take full width of their container */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}

/* ############################################# DISABLED BUTTON BEHAVIOR ################################################# */

.custom-button:disabled, .custom-button[disabled] {
  opacity: 0.5; /* Dim the button to indicate it is disabled */
  cursor: not-allowed; /* Change cursor to indicate that the button is not interactive */
  pointer-events: none; /* Prevents all click, state and hover effects */
}

.custom-button:disabled .tooltip, .custom-button[disabled] .tooltip {
  display: none; /* Optionally hide tooltips for disabled buttons */
}

/* ######################################################################################################################## */

.svg-in-button {
  width: 3em;
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

.text-in-button {
  color: var(--colorVar_terminalGreen);
}

/* FLASH ALERTS */
.alert {
  position: fixed; /* Fixed position to stay at the top */
  top: 20px; /* Adjust the top position as needed */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Center align */
  background-color: rgba(255, 193, 7, 0.8); /* Half-opacity yellow color */
  color: --mainBGcolor; /* Dark text color */
  padding: 12px 24px; /* Padding for the pill shape */
  border-radius: 50px; /* Rounded corners for the pill shape */
  font-size: 1rem; /* Font size */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow for a pop effect */
  opacity: 0; /* Start with invisible */
  animation: fadeInOut 5s ease-in-out forwards; /* Animation for fade in and out */
  z-index: 1000; /* Ensure it appears above other elements */
}

/* Keyframes for the fade in and out effect */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -10px); /* Pop-in effect from above */
  }
  10% {
    opacity: 1;
    transform: translate(-50%, 0); /* Normal position */
  }
  90% {
    opacity: 1;
    transform: translate(-50%, 0); /* Stay visible */
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -10px); /* Fade out effect moving back up */
  }
}
/* Styling specific to the alert type... */
.alert-danger {
  background-color: rgba(226, 255, 7, 0.8);
  color:rgb(0, 0, 0);
}

.alert-success {
  background-color: rgba(7, 255, 11, 0.8);
  color:rgb(0, 0, 0);
}

.alert-info {
  background-color: rgba(7, 135, 255, 0.8);
  color:rgb(0, 0, 0);
}


.alert-warning {
  background-color: rgba(255, 7, 69, 0.8);
  color:rgb(0, 0, 0);
}

/* #################################################### PIXELATE-ME ############################################## */
#video {
  border: 1px solid var(--colorVar_terminalGreen);
  width: 100%;
  height: 100%; 
  margin: 0px;
}

#averageColor {
  display: inline-block;
  width: 50%;
  height: 50px;
  color: var(--colorVar_terminalGreen);
  border: 1px solid var(--colorVar_terminalGreen);
  margin-bottom: 15px;
  padding: 25px 0px 0px 0px;
}

.hide {
  display: none;
}

#selectedColorPreview {
  display: inline-block;
  width: 50%;
  height: 50px;
  color: var(--colorVar_terminalGreen);
  border: 1px solid var(--colorVar_terminalGreen);
  margin-bottom: 15px;
}

#colorDetectUI {
  /* align-items: center; */
  color: var(--colorVar_terminalGreen);
}

#toleranceSlider {
  color:#33ff33;
}

.liveDataViz {
  border: 1px solid var(--colorVar_terminalGreen);
  padding: 15px;
  width: 100%;
  height: 100%; 
  margin: 0px;
}

#histogramOriginal {
  color:#33ff33;
}

#histogramOutput {
  color:#33ff33;
}

.centered-element-small {
  width: fit-content;
}

.centered-element-smaller {
  width: fit-content;
  font-size: smaller;
}
.centered-element-medium {
  font-size: larger;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  padding: 20px;
  border: 4px solid var(--colorVar_terminalGreen);
  width: 80%;
  max-width: 500px;
  z-index: 1001; /* Ensure it is above the overlay */
  border-radius: 20px;
  margin-top: 10%;
  color: var(--colorVar_terminalGreen);
  background-color: var(--mainBGcolor);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999; /* Below the modal but above other content */
  display: none;
}
.text-input-field-short {
  padding: 10px;
  border-radius: 20px;
  margin: 5px;
  border: 4px solid var(--colorVar_terminalGreen);
  color: var(--colorVar_terminalGreen);
  background-color: var(--colorVar_neutral_007);
  font-size: x-large;
  text-align: center;
}

hr {
  border: 2px solid var(--colorVar_terminalGreen);
    border-radius: 5px;
    margin: 20% 0% 5% 0%;
}

.logo-small {
  width: 75px;
}
.ink-egg-branding {
  font-size: 75px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

/* INK EGG LANDING PAGE ELEMENTS */
#inkEggText {
  width: 50%;
  margin-top: -10%;
  margin-bottom: -13%;
}

#indexNavButtons {
  position: relative; /* Fixes the button's position on the screen */
}

.glow-text {
    text-shadow: 0 0 10px #33ff33;
}

.glow-content {
  box-shadow: 0 0 10px #33ff33;
}