@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: row;
  --button-color: rgb(39, 106, 252);
  --button-color-hover: rgb(0, 0, 255);
  --button-color-hover1: rgb(207, 196, 204);
  --font-family: "Poppins", sans-serif;
  height: 100vh;
  background-image: url("2.jpg");
}

.left {
  width: 23%;
  padding: 1rem;
  border-right: 1px solid;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}

.right {
  width: 77%;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.buttons {
  border: 3px solid whitesmoke;
  border-radius: 10px;
  background-color: var(--button-color);
  min-height: 5.4rem;
  min-width: 4.5rem;
  color: white;
  transition: all 0.3s ease-in-out;
}

.buttons:hover {
  background-color: var(--button-color-hover);
}

.saveButton {
  margin: 0 0.7rem 0 0.7rem;
}
.newNoteButton {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 1.4rem;
  justify-content: center;
  font-size: 1.2rem;
}

.note-entry {
  margin-top: 1rem;
  border-radius: 5px;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
}
.note-entry:hover {
  background-color: var(--button-color-hover1);
  transition: all 0.3s ease-in-out;
}

.note-content-teaser,
.note-title {
  text-overflow: ellipsis;
  text-wrap-mode: nowrap;
  overflow: hidden;
}

.note-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding: 1rem 1rem 0 1rem;
}

.note-date {
  text-align: right;
  color: black;
  padding: 0 1rem 1rem 0;
}
.note-content-teaser {
  color: black;
  padding: 1rem;
}
.textarea {
  width: 93%;
  height: 80vh;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  padding-top: 0.3rem;
  margin-top: 0.3rem;
  --font-family: "Poppins", sans-serif;
  background-color: #fff;
  background-image:
    linear-gradient(#e5e5e5 1px, transparent 1px),
    linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
  background-size: 100% 20px;
}

.icons {
  height: 2rem;
  margin-left: 0.5rem;
  align-content: center;
  color: whitesmoke;
}

.buttonText {
  margin-left: 0.5rem;
  align-content: center;
  color: whitesmoke;
  padding-bottom: 0.5rem;
}

.InputTitle {
  font-size: 3rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  width: calc(100% - 10.8rem);
  padding: 1rem 0 1rem 0;
  background-color: #fff;
  background-image:
    linear-gradient(#e5e5e5 1px, transparent 1px),
    linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
  background-size: 100% 15px;
}

.note-list {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.markedColor {
  background-color: var(--button-color-hover1);
}

.textareaAndButtonsContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.colorButtonsContainer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 1rem 0 0 1rem;
}

.colorButtons {
  padding: 0.8rem 0.8rem;
  border-radius: 50%;
}

.hook {
  width: 1.75rem;
  height: 1.5rem;
}

.hidden {
  visibility: hidden;
}

.colorButtons:hover {
  filter: brightness(80%);
}

.red {
  background-color: red;
}
.green {
  background-color: green;
}

.orange {
  background-color: orange;
}

.white {
  background-color: white;
}

#selectColor {
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 5px;
  text-align: center;
  width: 100%;
  margin-top: 1rem;
  border: 2px solid;
}
