html { scrollbar-color: $blue transparent; scrollbar-width: thin; } ::-webkit-scrollbar { width: 8px; border-radius: 8px; background-color: transparent; } ::-webkit-scrollbar-thumb { background-color: rgba($blue, 1); border-radius: 8px; @media (min-width: 1200px) { background-color: rgba($blue, .5); } } ::-webkit-scrollbar-thumb:hover { @media (min-width: 1200px) { background-color: rgba($blue, 1); } } *, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } a { display: inline-block; color: inherit; text-decoration: none; } h1, h2, h3, h4, h5, h6, p, ul, ol, li { margin: 0; padding: 0; } li { list-style: none; } body { font-family: 'Manrope', sans-serif; color: $black; font-size: 16px; font-weight: 400; overflow-x: hidden; padding-top: 80px; @media (min-width: 1200px) { padding-top: 110px; } &::before { content: ''; position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 100%; background-color: rgba(#03090F, .6); opacity: 0; visibility: hidden; transition: .3s; // pointer-events: none; } &.overlay { &::before { opacity: 1; visibility: visible; } } } img { display: block; } button { padding: 0; border: none; color: inherit; background-color: transparent; cursor: pointer; } .container { max-width: 1256px; padding: 0 20px; margin: 0 auto; } html, body { height: 100%; } .wrapper { display: flex; flex-direction: column; min-height: 100%; overflow-x: hidden; } main { flex: 1 1 auto; } input, textarea { &::placeholder { transition: .3s; } &:focus::placeholder { opacity: 0; } } .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0 0 0 0); } .title-main { color: $white; font-size: 32px; line-height: 36px; font-weight: 800; @media (min-width: 1200px) { font-size: 48px; line-height: 52px; } strong { color: $blue; } } .title { font-size: 32px; line-height: 36px; font-weight: 800; @media (min-width: 1200px) { font-size: 36px; line-height: 44px; } } .btn { font-size: 16px; line-height: 22px; font-weight: 600; text-align: center; padding: 12px 38px; border-radius: 10px; transition: .3s; &--main { color: $white; background-color: $main; border: 2px solid $main; box-shadow: 0px 2px 12px rgba(9, 34, 57, 0.2); &:hover { @media (min-width: 1200px) { background-color: #344D80; border-color: #344D80; } } &:active { @media (min-width: 1200px) { background-color: #011A4D; border-color: #011A4D; } } span { position: relative; display: block; padding-left: 30px; } svg { position: absolute; top: 50%; left: 0; transform: translateY(-50%); fill: $white; } } &--white { color: $main; background-color: $white; border: 2px solid $white; &:hover { @media (min-width: 1200px) { color: $white; background-color: $main; border-color: $main; } } &:active { @media (min-width: 1200px) { color: $white; background-color: #011A4D; border-color: #011A4D; } } } &--bordered { color: $main; background-color: transparent; border: 2px solid $main; &:hover { @media (min-width: 1200px) { color: $white; background-color: $main; } } &:active { @media (min-width: 1200px) { color: $white; background-color: #011A4D; border-color: #011A4D; } } } &:disabled { opacity: .5; cursor: auto; pointer-events: none; } } .field { display: block; input, textarea { display: block; width: 100%; padding: 14px 19px; border-radius: 10px; border: 1px solid transparent; outline: none; color: $black; font-size: 14px; line-height: 20px; font-weight: 400; background-color: $white; &::placeholder { color: #CDCECF; } &:focus, &.no-error { border-color: #42AAFF; } &.error { border-color: #E9162F; } } input { height: 50px; } textarea { resize: none; } span.error { display: block; margin-top: 4px; font-weight: 500; color: #E9162F; font-size: 12px; line-height: 18px; } } .spinner { position: fixed; top: 50%; left: 50%; z-index: 100; display: block; width: 50px; height: 50px; margin: -25px 0px 0px -25px; // border: 4px solid rgba($main, .3); border: 4px solid rgba(#EDF7FF, 1); border-radius: 50%; border-top-color: $blue; opacity: 0; visibility: hidden; transition: .3s; &.active { opacity: 1; visibility: visible; // animation: spin 1s linear infinite; animation: spin 1s ease-in-out infinite; } } @keyframes spin { to { transform: rotate(360deg); } } .map { height: 500px; background-color: #ccc; [class*="copyrights-pane"], [class*="ground-pane"] { filter: grayscale(1); } [class*="image-with-content-content"] { width: 100% !important; } .my-hint { display: inline-block; width: 240px; padding: 20px; background: $white; box-shadow: 0px 2px 12px rgba(104, 107, 111, 0.32); border-radius: 10px; color: #4B4E53; font-size: 16px; line-height: 20px; font-weight: 600; position: relative; left: 30px; transform: translateY(-100%); } } // стили для списка ссылок на страницы .pages { min-height: 100vh; display: flex; justify-content: center; align-items: center; font-size: 16px; line-height: 115%; padding: 20px; margin-top: -110px; @media (min-width: 640px) { font-size: 20px; } li { margin: 5px; color: $blue; position: relative; list-style-type: decimal; cursor: pointer; &:has(a) { cursor: auto; } } a { color: $blue; } }