-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstyle.css
112 lines (101 loc) · 2.36 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
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
html {
font-size: 62.5%;
}
.main-sec {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.4))), url(./shubham-dhage-ykFTt5Dq1RU-unsplash.jpg);
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%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.main-head {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
text-align: center;
}
.main-head h2 {
background: -webkit-linear-gradient(#e7e7e7, #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;
}
.main-head .syncro-cont {
width: 100%;
max-height: 100%;
padding-bottom: 3rem;
}
.main-head .syncro-cont 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);
-webkit-transition: all 0.3s ease;
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%;
}
.syncro-cont img {
width: 100%;
height: 100%;
scale: 1.5;
}
}
/*# sourceMappingURL=style.css.map */