<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
*{
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f1f1f1;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 900px;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  text-align: center;
}

h1 {
  color: #333;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

input[type="text"] {
  width: 100%;
  max-width: 600px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#search-gifs {
  background-color: #15616d;
}

#search-gifs:hover {
  background-color: #0b3b49;
}

#search-stickers {
  background-color: #b4656f;
}

#search-stickers:hover {
  background-color: #9c4955;
}

#results {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.result-item {
  width: 180px;
  height: 180px;
  background-color: #eee;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

#results img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#results img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

#result-count {
  font-size: 16px;
  color: #333;
  margin: 10px;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid #ccc;
  border-radius: 50%;
  display: none;
  margin: 20px auto;
  position: relative;
  box-sizing: border-box;
  animation: spin 1s linear infinite;
}

.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid transparent;
}

.pagination {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;  
  font-size: 10px;
  gap: 15px;
  margin-top: 30px;
}

.pagination button {
  padding: 7px 10px;
  font-size: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

#page-info {
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

#prev-page {
  background-color: #15616d;
  color: white;
}

#prev-page:hover {
  background-color: #0b3b49;
}

#next-page {
  background-color: #b4656f;
  color: white;
}

#next-page:hover {
  background-color: #9c4955;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 800px) {
  .buttons {
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  .result-item {
    width: 100px;
    height: 100px;
  }
}</pre></body></html>