@import url("https://fonts.googleapis.com/css2?family=Shrikhand&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Marko+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
* {
  box-sizing: border-box;
}

:root {
  --primary-color: rgb(220, 62, 62);
  --secondary-color: rgb(245, 160, 169);
}

body {
  background-color: rgb(240, 240, 240);
  font-family: "Montserrat";
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

h1 {
  font-family: "Shrikhand";
  font-size: 1.8rem;
  margin: 30px 0 10px -120px;
  color: var(--secondary-color);
}

canvas {
  border: 12px solid var(--primary-color);
  box-shadow: 4px 6px 12px rgba(220, 62, 62, 0.4);
  display: flex;
}

.toolbox {
  background-color: var(--primary-color);
  display: flex;
  width: 624px;
  margin: 0;
  padding: 0.8rem;
  box-shadow: 4px 6px 12px rgba(220, 62, 62, 0.4);
}

.toolbox > * {
  background-color: rgba(255, 255, 255, 1);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  height: 40px;
  width: 40px;
  margin: 0.2rem;
  padding: 0.2rem;
  cursor: pointer;
}

.toolbox > *:hover {
  background-color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.toolbox > *:last-child {
  margin-left: auto;
}

.toolbox > *:focus {
  outline: 0;
}
