* { margin: 0; padding: 0; box-sizing: border-box; } body { display: flex; justify-content: center; background-color: #121212; font-family: 'Inter', sans-serif; color: #f1f1f1; padding: 40px 20px; } .center-column { width: 100%; max-width: 800px; padding: 0 20px 20px; background-color: #1e1e1e; border-radius: 16px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); } h1 { font-size: 36px; text-align: center; color: #00c6ff; margin-bottom: 30px; } .filter { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; justify-content: center; } .filter label { font-weight: 600; color: #cccccc; } .filter select { padding: 10px 14px; background-color: #2b2b2b; border: 1px solid #444; border-radius: 8px; color: #fff; font-size: 15px; transition: border 0.2s ease; } .filter select:hover, .filter select:focus { border-color: #00c6ff; outline: none; } .project { padding: 20px; border-radius: 14px; background: #2a2a2a; margin-bottom: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); } .project:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); } .project h2 { color: #ffd700; margin-bottom: 8px; font-size: 20px; } .project p { font-size: 15px; line-height: 1.5; color: #dddddd; } .project a { display: inline-block; margin-top: 12px; padding: 10px 16px; background-color: #00c6ff; color: #121212; font-weight: 600; text-decoration: none; border-radius: 8px; transition: background-color 0.3s ease; } .project a:hover { background-color: #0099cc; } .project-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } .banner-slider { width: 100%; max-width: 728px; overflow: hidden; position: relative; margin: 20px auto; border-radius: 12px; } .banner-track { display: flex; transition: transform 0.5s ease-in-out; width: 9999px; /* неважно, просто больше */ } .banner-slide { width: 728px; flex-shrink: 0; } .banner-slide img { width: 728px; height: 200px; object-fit: cover; border-radius: 12px; display: block; } .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 8px 12px; border-radius: 50%; z-index: 10; transition: background 0.3s ease; } .slider-btn:hover { background: rgba(0, 0, 0, 0.8); } .slider-btn.prev { left: 10px; } .slider-btn.next { right: 10px; } .custom-banner { width: 100%; max-width: 728px; height: auto; margin: 20px auto; overflow: hidden; border-radius: 12px; } .custom-banner img { width: 100%; height: auto; display: block; object-fit: contain; border-radius: 12px; }