@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); * { padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; } ::-webkit-scrollbar { display: none; } body { background: #060606; color: white; margin-top: 60px; /* To prevent content from hiding behind the navbar */ height: 100vh; display: flex; justify-content: center; overflow-y: auto; } .navbar { display: flex; height: 50px; justify-content: flex-end; align-items: center; background-color: #060606; border: 1px solid #282828; position: fixed; width: 100%; top: 0; z-index: 1000; } .navbar .auth-links ul { list-style-type: none; display: flex; margin: 0; padding: 0; position: relative; right: 255px; } .navbar .auth-links li { margin-left: 22px; } a { color: #888888; font-size: 14px; text-decoration: none; } a:hover { color: gray; } a.active { color: white; } .wrapper { padding: 20px; padding-top: 80px; /* Adjust padding to accommodate the navbar height */ } h1 { text-align: center; font-size: 39px; font-weight: 100; position: relative; bottom: 50px; } /* Products styling start here */ .product-grid { display: flex; flex-wrap: wrap; justify-content: space-around; /* Adjust this as needed */ gap: 122px; /* Space between boxes */ } .boxes { display: flex; flex-direction: column; align-items: center; width: 17.5em; /* Adjust the width as needed */ } p { font-size: 14px; margin: 7px; } .airpods { width: 20em; height: 20em; border: 1px solid rgba(71, 71, 71, 0.775); box-shadow: -1px -1px 15px rgba(128, 128, 128, 0.5); background-color: rgba(32, 32, 32, 0); cursor: pointer; transition: transform 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out; } .airpods:hover { border-color: rgba(255, 0, 0, 0.391); transform: translateY(-10px); box-shadow: 0 0 15px rgba(255, 0, 0, 0.5); /* slight red background glow */ } .info { font-size: 17px; } .disabled { pointer-events: none; opacity: 0.5; cursor: not-allowed; } /* Media Queries for Mobile Responsiveness */ @media (max-width: 768px) { h1 { font-size: 28px; bottom: 20px; } .product-grid { gap: 30px; } .boxes { width: 100%; } .airpods { width: 15em; height: 15em; } } @media (max-width: 480px) { body { display: flex; justify-content: center; } .navbar { display: flex; height: 50px; justify-content: flex-end; align-items: center; background-color: #060606; border-color: #282828; border: none; position: fixed; width: 100%; top: 0; z-index: 1000; } .auth-links { display: flex; margin-right: 15em; } ul { list-style-type: none; display: flex; align-items: center; position: relative; bottom: 47px; left: 50px; margin: 0; padding: 0; } li { margin-left: 0; margin-bottom: 10px; left: 167px; top: 50px; position: relative; } h1 { font-size: 24px; bottom: 10px; } .wrapper { padding-top: 60px; } .airpods { width: 12em; height: 12em; } }