@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import "variables.css";
@import "tooltip.css";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100vh;
}

body {
  background-color: var(--lightest-grey);
  font-family: "Nunito";
  opacity: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  background-color: var(--lightest-grey);
  font-family: "Roboto", sans-serif;
  width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 1s ease-in-out;
}

#image-container.fade-in,
#grid-overlay.fade-in,
#result.fade-in {
  opacity: 1;
}

.hidden {
  display: none;
  opacity: 0;
}

#image-container,
#grid-overlay,
#result {
  opacity: 0;
  transition: all 1s ease-in-out;
}

h2 {
  margin: 20px 0 15px;
  display: flex;
  justify-content: center;
}

form {
  margin-top: 20px;
}

label {
  display: block;
  margin-left: 10px;
  font-weight: bold;
}
label:first-of-type {
  margin-left: 0;
}

input {
  background-color: rgba(76, 175, 80, 0.1882352941);
  padding: 10px;
  font-weight: bold;
  width: 225px;
  margin-left: 10px;
}
input:hover {
  background-color: var(--hover);
}
input::file-selector-button {
  font-weight: bold;
  color: var(--active);
  padding: 0.5em;
  border: thin solid grey;
  border-radius: 3px;
  filter: drop-shadow(2px 2px 2px #ccc);
}
input::file-selector-button:active {
  filter: unset;
}
input:valid {
  color: var(--input-valid);
  margin-left: 10px;
}
input:invalid {
  color: var(--input-invalid);
  margin-left: 10px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--over);
  color: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px #ccc;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.draggable {
  border: 3px solid var(--draggable-border);
  width: 244px;
  height: 123px;
  background-color: rgba(255, 0, 0, 0.3);
  position: absolute;
  z-index: 3;
}
.draggable:active {
  background-color: rgba(255, 0, 0, 0.38);
  border: 2px dashed #E91E63;
}
.draggable:hover {
  z-index: 99;
}
.draggable .count {
  visibility: hidden;
}

#main {
  display: inline-flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  border: 2px solid #dde5ff;
  padding: 10px;
  background: aliceblue;
  border-radius: 10px;
  min-height: 65px;
  margin-bottom: 10px;
  width: 1200px;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  filter: drop-shadow(2px 2px 16px #ccc);
}
#main section {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#add-button,
#add {
  position: relative;
  padding: 10px;
  cursor: pointer;
  background-color: var(--highlight);
  padding: 10px;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
  justify-content: space-around;
  align-items: center;
  width: 75px;
}
#add-button:after,
#add:after {
  position: absolute;
  left: 20px;
  top: 10px;
  font-weight: bold;
  color: var(--active);
}
#add-button:hover,
#add:hover {
  filter: drop-shadow(2px 2px 5px var(--lightest-grey));
}
#add-button:active,
#add:active {
  border: 2px var(--lightest-grey);
  filter: drop-shadow(2px 2px 5px var(--lightest-grey));
}

#clear-button,
#clear {
  background: aliceblue;
  border: 2px solid rgba(185, 220, 252, 0.4705882353);
  position: absolute;
  top: 14px;
  right: -70px;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
  justify-content: space-around;
  align-items: center;
  display: inherit;
  width: 75px;
  filter: drop-shadow(2px 2px 16px #ccc);
}
#clear-button:hover,
#clear:hover {
  background-color: var(--hover);
}

#clear-button:not(.hidden),
#clear:not(.hidden) {
  display: inline-flex;
  right: 250px;
  cursor: pointer;
}

#container {
  background-color: var(--pale-green);
  padding: 10px 0 10px 10px;
  border-radius: 10px;
}
#container .counter {
  background-color: var(--wip);
  margin-right: 5px;
  color: var(--link);
  font-weight: 500;
  border-bottom: 2px dotted;
}

#image-container {
  margin-top: 20px;
  position: relative;
  width: 1200px;
  height: 600px;
  border-top: none;
  line-height: 0;
  opacity: 1;
  filter: drop-shadow(2px 2px 10px #ccc);
}
#image-container label {
  position: relative;
  cursor: pointer;
  display: inline-block;
}
#image-container label #default-upload-area {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px dashed #4CAF50;
  border-radius: 10px;
  width: 1200px;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(76, 175, 80, 0.1294117647);
  opacity: 0.3;
  transition: all 0.4s ease-in;
}
#image-container label #default-upload-area span {
  font-size: 5em;
  color: #4CAF50;
  font-weight: normal;
  font-family: auto;
}
#image-container label #default-upload-area:hover {
  background-color: rgba(169, 202, 170, 0.45);
  opacity: 0.7;
}
#image-container button {
  position: absolute;
  right: 0;
  top: -10px;
  padding: 5px 10px;
}

figcaption {
  display: none;
}

#uploaded-image {
  width: 1200px;
  height: 600px;
  display: none;
}

.grid {
  display: grid;
}

#grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 0px;
  display: none;
}
#grid-overlay div {
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.1s ease-in;
}
#grid-overlay div:hover {
  border: 1px solid #4CAF50;
  background-color: rgba(76, 175, 80, 0.3803921569);
}
#grid-overlay div.selected {
  background-color: rgba(255, 0, 0, 0.3);
}
#grid-overlay div.selected:hover {
  background-color: rgba(255, 165, 0, 0.4509803922);
}

#result {
  padding-left: 10px;
  background-color: var(--pale-green);
  border-radius: 10px;
}
#result .percentage {
  padding: 10px;
  border-radius: 10px;
  transform: scale(1);
  display: inline-block;
  margin-left: 5px;
  font-weight: 500;
  transition: all 0.3s ease-in;
}
#result .under {
  background-color: var(--under);
}
#result .warning {
  background-color: var(--warning);
  transform: scale(1.1);
}
#result .over {
  background-color: var(--over);
  color: #fff;
  position: relative;
  transform: scale(1.2);
  font-size: 17px;
}

aside {
  display: flex;
  align-self: normal;
  justify-content: normal;
  align-items: center;
  height: 100%;
  background: aliceblue;
  width: 355px;
  border: 2px solid rgba(185, 220, 252, 0.4705882353);
  position: relative;
  top: -150px;
  padding-top: 20px;
  left: 18px;
  padding-bottom: 10px;
  border-radius: 10px;
  filter: drop-shadow(2px 2px 16px #ccc);
  transition: all 0.5s ease-in-out;
  opacity: 0;
}
aside .font-size,
aside .line-height {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}
aside .font-size input,
aside .line-height input {
  border-radius: 10px;
  width: 50px;
  height: 50px;
  text-align: center;
  border: none;
}

footer {
  position: relative;
  font-family: "Open Sans", sans-serif;
  display: inherit;
  justify-content: center;
}
footer .help-key {
  position: absolute;
  text-transform: uppercase;
  font-size: 12px;
  left: 10px;
  padding-top: 2px;
  padding-bottom: 10px;
  font-weight: bold;
  color: var(--wip);
  display: none;
}
footer .author {
  text-transform: uppercase;
  font-size: 14px;
  right: 10px;
  padding-top: 2px;
}
footer .author a {
  color: var(--link);
  position: relative;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--link-underline);
  padding: 0 2px;
  top: 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
footer .author a:after {
  position: absolute;
  content: "";
  left: 0;
}
footer .author a:visited {
  color: var(--link);
}
footer .author a:hover {
  color: #fff;
  background-color: var(--link);
  padding: 9px 2px 30px 2px;
  top: -12px;
}
footer .author a:hover:after {
  position: absolute;
  content: "SCOTTO";
  left: 5px;
  top: 30px;
  background-color: var(--link);
}/*# sourceMappingURL=styles.css.map */