-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
128 lines (110 loc) · 2.09 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
119
120
121
122
123
124
125
126
127
128
@font-face {
font-family: Founder;
src: url(FoundersGroteskCondensed-Bold.ttf);
}
@font-face {
font-family: CardinalR;
src: url(cardinalfruitweb-regular.ttf);
}
@font-face {
font-family: Cardinali;
src: url(cardinalfruitweb-italic.ttf);
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body{
width: 100%;
height: 100%;
}
.main-p{
width: 100%;
height: 100vh;
background-color: rgb(61, 61, 61);
}
#main{
position: relative;
width: 100%;
height: 100vh;
background-color: aquamarine;
overflow: hidden;
}
#top{
position: absolute;
top: 0%;
width: 100%;
height: 50vh;
background-color: rgb(255, 255, 255);
z-index: 9;
overflow: hidden;
}
#center{
position: relative;
width: 100%;
height: 100vh;
transform-origin: center;
background-color: rgb(0, 0, 0);
transition: all cubic-bezier(0.19, 1, 0.22, 1)1s;
overflow: hidden;
}
#bottom{
position: absolute;
bottom: 0;
width: 100%;
height: 50vh;
background-color: rgb(255, 255, 255);
overflow: hidden;
}
#main h1{
font-family: Founder;
font-size: 22vw;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#top-h1{
bottom: 50%;
}
#bottom-h1{
top: 0% !important;
}
.content{
margin-top: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
color: #fff;
gap: 4vh;
}
.content h4{
font-size: 1vw;
font-family: Founder;
}
.content h3{
width: 22%;
font-size: 3vw;
font-family: CardinalR;
text-align: center;
font-weight: 400;
}
.content .btn{
display: flex;
align-items: center;
justify-content: center;
width: 7vw;
height: 2vw;
border-radius: 50px;
background-color: #fff;
color: #0d0d0d;
font-family: Founder;
}
.content h2{
font-size: 20vw;
font-family: Founder;
}