/* General body styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121925;
  color: #e0e6ed;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  color: #ffffff;
  margin: 20px 0;
}

#notes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 20px;
  padding: 20px;
}

.category {
  background-color: #1c2530;
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.category h2 {
  text-align: center;
  font-size: 22px;
  color: #e0e6ed;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.note {
  background-color: #1d2a36;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  margin-bottom: 10px;
}

.note:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.note-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.note-content {
  display: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  background-color: #2c3a47;
}

li {
  list-style-type: none;
}

.note-content p {
  margin: 8px 0;
}

.note-content code {
  background-color: #343f4f;
  color: #ffd700;
  padding: 4px 8px;
  border-radius: 4px;
}

@media only screen and (max-width: 1300px) {
  #notes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

@media only screen and (max-width: 900px) {
  #notes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

