390 lines
6.3 KiB
CSS
390 lines
6.3 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
||
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
|
||
|
||
body {
|
||
/* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
|
||
font-family: 'Roboto', 'Arimo', sans-serif;
|
||
line-height: 1.6;
|
||
color: #333;
|
||
background-color: #f4f4f4;
|
||
}
|
||
|
||
/* Навигация */
|
||
.navbar {
|
||
background-color: #2c3e50;
|
||
color: white;
|
||
padding: 1rem 2rem;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
position: sticky;
|
||
top: 0;
|
||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.logo {
|
||
font-size: 1.5rem;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.nav-links {
|
||
list-style: none;
|
||
display: flex;
|
||
gap: 2rem;
|
||
}
|
||
|
||
.nav-links a {
|
||
color: white;
|
||
text-decoration: none;
|
||
transition: color 0.3s;
|
||
}
|
||
|
||
.nav-links a:hover {
|
||
color: #3498db;
|
||
}
|
||
|
||
/* Главная секция */
|
||
.hero {
|
||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||
color: white;
|
||
padding: 5rem 2rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.hero-content h1 {
|
||
font-size: 3rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.hero-content p {
|
||
font-size: 1.2rem;
|
||
margin-bottom: 2rem;
|
||
}
|
||
|
||
/* Кнопки */
|
||
.btn {
|
||
padding: 0.75rem 1.5rem;
|
||
border: none;
|
||
border-radius: 5px;
|
||
cursor: pointer;
|
||
font-size: 1rem;
|
||
transition: all 0.3s;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.btn-primary {
|
||
background-color: #3498db;
|
||
color: white;
|
||
}
|
||
|
||
.btn-primary:hover {
|
||
background-color: #2980b9;
|
||
transform: translateY(-2px);
|
||
}
|
||
|
||
.btn-secondary {
|
||
background-color: #95a5a6;
|
||
color: white;
|
||
}
|
||
|
||
.btn-secondary:hover {
|
||
background-color: #7f8c8d;
|
||
}
|
||
|
||
.btn-success {
|
||
background-color: #27ae60;
|
||
color: white;
|
||
}
|
||
|
||
.btn-success:hover {
|
||
background-color: #229954;
|
||
}
|
||
|
||
/* О нас */
|
||
.about {
|
||
background-color: white;
|
||
padding: 4rem 2rem;
|
||
text-align: center;
|
||
}
|
||
|
||
.about h2 {
|
||
font-size: 2.5rem;
|
||
margin-bottom: 3rem;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.about-content {
|
||
display: flex;
|
||
gap: 2rem;
|
||
justify-content: center;
|
||
flex-wrap: wrap;
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.about-card {
|
||
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
||
padding: 2rem;
|
||
border-radius: 8px;
|
||
flex: 0 1 300px;
|
||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||
transition: transform 0.3s;
|
||
}
|
||
|
||
.about-card:hover {
|
||
transform: translateY(-5px);
|
||
}
|
||
|
||
.about-card h3 {
|
||
font-size: 1.5rem;
|
||
margin-bottom: 1rem;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
/* Возможности */
|
||
.features {
|
||
background-color: #ecf0f1;
|
||
padding: 4rem 2rem;
|
||
}
|
||
|
||
.features h2 {
|
||
font-size: 2.5rem;
|
||
text-align: center;
|
||
margin-bottom: 3rem;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.features h3 {
|
||
font-size: 1.8rem;
|
||
margin: 2rem 0 1rem 0;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
/* Списки */
|
||
.list-container {
|
||
display: flex;
|
||
gap: 2rem;
|
||
margin-bottom: 2rem;
|
||
justify-content: center;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.list-column {
|
||
background: white;
|
||
padding: 1.5rem;
|
||
border-radius: 5px;
|
||
flex: 0 1 250px;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.list-column h4 {
|
||
margin-bottom: 1rem;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.list-column ul,
|
||
.list-column ol {
|
||
margin-left: 1.5rem;
|
||
}
|
||
|
||
.list-column li {
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
/* Таблица */
|
||
.data-table {
|
||
width: 100%;
|
||
max-width: 600px;
|
||
margin: 1.5rem auto;
|
||
border-collapse: collapse;
|
||
background: white;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||
border-radius: 5px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.data-table thead {
|
||
background-color: #3498db;
|
||
color: white;
|
||
}
|
||
|
||
.data-table th,
|
||
.data-table td {
|
||
padding: 1rem;
|
||
text-align: left;
|
||
border-bottom: 1px solid #ddd;
|
||
}
|
||
|
||
.data-table tbody tr:nth-child(even) {
|
||
background-color: #f9f9f9;
|
||
}
|
||
|
||
.data-table tbody tr:hover {
|
||
background-color: #ecf0f1;
|
||
}
|
||
|
||
/* Цветовая палитра */
|
||
.color-palette {
|
||
display: flex;
|
||
gap: 1rem;
|
||
justify-content: center;
|
||
flex-wrap: wrap;
|
||
margin: 2rem 0;
|
||
}
|
||
|
||
.color-box {
|
||
width: 100px;
|
||
height: 100px;
|
||
border-radius: 8px;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||
transition: transform 0.3s;
|
||
}
|
||
|
||
.color-box:hover {
|
||
transform: scale(1.1);
|
||
}
|
||
|
||
.color-box.primary {
|
||
background-color: #3498db;
|
||
}
|
||
|
||
.color-box.secondary {
|
||
background-color: #2c3e50;
|
||
}
|
||
|
||
.color-box.success {
|
||
background-color: #27ae60;
|
||
}
|
||
|
||
.color-box.warning {
|
||
background-color: #f39c12;
|
||
}
|
||
|
||
.color-box.danger {
|
||
background-color: #e74c3c;
|
||
}
|
||
|
||
/* Форма */
|
||
.contact {
|
||
background-color: white;
|
||
padding: 4rem 2rem;
|
||
}
|
||
|
||
.contact h2 {
|
||
font-size: 2.5rem;
|
||
text-align: center;
|
||
margin-bottom: 2rem;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.form {
|
||
max-width: 500px;
|
||
margin: 0 auto;
|
||
background-color: #f9f9f9;
|
||
padding: 2rem;
|
||
border-radius: 8px;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.form-group {
|
||
margin-bottom: 1.5rem;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.form-group label {
|
||
margin-bottom: 0.5rem;
|
||
font-weight: bold;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.form-group input[type="text"],
|
||
.form-group input[type="email"],
|
||
.form-group textarea,
|
||
.form-group select {
|
||
padding: 0.75rem;
|
||
border: 1px solid #ddd;
|
||
border-radius: 5px;
|
||
font-size: 1rem;
|
||
font-family: inherit;
|
||
transition: border-color 0.3s;
|
||
}
|
||
|
||
.form-group input[type="text"]:focus,
|
||
.form-group input[type="email"]:focus,
|
||
.form-group textarea:focus,
|
||
.form-group select:focus {
|
||
outline: none;
|
||
border-color: #3498db;
|
||
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
|
||
}
|
||
|
||
.form-group.checkbox {
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.form-group.checkbox input[type="checkbox"] {
|
||
width: 20px;
|
||
height: 20px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.form-group.checkbox label {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.form .btn {
|
||
margin-right: 1rem;
|
||
}
|
||
|
||
/* Подвал */
|
||
.footer {
|
||
background-color: #2c3e50;
|
||
color: white;
|
||
text-align: center;
|
||
padding: 2rem;
|
||
}
|
||
|
||
/* Адаптивность */
|
||
@media (max-width: 768px) {
|
||
.navbar {
|
||
flex-direction: column;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.nav-links {
|
||
flex-direction: column;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.hero-content h1 {
|
||
font-size: 2rem;
|
||
}
|
||
|
||
.about-content {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.list-container {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.color-palette {
|
||
gap: 0.5rem;
|
||
}
|
||
|
||
.color-box {
|
||
width: 80px;
|
||
height: 80px;
|
||
}
|
||
}
|