/* General Styling */ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap'); body, html { height: 100%; margin: 0; font-family: 'Orbitron', sans-serif; color: #f0f0f0; overflow: hidden; /* Hide scrollbars from the animation */ } body { background: linear-gradient(-45deg, #1a1a1a, #2b2b2b, #1a1a1a, #3c3c3c); background-size: 400% 400%; animation: gradientBG 15s ease infinite; position: relative; } /* Add a noise overlay */ body::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); opacity: 0.05; z-index: -1; } @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .container { display: flex; justify-content: center; align-items: center; height: 100%; padding: 1rem; } .card { background: linear-gradient(145deg, #4a4a4a, #2a2a2a); border: 1px solid #888; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 5px rgba(255, 255, 255, 0.1), inset 0 3px 5px rgba(0, 0, 0, 0.5); padding: 2rem; width: 500px; /* Fixed width for desktop */ max-width: 95%; /* Max width for smaller screens */ box-sizing: border-box; /* Include padding and border in the element's total width and height */ transition: all 0.3s ease-in-out; } .card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 7px rgba(255, 255, 255, 0.15), inset 0 3px 5px rgba(0, 0, 0, 0.5); } .card-title { font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 0 12px rgba(255, 255, 255, 0.5); font-size: 1.8rem; } .card-text { color: #ddd; font-size: 1rem; } .form-control { background-color: #222; border: 1px solid #555; color: #f0f0f0; border-radius: 5px; padding: 12px; transition: all 0.3s ease; } .form-control:focus { background-color: #333; border-color: #999; color: #f0f0f0; box-shadow: 0 0 15px rgba(150, 150, 150, 0.5); } .btn-primary { background: linear-gradient(to bottom, #777, #555); border: 1px solid #999; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 12px; border-radius: 5px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); transition: all 0.3s ease; } .btn-primary:hover { background: linear-gradient(to bottom, #888, #666); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6); transform: translateY(-3px); } .btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); } .card-img-top { border-radius: 15px 15px 0 0; border-bottom: 1px solid #888; max-width: 100%; height: auto; } /* Responsive Design */ @media (max-width: 768px) { .card { width: 80vw; padding: 1.5rem; } .card-title { font-size: 1.4rem; } .card-text { font-size: 0.9rem; } } @media (max-width: 576px) { body { overflow: auto; /* Allow scrolling on small screens */ } .container { height: auto; padding: 1rem 0; } .card { width: 90vw; padding: 1rem; margin: 0.5rem; } .card-title { font-size: 1.1rem; } .card-text { font-size: 0.8rem; } .btn-primary { padding: 10px; letter-spacing: 1px; } }