Files
o-k-i.net/src/assets/css/styles.css
T

1077 lines
19 KiB
CSS
Raw Normal View History

2025-11-05 17:32:17 +04:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* Couleurs du logo OKI */
--or-oki: #E8A625;
--noir-oki: #000000;
--vert-oki: #00A854;
--rouge-oki: #ED1C4C;
--blanc-creme: #F7F7F2;
/* Couleurs dérivées pour le design */
--noir-profond: #1A1A1A;
--gris-sombre: #2A2A2A;
--or-clair: #F5BD4F;
--vert-clair: #00C569;
--rouge-clair: #FF2D5F;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: linear-gradient(135deg, var(--noir-oki) 0%, var(--gris-sombre) 100%);
color: var(--blanc-creme);
min-height: 100vh;
overflow-x: hidden;
}
/* Navigation */
nav {
position: fixed;
top: 0;
width: 100%;
padding: 1rem 2rem;
background: rgba(0, 0, 0, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
transition: all 0.3s ease;
border-bottom: 2px solid var(--or-oki);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.8rem;
font-weight: 900;
background: linear-gradient(135deg, var(--or-oki), var(--or-clair));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-decoration: none;
}
.logo-image {
filter: drop-shadow(0 0 8px rgba(232, 166, 37, 0.6))
drop-shadow(0 0 15px rgba(232, 166, 37, 0.4))
drop-shadow(0 0 25px rgba(232, 166, 37, 0.2));
transition: filter 0.3s ease;
}
.logo-with-glow:hover .logo-image {
filter: drop-shadow(0 0 12px rgba(232, 166, 37, 0.8))
drop-shadow(0 0 20px rgba(232, 166, 37, 0.6))
drop-shadow(0 0 35px rgba(232, 166, 37, 0.4));
}
.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}
.nav-links a {
color: var(--blanc-creme);
text-decoration: none;
transition: color 0.3s;
font-weight: 500;
}
.nav-links a:hover {
color: var(--or-oki);
}
.menu-toggle {
display: none;
flex-direction: column;
cursor: pointer;
}
.menu-toggle span {
width: 25px;
height: 3px;
background: var(--or-oki);
margin: 3px 0;
transition: 0.3s;
}
/* Hero Section */
.hero {
padding: 8rem 2rem 4rem;
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
}
.hero-content {
max-width: 1200px;
margin: 0 auto;
z-index: 2;
position: relative;
}
.hero h1 {
font-size: clamp(2rem, 6vw, 4rem);
font-weight: 900;
margin-bottom: 0.5rem;
line-height: 1.1;
animation: fadeInUp 0.8s ease;
}
.hero-subtitle {
font-size: clamp(1.5rem, 4vw, 2.5rem);
margin-bottom: 1rem;
color: var(--or-oki);
animation: fadeInUp 0.8s ease 0.1s both;
}
.accent-text {
background: linear-gradient(135deg, var(--or-oki), var(--rouge-oki));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
font-size: 1.3rem;
margin-bottom: 2rem;
opacity: 0.9;
max-width: 700px;
animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-tags {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 2rem;
animation: fadeInUp 0.8s ease 0.3s both;
}
.tag {
padding: 0.5rem 1rem;
background: rgba(232, 166, 37, 0.2);
border-radius: 20px;
font-size: 0.9rem;
border: 1px solid var(--or-oki);
}
.cta-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
animation: fadeInUp 0.8s ease 0.4s both;
}
.btn {
padding: 1rem 2rem;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.btn-primary {
background: linear-gradient(135deg, var(--or-oki), var(--or-clair));
color: var(--noir-oki);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(232, 166, 37, 0.4);
}
.btn-secondary {
background: transparent;
color: var(--or-oki);
border: 2px solid var(--or-oki);
}
.btn-secondary:hover {
background: var(--or-oki);
color: var(--noir-oki);
}
/* Network Animation */
.network-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.1;
pointer-events: none;
}
.node {
position: absolute;
width: 4px;
height: 4px;
background: var(--or-oki);
border-radius: 50%;
animation: pulse 3s infinite;
}
/* Fediverse Services Section */
.fediverse {
padding: 4rem 2rem;
background: var(--noir-profond);
}
.section-container {
max-width: 1200px;
margin: 0 auto;
}
.fediverse h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.section-subtitle {
text-align: center;
font-size: 1.2rem;
opacity: 0.9;
margin-bottom: 3rem;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.service-card {
background: rgba(0, 168, 84, 0.1);
border: 2px solid var(--vert-oki);
border-radius: 20px;
padding: 2rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--vert-oki), var(--or-oki));
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 168, 84, 0.3);
background: rgba(0, 168, 84, 0.15);
}
.service-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.service-card h3 {
color: var(--or-oki);
margin-bottom: 0.5rem;
font-size: 1.8rem;
}
.service-platform {
color: var(--vert-oki);
font-size: 0.9rem;
margin-bottom: 1rem;
font-weight: 600;
}
.service-description {
margin-bottom: 1.5rem;
line-height: 1.6;
}
.service-link {
color: var(--or-oki);
text-decoration: none;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: gap 0.3s ease;
}
.service-link:hover {
gap: 1rem;
color: var(--or-clair);
}
/* Web Projects Section */
.projects {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--noir-profond) 0%, var(--gris-sombre) 100%);
}
.projects h2 {
font-size: 3rem;
margin-bottom: 3rem;
text-align: center;
}
.project-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.project-card {
background: rgba(0, 0, 0, 0.3);
border-radius: 20px;
padding: 1.5rem;
transition: all 0.3s ease;
border: 2px solid transparent;
text-align: center;
display: block;
cursor: pointer;
}
.project-card:hover {
transform: translateY(-5px);
border-color: var(--or-oki);
box-shadow: 0 20px 40px rgba(232, 166, 37, 0.2);
}
.project-card h3 {
color: var(--or-oki);
margin-bottom: 0.5rem;
font-size: 1.5rem;
}
.project-domain {
color: var(--rouge-oki);
font-size: 0.9rem;
margin-bottom: 1rem;
font-family: monospace;
}
.project-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
/* Mission Section */
.mission {
padding: 4rem 2rem;
background: var(--noir-profond);
text-align: center;
}
.mission h2 {
font-size: 3rem;
margin-bottom: 2rem;
}
.mission-text {
font-size: 1.3rem;
max-width: 800px;
margin: 0 auto 3rem;
line-height: 1.8;
}
.values-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-top: 3rem;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
.value-card {
background: rgba(255, 255, 255, 0.05);
padding: 2rem;
border-radius: 15px;
text-align: center;
transition: all 0.3s ease;
border: 1px solid rgba(232, 166, 37, 0.2);
}
.value-card:hover {
transform: translateY(-5px);
background: rgba(232, 166, 37, 0.1);
border-color: var(--or-oki);
}
.value-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.value-card h3 {
color: var(--or-oki);
margin-bottom: 0.5rem;
font-size: 1.3rem;
}
/* Hosting Services Section */
.hosting {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--gris-sombre) 0%, var(--noir-profond) 100%);
}
.hosting-banner {
background: rgba(232, 166, 37, 0.1);
border: 2px solid var(--or-oki);
border-radius: 20px;
padding: 2rem;
max-width: 900px;
margin: 0 auto 3rem;
text-align: center;
}
.hosting-banner h3 {
color: var(--or-oki);
font-size: 1.8rem;
margin-bottom: 1rem;
}
.hosting-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}
.hosting-feature {
display: flex;
align-items: center;
gap: 0.5rem;
}
.hosting-feature span {
color: var(--vert-oki);
font-size: 1.2rem;
}
/* Partners Section */
.partners {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--gris-sombre) 0%, var(--noir-profond) 100%);
}
.partners h2 {
font-size: 3rem;
margin-bottom: 1rem;
}
.partners-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
.partner-card {
background: rgba(0, 0, 0, 0.3);
border: 2px solid transparent;
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
align-items: center;
}
.partner-card:hover {
transform: translateY(-5px);
border-color: var(--or-oki);
box-shadow: 0 20px 40px rgba(232, 166, 37, 0.2);
}
.partner-logo-container {
width: 150px;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 50%;
padding: 1rem;
}
.partner-logo {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.partner-card h3 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.5rem;
}
.partner-description {
line-height: 1.6;
margin-bottom: 1.5rem;
flex-grow: 1;
}
.partner-link {
color: var(--or-oki);
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
transition: gap 0.3s ease;
}
.partner-card:hover .partner-link {
gap: 1rem;
}
/* Support Section */
.support {
padding: 4rem 2rem;
background: var(--noir-profond);
text-align: center;
}
.support h2 {
font-size: 3rem;
margin-bottom: 2rem;
}
.support-options {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
margin-top: 2rem;
}
/* Contact Section */
.contact {
padding: 3rem 2rem;
background: rgba(0, 0, 0, 0.5);
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.contact-card {
text-align: center;
}
.contact-card h3 {
color: var(--or-oki);
margin-bottom: 1rem;
}
.contact-links {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.contact-links a {
color: var(--blanc-creme);
text-decoration: none;
transition: color 0.3s;
}
.contact-links a:hover {
color: var(--or-oki);
}
/* Footer */
footer {
padding: 2rem;
background: var(--noir-oki);
text-align: center;
border-top: 2px solid var(--or-oki);
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
}
/* Donation Styles */
.donation-amount {
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
background: rgba(232, 166, 37, 0.2);
border: 2px solid var(--or-oki);
color: var(--blanc-creme);
text-decoration: none;
border-radius: 12px;
font-weight: 600;
font-size: 1.1rem;
transition: all 0.3s ease;
cursor: pointer;
}
.donation-amount:hover {
background: var(--or-oki);
color: var(--noir-oki);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(232, 166, 37, 0.4);
}
.donation-amount.monthly {
background: rgba(0, 168, 84, 0.2);
border-color: var(--vert-oki);
}
.donation-amount.monthly:hover {
background: var(--vert-oki);
color: var(--blanc-creme);
box-shadow: 0 5px 15px rgba(0, 168, 84, 0.4);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
input[type="number"]:focus {
outline: none;
border-color: var(--or-oki);
background: rgba(255, 255, 255, 0.15);
}
/* Custom Donation Form */
.custom-donation-form {
display: flex;
gap: 0.5rem;
justify-content: center;
align-items: center;
max-width: 350px;
margin: 0 auto;
padding: 0 1rem;
}
.custom-amount-input {
padding: 0.8rem;
border: 2px solid var(--or-oki);
background: rgba(255, 255, 255, 0.1);
color: var(--blanc-creme);
border-radius: 10px;
flex: 1;
min-width: 0;
font-size: 1rem;
}
.custom-amount-input-monthly {
border-color: var(--vert-oki);
}
.currency-symbol {
color: var(--blanc-creme);
font-size: 1rem;
white-space: nowrap;
flex-shrink: 0;
}
.custom-donation-btn {
padding: 0.8rem 1.2rem;
border: none;
border-radius: 10px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
flex-shrink: 0;
}
.custom-donation-btn-primary {
background: var(--or-oki);
color: var(--noir-oki);
}
.custom-donation-btn-secondary {
background: var(--vert-oki);
color: var(--blanc-creme);
}
2025-11-05 17:56:25 +04:00
/* Scroll Animations */
.fade-in-element {
opacity: 0;
transform: translateY(30px);
}
.fade-in-element.animate-in {
animation: fadeInUp 0.8s ease forwards;
}
2025-11-05 17:32:17 +04:00
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% {
opacity: 0.3;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.5);
}
}
/* Responsive */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.menu-toggle {
display: flex;
}
.hero h1 {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1.5rem;
}
.hero p {
font-size: 1.1rem;
}
.cta-buttons {
flex-direction: column;
}
.btn {
width: 100%;
text-align: center;
}
.services-grid,
.project-cards {
grid-template-columns: 1fr;
}
/* Custom Donation Form Mobile */
.custom-donation-form {
gap: 0.4rem;
padding: 0 0.5rem;
max-width: 100%;
}
.custom-amount-input {
padding: 0.6rem 0.5rem;
font-size: 0.9rem;
min-width: 70px;
}
.currency-symbol {
font-size: 0.9rem;
}
.custom-donation-btn {
padding: 0.6rem 0.8rem;
font-size: 0.9rem;
}
}
@media (max-width: 380px) {
/* Very small screens */
.custom-donation-form {
gap: 0.3rem;
}
.custom-amount-input {
padding: 0.5rem;
font-size: 0.85rem;
}
.custom-donation-btn {
padding: 0.5rem 0.6rem;
font-size: 0.85rem;
}
}
2025-11-05 22:22:31 +04:00
/* Publics Section */
.publics {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--gris-sombre) 0%, var(--noir-profond) 100%);
}
.publics h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.publics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.public-card {
background: rgba(0, 0, 0, 0.3);
border: 2px solid transparent;
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.public-card:hover {
transform: translateY(-5px);
border-color: var(--or-oki);
box-shadow: 0 20px 40px rgba(232, 166, 37, 0.2);
}
.public-icon {
font-size: 3.5rem;
margin-bottom: 1rem;
}
.public-card h3 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.8rem;
}
.public-description {
margin-bottom: 2rem;
line-height: 1.6;
flex-grow: 1;
}
.public-benefits {
background: rgba(232, 166, 37, 0.1);
border-radius: 10px;
padding: 1.5rem;
margin-bottom: 2rem;
text-align: left;
}
.public-benefits h4 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.1rem;
}
.public-benefits ul {
list-style: none;
padding: 0;
}
.public-benefits li {
margin-bottom: 0.5rem;
padding-left: 0.5rem;
}
.public-cta {
margin-top: auto;
}
.publics-footer {
text-align: center;
margin-top: 4rem;
padding: 2rem;
background: rgba(232, 166, 37, 0.1);
border-radius: 15px;
}
/* FAQ Section */
.faq {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--noir-profond) 0%, var(--gris-sombre) 100%);
}
.faq h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.faq-container {
max-width: 800px;
margin: 3rem auto;
}
.faq-item {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(232, 166, 37, 0.2);
border-radius: 10px;
margin-bottom: 1rem;
overflow: hidden;
transition: all 0.3s ease;
}
.faq-item:hover {
border-color: var(--or-oki);
}
.faq-item.active {
border-color: var(--or-oki);
}
.faq-question {
width: 100%;
background: none;
border: none;
color: var(--blanc-creme);
padding: 1.5rem;
text-align: left;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.3s ease;
}
.faq-question:hover {
color: var(--or-oki);
}
.faq-icon {
font-size: 1.5rem;
color: var(--or-oki);
transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
transform: rotate(45deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
max-height: 500px;
}
.faq-answer p {
padding: 0 1.5rem 1.5rem 1.5rem;
line-height: 1.8;
opacity: 0.9;
}
.faq-footer {
text-align: center;
margin-top: 3rem;
}
/* Engagement Section */
.engagement {
padding: 4rem 2rem;
background: var(--noir-profond);
}
.engagement h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.engagement-options {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin: 3rem 0;
}
.engagement-card {
background: rgba(232, 166, 37, 0.1);
border: 2px solid var(--or-oki);
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
}
.engagement-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(232, 166, 37, 0.3);
}
.engagement-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.engagement-card h3 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.5rem;
}
.engagement-card p {
margin-bottom: 1.5rem;
line-height: 1.6;
}
/* Responsive adjustments for new sections */
@media (max-width: 768px) {
.publics-grid,
.engagement-options {
grid-template-columns: 1fr;
}
.publics h2,
.faq h2,
.engagement h2 {
font-size: 2rem;
}
}