-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (110 loc) · 1.9 KB
/
style.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
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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body and General Styles */
body {
font-family: 'Poppins', sans-serif;
color: #333;
line-height: 1.6;
background-color: #f4f4f9;
}
/* Header */
header {
background: linear-gradient(to right, #4caf50, #81c784);
color: white;
padding: 20px 0;
text-align: center;
}
header h1 {
font-size: 2.5rem;
}
header p {
margin: 10px 0;
font-size: 1.2rem;
}
nav {
margin-top: 15px;
}
nav a {
color: white;
text-decoration: none;
margin: 0 10px;
font-weight: 600;
padding: 5px 10px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
nav a:hover {
background-color: rgba(255, 255, 255, 0.3);
}
/* Sections */
.section {
padding: 50px 0;
text-align: center;
}
.section h2 {
font-size: 2rem;
margin-bottom: 20px;
color: #333;
}
.section p {
font-size: 1rem;
color: #666;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
/* Images */
.image-wrapper img,
.card img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
/* Grid for Cards */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 30px;
}
.card {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
color: #4caf50;
font-size: 1.5rem;
margin-bottom: 10px;
}
/* Footer */
footer {
background: #333;
color: white;
padding: 20px 0;
text-align: center;
}
footer a {
color: #4caf50;
text-decoration: none;
font-weight: 600;
}
footer span {
font-size: 1.5rem;
margin-left: 10px;
}
#contact-me {
color: white;
}