/* Reset and global styles */ * { box-sizing: border-box; margin: 0; padding: 0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; transition: 0.5s; } /* Body styles */ body { background-color: #f5f5f5; background-image: url("img/KSS.jpeg"); background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; display: flex; flex-direction: column; align-items: center; min-height: 100vh; } /* Header styles */ header { background-color: rgba(0, 0, 0, 0.7); padding: 10px; width: 100%; position: fixed; top: 0; left: 0; z-index: 1000; } .header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; } .project-name { color: white; font-size: 1.5em; } .burger-menu { background: none; border: none; color: white; font-size: 1.5em; cursor: pointer; display: none; } .menu { list-style: none; display: flex; justify-content: space-around; flex-grow: 1; } header li { margin: 0 10px; } header a { color: white; text-decoration: none; padding: 10px; border-radius: 5px; transition: background-color 0.3s ease; } header a:hover { background-color: rgba(255, 255, 255, 0.2); } /* Article styles */ article { margin-top: 100px; padding: 20px; width: 90%; max-width: 800px; background: rgba(255, 255, 255, 0.9); border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); text-align: center; } h1 { color: #333; margin-bottom: 20px; } p { color: #666; line-height: 1.6; margin-bottom: 20px; } img { max-width: 100%; height: auto; margin-bottom: 20px; } button { padding: 10px 20px; margin: 2em; border: none; background-color: #333; color: white; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } button:hover { background-color: #555; } /* Additional CSS for command-line style */ .code-box { background-color: #f0f0f0; font-family: "Courier New", Courier, monospace; padding: 10px; border-left: 4px solid #555; margin-left: 20px; } .flex { display: flex; align-items: center; } /* Cards section styles */ section .cards { margin-top: 50px; flex-wrap: wrap; justify-content: space-between; } section .card { width: calc(100% / 3 - 30px); text-align: center; list-style: none; background-color: #fff; padding: 40px 15px; border-radius: 5px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.04); margin-bottom: 20px; } section .card img { height: 120px; width: 120px; border-radius: 50%; margin-bottom: 20px; } /* Mobile Styles */ @media (max-width: 768px) { .burger-menu { display: block; } .menu { display: none; flex-direction: column; background-color: rgba(0, 0, 0, 0.7); position: absolute; top: 50px; left: 0; width: 100%; z-index: 999; /* Adjusted z-index to ensure dropdown covers article content */ } .menu.active { display: flex; } header li { margin: 0; width: 100%; } header a { padding: 15px; width: 100%; display: block; } }