/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-image: url('../site/фото/фон3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
}

.header .logo {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 2px 0px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
#searchForm {
    margin-top: 2rem;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.header .logo {
    font-size: 20px;
    font-weight: bold;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar a:hover, .navbar a.active {
    background-color: #555;
}

.running-text {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    font-style: italic;
}

.developers-page {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

.developer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.developer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.developer-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #ccc;
    flex-shrink: 0;
}

.developer-name {
    font-weight: bold;
    margin: 10px 0;
}

.developer-contribution {
    text-align: left;
    flex-grow: 1;
    margin: 0 20px;
}

.actions button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin: 0 5px;
    transition: transform 0.2s;
}

.actions button:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .developer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .developer-contribution {
        margin: 10px 0;
    }
}