File size: 2,538 Bytes
19544dd
aa369f9
 
 
7bd27b8
aa369f9
7bd27b8
 
aa369f9
19544dd
 
aa369f9
 
 
 
 
 
 
 
 
 
 
 
 
7bd27b8
 
 
aa369f9
7bd27b8
aa369f9
7bd27b8
 
aa369f9
 
 
 
 
 
 
 
19544dd
 
7bd27b8
aa369f9
7bd27b8
 
aa369f9
 
 
 
 
 
 
19544dd
 
7bd27b8
 
 
 
 
 
 
aa369f9
19544dd
 
7bd27b8
 
 
 
 
 
 
 
 
aa369f9
 
 
 
 
 
 
 
7bd27b8
 
 
 
 
 
 
 
aa369f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19544dd
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right bottom, #f8f3eb, #e4d4ae);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.header {
    background: linear-gradient(to right, #ffdb58, #ffaf00);
    color: #fff;
    padding: 5px;
    text-align: center;
    width: 100%;
    position: fixed;
    top: 0;
height:60px;
    z-index: 1000;
}


.container {
    text-align: center;
    max-width: 400px;
width:600px;
    padding: 20px;
    background-color: #dec3ba;;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 80px; /* Adjusted to accommodate the fixed header */
    margin-bottom: 50px; /* Adjusted to add space between content and footer */
    animation: fadeIn 1s ease-in-out;
}


h1 {
    color: #333;
}

textarea {
    width: 75%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

textarea:focus {
    border-color: #4caf50;
}

button {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

#result {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
	
}
#result.result-container {
    margin-top: 10px; /* Adjusted margin-top to add space between the result items and the textarea */
    padding: 3px; /* Adjusted padding to decrease the height */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.result-item {
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    animation: fadeIn 0.5s ease-in-out;
}

.chart {
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.footer {
    background: linear-gradient(to right, #ffdb58, #ffaf00);
    color: #fff;
    padding: 7px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    animation: slideUp 0.8s ease-in-out;
    z-index: 1000;
}

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

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