@import "../../assets/styles/theme.scss"; @import "bootstrap/scss/bootstrap"; // Подключение Bootstrap #footer { display: flex; justify-content: space-between; align-items: center; height: 192px; padding: 0 10%; margin: 2em 0 0; background: $bg-footer; // Добавление SVG-фона background-image: url("../../assets/images/backround/bg_footer_gray_02.svg"); background-repeat: no-repeat; background-position: center bottom; background-size: cover; // или `contain` в зависимости от эффекта .container-fluid { width: 100%; } .logo-container { height: 52%; max-width: 22%; .logo { height: 100%; width: 100%; } } .contacts { display: flex; flex-direction: column; justify-content: space-between; max-height: 70%; height: 40%; p { color: $text-secondary; font-size: 16px; font-weight: 400; line-height: 16px; margin: 0; } } .links { display: flex; gap: 20px; .link { display: flex; justify-content: center; align-items: center; width: 60px; aspect-ratio: 1; border-radius: 100%; background-color: $bg-primary; .icon { width: 80%; height: 80%; object-fit: contain; } } } @media (max-width: 768px) { flex-direction: column; justify-content: center; align-items: center; width: 100vw; height: auto; padding: 1.5em 10%; position: relative; .container-fluid { display: flex; flex-direction: column; align-items: center; gap: 2rem; } .logo-container { height: auto; max-width: 60%; display: flex; justify-content: center; .logo { height: auto; width: 100%; } } .contacts { text-align: center; gap: 0.5em; width: 100%; padding: 10px 0; p { font-size: 16px; } } .links { display: flex; justify-content: center; gap: 10px; .link { width: 45px; transition: background 0.3s ease; &:hover { background-color: darken($bg-primary, 10%);// } .icon { width: 65%; height: 65%; } } } } } #root:has(#mainpageheader) #footer { background-image: url("../../assets/images/backround/bg_footer_gray.svg"); }