/* Modern Blue Theme - Cleaned Up */ :root { /* Colors */ --primary: #00BFFF; --primary-dark: #005B9F; --primary-light: #6fd1ff; --bg-gradient: linear-gradient(135deg, #0a0e12 0%, #1a1d2b 100%); --bg-solid: #0a0e12; --text-light: rgba(255, 255, 255, 0.95); --text-muted: rgba(255, 255, 255, 0.6); --glass: rgba(255, 255, 255, 0.05); --glass-border: rgba(255, 255, 255, 0.1); --glass-highlight: rgba(255, 255, 255, 0.15); --error: #ff3860; /* Tech Colors */ --tech-js: #f0db4f; --tech-node: #68a063; --tech-react: #61dbfb; --tech-html: #e34c26; --tech-css: #264de4; --tech-db: #4db33d; /* Spacing */ --spacing: 1rem; --border-radius: 12px; --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); --nav-height: 80px; --section-spacing: 8rem; } /* Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-gradient) fixed; color: var(--text-light); min-height: 100vh; line-height: 1.6; padding-top: var(--nav-height); background-size: cover; background-repeat: no-repeat; } /* Background Effects */ body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 70% 20%, rgba(0, 191, 255, 0.08) 0%, transparent 30%), radial-gradient(circle at 30% 80%, rgba(0, 100, 255, 0.05) 0%, transparent 30%); pointer-events: none; z-index: -1; } /* Typography */ h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; } h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } h2 { font-size: clamp(2rem, 4vw, 3rem); position: relative; display: inline-block; } h2::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 50%; height: 3px; background: var(--primary); border-radius: 3px; } p { margin-bottom: 1.5rem; color: var(--text-muted); max-width: 700px; } .text-primary { color: var(--primary); } /* Layout */ .container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; } .section { padding: var(--section-spacing) 0; position: relative; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: var(--border-radius); font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-size: 0.95rem; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3); } .btn-ghost { background: transparent; color: var(--text-light); border: 1px solid var(--glass-border); } .btn-ghost:hover { background: var(--glass); border-color: var(--primary); transform: translateY(-2px); } /* Navigation */ .navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); z-index: 1000; background: rgba(10, 14, 18, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; transition: var(--transition); } .navbar-container { width: 100%; display: flex; justify-content: space-between; align-items: center; } .logo { display: flex; align-items: center; gap: 0.8rem; font-size: 1.5rem; font-weight: 700; color: white; text-decoration: none; } .logo img { height: 40px; width: auto; transition: var(--transition); } .logo:hover { color: var(--primary); } .nav-links { display: flex; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); } .nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: var(--transition); position: relative; padding: 0.5rem 0; } .nav-links a:hover { color: var(--primary); } .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); } .nav-links a:hover::after, .nav-links a.active::after { width: 100%; } .nav-links a.active { color: var(--primary); } .nav-actions { display: flex; align-items: center; gap: 1rem; } /* Special styling for auth buttons */ .nav-actions .btn-ghost { border: none; background: transparent; padding: 0.5rem 1rem; } .nav-actions .btn-ghost:hover { background: transparent; transform: none; box-shadow: none; } .nav-actions .btn-ghost:hover::after { display: none; } .mobile-menu-btn { display: none; background: none; border: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; z-index: 1001; } /* Hero Section */ .hero { min-height: calc(100vh - var(--nav-height)); display: flex; align-items: center; } .hero-content { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; position: relative; z-index: 2; } .hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; } .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; } /* Discord Status Section */ .status-container { display: none; /* Skjult som standard */ justify-content: center; gap: 2rem; margin: 2rem 0; flex-wrap: wrap; } .status-item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius); padding: 1.5rem; min-width: 250px; text-align: center; transition: var(--transition); } .status-icon { font-size: 2rem; margin-bottom: 1rem; } .status-title { font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); } .status-text { color: var(--text-muted); font-size: 0.9rem; } #vscode-status .status-icon { color: #007ACC; } #spotify-status .status-icon { color: #1DB954; } .hero-image { position: absolute; right: 10%; top: 50%; transform: translateY(-50%); width: 40%; max-width: 600px; opacity: 0.9; z-index: 1; filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.3)); animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(-20px); } } /* About Section */ .about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } .about-text { display: flex; flex-direction: column; gap: 1.5rem; } .tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; } .tech-item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius); padding: 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; transition: var(--transition); } .tech-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 191, 255, 0.1); } .tech-item i { font-size: 2rem; margin-bottom: 0.5rem; } .tech-item:nth-child(1) i { color: var(--tech-js); } .tech-item:nth-child(2) i { color: var(--tech-node); } .tech-item:nth-child(3) i { color: var(--tech-react); } .tech-item:nth-child(4) i { color: var(--tech-html); } .tech-item:nth-child(5) i { color: var(--tech-db); } .about-image { border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } .about-image img { width: 100%; height: auto; display: block; transition: var(--transition); } /* Contact Section */ .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; } .contact-form { display: flex; flex-direction: column; gap: 1.5rem; } .form-group { display: flex; flex-direction: column; gap: 0.5rem; } .form-group label { font-weight: 500; } .form-group input, .form-group textarea { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius); padding: 0.8rem 1rem; color: var(--text-light); transition: var(--transition); } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.2); } .form-group textarea { resize: vertical; min-height: 150px; } /* Contact form states */ .contact-form-container.hidden { display: none !important; } .success-message { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius); padding: 2rem; text-align: center; margin-bottom: 2rem; } .success-message h3 { color: var(--primary); margin-bottom: 1rem; } .contact-info { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius); padding: 2rem; align-self: start; backdrop-filter: blur(10px); } .contact-info h3 { margin-bottom: 1.5rem; color: var(--primary); } .contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; } .contact-info li { display: flex; align-items: center; gap: 1rem; } .contact-info i { width: 20px; color: var(--primary); } /* Footer */ .footer { background: rgba(10, 14, 18, 0.9); backdrop-filter: blur(10px); border-top: 1px solid var(--glass-border); text-align: center; padding: 3rem 0; } .footer-simple { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; } .footer-logo img { height: 60px; width: auto; } .hosted-badge { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 0.5rem 1rem; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; } .hosted-badge i { color: var(--primary); } .footer-copyright { color: var(--text-muted); font-size: 0.9rem; } /* Messages Container */ #messages-container { display: none; margin-top: 3rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--border-radius); padding: 2rem; } #messages-container h3 { margin-bottom: 1.5rem; color: var(--primary); } .messages-list { display: flex; flex-direction: column; gap: 1rem; } .message-card { background: rgba(0, 0, 0, 0.2); border-radius: var(--border-radius); padding: 1.5rem; border-left: 4px solid var(--primary); } .message-card.replied { border-left-color: #4CAF50; } .message-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; } .message-subject { font-weight: 600; color: var(--primary); } .message-date, .reply-date { font-size: 0.8rem; color: var(--text-muted); } .message-status { font-size: 0.8rem; padding: 0.3rem 0.6rem; border-radius: 20px; background: rgba(0, 191, 255, 0.2); color: var(--primary); } .message-card.replied .message-status { background: rgba(76, 175, 80, 0.2); color: #4CAF50; } .message-content, .reply-content { line-height: 1.6; } .message-reply { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); } .reply-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .reply-admin { font-weight: 600; color: var(--primary); } /* Responsive Design */ @media (max-width: 1200px) { .hero-image { width: 45%; opacity: 0.7; } .about-content { gap: 3rem; } } @media (max-width: 992px) { :root { --section-spacing: 6rem; } .container { padding: 0 1.5rem; } .hero-image { width: 50%; opacity: 0.5; } .about-content { grid-template-columns: 1fr; gap: 2rem; } .about-image { order: -1; max-width: 600px; margin: 0 auto; } .contact-container { grid-template-columns: 1fr; gap: 2rem; } } @media (max-width: 768px) { :root { --nav-height: 70px; --section-spacing: 5rem; } .navbar-container { padding: 0 1rem; } .nav-links { position: fixed; top: var(--nav-height); left: 0; width: 100%; background: var(--bg-solid); flex-direction: column; align-items: center; padding: 2rem 0; gap: 1.5rem; border-bottom: 1px solid var(--glass-border); transform: translateY(-100%); opacity: 0; transition: var(--transition); z-index: 999; position: absolute; left: 0; transform: translateY(-100%) translateX(0); } .nav-links.active { transform: translateY(0) translateX(0); opacity: 1; } .mobile-menu-btn { display: block; } .hero { text-align: center; padding-top: 3rem; padding-bottom: 5rem; } .hero-content { align-items: center; } .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; } .hero-actions { justify-content: center; } .hero-image { display: none; } .cookie-banner .container { flex-direction: column; text-align: center; } .cookie-actions { width: 100%; justify-content: center; } } @media (max-width: 576px) { .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem; } .tech-grid { grid-template-columns: 1fr 1fr; } .status-item { min-width: 100%; } } /* Navbar scroll effect */ .navbar.scrolled { height: 70px; background: rgba(10, 14, 18, 0.98); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); } .navbar.scrolled .logo img { height: 35px; }