-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
236 lines (211 loc) · 4.78 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
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
navbar{
background-color: white;
}
.nav-link{
color: black;
font-size: 1rem;
font-weight: 700;
cursor: pointer;
text-decoration: none;
}
.nav-link:hover{
color: rgb(250, 250, 250);
background-color: black;
}
/* logo */
.navbar-brand{
font-size: 1.25rem;
font-weight: 800;
color:black;
cursor: pointer;
text-decoration: none;
}
/* main section */
.main {
background: url('image/pixelcut-export.jpeg') no-repeat;
background-size: cover;
width: 100%;
height: 95vh;
display: flex;
align-items: center; /* Centers content vertically */
justify-content: flex-end; /* Aligns content to the right */
padding: 0 2rem; /* Adds padding to avoid content sticking to edges */
}
.main .container {
display: flex;
justify-content: flex-end; /* Align content in the container to the right */
width: 100%;
padding-right: 20px; /* Add space from the right edge */
}
/* Styling for h3 (Main Heading) */
.main h3 {
font-size: 4.4rem;
font-weight: 700;
margin: 0;
text-align: right; /* Align text to the right */
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Adds a shadow for depth */
color: rgb(233, 20, 109); /* Gives a vibrant color */
transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color change */
}
.main h3:hover {
color: rgb(177, 23, 87); /* Darker shade when hovered */
transform: translateX(10px); /* Slight movement effect */
}
/* Styling for h6 (Subheading) */
.main h6 {
font-size: 1.4rem;
text-transform: uppercase;
line-height: 1;
border-bottom: 3px solid rgb(233, 20, 109);
width: 40%;
text-align: right; /* Align text to the right */
margin-top: 10px; /* Adds space between h3 and h6 */
color: rgb(100, 100, 100); /* Lighter gray color */
letter-spacing: 1px; /* Adds some spacing for a refined look */
transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color change */
}
.main h6:hover {
color: rgb(233, 20, 109); /* Change to the same color as h3 on hover */
transform: translateX(5px); /* Slight movement effect */
}
.main .bt1, .main .bt2 {
height: 55px;
width: 138px;
border-radius: 5px;
font-weight: bold;
transition: 0.5s;
margin-top: 20px;
}
.main .bt1 {
background-color: rgb(233, 20, 109);
color: white;
border: none;
}
.main .bt1:hover {
background-color: rgb(177, 23, 87);
}
.main .bt2 {
background-color: transparent;
color: rgb(233, 20, 109);
border: 1px solid rgb(233, 20, 109);
}
.main .bt2:hover {
background-color: rgb(233, 20, 109);
color: white;
}
.about img{
-webkit-box-shadow: 7px 10px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 7px 10px 5px 0px rgba(0,0,0,0.75);
box-shadow: 7px 10px 5px 0px rgba(0,0,0,0.75);
}
h1{
font-size: 3rem;
font-weight: 900;
}
.btn1{
height: 40px;
width: 145px;
outline:none;
border: none;
background-color: black;
color: wheat;
border-radius: 4px;
}
.btn1:hover{
background-color: transparent;
color: black;
border: 1px solid black;
transition: 0.5s;
}
.btn2{
height: 40px;
width: 145px;
outline:none;
border: none;
border: 1px solid black;
color: black;
border-radius: 4px;
}
.btn2:hover{
background-color: black;
color: white;
border:none;
transition: 0.5s;
}
.card{
border: none;
outline: none;
-webkit-box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.8);
-moz-box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.8);
box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.8);
}
.card p{
color: grey;
}
.circle{
height: 70px;
width: 70px;
background-color: lightgray;
color: black;
padding: 12px;
font-size: 30px;
border-radius: 50px;
display: inline-block;
margin-bottom: 20px;
}
.card:hover .circle{
background-color: red;
color: white;
transition: 0.5s;
}
/* portfolio */
.control ul li{
list-style: none;
background-color: black;
padding: 5px 15px;
color: white;
display: inline-block;
cursor: pointer;
letter-spacing: 2px;
}
.item{
position: relative;
}
.item:hover{
-webkit-box-shadow: 3px 3px 8px 1px rgba(0,0,0,0.75);
-moz-box-shadow: 3px 3px 8px 1px rgba(0,0,0,0.75);
box-shadow: 3px 3px 8px 1px rgba(0,0,0,0.75);
transition: 0.5s;
}
.item span{
position: absolute;
top: 40%;
left: 45%;
font-size: 40px;
color: black;
cursor: pointer;
opacity: 0;
}
.item:hover span{
opacity: 1;
transition: 0.5s;
}
.item:before{
content: "";
left: 0;
right: 0;
height: 100%;
width: 100%;
background-color: rgba(240, 238, 228, 0);
opacity: 1;
position: absolute;
}
.item:hover:before{
opacity: 1;
transition: 0.3s;
}