2323 scroll-behavior : smooth;
2424 }
2525
26- body {
26+ body {
2727 font-family : 'Share Tech Mono' , monospace;
28- background : url ("backround .jpg" ) no-repeat center center fixed;
28+ background : url ("background .jpg" ) no-repeat center center fixed;
2929 background-size : cover;
3030 color : var (--cyan );
3131 display : flex;
32- animation : carMove 40s linear infinite;
32+ position : relative;
33+ z-index : 0 ;
3334}
3435
35- /* Fake moving effect */
36- @keyframes carMove {
37- from { background-position-y : 0 ; }
38- to { background-position-y : 1000px ; }
39- }
40-
41- /* Dark overlay for readability */
42- body ::before {
43- content : '' ;
44- position : fixed;
45- top : 0 ; left : 0 ;
46- width : 100vw ;
47- height : 100vh ;
48- background : rgba (0 , 0 , 0 , 0.55 );
49- z-index : -1 ;
50- }
36+ @keyframes carMove {
37+ from { background-position-y : 0 ; }
38+ to { background-position-y : 1000px ; }
39+ }
5140
41+ body ::before {
42+ content : '' ;
43+ position : fixed;
44+ top : 0 ; left : 0 ;
45+ width : 100vw ;
46+ height : 100vh ;
47+ background : rgba (0 , 0 , 0 , 0.2 ); /* 🔥 LOWER OPACITY = more visible bg */
48+ z-index : -1 ;
49+ }
5250
53- /* ---------------- BOOT SCREEN ---------------- */
5451 # boot-screen {
5552 position : fixed;
5653 top : 0 ; left : 0 ;
7067 line-height : 1.6 ;
7168 }
7269
73- /* ---------------- SIDEBAR ---------------- */
7470 nav {
7571 width : 200px ;
7672 background-color : # 07090c ;
10197 transform : translateX (6px );
10298 }
10399
104- /* ---------------- MAIN ---------------- */
105100 .main {
106101 margin-left : 200px ;
107102 padding : 2rem ;
108103 width : calc (100% - 200px );
109- background : repeating-linear-gradient (0deg , # 0a0c10 , # 0a0c10 3px , # 0c0d12 3px , # 0c0d12 6px );
104+ background : repeating-linear-gradient (0deg , transparent , transparent 3px , rgba ( 0 , 0 , 0 , 0.05 ) 3px , rgba ( 0 , 0 , 0 , 0.05 ) 6px );
110105 }
111106
112107 section {
150145 text-align : center;
151146 }
152147
153- /* Responsive Sidebar Collapse */
154148 @media (max-width : 768px ) {
155149 nav {
156150 display : none;
165159</ head >
166160< body >
167161
168- <!-- 🔧 Terminal Boot Screen -->
169162< div id ="boot-screen ">
170163 < div id ="boot-log "> </ div >
171164</ div >
172165
173- <!-- 🔍 Sidebar -->
174166< nav >
175167 < h2 > > Menu</ h2 >
176168 < a href ="#about "> About</ a >
@@ -179,7 +171,6 @@ <h2>> Menu</h2>
179171 < a href ="#contact "> Contact</ a >
180172</ nav >
181173
182- <!-- 💻 Main Content -->
183174< div class ="main " style ="display:none; ">
184175 < section id ="about ">
185176 < h1 > About Me</ h1 >
@@ -224,7 +215,6 @@ <h2>Contact</h2>
224215 </ footer >
225216</ div >
226217
227- <!-- 🔁 Boot Animation Script -->
228218< script >
229219 const bootLines = [
230220 "> [ OK ] Initializing AI Subsystems..." ,
@@ -238,7 +228,6 @@ <h2>Contact</h2>
238228
239229 const bootLog = document . getElementById ( 'boot-log' ) ;
240230 const main = document . querySelector ( '.main' ) ;
241-
242231 let lineIndex = 0 ;
243232
244233 function showNextLine ( ) {
@@ -255,7 +244,6 @@ <h2>Contact</h2>
255244 }
256245 }
257246
258- // About Me typing
259247 const aboutText = "Name: Sairam | Role: AI/ML Dev + Cyber Learner | Status: Always debugging." ;
260248 const typingElement = document . getElementById ( "typing-text" ) ;
261249 let charIndex = 0 ;
@@ -273,7 +261,6 @@ <h2>Contact</h2>
273261 }
274262 }
275263
276- // Blinking cursor CSS
277264 const style = document . createElement ( "style" ) ;
278265 style . innerHTML = `
279266 @keyframes blink {
@@ -285,7 +272,6 @@ <h2>Contact</h2>
285272 ` ;
286273 document . head . appendChild ( style ) ;
287274
288- // Start boot animation
289275 window . onload = showNextLine ;
290276</ script >
291277
0 commit comments