-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (105 loc) · 2 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
* {
margin: 0;
padding: 0;
user-select: none;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background: #0a0b1b;
}
h3 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin-top: -100px;
color: #f7f8ff;
font-size: 5em;
}
section {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: #000000;
color: #fff;
clip-path: circle(0px at center center);
/* clip-path: circle(300px at center center); */
}
.container {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 200vh;
padding: 100px;
background: #000000;
color: #fff;
}
.container h2 {
font-size: 2.5em;
margin-bottom: 20px;
}
.innerText {
position: fixed;
top: 50%;
left: 100%;
transform: translateY(-50%);
white-space: nowrap;
z-index: 1;
font-size: 10vw;
color: #fff;
text-align: center;
width: 100%;
}
.text {
position: fixed;
top: 50%;
left: 100%;
transform: translateY(-50%);
white-space: nowrap;
z-index: 1;
font-size: 10vw;
color: transparent;
-webkit-text-stroke: 2px #ffffff;
text-align: center;
width: 100%;
}
button {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
position: absolute;
bottom: 0;
font-size: 35px;
font-weight: bold;
width: 250px;
height: 50px;
border-radius: 25px;
}
button a {
text-decoration: none;
color: #000000;
}
@media screen and (min-width: 300px) and (max-width: 800px) {
.innerText, .text {
font-size: 3.5em;
}
.container p {
font-size: 1.5em;
font-weight: 500;
letter-spacing: 1.5px;
width: 100%;
}
.container h2 {
font-size: 2em;
margin-bottom: 50px;
}
}