380 lines
6.8 KiB
CSS
380 lines
6.8 KiB
CSS
@import "swiper.css";
|
||
@import "scrollbar.css";
|
||
@import "style-lib.css";
|
||
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
body {
|
||
overflow: hidden;
|
||
}
|
||
|
||
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: 2;
|
||
}
|
||
|
||
.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;
|
||
} |