* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f5f5f7;
  padding: 10px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  background-color: #1f2421;
}

.logo {
  text-indent: -9999px;
  background-image: url(../18112020/images/logo.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 40px;
  width: 160px;
  background-size: contain;
  text-decoration: none;
  text-shadow: none;
  margin: 5px auto;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  color: #1d1d1f;
}

.header h1 {
  font-size: 2rem;
  margin-top: 20px;
}

.header p {
  font-size: 1rem;
  color: #6d6d6d;
}

.search-container {
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 40px;
  font-size: 16px;
  border: 2px solid #86868b;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: #0071e3;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #86868b;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.category-btn {
  padding: 10px 16px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background-color: #0071e3;
  color: white;
  border-color: #0071e3;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 15px;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.emoji-item {
  text-align: center;
  font-size: 50px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.emoji-item:hover {
  transform: scale(1.2);
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #323232;
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.toast.show {
  opacity: 1;
}

.no-results {
  text-align: center;
  padding: 20px;
  color: #666;
}

footer {
  display: flex;
  height: 150px;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #1f2421;
}

.made-with {
  display: flex;
  /* border: 2px solid white; */
  height: 35px;
  width: 100%;
  justify-content: center;
}
.made-with p {
  margin: 0 10px;
}
