-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemergency.css
More file actions
133 lines (113 loc) · 2.97 KB
/
emergency.css
File metadata and controls
133 lines (113 loc) · 2.97 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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background: url('images/blur-hospital.jpg') no-repeat center center fixed; /* Set your background image */
background-size: cover; /* Ensure the background image covers the whole page */
color: #fff;
padding: 20px;
}
/* Navigation Bar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #005BB5;
padding: 1rem 2rem; /* Adds space inside the navbar */
position: fixed; /* Makes the navbar fixed */
top: 0; /* Sticks it to the top of the page */
width: 100%; /* Ensures it spans the full width of the page */
z-index: 1000; /* Keeps it above other content */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow */
box-sizing: border-box; /* Includes padding in width/height calculations */
}
.nav-logo {
font-size: 1.8rem;
font-weight: bold;
color: #ecf0f1;
}
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin: 0 1rem;
}
.nav-links a {
text-decoration: none;
color: #ecf0f1;
font-size: 1rem;
}
.nav-links a:hover {
color: #1abc9c;
}
.emergency-service-container {
max-width: 1200px;
margin: auto;
padding: 20px;
background-color: rgba(0, 0, 0, 0.5); /* Adding a semi-transparent black overlay for readability */
border-radius: 10px;
}
/* Emergency Header */
.emergency-header {
text-align: center;
margin-bottom: 30px;
background: url('images/header-background.jpg') no-repeat center center;
background-size: cover;
padding: 40px 20px;
color: #fff;
border-radius: 10px;
}
/* Emergency Header Title */
.emergency-header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
/* Emergency Header Description */
.emergency-header p {
font-size: 1.2rem;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
/* Service Cards */
.service-card {
background-color: #fff;
border-radius: 10px;
padding: 20px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
background-image: url('images/service-background.jpg'); /* Background for each service card */
background-size: cover;
background-position: center;
color: #333;
transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
/* Service Card Image */
.service-image {
max-width: 100%;
height: auto;
border-radius: 10px;
margin: 20px 0;
}
/* Call and Map Buttons */
.call-button, .map-button {
background-color: #3498db;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
}
.call-button:hover, .map-button:hover {
background-color: #2980b9;
}