body {
  font-family: 'Roboto', sans-serif;
}

h1 {
  font-size: 2em;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

#note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#note-list li {
  padding: 0.5em;
  margin-bottom: 0.5em;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#note-list li a {
  color: #333;
  font-weight: bolder;
  font-size: 24px;
  text-decoration: none;
  cursor: pointer;
}

#note-editor input[type="text"],
#note-editor textarea {
  width: 97%;
  padding: 0.5em;
  margin-bottom: 1em;
  font-size: 1.2em;
  border: 1px solid #ccc;
  border-radius: 3px;
  max-width: 97%;
  min-width: 97%;
}

#note-editor button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 0.5em;
}

#note-editor {
  display: none;
  margin-bottom: 0.5em;
  max-width: 600px;
  padding: 1em;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#note-editor label {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  font-weight: bold;
}

#note-editor input[type="text"],
#note-editor textarea {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 1em;
  font-size: 1.2em;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.button-group2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

#note-editor button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 0.5em;
  font-size: 1.1em;
}

#note-editor button:hover {
  background-color: #f7f7f7;
}

#note-editor button.primary {
  background-color: #4CAF50;
  color: #fff;
  border-color: #4CAF50;
}

#note-editor button.primary:hover {
  background-color: #388e3c;
}

#note-editor button.secondary {
  background-color: #fff;
  color: #4CAF50;
}

#note-editor button.secondary:hover {
  background-color: #f7f7f7;
}


#note-editor input[type="checkbox"] {
  display: none;
}

#note-editor input[type="checkbox"]+label:before {
  content: '';
  border: 1px solid #ccc;
  border-radius: 3px;
  vertical-align: middle;
  background-color: #fff;
  float: right;
  /* margin: 0.5em auto; */
  vertical-align: middle;
  width: 16px;
  height: 16px;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

#note-editor input[type="checkbox"]:checked+label:before {
  background-color: #8cad2d;
  border-color: #8cad2d;
  content: '\2713';
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

#note-editor input[type=checkbox]:hover+label::before {
  background-color: #e2e2e2;
}

#note-editor input[type=checkbox]:checked:hover+label::before {
  background-color: #d3e6ab;
}

#add-note {
  display: block;
  margin: 1em auto;
  padding: 0.5em 1em;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#export-notes {
  display: block;
  margin: 1.25em auto;
  padding: 0.5em 1em;
  font-size: 0.8em;
  font-weight: bold;
  color: #fff;
  background-color: #2196F3;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#import-notes-button {
  display: block;
  margin: 1.25em auto;
  padding: 0.5em 1em;
  font-size: 0.8em;
  font-weight: bold;
  color: #fff;
  background-color: #76c1ff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.note-actions {
  position: absolute;
  top: 5px;
  right: 5px;
}

.note-done {
  background-color: #cfc !important;
}


body {
  font-family: 'Roboto', sans-serif;
}

h1 {
  font-size: 2em;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

#note-list {
  list-style: none;
  margin: 0;
  padding: 0;

}

#note-list li {
  padding: 0.5em;
  margin: auto;
  margin-bottom: 0.5em;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding-left: 1em;
  padding-right: 1em;
}

#note-list li a {
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

#note-list li button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  float: right;
  margin-top: 0.5em;
}

#note-editor label {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  font-weight: bold;
}

#note-editor input[type="text"],
#note-editor textarea {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 1em;
  font-size: 1.2em;
}

#note-text {
  background-color: white;
  min-height: 150px;
  /* max-height: 1000px; */
  padding: 0.5em;
  margin-bottom: 1em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 3px;
}

#note-editor button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#note-editor button[type="submit"]:hover {
  background-color: #3e8e41;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

#tutorial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 25px;
  margin: auto;
  text-align: center;
}

#tutorial h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

#tutorial p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.nextBtn {
  font-size: 1.2em;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

[contenteditable=true]:empty:before {
  content: attr(placeholder);
  pointer-events: none;
  opacity: 0.5;
  display: block; /* For Firefox */
}

@media only screen and (max-width: 600px) {
  #tutorial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 25px;
    margin: auto;
    text-align: center;
    width: 80%;
  }
}


/* Media queries */
@media screen and (min-width: 768px) {
  #note-editor {
    width: 50%;
    margin: 1em auto;
    margin-bottom: 1em;
  }

  #note-list li {
    width: 50%;
    margin: 0.5em auto;
    margin-bottom: 0.5em;
  }
}

@media screen and (min-width: 1024px) {
  #note-editor {
    width: 30%;
  }

  #note-list li {
    width: 30%;
  }
}

/* Sticky note styles */
.sticky-note {
  background-color: #ffd;
  color: #333;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 4px;
}

.sticky-note h2 {
  margin-top: 0;
  font-size: 1.5em;
}

.sticky-note p {
  margin-bottom: 0;
}

.sticky-note button {
  background-color: #4CAF50;
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.sticky-note button:hover {
  background-color: #3e8e41;
}

/* Media queries */
@media screen and (min-width: 768px) {
  .sticky-note {
    width: 30%;
    float: left;
    margin-right: 2%;
  }
}

@media screen and (min-width: 1024px) {
  .sticky-note {
    width: 22%;
  }
}

/* Clearfix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}