-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (115 loc) · 1.84 KB
/
style.css
File metadata and controls
133 lines (115 loc) · 1.84 KB
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
132
133
body {
margin: 0;
font-family: Arial, sans-serif;
background: #f4f8ff;
color: #222;
}
header {
background: #0a5cff;
color: white;
padding: 15px 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
margin: 0;
}
nav a {
color: white;
margin-left: 20px;
text-decoration: none;
font-weight: bold;
}
.hero {
text-align: center;
padding: 60px 20px;
background: white;
}
.hero h2 {
font-size: 36px;
color: #0a5cff;
}
.hero button {
padding: 15px 35px;
background: #00b894;
color: white;
border: none;
border-radius: 30px;
font-size: 18px;
cursor: pointer;
}
section {
padding: 50px 20px;
}
.title {
text-align: center;
font-size: 30px;
color: #0a5cff;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 30px;
}
.card {
background: white;
padding: 25px;
border-radius: 15px;
text-align: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card h3 {
color: #00b894;
}
.health-box {
max-width: 400px;
margin: auto;
background: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.health-box input {
width: 100%;
padding: 12px;
margin: 10px 0;
font-size: 16px;
}
.health-box button {
width: 100%;
padding: 14px;
background: #0a5cff;
color: white;
border: none;
border-radius: 25px;
font-size: 18px;
}
#result {
text-align: center;
font-weight: bold;
margin-top: 10px;
}
.sos {
background: #ff3b3b;
color: white;
text-align: center;
padding: 40px 20px;
}
.sos button {
background: white;
color: #ff3b3b;
padding: 15px 40px;
font-size: 22px;
border: none;
border-radius: 40px;
font-weight: bold;
cursor: pointer;
}
footer {
background: #1e272e;
color: white;
text-align: center;
padding: 20px;
}