feat: added why-program
This commit is contained in:
@@ -1331,4 +1331,235 @@ h3 {
|
||||
.twelve-steps__step-text {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.why-program {
|
||||
margin: 111px 0 114px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.why-program {
|
||||
margin: 74px 0 89px;
|
||||
}
|
||||
}
|
||||
.why-program .container {
|
||||
position: relative;
|
||||
}
|
||||
.why-program__title {
|
||||
margin: 21px 0 27px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.why-program__title {
|
||||
margin: 21px 0 23px;
|
||||
}
|
||||
}
|
||||
.why-program__video {
|
||||
position: absolute;
|
||||
top: 515px;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
padding: 0 48px 32px;
|
||||
overflow: hidden;
|
||||
border-radius: 80px 40px;
|
||||
background: url(../img/12-steps-bg.svg) right 12px bottom -70px no-repeat;
|
||||
background-color: #609eff;
|
||||
}
|
||||
@media (max-width: 1240px) {
|
||||
.why-program__video {
|
||||
position: static;
|
||||
margin: 0 0 30px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__video {
|
||||
padding: 0 24px 24px;
|
||||
border-radius: 30px 11px;
|
||||
background: #609eff;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.why-program__video {
|
||||
font-size: 17px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.why-program__video-content {
|
||||
height: 573px;
|
||||
margin: 0 -48px 30px;
|
||||
background-color: #878787;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__video-content {
|
||||
margin: 0 -24px 30px;
|
||||
height: auto;
|
||||
width: calc(100% + 48px);
|
||||
aspect-ratio: 16/9;
|
||||
}
|
||||
}
|
||||
.why-program__video-content > * {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.why-program__video-text {
|
||||
max-width: 812px;
|
||||
font-weight: 500;
|
||||
font-size: 24px;
|
||||
line-height: 146%;
|
||||
color: #ffffff;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__video-text {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.why-program__video-text {
|
||||
font-size: 17px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.why-program__video-text > b {
|
||||
font-weight: 700;
|
||||
}
|
||||
.why-program__slider .swiper {
|
||||
overflow: visible;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slider .swiper {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
.why-program__slider .swiper-wrapper {
|
||||
position: static;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
@media screen and (min-width: 992.1px) {
|
||||
.why-program__slider .swiper-wrapper {
|
||||
gap: 40px 30px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slider .swiper-wrapper {
|
||||
position: relative;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
.why-program__slider .swiper-slide {
|
||||
position: static;
|
||||
height: auto;
|
||||
}
|
||||
@media screen and (min-width: 992.1px) {
|
||||
.why-program__slider .swiper-slide {
|
||||
flex: 0 0 calc(33.3333333333% - 20px);
|
||||
}
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slider .swiper-slide {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
.why-program__slider .swiper-slide:nth-child(-n+3) {
|
||||
margin-bottom: 812px;
|
||||
}
|
||||
@media (max-width: 1240px) {
|
||||
.why-program__slider .swiper-slide:nth-child(-n+3) {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1240.1px) {
|
||||
.why-program__slider .swiper-slide:nth-child(1) {
|
||||
flex: 0 1 27%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1240.1px) {
|
||||
.why-program__slider .swiper-slide:nth-child(2) {
|
||||
flex: 0 1 30%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1240.1px) {
|
||||
.why-program__slider .swiper-slide:nth-child(3) {
|
||||
flex: 1 1 30%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1240.1px) {
|
||||
.why-program__slider .swiper-slide:nth-child(4) {
|
||||
flex: 0 1 31%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1240.1px) {
|
||||
.why-program__slider .swiper-slide:nth-child(5) {
|
||||
flex: 0 1 33%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1240.1px) {
|
||||
.why-program__slider .swiper-slide:nth-child(6) {
|
||||
flex: 1 1 27%;
|
||||
}
|
||||
}
|
||||
.why-program__slide {
|
||||
height: 100%;
|
||||
padding: 31px 38px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 22px 40px;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slide {
|
||||
padding: 24px;
|
||||
}
|
||||
}
|
||||
.why-program__slide-count {
|
||||
margin: 0 0 6px;
|
||||
font-weight: 700;
|
||||
font-size: 59px;
|
||||
line-height: 127%;
|
||||
letter-spacing: 0.05em;
|
||||
color: #ffffff;
|
||||
-webkit-text-stroke: 1px #609eff;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slide-count {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@media (max-width: 576px) {
|
||||
.why-program__slide-count {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
.why-program__slide-title {
|
||||
margin: 0 0 9px;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slide-title {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.why-program__slide-text {
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 146%;
|
||||
color: #878787;
|
||||
}
|
||||
.why-program__slide-text > b {
|
||||
font-weight: 600;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slide-text {
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.why-program__slider-controls {
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
margin: 35px 0 0;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.why-program__slider-controls {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user