:root { --min-width: 320px; --max-width: 1600px; /* Цвета */ --primary: #5A83D5; --primary-dark: #476ab1; --accent: #f1c00e; --accent-dark: #dbae0f; --accent-invert: #a6dbba; --dark: #333; --dark-dark: #1b1b1b; } * { margin: 0; padding: 0; } html, body { display: flex; flex-direction: column; overflow-x: hidden; height: 100%; } header { background-color: rgb(252, 252, 252); box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2); } main { flex: 1; } section { position: relative; } footer { background-color: rgb(252, 252, 252); box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15); } footer > .container-xxl { min-height: 152px; } h1 { font-weight: bold; } .a-no-style { color: initial; text-decoration: none; } .container-xxl { max-width: var(--max-width); min-width: var(--min-width); } .header-logo { min-width: 48px; max-width: 256px; width: 100%; } .btn { width: max-content; padding: 0.6rem; font-weight: bold; color: white; border-radius: 16px; text-align: center; text-wrap: nowrap; transition: 0.2s ease; } .btn.deactivated { opacity: 0.5; pointer-events: none; } .btn-sm { font-size: 0.85em; } .btn-primary { background-color: var(--primary) !important; border: 3px solid var(--primary) !important; } .btn-primary:hover { background-color: var(--primary-dark) !important; border: 3px solid var(--primary-dark) !important; } .btn-primary:active { background-color: var(--primary-dark) !important; border: 3px solid var(--primary) !important; } .btn-dark { background-color: var(--dark) !important; border: 3px solid var(--dark) !important; } .btn-dark:hover { background-color: var(--dark-dark) !important; border: 3px solid var(--dark-dark) !important; } .btn-dark:active { background-color: var(--dark-dark) !important; border: 3px solid var(--dark) !important; } .btn-accent { color: white !important; background-color: var(--accent) !important; border: 3px solid var(--accent) !important; } .btn-accent:hover { background-color: var(--accent-dark) !important; border: 3px solid var(--accent-dark) !important; } .btn-accent:active { background-color: var(--accent-invert) !important; border: 3px solid var(--accent-invert) !important; } .bg-image { position: relative; aspect-ratio: 1; width: 100%; background-repeat: no-repeat; background-position: center center; background-size: cover; border-radius: 16px; transition: box-shadow 0.2s ease; box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2); filter: grayscale(100%); transition: filter 1s ease; } .link-block { max-width: 256px; } .link-block:hover .bg-image { filter: grayscale(0%); } /* --- Анимация при наведении на блок со ссылками --- */ .svg-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 3%; z-index: 1; border-radius: 24px; } .shape { width: 100%; height: 100%; opacity: 0; stroke-width: 6px; fill: transparent; stroke: #009FFD; stroke-dasharray: 85 400; stroke-dashoffset: -220; transition: 1s all ease; rx: 10%; ry: 10%; } /* Эффект при наведении */ .link-block:hover .shape { opacity: 1; stroke-dasharray: 50 0; stroke-width: 3px; stroke-dashoffset: 0; stroke: #06D6A0; } /* --- */ .bg-tech-news { background-image: url('https://lavkatech.ru/image/img-39.jpg'); } .bg-services { background-image: url('https://lavkatech.ru/image/img-41.jpg'); } .bg-opensource { background-image: url('https://lavkatech.ru/image/img-40.jpg'); } .bg-clients { background-image: url('https://lavkatech.ru/image/img-38.jpg'); } .nav-section { display: flex; flex-direction: column; align-items: center; } .mb-10 { margin-bottom: 6rem; } #news-container { overflow: hidden; width: 100%; } .card { box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.1); text-decoration: none; } .card-news { max-width: 400px; width: 100%; flex-shrink: 0; transition: 0.5s ease; } .card-news-body { display: flex; flex-direction: column; justify-content: space-between; } .card-social { overflow: hidden; max-width: 352px; display: flex; flex-direction: column; align-items: center; opacity: 0.8; transition: opacity 0.2s ease-in; } .card-social:hover, .card-social.active { opacity: 1; } .card-social:hover .card-social-logo, .card-social.active .card-social-logo { filter: grayscale(0%); opacity: 0.8; transform: scale(0.9); } .card-social-logo { bottom: 4%; position: absolute; max-width: 40%; filter: grayscale(100%); opacity: 0.33; transition: all 0.2s ease-in; transform: scale(0.8); } .card-social .card-text { margin-bottom: 10em; } .card-service { } .service-ofd-checker { } .service-retail-mapping{ } .service-digital-assistant { } .service-digital-secretary { } .btn-scroll { z-index: 128; font-size: 1.5em; height: max-content; } .bg-addition { display: block; position: absolute; z-index: -1; opacity: 0.25; } .bg-chart { width: 1200px; top: -75px; right: -190px; } .bg-code { width: 1600px; top: -40px; left: -400px; } .bubble-copy { position: absolute; pointer-events: none; opacity: 1; top: 0; left: 50%; transform: translate(-50%, -100%); transition: opacity 0.5s ease, transform 0.5s ease; } .bubble-copy.hide { opacity: 0; transform: translate(-50%, -150%); } .cursor-pointer { cursor: pointer; } .news-content { max-width: 1024px; } .news-content img { border-radius: 16px; margin-bottom: 1em; max-width: 704px; width: 100%; } @media screen and (max-width: 768px) { html { font-size: 0.9em; } }