/* interstellar_development website Copyright (C) 2024 interstellar_development This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ :root { --background-color: #0b0c1d; --text-color: #c7d5e0; --accent-color: #ffdd55; --accent-hover-color: #ffd700; --dark-blue: rgba(31, 42, 64, 1); --dark-blue-translucent: rgba(31, 42, 64, 0.9); --light-blue: rgba(46, 58, 95, 0.8); --border-radius: 8px; --transition-speed: 0.3s; --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7); --font-size-large: 2.5em; --font-size-medium: 1.8em; } /* Reset and normalize */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* Body styling */ body { background-color: var(--background-color); color: var(--text-color); font-family: "Arial", sans-serif; line-height: 1.6; padding: 0 20px; background: url("images/star.jpg") no-repeat center center fixed; background-size: cover; } /* Header styling */ header { background-color: var(--dark-blue); position: fixed; width: 100%; padding: 15px 20px; top: 0; left: 0; margin-bottom: 10em; box-shadow: var(--box-shadow); backdrop-filter: blur(5px); z-index: 100; } .header-content { display: flex; justify-content: space-between; align-items: center; } header ul { list-style: none; display: flex; gap: 20px; } header ul li a { text-decoration: none; color: var(--accent-color); font-weight: bold; padding: 5px 10px; border-radius: var(--border-radius); transition: background-color var(--transition-speed), color var(--transition-speed); } header ul li a:hover { background-color: rgba(255, 221, 85, 0.3); color: #fff; box-shadow: 0 0 10px var(--accent-color); } /* Old project name styling */ .project-name { font-size: 1.5em; color: var(--accent-color); text-decoration: none; transition: color var(--transition-speed), text-shadow var(--transition-speed); } .project-name:hover { color: var(--accent-hover-color); text-shadow: 0 0 10px var(--accent-hover-color); } /* Article styling */ article { max-width: 800px; margin: 6.25em auto; padding: 20px; background-color: var(--dark-blue-translucent); border-radius: var(--border-radius); box-shadow: var(--box-shadow); backdrop-filter: blur(5px); } article h1 { font-size: var(--font-size-large); margin-bottom: 20px; color: var(--accent-color); text-shadow: 0 0 15px var(--accent-color); } article p { color: var(--text-color); margin-bottom: 20px; hyphens: auto; } /* Download list */ article h2 { font-size: var(--font-size-medium); margin: 20px 0 10px; color: var(--accent-color); text-shadow: 0 0 10px var(--accent-color); } article ul { list-style-type: none; padding: 0; } article ul li { background-color: var(--light-blue); margin-bottom: 10px; border-radius: var(--border-radius); padding: 10px; transition: background-color var(--transition-speed), box-shadow var(--transition-speed); } article ul li:hover { background-color: rgba(68, 80, 124, 0.9); box-shadow: 0 0 10px var(--accent-color); } article ul li a { text-decoration: none; color: var(--accent-color); font-weight: bold; } /* Footer styling */ footer { background-color: var(--dark-blue); padding: 10px 20px; color: var(--text-color); width: 100%; position: fixed; bottom: 0; left: 0; box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); } .footer-content { text-align: center; font-size: 0.9em; } /* card styles */ /* Updated card styles with space theme */ section .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 50px; } section .card { text-align: center; list-style: none; background: linear-gradient(180deg, rgba(0, 0, 50, 0.9), rgba(10, 10, 100, 0.9), rgba(30, 30, 150, 0.9)); padding: 20px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0, 0, 50, 0.8), 0 0 10px rgba(255, 255, 255, 0.1); /* Space glow effect */ border: 1px solid #2e3a60; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.5s ease, transform 0.4s ease, box-shadow 0.5s ease; } section .card:hover { transform: translateY(-8px); background: linear-gradient(180deg, rgba(30, 30, 150, 0.9), rgba(40, 0, 100, 0.9), rgba(100, 0, 150, 0.9)); /* More intense hover gradient */ box-shadow: 0 10px 30px rgba(0, 0, 100, 0.7), 0 0 20px rgba(255, 221, 85, 0.8); /* Enhanced glowing effect */ } section .card img { height: 80px; width: 80px; object-fit: cover; border-radius: 50%; margin: 0 auto 15px; box-shadow: 0 0 15px rgba(255, 221, 85, 0.5); /* Add a space-like glow */ } section .card h3 { margin: 10px 0; font-size: 1.4em; font-weight: bold; color: rgba(255, 221, 85, 1); text-shadow: 0 0 15px rgba(255, 221, 85, 0.9); /* Glowing text effect */ } section .card p { flex-grow: 1; color: rgba(200, 220, 255, 0.8); margin-bottom: 10px; text-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Subtle glow on text */ } section .card::before { content: ""; position: absolute; top: -20px; right: -20px; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)); box-shadow: 0 0 50px rgba(255, 255, 255, 0.5); animation: spin 8s linear infinite; /* Adds a subtle spinning effect */ } section .card .suit-icon { position: absolute; bottom: 10px; right: 10px; width: 24px; height: 24px; opacity: 0.7; transition: opacity var(--transition-speed); } section .card:hover .suit-icon { opacity: 1; /* Highlight the icon on hover */ } /* Keyframes for spinning element */ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Form styling */ form { max-width: 600px; margin: 0 auto; background: var(--dark-blue-translucent); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); backdrop-filter: blur(5px); } form label, form input, form textarea { color: var(--text-color); background-color: var(--light-blue); border: 1px solid #3a4971; border-radius: 4px; } form input, form textarea { width: 100%; padding: 10px; margin-bottom: 15px; } form button { background-color: var(--accent-color); color: var(--background-color); border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; transition: background-color var(--transition-speed); } form button:hover { background-color: var(--accent-hover-color); } /* Responsive design */ @media (max-width: 768px) { header ul { flex-direction: column; gap: 10px; } article { margin: 12em 10px; padding: 15px; } section .card { padding: 12px; } section .card img { height: 60px; width: 60px; } } /* Help Patrick is forcing me to make weird commit messages 80% of the time*/