
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2em;
}

/* Main content */
main {
    max-width: 800px;
    margin: 0 auto;
}

/* Search container */
.search-container {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.search-container form {
    display: flex;
    gap: 10px;
}

.search-container input[type="text"] {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.search-container input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
}

.search-container button {
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.search-container button:hover {
    background-color: #2980b9;
}

/* Results section */
.results h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Individual items */
.item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.item p {
    color: #666;
}


.declension-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.85rem;
}

.declension-table th,
.declension-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: center;
}

.declension-table th {
    background-color: #667eea;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.declension-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.declension-table td:first-child {
    background-color: #f0f0f0;
    font-weight: 600;
    font-size: 0.8rem;
}








