@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap');

* {
  box-sizing: border-box;
  outline: none;
}

body {
  background-color: #343336;
  font-family: 'Nunito', sans-serif;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 3rem;
}

.add {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

button {
  font-family: 'Nunito', sans-serif;
}

.add:active {
  transform: scale(0.98);
}

.note {
  background-color: rgb(19, 19, 19);
  box-shadow: 0 0 10px 20px rgba(0, 0, 0, 0.1);
  margin: 30px 20px;
  height: 400px;
  width: 400px;
  border-radius: 20px;
}

.note .tools {
  background-color: #ffffff;
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.note .tools button {
  background-color: transparent;
  border: none;
  color: #000000;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.note textarea {
  outline: none;
  font-family: inherit;
  font-size: 1.2rem;
  border: none;
  height: 400px;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  background-color: rgb(19, 19, 19);
  color: #fff;
}

.main {
  padding: 20px;
}

.hidden {
  display: none;
}

