File size: 1,816 Bytes
be3de4e
 
 
 
 
 
 
 
709e7b4
be3de4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709e7b4
 
be3de4e
 
 
 
 
 
 
 
709e7b4
 
be3de4e
 
 
 
 
 
 
 
 
709e7b4
 
be3de4e
 
709e7b4
 
be3de4e
 
 
709e7b4
be3de4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 700;
    animation: fadeIn 1s ease-in-out;
}

.search-box {
    display: flex;
    margin-bottom: 30px;
}

#search-input {
    flex-grow: 1;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    transition: all 0.3s ease;
}

#search-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0 30px 30px 0;
    transition: all 0.3s ease;
}

#search-button:hover {
    background-color: #45a049;
}

.results {
    max-height: 400px;
    overflow-y: auto;
}

.result-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-in-out;
}

.result-item h2 {
    color: #1a73e8;
    margin-bottom: 10px;
}

.result-item p {
    color: #545454;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}