-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
54 lines (47 loc) · 934 Bytes
/
index.css
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
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
}
.container {
width: 80%;
margin: 0 auto;
padding-top: 30px;
}
/* Styling for Sections */
section {
margin-bottom: 50px;
padding: 20px;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h2 {
text-align: center;
font-size: 24px;
margin-bottom: 20px;
color: #2c3e50;
}
/* Image Styling */
.images {
display: flex;
justify-content: space-between;
gap: 20px;
}
.images img {
width: 48%; /* Makes images fit side by side */
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.images img:hover {
transform: scale(1.05); /* Slight zoom effect on hover */
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}