/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    text-align: center;
}

header {
    background-color: #ffffff;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: #007bff;
}

/* Hero section */
.hero {
    background-color: #007bff;
    color: white;
    padding: 60px 20px;
    border-radius: 0 0 20px 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero button {
    padding: 12px 25px;
    border: none;
    background-color: white;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.hero button:hover {
    background-color: #e6e6e6;
}

.hero-img {
    margin-top: 30px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Portfolio section */
.portfolio {
    padding: 50px 20px;
}

.portfolio h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #007bff;
}

.grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card img {
    width: 100%;
    border-radius: 5px;
}

.card p {
    margin-top: 10px;
    font-weight: bold;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 15px;
    margin-top: 40px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}
