@@ -46,25 +46,25 @@ body {
4646 font-size : var (--font-size );
4747 flex-direction : column;
4848}
49- /* Welcome Section */
49+ /* Welcome Section - Vertical Rotation */
5050.welcome {
51- top : 25 px ;
52- right : 79 px ;
51+ top : 300 px ; /* Adjusted for better visibility */
52+ right : -160 px ; /* Adjusted so it's at the edge */
5353 text-align : center;
54- position : fixed;
54+ position : fixed;
5555 font-family : 'Segoe UI' , sans-serif;
56- color : var (--fg );
5756 font-size : 1.5rem ;
58- width : 38% ;
59- z-index : 400 ;
6057 font-weight : 600 ;
61- padding : 2px 2px ;
58+ width : max-content;
59+ z-index : 400 ;
60+ padding : 10px ;
6261 background : linear-gradient (135deg , # db25b1, # fcc6259d );
6362 color : # fff ;
6463 border-radius : 10px ;
6564 box-shadow : 9px 8px 1px rgba (209 , 49 , 132 , 0.468 );
66- animation : slideDown 2 s ease-out ;
65+ transform : rotate ( -90 deg ) ;
6766}
67+
6868@keyframes slideDown {
6969 0% {
7070 opacity : 0 ;
@@ -85,26 +85,6 @@ body {
8585 display : none;
8686 }
8787
88- .welcome {
89- font-size : 1.5em ;
90- top : 20px ;
91- right : 80px ;
92- text-align : center;
93- position : fixed;
94- font-family : 'Segoe UI' , sans-serif;
95- color : var (--fg );
96- font-size : 1.5rem ;
97- width : 38% ;
98- font-weight : 600 ;
99- padding : 2px ;
100- background : linear-gradient (135deg , # dbb725, # c09e19 );
101- color : # fff ;
102- border-radius : 10px ;
103- box-shadow : 5px 12px 2px rgba (0 , 0 , 0 , 0.714 );
104- animation : fadeIn 1s ease-out;
105-
106- }
107-
10888}
10989
11090
@@ -280,13 +260,23 @@ body {
280260 text-align : center;
281261 margin-bottom : 40px ;
282262}
263+ .welcome-block {
264+ background : rgba (255 , 255 , 255 , 0.05 );
265+ padding : 1.5rem ;
266+ border-radius : 12px ;
267+ box-shadow : 0 6px 24px rgba (0 , 0 , 0 , 0.25 );
268+ backdrop-filter : blur (8px );
269+ max-width : 600px ;
270+ margin : auto;
271+ }
283272
284273.java-logo {
285- width : 60px ;
286274 height : 60px ;
287- margin-bottom : 15px ;
275+ display : block;
276+ margin : 0 auto 1rem ;
288277}
289278
279+
290280.logo h2 {
291281 font-size : 24px ;
292282 font-weight : 600 ;
@@ -890,4 +880,38 @@ caption {
890880 margin-top : 30px ;
891881 padding : 10px 0 ;
892882 border-bottom : 2px solid # 4CAF50 ;
893- }
883+ }
884+ /* Fade + slide in */
885+ @keyframes fadeInUp {
886+ 0% {
887+ opacity : 0 ;
888+ transform : translateY (30px );
889+ }
890+ 100% {
891+ opacity : 1 ;
892+ transform : translateY (0 );
893+ }
894+ }
895+
896+ .animate-fade-in-up {
897+ animation : fadeInUp 1.2s ease-out;
898+ }
899+
900+ /* Logo pop effect */
901+ @keyframes popIn {
902+ 0% {
903+ opacity : 0 ;
904+ transform : scale (0.5 ) rotate (-10deg );
905+ }
906+ 80% {
907+ transform : scale (1.05 ) rotate (3deg );
908+ }
909+ 100% {
910+ opacity : 1 ;
911+ transform : scale (1 ) rotate (0deg );
912+ }
913+ }
914+
915+ .animate-logo-pop {
916+ animation : popIn 1s ease-out;
917+ }
0 commit comments