@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@1&display=swap');


:root {
  --color1: #f2f2f2;
  --color2: #666666;
  --color-title: #aaaaaa;
  --color-content: #b6eff7;
  --color-footer: #dddddd;
  --color3: #ffeff6;
}
:root {
  --col1:#83e263;
  --col2:#69d6ea;
  --col3:#edbf34;
  --col4:#dedede;
  --col5:#d1a3f9;
  --col6:#fbffae;
  --col7:#4e6075;
  --col8:#2986cc;
  --col9:#f0509a;
  --col10:#ff7ac5;
}
.c1 {
  background-color: var(--col1);
  color: black;
}
.c2 {
  background-color: var(--col2);
  color: black;
}
.c3 {
  background-color: var(--col3);
}
.c4 {
  background-color: var(--col4);
}
.c5 {
  background-color: var(--col5);
}
.c6 {
  background-color: var(--col6);
  color: black;
}
.c7 {
  background-color: var(--col7);
  color: white;
}
.c8 {
  background-color: var(--col8);
  color: white;
}
.c9 {
  background-color: var(--col9);
  color: white;
}
.c10 {
  background-color: var(--col10);
  color: white;
}

body {
  background-color:var(--color1);
  font-family: 'Roboto', sans-serif;
}
.errors{
  color: orange;
  font-size: 12x;
}
#menu-items{
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
}
.menu-item{
  padding: 8px;
  list-style-type: none;
  background-color: antiquewhite;
  border: 1px solid black;
}
.logo{
  padding: 0;
  border: none;
  background-color: transparent;
  flex-shrink: 0;
}
.menu-item:hover {
  background-color: var(--col5);
  cursor: pointer;
  font-weight: bold;
  position: relative;
  top: 1px;
  left: 1px;

}
a {
  text-decoration: none;
}
.title {
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 10px;
}
.note {
  background-color: var(--color-content);
  border: #666666 solid 1px;
}
#notes-container {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
  grid-auto-rows: minmax(220px,220px);
}
.add{
  padding: 20px;
  text-align: center;
  border: var(--color2) dashed 5px;
  font-size: 1.5rem;
}
.add:hover {
  cursor: pointer;
  position: relative;
  top: 1px;
  left: 1px;
}
ul{
  padding: 1px;
  margin: 0;
}
/* notes card start */
#content,
#footer {
  padding: 5px;
}
.card3 {
  width: 150px;
  height: 220px;
  border: 1px outset #808d88;
  border-left: 5px solid #836FFF;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
}
.card3-heading {
  padding: 1px 10px;
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
  text-decoration: underline;
}
.chars-left {
  color: grey;
  font-size: 0.6rem;
  padding: 2px 5px;
}
.card3-textarea {
  padding: 1%;
  border: 1px dashed #cbe7dd;
  margin-left: 5%;
  resize: none;
  width: 90%;
  height: 73%;
  font-family: 'Nunito', sans-serif;
}
.card-save {
  border: 1px solid #c9ff9d;
  width: 60%;
  margin: 1px auto;
  text-align: center;
  background-color: #00cb00;
  color: white;
  border-radius: 15%;
  font-size: 0.9rem; 
  position: relative;
  left: -20px;
  cursor: pointer;
}
.card-save:active {
  background-color: green;
}
.card-save:hover {
  left: -19px;
  top: 1px;
}
.flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.del {
  color: red;
  position: relative;
  left: 125px;
  font-weight: bold;
  cursor: pointer;
}
/* notes card end */
#modal {
  display: none;
  z-index: 1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  color: white;
  font-size: 2rem;
  padding: 2rem;
  margin: 3rem auto;
  border: 1px dashed var(--col7);
}
#footer {
  display: flex;
  list-style: none;
}
#footer>*{
  border: 1px solid grey;
  background-color: var(--col6);
  padding: 0 5px;
}
#footer>*:hover {
  position: relative;
  left: 1px;
  border: 1px solid grey;
  background-color: var(--col3);
  font-weight: 600;
}