-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
215 lines (153 loc) · 4 KB
/
styles.css
File metadata and controls
215 lines (153 loc) · 4 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
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
:root{
--container: 1100px;
--accent-hover: #0b74da;
--accent: #5d7cf6;
--muted: #6b7280;
--bg: #ffffff;
--radius: 12px;
--gap: 1.25rem;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;margin:0;color:#0f1724;background:var(--bg);line-height:1.5}
.container{max-width:var(--container);margin:0 auto;padding:2rem}
.site-header{
border-bottom:1px solid #eef2f6;
background:#fff;
padding:1rem 0;
position: sticky;
top: 0;
z-index: 100;
}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.logo{
font-weight:700;
text-decoration:none;
color:var(--accent-hover)
height:20vh;
width:15vw
}
.nav a{
margin-left:1rem;
text-decoration:none;
color:var(--muted)}
.nav a:hover{color:var(--accent-hover)}
.hero{padding:4rem 0;background:linear-gradient(180deg,#f8fbff,white)}
.hero h1{font-size:2rem;margin:0 0 .5rem}
.btn{
display:inline-block;
padding:.6rem 1rem;
border-radius:8px;
background:var(--accent);
color:white;
text-decoration:none}
.btn:hover{background:var(--accent-hover)}
.projects .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.card{
border:1px solid #eef2f6;
border-radius:12px;
overflow:hidden;
background:#fff}
.card:hover{
box-shadow:0 4px 12px rgba(0,0,0,.1);
transform:translateY(-4px);
transition:all .3s ease
}
.card a{text-decoration:none;color:inherit}
.card img{width:100%;display:block}
.card-body{padding:1rem}
.skills{display:flex;gap:1rem;list-style:none;padding:0}
.contact form{
display:grid;
gap:.6rem;
max-width:560px;
margin-top:1rem;
border-radius:8px
justify-content:center;
margin-left:auto;
margin-right:auto
}
.contact label{font-weight:600}
.contact input, .contact textarea{ width:100%;font-family:inherit;font-size:1rem;resize:vertical}
.contact button{
padding:.6rem 1rem;
border:none;
border-radius:8px;
background:var(--accent);
color:white;
font-size:1rem;
cursor:pointer}
.contact button:hover{background:var(--accent-hover)}
input,textarea{padding:.6rem;border:1px solid #e6e9ef;border-radius:8px}
.site-footer{padding:1rem 0;text-align:center;color:var(--muted);font-size:.9rem}
#contact {
padding: 80px 40px;
text-align: center;
background-color: var(--primary-color);
color: var(--text-color);
}
#contact h2 {
font-size: 36px;
margin-bottom: 20px;
color:var(--text-color)
}
/* Container styling for alignment (optional) */
.contact-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-top: 20px;
}
/* Base styling for all buttons */
.social-btn {
display: inline-block;
padding: 10px 20px;
color: white;
text-decoration: none;
border-radius: 5px;
font-size: 16px;
text-align: center;
transition: background-color 0.3s ease;
min-width: 150px; /* Ensures consistent width */
}
.social-btn i {
margin-right: 8px; /* Space between icon and text */
}
/* Specific colors for each service */
.whatsapp {
background-color: #25D366; /* WhatsApp brand color */
}
.instagram {
/* Instagram uses a gradient, a solid color works too */
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.email {
background-color: #D44638; /* Common email red/orange */
}
.facebook {
background-color: #1877F2; /* Facebook brand color */
}
/* Hover effects */
.whatsapp:hover {
background-color: #128C7E;
}
.instagram:hover {
filter: brightness(1.1); /* Slightly brighter on hover */
}
.email:hover {
background-color: #b03a2e;
}
.facebook:hover {
background-color: #0c67e1;
}
footer .container {
display: flex;
justify-content: center;
align-items: center;
height: 40px; /* Adjust height as needed */
background-color: var(--accent);
width:100vw;
color:black;
font-weight:600
}
@media (max-width:700px){.hero h1{font-size:1.5rem}.container{padding:1rem}}