/* Общие стили */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; } a { text-decoration: none; color: #333; } /* Шапка */ header { background-color: #333; color: #fff; padding: 20px; } nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; justify-content: center; } nav li { margin: 0 10px; } nav a { color: #fff; } /* Основное содержимое */ main { padding: 60px; } .hero { text-align: center; margin-bottom: 60px; } .hero h1 { font-size: 36px; margin-bottom: 20px; } .hero p { font-size: 18px; margin-bottom: 30px; } .cta { display: inline-block; background-color: #333; color: #fff; padding: 10px 20px; border-radius: 5px; transition: background-color 0.3s ease; } .cta:hover { background-color: #555; } .about, .services, .portfolio, .testimonials, .blog, .contact { margin-bottom: 80px; } .about-content { display: flex; align-items: center; } .about-text { flex: 1; margin-right: 40px; } .about-image { flex: 1; text-align: center; } .about-image img { max-width: 300px; border-radius: 50%; } .services-list { display: flex; justify-content: space-between; } .service-item { flex: 1; margin: 0 20px; text-align: center; } .service-link { display: inline-block; background-color: #333; color: #fff; padding: 8px 16px; border-radius: 5px; transition: background-color 0.3s ease; } .service-link:hover { background-color: #555; } .portfolio-items { display: flex; justify-content: space-between; } .portfolio-item { flex: 1; margin: 0 20px; text-align: center; } .portfolio-item img { max-width: 100%; border-radius: 5px; } .portfolio-link { display: inline-block; background-color: #333; color: #fff; padding: 8px 16px; border-radius: 5px; transition: background-color 0.3s ease; } .portfolio-link:hover { background-color: #555; } .testimonial-items { display: flex; justify-content: space-between; } .testimonial-item { flex: 1; margin: 0 20px; display: flex; align-items: center; } .testimonial-image { flex: 1; text-align: center; margin-right: 40px; } .testimonial-image img { max-width: 100px; border-radius: 50%; } .testimonial-content { flex: 2; } .blog-posts { display: flex; justify-content: space-between; } .blog-post { flex: 1; margin: 0 20px; text-align: center; } .blog-post img { max-width: 100%; border-radius: 5px; } .blog-link { display: inline-block; background-color: #333; color: #fff; padding: 8px 16px; border-radius: 5px; }