1+ * {
2+ margin : 0 ;
3+ padding : 0 ;
4+ box-sizing : border-box;
5+ }
6+
7+ body {
8+ font-family : 'Segoe UI' , Tahoma, Geneva, Verdana, sans-serif;
9+ min-height : 100vh ;
10+ display : flex;
11+ flex-direction : column;
12+ align-items : center;
13+ justify-content : center;
14+ transition : background-color 0.3s ease, color 0.3s ease;
15+ padding : 20px ;
16+ }
17+
18+ body .light-mode {
19+ background : linear-gradient (135deg , # 98d3ec 0% , # 764ba2 100% );
20+ color : # ffffff ;
21+ }
22+
23+ body .dark-mode {
24+ background : linear-gradient (135deg , # 02020e 0% , # 00030b 100% );
25+ color : # e0e0e0 ;
26+ }
27+
28+ .container {
29+ text-align : center;
30+ max-width : 600px ;
31+ background : rgba (255 , 255 , 255 , 0.1 );
32+ backdrop-filter : blur (10px );
33+ padding : 60px 40px ;
34+ border-radius : 30px ;
35+ box-shadow : 0 8px 32px rgba (0 , 0 , 0 , 0.3 );
36+ border : 1px solid rgba (255 , 255 , 255 , 0.18 );
37+ }
38+
39+ h1 {
40+ font-size : 2.5rem ;
41+ margin-bottom : 20px ;
42+ font-weight : 700 ;
43+ }
44+
45+ .subtitle {
46+ font-size : 1.1rem ;
47+ margin-bottom : 40px ;
48+ opacity : 0.9 ;
49+ }
50+
51+ .toggle-container {
52+ display : flex;
53+ align-items : center;
54+ justify-content : center;
55+ gap : 20px ;
56+ margin : 40px 0 ;
57+ }
58+
59+ .toggle-switch {
60+ position : relative;
61+ width : 80px ;
62+ height : 40px ;
63+ background : rgba (255 , 255 , 255 , 0.2 );
64+ border-radius : 50px ;
65+ cursor : pointer;
66+ transition : background-color 0.3s ease;
67+ border : 2px solid rgba (255 , 255 , 255 , 0.3 );
68+ }
69+
70+ .toggle-switch : hover {
71+ background : rgba (255 , 255 , 255 , 0.3 );
72+ }
73+
74+ .toggle-slider {
75+ position : absolute;
76+ top : 4px ;
77+ left : 4px ;
78+ width : 28px ;
79+ height : 28px ;
80+ background : # ffffff ;
81+ border-radius : 50% ;
82+ transition : transform 0.3s ease;
83+ display : flex;
84+ align-items : center;
85+ justify-content : center;
86+ font-size : 14px ;
87+ }
88+
89+ body .dark-mode .toggle-slider {
90+ transform : translateX (40px );
91+ }
92+
93+ .icon {
94+ font-size : 1.5rem ;
95+ opacity : 0.8 ;
96+ }
97+
98+ .features {
99+ margin-top : 50px ;
100+ display : grid;
101+ grid-template-columns : repeat (auto-fit, minmax (150px , 1fr ));
102+ gap : 20px ;
103+ }
104+
105+ .feature {
106+ padding : 20px ;
107+ background : rgba (255 , 255 , 255 , 0.1 );
108+ border-radius : 15px ;
109+ transition : transform 0.3s ease, background 0.3s ease;
110+ }
111+
112+ .feature : hover {
113+ transform : translateY (-5px );
114+ background : rgba (255 , 255 , 255 , 0.15 );
115+ }
116+
117+ .feature-icon {
118+ font-size : 2rem ;
119+ margin-bottom : 10px ;
120+ }
121+
122+ .feature-text {
123+ font-size : 0.9rem ;
124+ }
125+
126+ @media (max-width : 600px ) {
127+ h1 {
128+ font-size : 2rem ;
129+ }
130+
131+ .container {
132+ padding : 40px 30px ;
133+ }
134+ }
0 commit comments