ServiseIA / static /Traduction.css
Marouane31's picture
Upload 2 files
49426f3 verified
Raw History Blame Contribute Delete
10.7 kB
:root {
--primary: #4cc9a4; /* Adapté à la couleur de ce service spécifique */
--secondary: #3f37c9;
--accent: #4895ef;
--light: #f8f9fa;
--dark: #212529;
--success: #4cc9a4;
--info: #90e0ef;
--warning: #ffb703;
--danger: #e63946;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f8f9fa;
color: var(--dark);
}
header {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
padding: 1.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.8rem;
font-weight: bold;
}
.logo span {
color: var(--info);
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
}
.nav-links a:hover {
text-decoration: underline;
}
.auth-buttons {
display: flex;
gap: 1rem;
}
button {
padding: 0.5rem 1rem;
border: none;
border-radius: 4px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.login-btn {
background-color: transparent;
color: white;
border: 1px solid white;
}
.signup-btn {
background-color: white;
color: var(--primary);
}
.service-banner {
padding: 3rem 2rem;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
text-align: center;
}
.service-banner h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.service-banner p {
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 3rem 2rem;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.feature-card {
background-color: white;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
text-align: center;
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--primary);
}
.feature-card h3 {
margin-bottom: 0.8rem;
color: var(--dark);
}
.feature-card p {
color: #6c757d;
}
.translation-tool {
background-color: white;
border-radius: 8px;
padding: 2rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
margin-bottom: 3rem;
}
.tool-header {
margin-bottom: 1.5rem;
text-align: center;
}
.tool-header h2 {
color: var(--dark);
margin-bottom: 0.5rem;
}
.tool-header p {
color: #6c757d;
}
.translation-form {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}
.language-selector {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
}
.language-selector select {
padding: 0.5rem;
border-radius: 4px;
border: 1px solid #ced4da;
width: 48%;
}
textarea {
width: 100%;
height: 200px;
padding: 1rem;
border-radius: 4px;
border: 1px solid #ced4da;
resize: none;
}
.translate-btn {
background-color: var(--primary);
color: white;
padding: 0.8rem 1.5rem;
border-radius: 4px;
margin: 1rem auto;
display: block;
font-size: 1.1rem;
}
.translate-btn:hover {
background-color: #3da88a;
}
.upload-section {
text-align: center;
padding: 2rem;
border: 2px dashed #ced4da;
border-radius: 8px;
margin-bottom: 1.5rem;
}
.upload-section p {
margin-bottom: 1rem;
}
.file-input {
display: none;
}
.upload-btn {
background-color: var(--light);
color: var(--dark);
border: 1px solid #ced4da;
padding: 0.5rem 1rem;
}
.testimonials {
text-align: center;
margin-bottom: 3rem;
}
.testimonials h2 {
margin-bottom: 2rem;
color: var(--dark);
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.testimonial-card {
background-color: white;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.testimonial-content {
font-style: italic;
margin-bottom: 1rem;
color: #6c757d;
}
.testimonial-author {
font-weight: 500;
}
.pricing {
text-align: center;
margin-bottom: 3rem;
}
.pricing h2 {
margin-bottom: 2rem;
color: var(--dark);
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.pricing-card {
background-color: white;
border-radius: 8px;
padding: 2rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
text-align: center;
}
.plan-name {
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: var(--dark);
}
.plan-price {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 1.5rem;
color: var(--primary);
}
.plan-price span {
font-size: 1rem;
color: #6c757d;
}
.plan-features {
list-style: none;
margin-bottom: 1.5rem;
}
.plan-features li {
padding: 0.5rem 0;
border-bottom: 1px solid #e9ecef;
}
.select-plan-btn {
background-color: var(--primary);
color: white;
padding: 0.8rem 1.5rem;
border-radius: 4px;
width: 100%;
}
.select-plan-btn:hover {
background-color: #3da88a;
}
.faq {
margin-bottom: 3rem;
}
.faq h2 {
text-align: center;
margin-bottom: 2rem;
color: var(--dark);
}
.faq-item {
margin-bottom: 1rem;
border: 1px solid #e9ecef;
border-radius: 8px;
overflow: hidden;
}
.faq-question {
padding: 1rem;
background-color: white;
font-weight: 500;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-answer {
padding: 1rem;
background-color: #f8f9fa;
border-top: 1px solid #e9ecef;
}
footer {
background-color: var(--dark);
color: white;
padding: 3rem 2rem;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-logo {
font-size: 1.8rem;
font-weight: bold;
margin-bottom: 1rem;
}
.footer-logo span {
color: var(--info);
}
.footer-section h3 {
font-size: 1.2rem;
margin-bottom: 1.2rem;
position: relative;
}
.footer-section h3::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 50px;
height: 2px;
background-color: var(--primary);
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 0.8rem;
}
.footer-links a {
color: #adb5bd;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: white;
}
.copyright {
text-align: center;
padding-top: 2rem;
margin-top: 2rem;
border-top: 1px solid #343a40;
color: #adb5bd;
}
@media (max-width: 768px) {
.navbar {
flex-direction: column;
gap: 1rem;
}
.translation-form {
grid-template-columns: 1fr;
}
}