@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --white: #fff;
  --black: #1c2b2d;
  --blue: #31326f;
  --light-blue: #005490;
  --color-primary: #9d0191;
  --color-sec: #db6400;
  --grey: #eee;
  --dark-grey: #222831;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--grey);
}

p {
  font-size: 1.6rem;
  line-height: 1.5;
}

img {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Start here */

.section-container {
  display: flex;
  padding-top: 2rem;
  width: 100%;

}

.form-container {
  width: 30%;
}

.notes-container {
  width: 70%;
}

form > * {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
  outline: none;
  font-size: 1.6rem;
  padding-top: 7px;
  border: 1px solid #777;
  border-radius: 3px;
  width: 100%;
}

form textarea {
  height: 10rem;
}

.notes-header {
  display: flex;
  justify-content: space-between;
}

.note {
  background-color: var(--white);
  padding: 1rem;
  border-radius: 3px;
  margin: 1rem 0;
}

.note-cta {
  display: flex;
  justify-content: space-between;
}

.note-counter {
  font-size: 1.4rem;
  background-color: var(--dark-grey);
  padding: 1px 3px;
  display: inline-block;
  color: var(--white);
  font-weight: 600;
  border-radius: 3px;
}

.note-btn {
  padding:5px;
  outline: none;
  border: none;
  border-radius: 3px;
  color: var(--white);
  background-color: red;
  cursor: pointer;
}

.edit-btn {
  background-color: var(--color-primary);
}

.note-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
}

.note-text{
  font-size: 1.4rem;
}