-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
189 lines (138 loc) · 4.35 KB
/
index.css
File metadata and controls
189 lines (138 loc) · 4.35 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
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
text-decoration: none;
}
body{
background: #fff;
}
.page-width{
/* background: red; */
width: 100%;
max-width: 1100px;
height: 100vh;
margin: auto;
padding: 0 10px;
display: flex;
justify-content: center;
align-items: center;
@media screen and (max-width: 768px) {
padding: 0;
}
.main-wrapper{
/* background: orange; */
width: 100%;
display: grid;
grid-template-columns: 1fr;
row-gap: 80px;
justify-content: center;
.intelligence_gradient_container{
/* background: green; */
width:100%;
height:200px;
overflow:hidden;
display:flex;
justify-content:center;
position:relative;
>span{
display: block;
width:100%;
max-width:800px;
height:350px;
background-image: linear-gradient(90deg, #89aaf8 20%, #b770fc 40%, #d24dc3 60%, #e85560 80%, #ee7b6b 100%);
background-size: 0% 0%;
background-repeat:no-repeat;
background-position:top center;
filter:blur(35px);
/* filter:blur(0px); */
position:absolute;
top:-50px;
transition: all 1.2s ease-in-out;
}
}
.intelligence_main-heading{
margin-top: -100px;
@media screen and (max-width: 768px) {
padding: 0 10px;
}
>h2{
font-family: "Inter", sans-serif;
text-align: center;
font-size: 3.8em;
font-weight: 600;
/* background-image: linear-gradient(90deg, #89aaf8 10%, #b770fc 40%, #d24dc3 60%, #e85560 80%, #ee7b6b 100%); */
background: linear-gradient(90deg, #89aaf8 35%, #b770fc 55%, #d24dc3 65%, #e85560 88%, #ee7b6b 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
opacity: 0;
transform: translateY(50px);
transition: all .4s linear;
}
>h2.showText{
opacity: 1;
transform: translateY(0px);
}
}
.intelligence_btns_container{
width: 100%;
display: grid;
grid-template-columns: auto;
gap: 100px;
justify-content: center;
@media screen and (max-width: 768px) {
padding: 0 10px;
}
>button.control_btns{
--bg: #647dc3;
--text-color: #fff;
position: relative;
width: 150px;
border: none;
background: var(--bg);
color: var(--text-color);
padding: 1em;
font-weight: bold;
text-transform: uppercase;
transition: 0.2s;
border-radius: 5px;
opacity: 0.8;
letter-spacing: 1px;
box-shadow: #586bb8 0px 7px 2px, #000 0px 8px 5px;
opacity: 0;
transform: translateY(50px);
transition: all .6s linear;
&:hover{
opacity: 1;
cursor: pointer;
}
&:active{
top: 4px;
box-shadow: #586bb8 0px 3px 2px,#000 0px 3px 5px;
}
}
>button.showText{
opacity: 1;
transform: translateY(0px);
}
}
.note{
text-align: center;
font-family: "Inter", sans-serif;
color: #647dc3;
font-size: 1em;
opacity: 0;
transform: translateY(50px);
transition: all .8s linear;
@media screen and (max-width: 768px) {
padding: 0 10px;
}
}
p.showText{
opacity: 1;
transform: translateY(0px);
}
}
}