* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url('./images/гори.jpg'); /* Встановлюємо фон */
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.allNotes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px;
  padding: 20px;
}

 @media (max-width: 1024px) {
  .allNotes {
    grid-template-columns: repeat(2, 1fr);
    margin: 20px;
    padding: 15px;
  }
}

@media (max-width: 600px) {
  .allNotes {
    grid-template-columns: 1fr;
    margin: 10px;
    padding: 10px;
  }
}

.notesCreate,
.newNote  {
  align-content: center;
  text-align: center;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  font-size: 10px;
  color: #333;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.notesCreate{
  font-size: 100px;
}
.notesCreate:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.7);
}

.oldNote {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: transform 0.3s ease;
  color: #fff;
}

.oldNote:hover {
  transform: scale(1.05);
}

.notesName,
.secondName {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.notesText,
.secondText {
  width: 100%;
  height: 25vh;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.archiveButt,
.cancel,
.submit,
.remove,
.changeButton {
 padding: 10px;
  margin: 5px 0;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  width: 30%;
  transition: background-color 0.3s ease;
}
.archiveButt,
.submit{
  width: 40%;
}
.changeButton{
  width: 25%;
}
.add{
  padding: 8px;
  margin: 5px 0;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  width: 52%;
  transition: background-color 0.3s ease;
  font-size: 14px;
}
.add:hover,
.submit:hover,
.remove:hover,
.changeButton:hover,
.cancel:hover {
  background-color: #0056b3;
}

.add:focus,
.submit:focus,
.remove:focus,
.changeButton:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.7);
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  font-size: 18px;
  margin-bottom: 20px;
}
.archive{
  padding: 10px;
  background-color: rgb(255, 255, 0, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.normal{
  padding: 10px;
  background-color: rgb(0, 0, 0, 0.3);
  border-radius: 8px;
}

