-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
215 lines (213 loc) · 4.07 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
* {
margin: 0;
padding: 0;
}
html{
scroll-behavior: smooth;
}
.btn{
color: #fbf5f5;
font-size: 15px;
text-transform: uppercase;
letter-spacing: 2px;
padding: 16px 40px;
border-radius: 500px;
display: inline-block;
font-weight: 500;
transition: all .4s ease-in-out;
background-size: 152% 100%;
background: rgb(218, 32, 203);
border: 2px solid #fff;
}
.btn:hover{
background: transparent;
border-color: rgb(255, 0, 191);
color: rgb(218, 32, 150);
}
.navbar {
display: flex;
justify-content: center;
height: 50px;
align-items: center;
position: sticky;
top: 0;
}
.navbar::before{
content: "";
position: absolute;
background-color: rgba(0,0,0,0.5);
height: 100%;
width: 100%;
z-index: -1;
}
.navbar ul{
display:flex;
list-style: none;
margin-right: 10px;
}
.navbar ul li {
font-size: 1.1 rem;
}
.navbar ul li a{
padding: 5px 20px;
text-decoration:none;
color: white;
}
.navbar ul li a:hover{
border-bottom: 2px solid rgb(255, 0, 132);
}
#home{
display: flex;
flex-direction: column;
height: 700px;
justify-content: center;
align-items: center;
background-color: rgba(0,0,0,0.5);
color: white;
}
#home::before{
content: "";
position: absolute;
top: 0;
left: 0;
background: url("https://builtin.com/cdn-cgi/image/f=auto,quality=80,width=752,height=435/https://builtin.com/sites/www.builtin.com/files/styles/byline_image/public/2022-12/laptop-agencies-consulting-website-development-companies.png") no-repeat center center/cover;
height: 900px;
width: 100%;
z-index: -2;
opacity: .8;
}
.heading{
color: white;
font-size: 3rem;
font-family: Georgia, 'Times New Roman', Times, serif;
text-align: center;
transform: scale(1,1.3);
}
#portfolio{
display: flex;
flex-direction: column;
background-color: rgb(222, 164, 209);
}
#portfolio h1{
margin: 60px;
}
.gallery{
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.gallery img{
width: 360px;
height: 500px;
padding: 10px;
margin: 50px;
}
.gallery img:hover{
background-color: rgb(226, 18, 157);
cursor: pointer;
}
#services{
display: flex;
flex-direction: column;
background-color: rgb(159, 121, 142);
}
#services h2{
margin: 30px;
}
#services h1{
margin: 40px;
}
.columns{
display: grid;
grid-template-columns: auto auto;
padding-left: 50px;
}
.box{
height: 200px;
width: 500px;
background-color:rgb(59, 63, 45);
border-radius: 50px;
margin: 20px;
padding: 50px;
}
.box h2{
color: rgb(238, 10, 188);
font-size:2rem;
margin-top:40px;
}
.box p{
color: white;
font-size: 1.1 rem;
}
#about{
display: flex;
flex-direction: column;
height: 800px;
background-color: rgb(225,225,227);
}
#about h1{
color: rgb(129, 52, 112);
margin: 60px;
}
.about{
display: flex;
}
.about img{
width:500px;
height:500px;
padding: 0px 30px;
}
.name{
padding: 20px;
}
.name h2{
font-size: 2rem;
}
.name p{
font-size: 1.2rem;
}
#contact{
display: flex;
flex-direction: column;
background-color: rgb(226, 188, 212);
}
#contact h1{
margin: 80px;
}
.form{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.input{
padding: 20px 15px;
margin: 20px;
width: 30%;
border-radius: 25px;
}
#message{
margin: 15px;
padding:10px;
border-radius: 20px;
}
#submit{
padding: 15px 20px;
margin: 30px;
width: 15%;
border-radius: 20px;
background-color: rgb(165, 74, 159);
color: white;
border: none;
outline: none;
}
#submit:hover{
background-color: rgb(234, 20, 173);
color: white;
cursor: pointer;
}
footer{
background-color: rgb(165, 74, 159);
height: 50px;
text-align: center;
}