wheelease-express / style.css
Vinderos's picture
Develop a website for the company Soctaxi.com for transportation of disabled and sedentary citizens across Europe, the CIS, Belarus, and Russia. Shape it in yellow-black-white style, do everything in a modern way, in English and Russian, with the ability to switch the language of the site, make animations for the mouse, dynamic images and switching, a stylish one-page website. This is the website of a transportation company, use this particular style!
d5545c5 verified
Raw History Blame Contribute Delete
2.39 kB
:root {
--primary: #FFD700;
--secondary: #000000;
--accent: #FFFFFF;
--text-dark: #333333;
--text-light: #F5F5F5;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: var(--accent);
color: var(--text-dark);
overflow-x: hidden;
transition: all 0.3s ease;
}
/* Language Switch */
.lang-switch {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
}
.lang-btn {
background: var(--secondary);
color: var(--primary);
border: none;
padding: 8px 15px;
border-radius: 20px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s;
}
.lang-btn:hover {
background: var(--primary);
color: var(--secondary);
}
/* Hero Section */
.hero {
height: 100vh;
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
url('http://static.photos/transport/1200x630/1');
background-size: cover;
background-position: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: var(--accent);
position: relative;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
color: var(--primary);
text-shadow: 2px 2px 4px var(--secondary);
animation: fadeIn 1.5s ease;
}
.hero p {
font-size: 1.5rem;
max-width: 800px;
margin-bottom: 2rem;
animation: fadeIn 2s ease;
}
/* Services */
.services {
padding: 5rem 2rem;
background: var(--accent);
}
.service-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.service-card {
background: var(--primary);
padding: 2rem;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.service-card:hover {
transform: translateY(-10px);
}
/* Cursor Animation */
.cursor {
position: fixed;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--primary);
pointer-events: none;
mix-blend-mode: difference;
z-index: 9999;
transform: translate(-50%, -50%);
transition: transform 0.1s;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Responsive */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.2rem;
}
}