@import url("https://fonts.googleapis.com/css?family=Oswald&display=swap");
* {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: Oswald, sans-serif;
  overflow: hidden;
}

.top-bar {
  padding-left: 1.5rem;
  height: 5rem;
  width: 100%;
  position: fixed;
  background-color: rgb(239, 254, 255);
  display: flex;
  justify-content: center;
}

/* PGN Icons */
.tool-icon {
  width: 5rem;
  height: 5rem;
  padding: 3px;
  cursor: pointer;
}

.tool-icon:hover {
  transform: translateY(-2px);
}

.active-icon {
  filter: drop-shadow(0px 2px 3px rgb(65, 44, 255));
}

/* Tools */
.active-tool {
  position: absolute;
  top: 9px;
  left: 5px;
}
.active-tool span {
  background-color: rgb(177, 228, 235);
  padding: 2.5px 1.6rem;
  color: rgb(15, 30, 54);
  font-size: 2rem;
  font-weight: 700;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.border-toolbar {
  border: 2px solid rgb(177, 228, 235);
  height: 4.5rem;
  margin: 0.3rem 1rem;
  display: flex;
  align-items: center;
}

.bucket {
  padding-left: 0.8rem;
  padding-right: 1.6rem;
}

.size {
  width: 4rem;
  height: 3.5rem;
  left: -0.5rem;
  padding: 2.5px 0.8rem;
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Custom Slider */
.slider {
  -webkit-appearance: none;
  position: relative;
  left: -0.8rem;
  width: 10rem;
  height: 1rem;
  background: rgb(130, 187, 224);
  outline: none;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  outline: none;
  background: rgb(16, 85, 175);
  border-radius: 50%;
}

.slider::-moz-range-thumb {
  width: 1.6rem;
  height: 1.6rem;
  outline: none;
  background: rgb(16, 85, 175);
  border-radius: 50%;
}

.toolbar {
  display: flex;
  margin: 0 16px;
}

/* JS Color */
.jscolor {
  border: none;
  height: 2.4rem;
  width: 8rem;
  margin-left: 3px;
  font-size: 1.6rem;
  text-align: center;
  cursor: pointer;
  outline: none;
}

/* Canvas */
#canvas {
  position: absolute;
  top: 5rem;
  cursor: crosshair;
}

/* Mobile Message */
.mobile-message {
  display: none;
}

/* Adjust toolbar to be 2 rows for smaller screens */
@media (max-width: 60em) {
  .top-bar {
    display: grid;
    grid-template-columns: 9rem 31rem auto;
    height: 10rem;
  }
  #canvas {
    top: 10rem;
  }
  .brush {
    grid-column: 2/3;
  }
  .toolbar {
    gap: 3rem;
    grid-column: 2/4;
  }
}
/* Media Query: Mobile Devices */
@media screen and (max-width: 600px) {
  .mobile-message {
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: rgb(60, 49, 82);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 8rem;
    text-align: center;
    top: 0;
    z-index: 100;
  }
  #canvas {
    display: none;
  }
  .mobile-message h2 {
    width: 80%;
  }
}/*# sourceMappingURL=paintclone.css.map */