-
Notifications
You must be signed in to change notification settings - Fork 0
/
homepage.css
116 lines (116 loc) · 1.9 KB
/
homepage.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
@font-face {
font-family: quickstarter;
src: url(./assets/Quick\ Starter.ttf);
}
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
color: white;
}
body {
height: 100vh;
width: 100vw;
overflow: hidden;
}
#parent {
background: radial-gradient(
circle,
rgba(53, 53, 53, 1) 0%,
rgba(32, 32, 32, 1) 40%
);
/* background-color: rgb(32,32,32); */
display: flex;
flex-direction: row;
align-items: center;
/* padding-top: 50%; */
justify-content: center;
height: 100vh;
width: 100vw;
}
#heading {
/* margin-top: 40vh; */
z-index: 2;
text-align: end;
font-size: 80px;
background: linear-gradient(90deg, #f9dec9, #ffba86, #ffbb5c, #ff9b50);
background-size: 300%;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-background-clip: text;
font-family: quickstarter;
font-weight: 700;
letter-spacing: 3px;
animation: gradient-heading 15s linear infinite alternate;
}
@keyframes gradient-heading {
0% {
background-position: 0%;
}
100% {
background-position: 300%;
}
}
#gun {
/* position: absolute; */
z-index: 0;
opacity: 0.4;
}
#gun img {
height: 700px;
width: 500px;
}
#touch {
position: absolute;
bottom: 2%;
font-size: 18px;
letter-spacing: 2px;
}
@media (max-width: 450px) {
body {
overflow: hidden;
}
#heading {
font-size: 20px;
}
#gun img {
width: 150px;
height: 200px;
}
#touch {
font-size: 12px;
bottom: 5%;
}
}
@media (min-width: 451px) and (max-width: 700px) {
body {
overflow: hidden;
}
#heading {
font-size: 30px;
}
#gun img {
width: 200px;
height: 300px;
}
#touch {
font-size: 12px;
bottom: 5%;
}
}
@media (min-width: 701px) and (max-width: 1100px) {
body {
overflow: hidden;
}
#heading {
font-size: 50px;
}
#gun img {
width: 300px;
height: 450px;
}
#touch {
font-size: 12px;
bottom: 5%;
}
}