-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstyle.scss
123 lines (109 loc) · 2.42 KB
/
style.scss
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
@mixin flex($justify, $align, $direction) {
display: flex;
justify-content: $justify;
align-items: $align;
flex-direction: $direction;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
html {
font-size: 62.5%;
}
.main-sec {
background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)) ,url(./shubham-dhage-ykFTt5Dq1RU-unsplash.jpg);
background-position: top;
background-repeat: no-repeat;
background-size: cover;
min-height: 100vh;
position: relative;
overflow: hidden;
}
#particles-js {
height: 100vh;
width: 100vw;
}
main {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.main-head {
@include flex(center, center, column);
text-align: center;
h2 {
background: -webkit-linear-gradient(rgb(231, 231, 231), #394a5a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
--min: 2.8rem; /* minimum value */
--val: 5vw; /* preferred value = 4% viewport width */
--max: 6rem;
font-size: clamp(var(--min), var(--val), var(--max));
font-weight: 300;
text-align: center;
font-weight: 800;
width: 100vw;
padding: 0 1rem 2rem 1rem;
}
.syncro-cont {
width: 100%;
max-height: 100%;
padding-bottom: 3rem;
img {
width: 60%;
height: 100%;
}
}
}
a {
position: relative;
padding: 15px 39px;
color: #fff;
margin-top: 2rem;
font-size: 20px;
letter-spacing: 2px;
text-decoration: none;
border-radius: 40px;
background: rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
}
a:hover {
background-color: #fff;
color: black;
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.syncro-cont {
width: 100% !important;
max-height: 100%;
img {
width: 100%;
height: 100%;
scale: 1.5;
}
}
}
// span {
// position: absolute;
// background: #fff;
// transform: translate(-50%, -50%);
// pointer-events: none;
// border-radius: 50%;
// animation: animate 1s linear infinite;
// }
// @keyframes animate {
// 0% {
// width: 0;
// height: 0;
// opacity: 0.2;
// }
// 100% {
// width: 500px;
// height: 500px;
// opacity: 0;
// }
// }
//////////////////////////////////////////////////////////////////