body {
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
background: #000d25;
}
@supports (padding-top: env(safe-area-inset-top)) {
body {
padding-top: env(safe-area-inset-top);
}
}
section{
background: #fff;
} .material-button {
background: linear-gradient(90deg, rgb(118 203 5) 18%, rgb(12 147 0) 100%);
border: none;
border-radius: 25px;
color: white;
padding: 16px 32px;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
cursor: pointer;
transition: 0.3s ease;
position: relative;
overflow: hidden;
text-decoration: none;
}
.material-button-small {
padding: 8px 14px;
font-size: 12px;
}
.material-button-big {
padding: 24px 48px;
font-size: 22px;
border-radius: 40px;
}
.material-button:hover {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transform: translateY(-1px);
}
.material-button:active {
transform: translateY(0);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.material-button::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255, 255, 255, 0.3);
border-radius: 50%;
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.material-button:active::after {
width: 300px;
height: 300px;
} @media (max-width: 1199.98px) {
.material-button {
padding: 14px 26px;
font-size: 13px;
}
.material-button-small {
padding: 6px 12px;
font-size: 11px;
}
.material-button-big {
padding: 20px 40px;
font-size: 18px;
border-radius: 30px;
}
} @media (max-width: 575.98px) {
.material-button {
padding: 12px 20px;
font-size: 12px;
border-radius: 20px;
letter-spacing: 0.5px;
}
.material-button-small {
padding: 6px 10px;
font-size: 10px;
}
.material-button-big {
padding: 16px 32px;
font-size: 16px;
border-radius: 25px;
}
} .header {
position: relative;
min-height: 80vh;
overflow: hidden;
background: linear-gradient(#000d25f0, rgba(128, 128, 128, 0.5)), url(//fitnes-serpukhov.ru/wp-content/themes/img/bg-fallback.jpg);
background-size: cover;
background-position: center;
}
.header__video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
z-index: 1;
object-fit: cover;
pointer-events: none;
}
.header__overlay {
position: absolute;
inset: 0;
background: linear-gradient(#000d25f0, rgba(128, 128, 128, 0.5));
z-index: 2;
}
.header__container {
position: relative;
z-index: 3;
}
.header__nav-link {
color: #fff;
transition: color 0.3s ease;
}
.header__nav-link:focus,
.header__nav-link:hover {
color: #8ed900;
}
.header__contact-link {
color: #fff;
font-weight: 500;
text-decoration: none;
transition: opacity 0.3s ease;
}
.header__contact-link:hover {
opacity: 0.9;
}
.header__usp {
min-height: 80vh;
}
.header__usp-text {
color: #fff;
font-size: 4rem;
font-weight: 800;
line-height: 1.2;
}
.header__usp-text_act {
color: #8ed900;
font-size: 3rem;
font-weight: 600;
line-height: 1.2;
}
.header__mobile {
background: #000d25;
color: #fff;
padding: 10px 5px;
border-top-right-radius: 0.375rem;
border-top-left-radius: 0.375rem;
}
.header__link {
color: #8ed900;
text-decoration: none;
} @media (max-width: 1199.98px) {
.header__usp-text {
font-size: 3rem;
}
.header__usp-text_act {
font-size: 2.25rem;
}
} @media (max-width: 991px) {
.header__usp-text {
font-size: 2.5rem;
}
.header__usp-text_act {
font-size: 1.75rem;
}
.header__usp {
min-height: 60vh;
padding-top: 2rem;
padding-bottom: 5rem;
}
} @media (max-width: 575.98px) {
.header {
min-height: 80vh;
}
.header__usp-text {
font-size: 1.8rem;
line-height: 1.3;
}
.header__usp-text_act {
font-size: 1.4rem;
line-height: 1.4;
}
.header__nav-link {
font-size: 0.9rem;
padding: 0.25rem 0;
}
.header__contact-link {
font-size: 0.85rem;
}
.header__mobile {
font-size: .8rem;
}
} .header__burger {
background: transparent;
border: none;
padding: 8px;
cursor: pointer;
display: flex;
flex-direction: column;
gap: 5px;
z-index: 1001;
position: relative;
}
.header__burger-line {
display: block;
width: 24px;
height: 2px;
background: #fff;
border-radius: 2px;
transition: transform 0.3s ease, opacity 0.3s ease;
} .header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
opacity: 0;
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
} .header__mobile-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.85);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
z-index: 1000;
padding: 20px;
}
.header__mobile-menu.active {
opacity: 1;
visibility: visible;
}
.header__mobile-menu-inner {
background: #000d25;
color: #fff;
border-radius: 0.375rem;
padding: 30px 24px;
width: 100%;
max-width: 400px;
position: relative;
transform: translateY(20px);
transition: transform 0.3s ease;
}
.header__mobile-menu.active .header__mobile-menu-inner {
transform: translateY(0);
} .header__mobile-close {
position: absolute;
top: 12px;
right: 16px;
background: transparent;
border: none;
color: #fff;
font-size: 28px;
cursor: pointer;
line-height: 1;
padding: 4px 8px;
} .header__mobile-nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.header__mobile-link {
color: #fff;
text-decoration: none;
font-size: 18px;
font-weight: 500;
padding: 10px 0;
transition: opacity 0.2s ease;
display: block;
text-align: center;
}
.header__mobile-link:hover {
opacity: 0.9;
} .header__mobile-contacts {
text-align: center;
}
.header__mobile-tel-link:hover {
opacity: 0.9;
} .advantages {
padding-top: 80px;
padding-bottom: 80px;
}
.advantages__list-item {
font-size: 1.5rem;
line-height: 1.4;
} @media (max-width: 1199.98px) {
.advantages {
padding-top: 60px;
padding-bottom: 60px;
}
.advantages__list-item {
font-size: 1.25rem;
}
} @media (max-width: 575.98px) {
.advantages {
padding-top: 40px;
padding-bottom: 40px;
}
.advantages__list-item {
font-size: 1rem;
line-height: 1.2;
padding: 0.1rem 0;
}
} .services {
padding-bottom: 80px;
}
.services__card-link {
border-radius: 0.375rem;
overflow: hidden;
}
.services__image-container {
overflow: hidden;
}
.services__card-img {
transition: transform 0.3s ease;
border-radius: 0.375rem;
}
.services__image-container:hover .services__card-img {
transform: scale(1.05);
}
.services__card-gradient {
height: 100%;
background: linear-gradient(to top, #000d25f0, transparent);
border-radius: 0 0 0.375rem 0.375rem;
z-index: 1;
}
.services__card-title {
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
font-size: 1.5rem;
font-weight: 500;
z-index: 2;
} @media (max-width: 1199.98px) {
.services {
padding-bottom: 60px;
}
.services__card-title {
font-size: 1.25rem;
}
} @media (max-width: 575.98px) {
.services {
padding-bottom: 40px;
}
.services__card-title {
font-size: 1.1rem;
line-height: 1.3;
padding: 0.5rem;
}
.services__image-container:hover .services__card-img {
transform: none; }
} .gallery {
padding-bottom: 80px;
}
.gallery__slide-content_img {
border-radius: 5px;
}
.gallery__button-next,
.gallery__button-prev {
background: linear-gradient(90deg, rgb(118 203 5) 18%, rgb(12 147 0) 100%) !important;
border-radius: 25px !important;
width: 48px !important;
height: 48px !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
transition: 0.3s ease !important;
position: absolute !important;
top: 50% !important;
transform: translateY(-50%) !important;
}
.gallery__button-prev {
left: 10px !important;
right: auto !important;
}
.gallery__button-next {
right: 10px !important;
left: auto !important;
}
.gallery__button-next::after,
.gallery__button-prev::after {
display: none !important;
content: none !important;
}
.gallery__button-next svg,
.gallery__button-prev svg,
.swiper-button-next svg,
.swiper-button-prev svg {
display: none !important;
opacity: 0 !important;
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
}
.gallery__button-next *,
.gallery__button-prev *,
.swiper-button-next *,
.swiper-button-prev * {
display: none !important;
}
.gallery__button-prev::before {
content: "←" !important;
display: block !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
color: white !important;
font-size: 24px !important;
font-weight: bold !important;
z-index: 10 !important;
}
.gallery__button-next::before {
content: "→" !important;
display: block !important;
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
color: white !important;
font-size: 24px !important;
font-weight: bold !important;
z-index: 10 !important;
}
.gallery__button-next:hover,
.gallery__button-prev:hover {
background: linear-gradient(90deg, rgb(100 180 0) 18%, rgb(8 120 0) 100%) !important;
transform: translateY(-50%) scale(1.05) !important;
}
.gallery__pagination .swiper-pagination-bullet {
background: rgba(118, 203, 5, 0.6) !important;
}
.gallery__pagination .swiper-pagination-bullet-active {
background: linear-gradient(90deg, rgb(118 203 5) 18%, rgb(12 147 0) 100%) !important;
width: 20px !important;
border-radius: 10px !important;
}
.gallery__slide {
overflow: hidden;
border-radius: 5px;
}
.gallery__slide-content {
position: relative;
width: 100%;
padding-top: 100%;
overflow: hidden;
border-radius: 5px;
background: #0f1217;
}
.gallery__slide-content a {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
}
.gallery__slide-content_img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.gallery__slide:hover .gallery__slide-content_img {
transform: scale(1.08);
}
.swiper-slide {
height: auto !important;
} @media (max-width: 1199.98px) {
.gallery {
padding-bottom: 60px;
}
.gallery__button-next,
.gallery__button-prev {
width: 40px !important;
height: 40px !important;
}
.gallery__button-prev::before,
.gallery__button-next::before {
font-size: 20px !important;
}
} @media (max-width: 575.98px) {
.gallery {
padding-bottom: 40px;
}
.gallery__button-next,
.gallery__button-prev {
width: 34px !important;
height: 34px !important;
border-radius: 17px !important;
}
.gallery__button-prev {
left: 5px !important;
}
.gallery__button-next {
right: 5px !important;
}
.gallery__button-prev::before,
.gallery__button-next::before {
font-size: 14px !important;
}
.gallery__slide {
border-radius: 3px;
}
.gallery__slide-content {
border-radius: 3px;
padding-top: 100%;
}
.gallery__slide:hover .gallery__slide-content_img {
transform: none;
}
.gallery__pagination {
bottom: -25px !important;
}
} .promo {
padding-top: 120px;
padding-bottom: 80px;
}
.promo__title {
font-size: 2.4rem;
font-weight: 800;
text-transform: uppercase;
line-height: 1.2;
}
.promo__text {
font-size: 1.8rem;
font-weight: 500;
text-transform: uppercase;
line-height: 1.4;
}
.promo__row {
border-radius: 5px;
border: solid 10px #8ed900;
}
.promo__image {
margin-bottom: -170px;
transform: translate(5%, -170px);
}
.promo__text-act {
color: #8ed900;
} @media (max-width: 1199.98px) {
.promo {
padding-top: 100px;
padding-bottom: 60px;
}
.promo__title {
font-size: 2rem;
}
.promo__text {
font-size: 1.4rem;
}
.promo__row {
border-width: 8px;
}
.promo__image {
margin-bottom: -120px;
transform: translate(3%, -120px);
}
} @media (max-width: 575.98px) {
.promo {
padding-top: 80px;
padding-bottom: 40px;
}
.promo__title {
font-size: 1.6rem;
line-height: 1.3;
text-transform: none;
}
.promo__text {
font-size: 1rem;
text-transform: none;
line-height: 1.6;
}
.promo__row {
border-width: 5px;
border-radius: 3px;
padding: 0.5rem;
}
.promo__image {
margin-bottom: -100;
position: relative;
width: 100%;
max-width: 100%;
transform: translate(0, -120px);
}
} .footer {
padding-top: 120px;
padding-bottom: 120px;
background: #000d25;
color: #fff;
} @media (max-width: 1199.98px) {
.footer {
padding-top: 80px;
padding-bottom: 80px;
}
} @media (max-width: 575.98px) {
.footer {
padding-top: 60px;
padding-bottom: 60px;
text-align: center;
}
}