Spaces:
Running
Running
| /* Общие стили */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Arial', sans-serif; | |
| } | |
| body { | |
| background: #f5f5f5; | |
| color: #333; | |
| line-height: 1.6; | |
| } | |
| /* Контейнер */ | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 20px; | |
| } | |
| /* Шапка */ | |
| header { | |
| background: #fff; | |
| padding: 20px 0; | |
| position: fixed; | |
| width: 100%; | |
| top: 0; | |
| z-index: 10; | |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | |
| } | |
| .logo { | |
| font-size: 28px; | |
| font-weight: bold; | |
| color: #e74c3c; | |
| } | |
| nav ul { | |
| float: right; | |
| list-style: none; | |
| } | |
| nav ul li { | |
| display: inline; | |
| margin-left: 20px; | |
| } | |
| nav ul li a { | |
| text-decoration: none; | |
| color: #333; | |
| font-weight: 500; | |
| transition: color 0.3s; | |
| } | |
| nav ul li a:hover { | |
| color: #e74c3c; | |
| } | |
| /* Герой */ | |
| .hero { | |
| height: 100vh; | |
| background: linear-gradient(135deg, #ecf0f1, #dfe4ea); | |
| display: flex; | |
| align-items: center; | |
| text-align: center; | |
| } | |
| .hero h2 { | |
| font-size: 48px; | |
| font-weight: 900; | |
| letter-spacing: 2px; | |
| margin-bottom: 20px; | |
| animation: fadeIn 1s ease-in; | |
| } | |
| .hero p { | |
| font-size: 24px; | |
| margin-bottom: 30px; | |
| } | |
| .cta-button { | |
| padding: 15px 30px; | |
| font-size: 18px; | |
| background: #e74c3c; | |
| color: #fff; | |
| border: none; | |
| border-radius: 50px; | |
| cursor: pointer; | |
| box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3); | |
| transition: transform 0.3s, box-shadow 0.3s; | |
| } | |
| .cta-button:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(231, 76, 60, 0.5); | |
| } | |
| /* Услуги */ | |
| .services { | |
| padding: 80px 0; | |
| background: #fff; | |
| } | |
| .services h3 { | |
| font-size: 36px; | |
| text-align: center; | |
| margin-bottom: 40px; | |
| } | |
| .service-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| } | |
| .service-card { | |
| background: #ecf0f1; | |
| padding: 20px; | |
| text-align: center; | |
| font-size: 20px; | |
| border-radius: 10px; | |
| transition: transform 0.3s; | |
| } | |
| .service-card:hover { | |
| transform: scale(1.05); | |
| } | |
| /* О нас */ | |
| .about { | |
| padding: 80px 0; | |
| background: #dfe4ea; | |
| text-align: center; | |
| } | |
| .about h3 { | |
| font-size: 36px; | |
| margin-bottom: 20px; | |
| } | |
| .about p { | |
| font-size: 18px; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| /* Контакты */ | |
| .contact { | |
| padding: 80px 0; | |
| background: #fff; | |
| text-align: center; | |
| } | |
| .contact h3 { | |
| font-size: 36px; | |
| margin-bottom: 40px; | |
| } | |
| form { | |
| display: flex; | |
| flex-direction: column; | |
| max-width: 500px; | |
| margin: 0 auto; | |
| gap: 15px; | |
| } | |
| input { | |
| padding: 15px; | |
| font-size: 16px; | |
| border: none; | |
| border-radius: 10px; | |
| background: #ecf0f1; | |
| box-shadow: inset 5px 5px 10px #d1d5d8, inset -5px -5px 10px #ffffff; | |
| } | |
| .submit-button { | |
| padding: 15px; | |
| font-size: 18px; | |
| background: #e74c3c; | |
| color: #fff; | |
| border: none; | |
| border-radius: 50px; | |
| cursor: pointer; | |
| transition: transform 0.3s; | |
| } | |
| .submit-button:hover { | |
| transform: translateY(-5px); | |
| } | |
| /* Футер */ | |
| footer { | |
| padding: 20px 0; | |
| background: #333; | |
| color: #fff; | |
| text-align: center; | |
| } | |
| /* Анимация */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| /* Адаптивность */ | |
| @media (max-width: 768px) { | |
| nav ul { | |
| float: none; | |
| text-align: center; | |
| margin-top: 20px; | |
| } | |
| nav ul li { | |
| display: block; | |
| margin: 10px 0; | |
| } | |
| .hero h2 { | |
| font-size: 32px; | |
| } | |
| .hero p { | |
| font-size: 18px; | |
| } | |
| } |