2024-12-25 14:41:56 +07:00

514 lines
8.9 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import "swiper.css";
@import "scrollbar.css";
@import "style-lib.css";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #3f3f3f;
}
/*Header*/
.header {
color: #fff;
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 1rem 0;
z-index: 100;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: #fff;
text-decoration: none;
}
.nav-list {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
}
.nav-item {
margin-left: 1.5rem;
}
.nav-link {
color: #fff;
text-decoration: none;
transition: opacity 0.3s;
}
.nav-link:hover {
opacity: 0.8;
}
.burger {
display: none;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 21px;
cursor: pointer;
z-index: 1001; /* Чтобы иконка была поверх других элементов */
}
.burger span {
display: block;
width: 100%;
height: 3px;
background-color: #fff;
transition: all 0.3s ease;
transform-origin: center; /* Точка вращения — центр элемента */
}
@media (min-width: 768px) {
.display-4 {
font-size: 2.5rem;
}
}
/* Адаптивные стили */
@media (max-width: 768px) {
.nav-list {
top: 0;
position: fixed;
right: -100%;
flex-direction: column;
width: 200px;
background-color: #000;
transition: right 0.3s;
height: 100vh;
}
.nav-link {
margin-left: 1.5rem;
}
.nav-item {
margin: 1rem 0;
}
.burger {
display: flex;
}
.nav-list.active {
right: 0;
}
.display-4 {
font-size: 1.5rem;
}
/* Анимация бургер-меню */
.burger.active span:nth-child(1) {
transform: rotate(45deg) translate(9px, 4px); /* Правильный сдвиг */
}
.burger.active span:nth-child(2) {
opacity: 0; /* Исчезает средний элемент */
}
.burger.active span:nth-child(3) {
transform: rotate(-45deg) translate(8px, -4px); /* Правильный сдвиг */
}
}
/*End header*/
main {
/*padding-top: 60px; !* Отступ сверху, чтобы контент не был скрыт под заголовком *!*/
}
body {
padding: 0;
margin: 0;
}
.slide-text {
text-align: start;
font-family: Roboto, sans-serif;
}
.down-left {
left: 100px;
bottom: 100px;
}
.fw-bold {
font-weight: 700 !important;
}
@media (min-width: 1200px) {
.display-4 {
font-size: 3.5rem;
}
.display-3 {
font-size: 3rem;
}
}
.top-left {
left: 100px;
top: 100px;
}
.center-left {
top: 0;
bottom: 0;
}
.center {
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
text-align: center;
bottom: 0;
top: 30%;
}
.slide-text p, .slide-text li {
font-size: 24px;
}
.slide-text-down-left-800px {
width: 800px;
position: absolute;
left: 100px;
bottom: 100px;
z-index: 1;
}
.slide-text-top-center {
margin-top: 60px;
width: 1200px;
}
.slide-text-down-left-600px > *, .slide-text-top-left-600px > *, .slide-text-down-left-800px > * {
text-align: start;
font-size: 24px;
}
.mb-1 {
margin-bottom: 10px;
}
.mb-2 {
margin-bottom: 20px;
}
.bg-white {
background-color: #fff;
}
.arrow-down {
margin: 0 auto;
left: 0;
right: 0;
position: absolute;
bottom: 10px;
}
.list-style-none {
list-style: none;
}
.inner-gap-1 > * {
margin-bottom: 10px;
}
.card-img {
object-fit: cover;
width: 500px;
height: 400px;
}
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
background-color: #fff;
color: #000;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #000;
color: #fff;
}
.white-link-underline {
position: relative;
color: #fff;
text-decoration: none;
}
.white-link-underline:hover {
color: #fff;
}
.white-link-underline::before {
content: "";
position: absolute;
display: block;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: #fff;
transform: scaleX(0);
transition: transform 0.3s ease;
}
.white-link-underline:hover::before {
transform: scaleX(1);
}
.swiper {
width: 100%;
padding-bottom: 50px;
}
/*.swiper-slide {*/
/* background-position: center;*/
/* background-size: cover;*/
/* width: 450px;*/
/* height: 400px;*/
/*}*/
.swiper-slide img {
display: block;
width: 100%;
}
.swiper-button-next, .swiper-button-prev {
color: #fff; /* Цвет стрелок */
width: 44px;
height: 44px;
}
.swiper-button-next:after, .swiper-button-prev:after {
font-size: 20px;
}
/* Стиль для неактивных пуль пагинации */
.swiper-pagination-bullet {
display: flex;
background-color: #ccc; /* Цвет неактивных элементов */
opacity: 0.5; /* Полупрозрачные неактивные элементы */
transition: background-color 0.3s, opacity 0.3s; /* Плавное изменение цвета и прозрачности */
}
/* Стиль для активной пули пагинации */
.swiper-pagination-bullet-active {
background-color: #fff; /* Цвет активного элемента */
opacity: 1; /* Полностью непрозрачный активный элемент */
}
.card-content {
text-align: start;
}
.accordion-item {
background-color: transparent;
border: none;
margin-bottom: 1rem;
}
.accordion-button {
background-color: transparent;
color: #fff;
font-weight: bold;
}
.accordion-button:not(.collapsed) {
background-color: transparent;
color: #fff;
}
.accordion-button:focus {
box-shadow: none;
background-color: transparent;
}
.accordion-body {
background-color: transparent;
color: #fff;
}
main .swiper-container .swiper-slide .slide-inner .slide-text {
opacity: 0;
transform: translateX(-100%); /* Сдвиг элемента за пределы экрана */
animation: slideIn 0.7s ease forwards;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-100%); /* Начальная позиция слева за пределами экрана */
}
to {
opacity: 1;
transform: translateX(0); /* Финальная позиция — на своём месте */
}
}
.pt-base {
padding-top: 80px;
}
.service-item:hover {
color: #c7c7c7;
background-color: #000;
backdrop-filter: none;
}
.service-item h4 {
font-size: 1.5rem;
margin-bottom: 0;
text-align: center;
background: none;
}
.service-item {
min-height: 150px;
}
@media (max-width: 425px) {
.service-item {
min-height: 80px;
}
.service-item h4 {
font-size: 1rem;
}
}
article p a {
color: #fff;
}
.overflow-dots-4rows p a {
color: #fff;
}
.page-video {
position: absolute;
left: 0;
top: 0;
bottom: 0;
z-index: 1;
width: 100%;
height: 100%;
overflow: hidden;
}
.page-video:before {
content: "";
display: block;
position: absolute;
left: 0;
top: 0;
bottom: 0;
z-index: 1;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
.page-video .video {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
object-fit: fill;
}
.content-wrapper {
margin-bottom: 3rem;
}
@media (max-width: 500px) {
.content-wrapper {
overflow-y: scroll;
max-height: 550px;
border: 1px solid rgb(128, 128, 128);
margin-bottom: 1rem;
}
.content-wrapper::-webkit-scrollbar {
width: 5px;
background-color: #000;
}
.content-wrapper::-webkit-scrollbar-thumb {
border-radius: 2px;
background-color: rgba(0, 0, 0, 0.39);
}
.content-wrapper::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
border-radius: 10px;
background-color: #f9f9fd;
}
}
.service-slide {
background-color: rgba(0, 0, 0, 0.3);
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
min-height: 125px;
padding: 30px;
}
a.service-slide {
height: 100%;
}
@media (max-width: 500px) {
.service-slide
}
.overflow-dots-3rows {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.overflow-dots-4rows {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}