* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: #f5f5f5; color: #333; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-image: url("https://t4.ftcdn.net/jpg/04/46/10/57/360_F_446105785_jTYfSPFvdBwoPpVS1p0z0LaEySRBQ4ML.jpg"); } .container { max-width: 800px; width: 90%; margin: 0 auto; text-align: center; padding: 40px 20px; } .error-content { background-color: white; border-radius: 12px; padding: 50px 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); position: relative; overflow: hidden; } .error-content::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, #6F4E37, #C4A484); } .error-icon { font-size: 80px; color: #6F4E37; margin-bottom: 20px; } h1 { font-size: 2.5rem; margin-bottom: 15px; color: #6F4E37; } p { font-size: 1.1rem; color: #666; margin-bottom: 30px; line-height: 1.6; } .coffee-spill { width: 150px; height: 150px; background-image: url("user.jpg"); border-radius: 50%; display: inline-block; position: relative; margin: 30px 0; } .btn { display: inline-block; background: linear-gradient(135deg, #6F4E37, #C4A484); color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1rem; box-shadow: 0 4px 15px rgba(111, 78, 55, 0.2); } .btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(111, 78, 55, 0.3); } .btn:active { transform: translateY(1px); } .search-box { max-width: 400px; margin: 30px auto; position: relative; } .search-input { width: 100%; padding: 12px 20px; padding-left: 45px; border: 1px solid #ddd; border-radius: 30px; font-size: 1rem; outline: none; transition: all 0.3s; } .search-input:focus { border-color: #C4A484; box-shadow: 0 0 0 3px rgba(196, 164, 132, 0.2); } .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #999; } .footer { margin-top: 40px; color: #999; font-size: 0.9rem; } .search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; margin-top: 30px; max-height: 300px; overflow-y: auto; padding: 10px; } .photo-item { border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s; } .photo-item:hover { transform: scale(1.03); } .photo-item img { width: 100%; height: 120px; object-fit: cover; display: block; } .loading { display: none; margin: 20px 0; color: #6F4E37; } .error-message { color: #e74c3c; margin-top: 10px; display: none; } @media (max-width: 600px) { h1 { font-size: 2rem; } p { font-size: 1rem; } .error-content { padding: 30px 20px; } .search-results { grid-template-columns: repeat(2, 1fr); } }