-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.html
270 lines (226 loc) · 6.94 KB
/
home.html
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<title>Home</title>
<!-- Google Fonts: Lexend and Inter -->
<link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&family=Lexend:[email protected]&display=swap" rel="stylesheet">
<!-- -->
<style>
/* BACKGROUND STYLE */
/* video container styles */
.video-container {
position: relative;
display: block;
height: 100vh;
overflow: hidden;
}
/* video styles */
video {
height: 100%;
width: 100%;
position: absolute;
object-fit: cover;
}
.video-container video {
filter: saturate(150%) brightness(1.1);
}
/* overlay text styles */
.overlay-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: #ffffff;
/* adds shadow to the text in front of the background vid*/
/* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
}
.overlay-text h1 {
font-size: 3em;
font-weight: 700;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.overlay-text p {
font-size: 1.5em;
}
/* END OF BACKGROUND STYLE */
/* SECTION STYLE */
.services-section, .team-section {
display: flex;
align-items: center;
justify-content: center;
background-color: #E1EFF6;
padding: 5vw 10vw;
}
.team-section {
flex-direction: row-reverse;
gap: 20px;
}
/* END OF SECTION STYLE */
/* SERVICES STYLE */
.services-image {
width: 25%;
min-width: 150px;
max-width: 100%;
max-height: 100%;
border-radius: 20px;
margin-right: 3vw;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.service-dog-img {
width: 100%;
border-radius: 20px;
}
.services-content {
position: relative;
text-align: left;
width: 75%;
}
.care-types {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 15px;
}
.care-type {
flex: 1;
padding-right: 1vw;
padding-top: 1vw;
padding-bottom: 1vw;
/* background-color: #A5D7F9;
border-radius: 10px; */
margin-bottom: 1vw;
}
.care-type h2 {
font-size: 1.5em;
font-weight: bold;
}
.care-type p {
font-size: 1em;
color: #124A54;
margin-top: 10px;
}
/* END OF SERVICES STYLE */
/* TEAM STYLE */
.team-content {
text-align: left;
width: 50%;
}
.team-image {
width: 50%;
min-width: 150px;
display: flex;
justify-content: flex-end;
}
.team-photo-img {
width: 100%; /* Adjust as needed */
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/* END OF TEAM STYLE */
@media (max-width: 750px) {
.services-section, .team-section {
flex-wrap: wrap;
}
}
</style>
</head>
<body>
<div class= "header">
<div id="top_banner">
<script type="text/javascript">
function showMenu() {/*script for top navbar*/
var menu = document.getElementById('menu');
if (menu.style.visibility == "visible") {menu.style.visibility = "collapse";}
else {menu.style.visibility = "visible";}
}
</script>
<a href="home.html"><img id="logo" src="./images/logo_name_white.png"></a>
<div><!-- horizontal menu (for screens>920px) -->
<ul id="horizontal-menu">
<li class="itemMenu"><a href="home.html">Home</a></li>
<li class="itemMenu"><a href="book.html">Book</a></li>
<li class="itemMenu"><a href="services.html">Services</a></li>
<li class="itemMenu"><a href="resources.html">Resources</a></li>
<li class="itemMenu"><a href="contact.html">Contact Us</a></li>
<li class="itemMenu"><a href="meetStaff.html">Meet our Staff</a></li>
<li class="itemMenu"><a href="customers.html">Customers</a></li>
</ul>
<!-- hamburger icon -->
<img id="menuIMG" src="./images/menuIcon.png" onclick=showMenu()>
</div>
</div>
<!-- hamburger dropdown menu -->
<!-- vertical menu(for screens<920px)-->
<ul id="menu">
<li class="itemMenu"><a href="home.html">Home</a></li>
<li class="itemMenu"><a href="book.html">Book</a></li>
<li class="itemMenu"><a href="services.html">Services</a></li>
<li class="itemMenu"><a href="resources.html">Resources</a></li>
<li class="itemMenu"><a href="contact.html">Contact Us</a></li>
<li class="itemMenu"><a href="meetStaff.html">Meet our Staff</a></li>
<li class="itemMenu"><a href="customers.html">Customers</a></li>
</ul>
</div>
<div class="video-container">
<video autoplay loop muted playsinline>
<source src="./images/dog_background.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="overlay-text">
<h1>Bones & Company</h1>
<p>Excellent pets deserve excellent care.</p>
<a href="book.html" class="linkBlock">BOOK APPOINTMENT</a>
</div>
</div>
<div class="services-section">
<div class="services-image">
<img src="./images/service_dog.jpg" alt="Services Image" class="service-dog-img">
</div>
<div class="services-content">
<h1>Our Services</h1>
<div class="care-types">
<div class="care-type">
<h2>WELLNESS CARE</h2>
<p>Ensure your pets stay healthy with regular wellness check-ups and preventive care.</p>
</div>
<div class="care-type">
<h2>URGENT CARE</h2>
<p>Get immediate attention for your pets in case of emergencies and urgent situations.</p>
</div>
<div class="care-type">
<h2>DENTAL CARE</h2>
<p>Maintain your pet's oral health with our professional dental care services.</p>
</div>
</div>
<a href="services.html" class="linkBlock">VIEW ALL SERVICES</a>
</div>
</div>
<div class="team-section">
<div class="team-image">
<img src="./images/team.jpg" alt="Team Image" class="team-photo-img">
</div>
<div class="team-content">
<h1>Our Team</h1>
<p>Our friendly and dedicated team is committed to providing excellent care for your pets.</p>
<a href="meetStaff.html" class="linkBlock">MEET THE TEAM</a>
</div>
</div>
<div id="footer">
<div id="footer_print">
<img id="footer_dog" src="./images/footer_dog.png">
<ul class="footer_links">
<li><a class="my_footer_link"href="contact.html">Contact Us</a></li>
<li><a class="my_footer_link"href="resources.html">Resources</a></li>
<li><a class="my_footer_link"href="book.html">Booking</a></li>
</ul>
</div>
</div>
</body>
</html>