* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: #e9f1f8;
  line-height: 1.5;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #c7c703, #f5f556);
  padding: 20px;
  margin: 10px 0;
}

.header h1 {
  margin: 0 15px;
  font-size: 24px;
}

.header input {
  width: 450px;
  padding: 8px 12px;
  border: none;
  outline: none;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.header button {
  width: 50px;
  padding: 8px;
  border: none;
  border-radius: 0 10px 10px 0;
  margin-left: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  background-color: #ffc107;
  cursor: pointer;
}

.main {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main input {
  height: 35px;
  padding: 0 10px;
  border: none;
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  margin: 0 7px;
  width: 150px;
}
.main button {
  background: linear-gradient(90deg, #c7c703, #f5f556);
  height: 35px;
  padding: 0 10px;
  border: none;
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  margin: 0 7px;
  width: 60px;
  cursor: pointer;
}

.notesParent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.notes {
  background: linear-gradient(90deg, #c7c703, #f5f556);
  width: 300px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.notes:hover {
  transform: scale(1.03);
}

.notesHeader,
.notesContent,
.noteDate {
  margin: 8px 0;
  word-wrap: break-word;
}

.notesHeader {
  font-size: 20px;
  font-weight: bold;
}

.notesContent {
  font-size: 16px;
}

.noteDate {
  font-size: 14px;
  color: #333;
}

.btn-del,
.archive,
.zakrip,
.edit {
  padding: 6px 12px;
  margin: 8px 5px;
  width: 80px;
  height: 35px;
  border: 2px solid #333;
  border-radius: 8px;
  background-color: #ff4d4d;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-del:hover,
.archive:hover,
.zakrip:hover,
.edit:hover  {
  background-color: #cc0000;
}

.isArchive .notesHeader,
.isArchive .notesContent,
.isArchive .notesDate {
  text-decoration: line-through;
  opacity: 0.6;
  border: 10px;
}
.isArchive{
  background-color: #8b9ea0 !important;   
  background: none;
}
.isZakrip {
  border: 3px solid #000;
}
.notes input.notesHeaderEdit,
.notes textarea.notesContentEdit {
  width: 90%;
  margin: 8px 0;
  padding: 6px;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid #666;
  border-radius: 6px;
}
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: stretch;
  }

  .header input,
  .header button {
    width: 100%;
    border-radius: 10px;
    margin: 5px 0;
  }

  .notesParent {
    flex-direction: column;
    align-items: center;
  }

  .notes {
    width: 90%;
  }
}


