body {
  margin: 0;
  padding: 0;
  background-color: #ffdbfe;
  cursor: auto;

  /* Getting rid of highlighting, so dragging doesn't highlight text */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Stuff in header */

.header {
  position: fixed;
  width: 100%;
  height: 100px;
  background-color: #ffdbfe;
  border-bottom: orangered 3px solid;
  color: orangered;
  z-index: 10;
  font-family: "carlmarx", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#title {
  position: absolute;
  left: 60px;
  top: -10px;
  font-size: 25px;
  letter-spacing: 1.5px;
}

#aboutButton {
  background-color: orangered;
  color: #ffdbfe;
  border: 3px orangered solid;
  position: absolute;
  top: 30px;
  right: 60px;
  font-size: 18px;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 30px;
  font-family: "carlmarx", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-radius: 20px;
}

#aboutButton:hover {
  background-color: #ffdbfe;
  color: orangered;
  border: 3px orangered solid;
  cursor: pointer;
}

#fillShapeButton {
  border: 3px orangered solid;
  background-color: #ffdbfe;
  color: orangered;
  position: absolute;
  top: 30px;
  right: 210px;
  font-size: 18px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 30px;
  font-family: "carlmarx", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-radius: 20px;
  width: 80px;
}

#fillShapeButton:hover {
  border: 3px orangered solid;
  background-color: orangered;
  color: #ffdbfe;
  cursor: pointer;
}

.stroke-color-button {
  position: absolute;
  top: 30px;
  font-family: "carlmarx", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

#tealButton {
  background-color: #ffdbfe;
  border: 5px solid #00b8e6;
  right: 325px;
}

#pinkButton {
  background-color: #ffdbfe;
  border: 5px solid #f827ff;
  right: 398px;
}

#blueButton {
  background-color: #ffdbfe;
  border: 5px solid #9032ed;
  right: 472px;
}

#yellowButton {
  background-color: #ffdbfe;
  border: 5px solid #ff9900;
  right: 546px;
}

.stroke-color-button:hover {
  cursor: pointer;
}

#tealButton:hover {
  border: 5px solid #6ad5ff;
}

#pinkButton:hover {
  border: 5px solid #fb79ff;
}

#blueButton:hover {
  border: 5px solid #b889ff;
}

#yellowButton:hover {
  border: 5px solid #ffc526;
}


/* Canvas styling */

canvas {
  display: block;
  position: absolute;
  top: 110px;
  left: 10px;
  padding-right: 10px;
  padding-top: 10px;
}


/* About pop-up */

.about-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 400px;
  background-color: #ffdbfe;
  border: 3px solid orangered;
  border-radius: 5px;
  padding: 25px;
  z-index: 9999;
  box-shadow: 0 0 10px rgb(255, 69, 0, 0.3);
  animation: openPopup 0.5s ease-in-out;
  border-radius: 20px;
}

.about-panel h2 {
  margin-top: 2px;
  font-size: 32px;
  font-family: "carlmarx", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: orangered;
  text-align: center;
}

.about-panel p {
  font-size: 20px;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: orangered;
  margin-left: 12px;
  margin-right: 15px;
  margin-top: -5px;
  margin-bottom: 15px;
}

.about-panel .close-button {
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  top: 12px;
  right: 15px;
  padding-right: 10px;
  font-size: 35px;
  cursor: pointer;
  color: orangered;
}

@keyframes openPopup {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Desktop-only alert (from w3schools, see readme)*/

div.alert {
  background-color: orangered;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #ffdbfe;
  font-size: 5.5vw;
  padding: 20px;
  position: absolute;
  width: 100vw;
  height: 100px;
  z-index: 10000;
}

@media screen and (min-width: 700px) {
  div.alert {
    display: none;
  }
}


/* Custom scrollbar via w3schools */
/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;

}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: orangered; 
  border-radius: 10px;

}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #9032ed; 

}