1
+ @font-face {
2
+ font-family : 'Xilosa' ;
3
+ src : url ('../fonts/xilosa.eot' );
4
+ src : url ('../fonts/xilosa.eot' ) format ('embedded-opentype' ),
5
+ url ('../fonts/xilosa.woff' ) format ('woff' ),
6
+ url ('../fonts/xilosa.ttf' ) format ('truetype' ),
7
+ url ('../fonts/xilosa.svg#Xilosa' ) format ('svg' );
8
+ }
9
+
10
+ body {
11
+ width : 100% ;
12
+ height : 100% ;
13
+ /* background-color: #D70800; */
14
+ font-weight : 400 ;
15
+ margin : 0 ;
16
+ min-height : 100vh ;
17
+ padding : 0 ;
18
+ position : relative;
19
+ font-family : "Saira" , "Helvetica Neue" , "Helvetica" , "sans-serif" ;
20
+ }
21
+
22
+ h1 , h2 , h3 , h4 , h5 , h6 {
23
+ margin : 0 ;
24
+ }
25
+
26
+ main {
27
+ width : 100% ;
28
+ height : 100% ;
29
+ min-height : 100vh ;
30
+ position : relative;
31
+ overflow : hidden;
32
+ }
33
+
34
+ main , main div # main-wrapper {
35
+ display : flex;
36
+ flex-direction : column;
37
+ justify-content : center;
38
+ align-items : center;
39
+ }
40
+
41
+ .text-center {
42
+ text-align : center;
43
+ }
44
+
45
+ .main-font-family {
46
+ font-family : 'Xilosa' ;
47
+ }
48
+
49
+ img # main-logo {
50
+ max-width : 200px ;
51
+ z-index : 10 ;
52
+ margin-bottom : 30px ;
53
+ }
54
+
55
+ h1 # main-title {
56
+ font-size : 6rem ;
57
+ margin-bottom : 10px ;
58
+ }
59
+
60
+ h1 # main-title span {
61
+ padding : 0 13px ;
62
+ transition : all 0.5s ease;
63
+ }
64
+
65
+ .main-description {
66
+ cursor : default;
67
+ z-index : 10 ;
68
+ }
69
+ .main-description * {
70
+ transition : all 0.5s ease;
71
+ }
72
+ # main-wrapper : hover span .year {
73
+ color : # fff ;
74
+ background-color : # 000000
75
+ }
76
+ .rainbow-text {
77
+ border-width : 3px ;
78
+ border-style : solid;
79
+ border-right : 0 ;
80
+ border-top : 0 ;
81
+ border-left : 0 ;
82
+ border-image :
83
+ linear-gradient (124deg , # ff2400, # e81d1d, # e8b71d, # 1de840, # 1ddde8, # 2b1de8, # dd00f3, # dd00f3 ) 1 1 100% ;
84
+ }
85
+
86
+ .main-description h2 {
87
+ margin-top : 20px ;
88
+ }
89
+
90
+ .decorations {
91
+ position : absolute;
92
+ height : 100% ;
93
+ top : 0 ;
94
+ bottom : 0 ;
95
+ display : flex;
96
+ flex-direction : column;
97
+ justify-content : space-around;
98
+ }
99
+
100
+ .decorations img {
101
+ max-width : 300px ;
102
+ z-index : 0 ;
103
+ opacity : 0.4 ;
104
+ }
105
+
106
+ # decoration-left img {
107
+ animation : bounceRibbonsLeft 2s infinite;
108
+ animation-timing-function : linear;
109
+ }
110
+
111
+ # decoration-left {
112
+ left : -25px
113
+ }
114
+
115
+ # decoration-right img {
116
+ animation : bounceRibbonsRight 2s infinite;
117
+ animation-timing-function : linear;
118
+ }
119
+
120
+ # decoration-right {
121
+ right : -30px
122
+ }
123
+
124
+ # decoration-right # right-ribbon1 {
125
+ max-width : 100px ;
126
+ align-self : flex-end;
127
+ }
128
+
129
+ # decoration-right # right-ribbon3 {
130
+ max-width : 150px ;
131
+ align-self : flex-end;
132
+ }
133
+
134
+ @keyframes bounceRibbonsLeft {
135
+ 0% {
136
+ transform : translateY (0 )
137
+ }
138
+ 30% {
139
+ transform : translateY (5px ) rotateZ (-20deg );
140
+ }
141
+ 60% {
142
+ transform : translateY (10px ) rotateZ (-10deg ) translateX (10px );
143
+ }
144
+ 100% {
145
+ transform : translateY (0 );
146
+ }
147
+ }
148
+
149
+ @keyframes bounceRibbonsRight {
150
+ 0% {
151
+ transform : translateY (0 )
152
+ }
153
+ 30% {
154
+ transform : translateY (-5px ) rotateZ (20deg );
155
+ }
156
+ 60% {
157
+ transform : translateY (-10px ) rotateZ (10deg ) translateX (-10px );
158
+ }
159
+ 100% {
160
+ transform : translateY (0 );
161
+ }
162
+ }
163
+
164
+
165
+ @media (max-width : 768px ) {
166
+ .decorations img {
167
+ max-width : 200px ;
168
+ }
169
+ img # main-logo {
170
+ max-width : 150px ;
171
+ margin-bottom : 10px
172
+ }
173
+ h1 # main-title {
174
+ font-size : 4rem ;
175
+ }
176
+ h1 # main-title span {
177
+ padding : 10px 13px 0px 13px
178
+ }
179
+ }
0 commit comments