-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
213 lines (179 loc) · 3.32 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
body{
font-family: 'Poppins', sans-serif;
}
/* header */
header{
height: 100vh;
background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .5)), url(images/photo-camera-3357991_1920.jpg) no-repeat center center;
}
/* navbar */
.nav-menu{
background: linear-gradient(rgba(0, 0, 0, .3), rgba(0,0,0, .5));
padding: 30px;
transition: all .7s;
}
.menu-item{
font-size: 13px;
letter-spacing: 1px;
color: #eee;
transition: color .5s
}
.menu-item:hover{
color: #168ee4;
}
.active{
color: #0fa0e4;
}
.line1, .line2, .line3 {
width: 2rem;
height: 3px;
margin: 5px;
}
*/
/* button toggler X transformation */
.line1{
transform: rotate(-45deg) translate(-5px, 6px);
}
.line2{
opacity: 1;
}
.line3{
transform: rotate(45deg) translateX(-5px, -6px);
}
/*end of toggler transformation*/
.custom-navbar{
padding: 5px 30px;
background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0, .7));
}
/* end of navbar */
/* banner */
.banner{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
}
.banner-heading{
animation-name: anim;
animation-duration: 2s;
}
.banner-par{
animation-name: anim;
animation-duration: 2s;
animation-delay: .5s;
animation-fill-mode: backwards;
}
@keyframes anim {
0% {
transform: translateX(-100px) ;
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
/* end of banner */
/* end of header */
/* Mission */
.mission{
background: #151f20;
}
.underline{
width: 150px;
border: 3px solid #eee;
margin: auto;
}
.fromLeft{
animation-name: fromLeft;
animation-duration: 3s;
}
.fromRight{
animation-name: fromLeft;
animation-duration: 3s;
}
/* animation for image */
@keyframes fromLeft {
0% {
transform: translateX(-120px) ;
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
/* text animation */
@keyframes fromRight {
0% {
transform: translateX(30px) ;
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
/* End of Mission */
/* Collection */
.card-shadow{
box-shadow: 5px 8px 20px #444;
}
.heading{
position: absolute;
top: 70%;
right: 0;
font-size: 14px;
letter-spacing: 1px;
background: #222;
width: 70%;
cursor: pointer;
opacity: .7;
transition: all .5s;
}
.heading:hover{
opacity: 1;
}
/* End of collection */
/* Gallery */
.underline-dark{
width: 150px;
border: 3px solid #888;
margin: auto;
}
.gallery-list-item{
color: #777;
cursor: pointer;
user-select: none;
}
.active-item{
color: rgb(6, 156, 216);
}
/* End of Gallery */
/* Customers */
.customers{
background: #151f20;
}
/* End of Customers */
/* Pricing */
.card-1{
background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .5)), url(images/lens-1209823_640.jpg) center no-repeat /cover;
box-shadow: 7px 18px 50px #555;
}
.card-list-item{
border-bottom: 1px groove #eee;
width: 55%;
margin: auto;
}
.price-card-button{
background: #f5593d;
width: 130px;
border-radius: 25px;
box-shadow: 5px 8px 18px #000;
transition: all .2s;
}
.price-card-button:hover{
background: #f9793d;
}
/* End of Pricing */