body { background: #fff; margin: 0; border: none; color: #696969; font-family: Arial, Helvetica, sans-serif; line-height: 180%; } a { color: black; text-decoration: underline; } img { margin: 0; border: none; } h1 { text-align: center; color: #696969; } form { border: 1px solid #696969; padding: 2px 10px 2px 10px; display: flex; justify-content: space-between; } #main { max-width: 1024px; margin: auto; padding: 10px; min-width: 360px; } .image-block { display: flex; } .image-block div { width: 50%; text-align: center; } .image-block img { max-width: 200px; } .upload-image-text { text-align: center; } .image-results { text-align: center; } #menu { padding: 0.5rem 0; border-bottom: 1px solid #dee2e6; /* Серая разделительная линия */ } #menu ul { list-style-type: none; margin: 0; padding: 0; display: flex; gap: 2rem; } #menu li { margin: 0; padding: 0; } #menu a { text-decoration: none; color: #696969; /* Темно-серый цвет */ font-size: 1.1rem; transition: color 0.2s ease; position: relative; } #menu a:hover { color: #212529; /* Чёрный при наведении */ } /* Стиль для активной ссылки */ #menu a.active { color: #212529; font-weight: 500; } #menu a.active::after { content: ""; position: absolute; width: 100%; height: 2px; background-color: #696969; /* Чёрная линия для активной ссылки */ bottom: -4px; left: 0; } input[type="submit"] { padding: 10px; color: #fff; background-color: #696969; cursor: pointer; } input[type="submit"]:hover { background-color: #212529; } input[type="text"]:hover { margin: 8px 0; }