* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
}


.search-container {
  margin: 20px auto;
  margin-bottom: 0;
  width: 60%;
  position: relative;
}

#search {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 30px;
  outline: none;
  transition: all 0.3s;
}

#search:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

.shortcut-grid {
  column-count: 3;
  column-gap: 20px;
  margin-bottom: 10px;
}

.shortcut-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  break-inside: avoid;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.shortcut-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shortcut-function {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.shortcut-keys {
  background-color: #f1f2f3;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  display: inline-block;
  color: #e74c3c;
}

.category {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  color: #2c3e50;
}

footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
}

.footer-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 300px;
  padding: 0 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #3498db;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  margin-top: 10px;
  opacity: 0.8;
}

.no-results {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #7f8c8d;
  background-color: #fff;
  border-radius: 8px;
  margin: 20px 0;
}

.footer-section .emoji {
  margin-right: 10px;
}
