-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
155 lines (149 loc) · 2.72 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
body{
background-color:#000000;
color:white;
font-family: "Bebas Neue", sans-serif;
overflow-x: hidden;
padding:10px;
}
.nav{
display:flex;
justify-content: end;
gap:30px;
flex-basis: 1;
}
.navSections{
margin-top:10px;
}
a{
text-decoration: none;
color:#d3d3d3;
}
.navButton{
padding:10px 20px 10px 20px;
background-color:black;
border:2px solid green;
border-radius:20px;
color:#d3d3d3;
box-shadow:2px 2px 8px #77ff00;
}
.relative_heading{
position:absolute;
inset:350px 0px 0px 500px;
}
.heading{
postion:absolute;
inset:10px 0px 0px 0px;
font-size: 500%;
z-index: 1;
width:100%;
white-space:nowrap;
overflow:hidden;
/* border-right:2px solid #fffbfb; */
animation:
typing 3s steps(29);
}
span{
padding:2px;
animation:blinking 2s steps(3, start) infinite;
}
@keyframes typing {
0%{
width:0%;
border-right:2px solid white;
}
95%{
border-right:2px solid white;
}
100%{
width:100%;
border-right:0px solid transparent;
}
}
@keyframes blinking{
50%{
visibility:visible;
}
100%{
visibility: hidden;
}
}
.heading::after{
position:absolute;
inset:66px 0px 0px 0px;
content:attr(data-content);
z-index:2;
/* color:#d3d3d34c */
-webkit-text-stroke:1px #ffffff;
color:transparent;
}
.border_right{
display:inline-block;
}
.responsive-video{
width: 100%;
height: auto;
max-width: 100%;
display: block;
overflow:hidden;
}
.video-container {
position: relative;
width: 50%;
height: auto;
overflow: hidden;
padding: 0;
margin: auto;
z-index: ins;
}
.slider_portfolio_heading{
font-size: 80px;
text-align: center;
}
.constainer{
padding:2rem;
}
.slider_wrapper{
position:relative;
max-width:78rem;
margin:0 auto;
}
.slider{
display:flex;
height:80vh;
width: 1300px;
overflow-x:auto;
scroll-snap-type:x mandatory;
scroll-behavior: smooth;
box-shadow:0.15rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
border-radius:0.8rem;
-ms-overflow-style:none;
scrollbar-width:none;
}
.slider::-webkit-scrollbar {
display: none;
}
.slider img {
flex: 1 0 100%;
scroll-snap-align: start;
object-fit: cover;
}
.slider-nav {
display: flex;
column-gap: 1rem;
position: absolute;
bottom: 1.25rem;
left: 50%;
transform: translateX(-50%);
z-index: 1;
}
.slider-nav a {
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background-color: #fff;
opacity: 0.75;
transition: opacity ease 250ms;
}
.slider-nav a:hover {
opacity: 1;
}