/* --- IMPORTS --- */ @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Poppins:wght@300;400;600&display=swap'); /* --- VARIABILI GLOBALI --- */ :root { --bg-dark: #0b0f19; --accent-green: #10b981; --accent-hover: #059669; --text-main: #f3f4f6; --glass-bg: rgba(17, 24, 39, 0.7); --glass-border: rgba(255, 255, 255, 0.1); } /* --- BASE --- */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Poppins', sans-serif; background: radial-gradient(circle at top right, #1f2937, var(--bg-dark)); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; } /* --- NAVBAR (Glassmorphism) --- */ .navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 1000; } .nav-brand { display: flex; align-items: center; gap: 15px; font-size: 1.5rem; font-weight: 600; color: var(--text-main); text-decoration: none; } .nav-brand img { border-radius: 50%; height: 40px; width: 80px; object-fit: cover; } .nav-brand img:hover { object-fit: fill; display: inline-block; margin-top: 10px; margin-bottom: -10px; } .nav-links { list-style: none; display: flex; gap: 20px; } .nav-links a { color: var(--text-main); text-decoration: none; font-weight: 400; transition: color 0.3s ease; } .nav-links a:hover, .nav-links a.active { color: var(--accent-green); } /* Menu Mobile */ .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; } /* --- CONTENITORI --- */ .container { flex: 1; max-width: 1000px; margin: 40px auto; padding: 0 20px; text-align: center; } h1 { font-size: 2.5rem; margin-bottom: 15px; color: var(--accent-green); } .descrizione { font-size: 1.1rem; margin-bottom: 30px; color: #9ca3af; } /* --- CRYPTO BOX (Glassmorphism) --- */ .crypto-box { background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 15px; padding: 30px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.5); } .crypto-columns { display: flex; gap: 20px; margin-top: 20px; } .crypto-col { flex: 1; display: flex; flex-direction: column; gap: 10px; } /* --- FORMS & INPUTS --- */ label { font-weight: 600; font-size: 0.9rem; color: var(--accent-green); } select, textarea { width: 100%; padding: 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--glass-border); color: var(--text-main); font-family: 'Poppins', sans-serif; outline: none; transition: border-color 0.3s; } select:focus, textarea:focus { border-color: var(--accent-green); } /* Font Monospazio per il testo cifrato */ #ciphertext, #decodedtext { font-family: 'Fira Code', monospace; font-size: 0.9rem; } textarea { resize: vertical; min-height: 120px; } /* --- BOTTONI --- */ button { padding: 12px; border: none; border-radius: 8px; background-color: var(--accent-green); color: white; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s, transform 0.1s; font-family: 'Poppins', sans-serif; display: flex; justify-content: center; align-items: center; gap: 8px; } button:hover { background-color: var(--accent-hover); } button:active { transform: scale(0.98); } button:disabled { background-color: #374151; cursor: not-allowed; } .btn-green { background-color: #3b82f6; /* Usiamo un blu per distinguere la decifratura */ } .btn-green:hover { background-color: #2563eb; } /* --- FOOTER --- */ footer { text-align: center; padding: 20px; background: var(--bg-dark); border-top: 1px solid var(--glass-border); font-size: 0.9rem; color: #6b7280; } footer a { color: var(--accent-green); text-decoration: none; } /* Stili speciali solo per le card del team */ .team-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; } .team-card { background: #f3f4f6; padding: 30px 20px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); width: 280px; text-align: center; transition: transform 0.3s; } .team-card:hover { transform: translateY(-10px); /* Effetto sollevamento al passaggio del mouse */ box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1); } .avatar { font-size: 60px; margin-bottom: 15px; } .ruolo { color:#10b981; font-weight: bold; margin-bottom: 10px; font-size: 14px; } /* --- RESPONSIVE --- */ @media (max-width: 768px) { .crypto-columns { flex-direction: column; } .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--bg-dark); padding: 20px 0; text-align: center; } .nav-links.active { display: flex; } .menu-toggle { display: block; } } /* --- Sezione Divulgativa --- */ .appunti-style { background: rgba(255, 255, 255, 0.05); /* Un leggero sfondo chiaro per staccare */ padding: 30px; border-radius: 15px; margin-top: 30px; line-height: 1.8; text-align: left; /* Fondamentale per la lettura */ color: #f0f0f0; } .appunti-style h1, .appunti-style h2, .appunti-style h3 { color: #4db8ff; margin-top: 1.5em; } /* Stile per i blocchi di codice */ .appunti-style pre { background: #000; padding: 15px; border-radius: 8px; overflow-x: auto; border: 1px solid #333; } .appunti-style code { font-family: 'Courier New', monospace; color: #ffca28; /* Giallo per far risaltare le variabili/formule */ } .main-wrapper { display: flex; max-width: 1200px; margin: 100px auto 50px; /* Spazio per la navbar */ gap: 30px; padding: 0 20px; } /* Sidebar Style */ .sidebar { flex: 0 0 250px; /* Larghezza fissa 250px */ background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); /* Effetto vetro sfocato */ border-radius: 15px; padding: 20px; height: fit-content; position: sticky; top: 100px; /* Si blocca quando scendi */ border: 1px solid rgba(77, 184, 255, 0.2); } .sidebar h3 { color: #4db8ff; font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid rgba(77, 184, 255, 0.3); padding-bottom: 10px; } .sidebar nav { display: flex; flex-direction: column; gap: 10px; } /* Bottoni nella sidebar */ .btn-appunto { background: transparent; color: white; border: none; text-align: left; padding: 12px 15px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; display: flex; align-items: center; gap: 10px; } .btn-appunto i { width: 20px; /* Allinea le icone */ color: #4db8ff; } .btn-appunto:hover { background: rgba(77, 184, 255, 0.1); padding-left: 20px; /* Effetto movimento al passaggio */ } .btn-appunto.active { background: #4db8ff; color: #0b0f19; } .btn-appunto.active i { color: #0b0f19; } /* Area contenuto */ .content-area { flex: 1; /* Prende tutto lo spazio rimanente */ min-width: 0; /* Evita bug di overflow con flex */ } /* Responsive per cellulari */ @media (max-width: 768px) { .main-wrapper { flex-direction: column; margin-top: 80px; } .sidebar { position: static; flex: none; width: 100%; } } /* --- SFONDO SPAZIALE ANIMATO --- */ .sfondo-spazio { position: fixed; /* Lo fissa allo schermo */ top: 0; left: 0; width: 100%; height: 100%; z-index: -1; /* Manda le stelle DIETRO le tue card e la navbar */ background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%); overflow: hidden; } #stars-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%); overflow: hidden; } #stars, #stars2, #stars3 { background: transparent; } /* Stelle Piccole */ #stars { width: 1px; height: 1px; box-shadow: var(--shadows-small); animation: animStar 50s linear infinite; } #stars::after { content: " "; position: absolute; top: 2000px; width: 1px; height: 1px; background: transparent; box-shadow: var(--shadows-small); } /* Stelle Medie */ #stars2 { width: 2px; height: 2px; box-shadow: var(--shadows-medium); animation: animStar 100s linear infinite; } #stars2::after { content: " "; position: absolute; top: 2000px; width: 2px; height: 2px; background: transparent; box-shadow: var(--shadows-medium); } /* Stelle Grandi */ #stars3 { width: 3px; height: 3px; box-shadow: var(--shadows-big); animation: animStar 150s linear infinite; } #stars3::after { content: " "; position: absolute; top: 2000px; width: 3px; height: 3px; background: transparent; box-shadow: var(--shadows-big); } @keyframes animStar { from { transform: translateY(0px); } to { transform: translateY(-2000px); } } body { color: white; }