Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'variables', 'mixin';
- /* Homepage */
- @-webkit-keyframes top-bottom {
- 0% {
- transform: translateY(0);
- }
- 50% {
- transform: translateY(35px);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes left-right {
- 0% {
- transform: translateX(0);
- }
- 50% {
- transform: translateX(35px);
- }
- 100% {
- transform: translateX(0);
- }
- }
- .home {
- .s1 {
- position: relative;
- @include media-min(md) {
- &:before {
- content: '';
- display: block;
- position: absolute;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- background-image: url(/wp-content/uploads/2021/10/sg__slider_after.png);
- background-size: contain;
- background-repeat: repeat;
- bottom: auto;
- left: 50px;
- right: 0;
- margin-left: auto;
- margin-right: auto;
- top: -250px;
- width: 75px;
- z-index: 55;
- height: 144px;
- -webkit-animation: linear infinite alternate;
- -webkit-animation-name: top-bottom;
- -webkit-animation-duration: 5s;
- }
- }
- .col-md-4 {
- display: flex;
- flex-flow: row wrap;
- align-items: stretch;
- padding: 0;
- margin: 0;
- @include media-min(md) {
- transform: translateY(50px);
- @include css3(transition, $transition);
- &:hover {
- transform: translateY(30px);
- }
- }
- }
- &__img_box {
- border-radius: 40px;
- background-color: #E9E7F3;
- position: relative;
- &:before {
- content: '';
- display: block;
- position: absolute;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- background-image: url(/wp-content/uploads/2021/10/s1__before.png);
- background-size: contain;
- background-repeat: repeat;
- bottom: auto;
- left: auto;
- right: -100px;
- margin-left: auto;
- margin-right: auto;
- top: -90px;
- width: 167px;
- z-index: 55;
- height: 113px;
- }
- @include media-max(md) {
- padding: 20px 10px;
- }
- @include media-min(md) {
- max-height: 450px;
- margin-bottom: 150px;
- }
- .s1__icon_box {
- padding: 0 30px;
- }
- .s1__img_single_box {
- background-color: #fff;
- text-align: center;
- border-radius: 20px;
- filter: drop-shadow(0px 20px 30px rgba(54, 68, 119, 0.15));
- @include media-max(md) {
- margin: 30px 0 0 0;
- padding: 30px;
- }
- .title {
- margin-top: 30px;
- font-size: 20px;
- line-height: 1.4;
- color: #464748;
- font-weight: 600;
- }
- .desc {
- font-size: 16px;
- line-height: 1.6;
- color: #6f7071;
- font-weight: 400;
- }
- @include media-min(md) {
- margin: 0 40px;
- padding: 30px;
- .desc {
- display: flex;
- }
- }
- }
- }
- }
- .s2 {
- position: relative;
- &:before {
- content: '';
- display: block;
- position: absolute;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- background-image: url(/wp-content/uploads/2021/10/s2_before.png);
- background-size: contain;
- background-repeat: repeat;
- bottom: auto;
- left: auto;
- right: -350px;
- top: -300px;
- width: 620px;
- height: 620px;
- z-index: -1;
- @include media-max(md) {
- opacity: .2;
- top: 0;
- }
- }
- @include media-min(md) {
- margin-top: 270px;
- }
- @include media-max(md) {
- &_panel_two {
- padding: 45px;
- }
- }
- .col-md-8 {
- @include media-min(md) {
- padding-left: 40px;
- }
- }
- .nav-link {
- border: unset !important;
- border-radius: 50px;
- margin-top: 5px;
- @include css3(transition, $transition);
- &:hover {
- background-color: #D5D1E7;
- border-radius: 50px;
- }
- img {
- margin-right: 15px;
- width: 60px;
- }
- &.active {
- background-color: #D5D1E7;
- border-radius: 50px;
- color: $secondary-color;
- }
- }
- .tab-pane {
- .title {
- font-size: 32px;
- color: #464748;
- font-weight: 700;
- margin-top: 0;
- }
- }
- }
- .s3 {
- .s3-left-image {
- margin-left: -70%;
- position: relative;
- &:before {
- content: '';
- display: block;
- position: absolute;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- background-image: url(/wp-content/uploads/2021/10/s1__before.png);
- background-size: contain;
- background-repeat: repeat;
- bottom: auto;
- left: 100px;
- right: auto;
- margin-left: auto;
- margin-right: auto;
- top: -90px;
- width: 167px;
- z-index: 55;
- height: 113px;
- transform: rotate(240deg);
- }
- }
- .col-right-text {
- @include media-min(md) {
- padding-left: 50px;
- }
- img {
- -webkit-animation: linear infinite alternate;
- -webkit-animation-name: left-right;
- -webkit-animation-duration: 5s;
- }
- }
- }
- .s4 {
- position: relative;
- &:before {
- content: '';
- display: block;
- position: absolute;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- background-image: url(/wp-content/uploads/2021/10/s2_before.png);
- background-size: contain;
- background-repeat: repeat;
- bottom: auto;
- left: auto;
- right: -350px;
- top: -310px;
- width: 620px;
- height: 620px;
- z-index: -1;
- -webkit-animation: linear infinite alternate;
- -webkit-animation-name: top-bottom;
- -webkit-animation-duration: 5s;
- @include media-max(md) {
- opacity: .2;
- top: 0;
- }
- }
- .swiper-box .swiper-button {
- border-radius: 100%;
- background-color: #fff;
- width: 64px;
- height: 64px;
- box-shadow: 0px 15px 30px rgba(54, 68, 119, 0.3);
- &.swiper-button-prev {
- padding: 10px 15px 10px 13px;
- }
- &.swiper-button-next {
- padding: 10px 13px 10px 15px;
- }
- .svg-icon {
- width: 10px;
- stroke-width: 0px;
- stroke-linejoin: round;
- stroke-linecap: round;
- &__path {
- fill: $primary-color;
- }
- }
- }
- .swiper-button-prev {
- left: -80px;
- right: auto;
- }
- .swiper-button-next {
- right: -80px;
- left: auto;
- }
- .swiper-slider.grid .swiper-slide {
- display: flex;
- align-items: center;
- height: auto;
- justify-content: center;
- }
- .swiper-container {
- margin-left: auto;
- margin-right: auto;
- position: relative;
- overflow: hidden;
- list-style: none;
- padding: 0;
- z-index: 1;
- padding: 50px 0;
- .slide__content {
- width: 90% !important;
- .slide__html{
- display: flex;
- }
- }
- }
- .s4_box {
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #fff;
- flex-flow: column wrap;
- padding: 50px 20px;
- border-radius: 20px;
- flex-grow: 1;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
- .title {
- font-size: 18px;
- color: #464748;
- font-weight: 600;
- margin-top: 10px;
- margin-bottom: 25px;
- }
- }
- }
- .s5 {
- position: relative;
- .swiper-box {
- margin-bottom: unset;
- }
- &:after {
- content: '';
- display: block;
- position: absolute;
- background-position: center;
- background-size: cover;
- background-repeat: no-repeat;
- background-image: url(/wp-content/uploads/2021/10/s2_before.png);
- background-size: contain;
- background-repeat: repeat;
- bottom: auto;
- right: auto;
- left: -350px;
- top: -200px;
- width: 620px;
- height: 620px;
- z-index: -1;
- -webkit-animation: linear infinite alternate;
- -webkit-animation-name: top-bottom;
- -webkit-animation-duration: 5s;
- @include media-max(md) {
- opacity: .2;
- top: 0;
- }
- }
- .swiper-slider.type-custom:not(.grid) .slide {
- height: unset;
- justify-content: center;
- }
- .swiper-box .swiper-button {
- border-radius: 100%;
- background-color: #fff;
- width: 64px;
- height: 64px;
- box-shadow: 0px 15px 30px rgba(54, 68, 119, 0.3);
- &.swiper-button-prev {
- padding: 10px 15px 10px 13px;
- }
- &.swiper-button-next {
- padding: 10px 13px 10px 15px;
- }
- .svg-icon {
- width: 10px;
- stroke-width: 0px;
- stroke-linejoin: round;
- stroke-linecap: round;
- &__path {
- fill: $primary-color;
- }
- }
- }
- .swiper-button-prev {
- left: -15px;
- right: auto;
- }
- .swiper-button-next {
- right: -15px;
- left: auto;
- }
- .swiper-slider.grid .swiper-slide {
- display: flex;
- align-items: center;
- height: auto;
- justify-content: center;
- }
- .swiper-container {
- margin-left: auto;
- margin-right: auto;
- position: relative;
- overflow: hidden;
- list-style: none;
- padding: 0;
- z-index: 1;
- padding: 50px 0;
- .slide__content {
- width: 80% !important;
- padding: 30px;
- }
- }
- .testimonial {
- text-align: center;
- background-color: #fff;
- border-radius: 30px;
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
- padding: 0 50px 50px 50px;
- width: 100%;
- .title {
- font-size: 25px;
- color: #464748;
- font-weight: 700;
- margin: 25px 0;
- }
- .desc {
- font-size: 16px;
- line-height: 28px;
- color: #464748;
- font-weight: 400;
- &:before {
- content: '"';
- }
- &:after {
- content: '"';
- }
- }
- }
- }
- .s6 {
- @include media-max(md) {
- padding: 0 30px;
- }
- .newsletter-box {
- border-radius: 20px;
- background-image: url(/wp-content/uploads/2021/10/s6__bg.png);
- background-size: cover;
- background-position: center;
- padding: 30px;
- .tnp-subscription {
- form {
- flex-flow: row nowrap;
- display: flex;
- justify-content: space-between;
- align-items: center;
- align-content: center;
- .tnp-field {
- padding: 20px 0;
- }
- .tnp-field-email {
- width: 100%;
- input {
- border: 1px solid #fff;
- border-radius: 50px 0 0 50px;
- height: unset;
- background-color: #fff;
- border-color: #fff;
- padding: 20px 30px;
- }
- }
- .tnp-submit {
- border-radius: 0 50px 50px 0;
- background-color: $primary-color;
- border-right: 1px solid $primary-color;
- border-top: 1px solid $primary-color;
- border-bottom: 1px solid $primary-color;
- border-left: unset;
- color: #fff;
- padding: 20px 35px;
- font-weight: 600;
- @include css3(transition, $transition);
- &:hover {
- background-color: transparent;
- border-right: 1px solid #fff;
- border-top: 1px solid #fff;
- border-bottom: 1px solid #fff;
- border-left: unset;
- color: #fff;
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement