11// importing needs
2- @import url (' https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap' );
3- @use ' variables' ;
4- @use ' keyframes' ;
2+ @import url (" https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap" );
3+ @use " variables" ;
4+ @use " keyframes" ;
5+ @use " styles/pages/home" ;
6+ @use " styles/components/fixed-backg" ;
7+
58@font-face {
6- font-family : ' sansation' ;
9+ font-family : " sansation" ;
710 src : url (styles/fonts/Sansation_Regular.ttf );
811}
912
1013// setting global font-size and selection color
11- html {
14+ html {
1215 font-size : 16px ;
1316}
14- ::selection {
17+ ::selection {
1518 color : rgb (84 , 160 , 84 );
1619}
1720
1821// setting global variables
1922:root {
2023 // font sizes
21- --big-font : 2.5rem ;
24+ --big-font : 2.5rem ;
2225 --bigger-font : 3rem ;
23- --less-big-font : 1.8rem ;
26+ --less-big-font : 1.8rem ;
2427 --little-big-font : 1.1rem ;
25- --big-paragraph : 1.5rem ;
28+ --big-paragraph : 1.5rem ;
2629 --bigger-paragraph : 1.85rem ;
2730
28- // colors
29- --dark-background :#051400c2 ;
31+ // colors
32+ --dark-background : #051400c2 ;
3033 --less-dark-background : #05140091 ;
31- --primary-green :#2e964d ;
34+ --primary-green : #2e964d ;
3235 // #2e964d
33- --primary-transparent-green :#2e964dd0 ;
36+ --primary-transparent-green : #2e964dd0 ;
3437 // #0a7700b6;
35- --secondary-green :#0ea700 ;
38+ --secondary-green : #0ea700 ;
3639 --primary-white : white ;
3740 --dark-green : #345308 ;
3841 --white-layer : rgba (255 , 255 , 255 , 0.89 );
3942
4043 // fonts
41- --nav-font : ' Montserrat' , sans-serif ;
44+ --nav-font : " Montserrat" , sans-serif ;
4245}
4346
4447// start template
45- * {
46- margin : 0 ;
47- padding : 0 ;
48+ * {
49+ margin : 0 ;
50+ padding : 0 ;
4851 box-sizing : border-box ;
4952}
5053
51- body {
52- position : relative ;
53- z-index : 1 ;
54- line-height : 1.8em ;
55- font-family : ' Roboto' ;
54+ body {
55+ position : relative ;
56+ z-index : 1 ;
57+ line-height : 1.8em ;
58+ font-family : " Roboto" ;
5659 overflow-x : hidden ;
5760 background-color : var (--primary-green );
5861}
5962
60-
6163// custom fonts and container
6264.container {
63- width : 80% ;
64- max-width : 1200px ;
65- margin : auto ;
65+ width : 80% ;
66+ max-width : 1200px ;
67+ margin : auto ;
6668}
6769
68- h1 {
70+ h1 {
6971 font-size : var (--big-font );
70- font-weight :700 ;
72+ font-weight : 700 ;
7173}
7274
73- h2 {
75+ h2 {
7476 font-size : var (--less-big-font );
7577 font-weight : 600 ;
7678}
77- h3 {
78- font-size :var (--little-big-font );
79+ h3 {
80+ font-size : var (--little-big-font );
7981 font-weight : 600 ;
8082}
8183
82- h1 ,h2 ,h3 {
84+ h1 ,
85+ h2 ,
86+ h3 {
8387 font-family : var (--nav-font );
8488 line-height : 1.1em ;
8589 padding-bottom : 10px ;
8690 & .title {
87- text-align :center ;
91+ text-align : center ;
8892 }
8993}
9094
91- .App {
92- & > div {
93- opacity :0 ;
95+ .App {
96+ & > div {
97+ opacity : 0 ;
9498 animation : back- to- normal 500ms ease forwards ;
9599 }
96- & > .fixed-backg {
100+ & > .fixed-backg {
97101 opacity : 1 ;
98102 animation : none ;
99103 }
100104}
101105
102106// reducing global font-size on mobile
103- @media (max-width : 750px ){
104- html {
105- font-size : 15px
107+ @media (max-width : 750px ) {
108+ html {
109+ font-size : 15px ;
106110 }
107111}
108112
109- // scroll bar
113+ // scroll bar
110114/* width */
111115::-webkit-scrollbar {
112116 width : 10px ;
@@ -127,106 +131,112 @@ h1,h2,h3{
127131 background : var (--secondary-green );
128132}
129133
130- .App {
134+ .App {
131135 transition : transform 1000ms ease 200ms ;
132136 transform-origin : top ;
133137 overflow-x : hidden ;
134138}
135- .App.invisible {
139+ .App.invisible {
136140 transform : scale (0.5 ) translateY (150vh );
137141}
138142
139- .loading {
143+ .loading {
140144 color : white ;
141145 position : fixed ;
142- top :0 ; left :0 ;
143- width : 100% ;height : 100vh ;
146+ top : 0 ;
147+ left : 0 ;
148+ width : 100% ;
149+ height : 100vh ;
144150 z-index : 200 ;
145151 // rgb(0, 22, 7)
146- display : flex ;
152+ display : flex ;
147153 justify-content : center ;
148154 align-items : center ;
149155 pointer-events : none ;
150-
151- transition :transform 1000ms ease ;
152- & .loaded {
156+
157+ transition : transform 1000ms ease ;
158+ & .loaded {
153159 transform : translateY (-100% );
154160 }
155- svg {
161+ svg {
156162 font-size : 2rem ;
157163 animation : rotate- 360 2000ms ease infinite ;
158164 }
159-
160165}
161166
162- .loading-video {
163- position : fixed ;
164- width : 100% ; height : 100vh ;
165- top :0 ; left : 0 ;
166- display :flex ; justify-content : center ; align-items : center ;
167+ .loading-video {
168+ position : fixed ;
169+ width : 100% ;
170+ height : 100vh ;
171+ top : 0 ;
172+ left : 0 ;
173+ display : flex ;
174+ justify-content : center ;
175+ align-items : center ;
167176 background-color : var (--primary-green );
168177 transition : transform 2000ms ease ;
169- video {
178+ video {
170179 width : 100% ;
171180 max-height : 100vh ;
172181 }
173- & .ended {
182+ & .ended {
174183 transform : translateY (-100% );
175184 }
176185 .enter-button {
177186 position : absolute ;
178187 bottom : 10% ;
179188 left : 50% ;
180- transform : translateX (-50% );
189+ transform : translateX (-50% );
181190 background : none ;
182191 color : var (--primary-green );
183- border :none ;
192+ border : none ;
184193 width : 80px ;
185194 height : 80px ;
186195 border-radius : 50% ;
187196 font-weight : 600 ;
188197 font-size : var (--little-big-font );
189198 cursor : pointer ;
190199 z-index : 1 ;
191- & ::after {
192- content : ' ' ;
193- position : absolute ;
194- top : 0 ; left : 0 ;
195- width : 100% ;height : 100% ;
200+ & ::after {
201+ content : " " ;
202+ position : absolute ;
203+ top : 0 ;
204+ left : 0 ;
205+ width : 100% ;
206+ height : 100% ;
196207 background-color : white ;
197208 z-index : -1 ;
198209 border-radius : 50% ;
199210 transition : transform 300ms ease ;
200211 }
201- & :hover ::after {
212+ & :hover ::after {
202213 transform : scale (1.2 );
203214 }
204215 }
205-
206216}
207217
208- .title {
218+ .title {
209219 position : relative ;
210- & ::after {
211- content :' ' ;
212- position : absolute ;
213- top :100% ;
214- left :0 ;
215- width : 0 ;
216- height : 3px ;
217- background-color : white ;
218- transition : width 700ms ease ;
220+ & ::after {
221+ content : " " ;
222+ position : absolute ;
223+ top : 100% ;
224+ left : 0 ;
225+ width : 0 ;
226+ height : 3px ;
227+ background-color : white ;
228+ transition : width 700ms ease ;
219229 }
220230 & .visible ::after {
221- width : 100% ;
231+ width : 100% ;
222232 }
223233}
224234
225- .undisplayed {
226- display :none ;
235+ .undisplayed {
236+ display : none ;
227237}
228238
229- .dark-back {
239+ .dark-back {
230240 background-color : var (--dark-background );
231241}
232242
@@ -241,6 +251,3 @@ h1,h2,h3{
241251.Upcoming {
242252 color : rgb (52 , 52 , 167 );
243253}
244-
245- @use ' styles/pages/home' ;
246- @use ' styles/components/fixed-backg'
0 commit comments