* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  position: relative;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
  width: 100%;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

header p{
  opacity: 0.9;
  font-size: 1.1rem;
}

.search-container {
  position: relative;
  margin: auto;
  margin-top: 10px;
  width: 60%;
}

#search {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px 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);
}

.mime-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.mime-item {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mime-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.file-ext {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
}

.mime-type {
  font-family: monospace;
  color: #e74c3c;
  word-break: break-all;
  font-size: 0.95em;
}

.section {
  margin-bottom: 25px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section h2 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 22px;
}

.section h3 {
  margin-top: 15px;
  font-size: 16px;
}

.section p,.section li{
  margin-top: 10px;
}

.section ul {
  margin-left: 20px;
  margin-bottom: 15px;
  color: #666;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
}

.no-results {
  text-align: center;
  padding: 30px;
  color: #7f8c8d;
  display: none;
}

.count {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1;
}
