File: /mnt/data/dreamssalon-wp-market/landing/assets/scss/pages/_home.scss
@use "../utils/mixins";
@use "../utils/variables" as *;
// keyframes
@keyframes float-y {
0% {
transform: translateY(0) translateX(0);
}
50%{
transform: translateY(-15px);
}
100% {
transform: translateY(0) translateX(0);
}
}
@keyframes zoom-in {
0% {
transform: scale(.6);
}
50%{
transform: scale(1.3) rotate(360deg);
}
100% {
transform: scale(.6);
}
}
/* Top Scroller*/
.back-to-top-icon {
position: fixed;
bottom: 30px;
left: 20px;
z-index: 9999;
width: 36px;
height: 36px;
text-align: center;
border-radius: 50%;
background: $primary;
color: $white;
cursor: pointer;
text-decoration: none;
opacity: 0;
transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
&.show {
opacity: 1;
transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
}
&:hover {
color: $white;
background: $secondary;
}
}
.back-to-top {
i {
color: $white;
}
}
.app-screen-img {
border-radius: 10px;
}
/* /Top Scroller*/
.media-icons {
position: fixed;
right: 15px;
top: 50%;
transform: translateY(-50%);
z-index: 100;
background: #FFF;
padding: 10px;
border-radius: 110px;
box-shadow: 0px 4px 24px 0px rgba(194, 194, 194, 0.25);
a {
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.5s ease;
color: #FFF;
margin-bottom: 5px;
&.whatsap-icon {
background: #04BD6C;
}
&.mail-icon {
background: #111827;
}
&.skype-icon {
background: #155EEF;
}
&:last-child {
margin-bottom: 0;
}
}
}
.item-margin{
margin-bottom: 20px;
}
.item-margin-lg{
margin-bottom: 40px;
@include mixins.respond-below(lg){
margin-bottom: 30px;
}
}
.section-padding{
position: relative;
padding: 80px 0;
@include mixins.respond-below(md) {
padding: 40px 0;
}
}
.section-heading{
margin: 0 auto;
margin-bottom: 40px;
max-width: 617px;
@include mixins.respond-below(lg) {
margin-bottom: 30px;
}
}
.item-hover:hover {
transform: translateY(-10px);
}
.item-hover {
transition: 0.4s;
}
.item-padding{
padding: 20px;
}
.item-shadow{
box-shadow: 0px 1px 4px 0px #8888881A;
}
.text-truncate {
white-space: normal;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
display: -webkit-box;
}
.text-truncate.line-clamb-2 {
-webkit-line-clamp: 2;
}
.text-truncate.line-clamb-3 {
-webkit-line-clamp: 3;
}
.btn-dark:hover{
background-color: $primary !important;
border-color: $primary !important;
}
@keyframes rotate360 {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.banner-bg-section {
background: $dark;
position: relative;
.element-one {
position: absolute;
top: -116px;
left: -126px;
width: 257px;
height: 257px;
background-color: $element-one;
background-size: cover;
background-position: center;
border-radius: 50%;
}
.element-two {
background: $element-two;
top: 95px;
left: -216px;
width: 257px;
height: 257px;
background-color: $element-two;
background-size: cover;
background-position: center;
border-radius: 50%;
}
.element-three {
top: 95px;
right: -179px;
width: 500px !important;
height: 500px !important;
background-color: $element-two;
background-size: cover;
background-position: center;
border-radius: 50%;
bottom: -57px;
}
}
// banner
.hero-section{
background: $dark;
background-size: cover;
background-position: center;
background-blend-mode: overlay;
z-index: 0;
overflow: hidden;
.banner-img1{
object-fit: cover;
height: 100%;
width: 100%;
}
h1{
font-size: $font-size-60;
color: $white;
@include mixins.respond-below(xxl){
font-size: $font-size-60;
}
@include mixins.respond-below(xl){
font-size: $font-size-34;
}
@include mixins.respond-below(md){
font-size: $font-size-30;
}
span{
background: linear-gradient(to right, $primary, $secondary);
-webkit-background-clip: text;
color: transparent;
}
}
.banner-image{
position: relative;
@include mixins.respond-below(lg){
display: none;
}
img {
width: 100%;
}
.img-1{
position: relative;
z-index: 111;
top: 75px;
}
.img-2{
position: absolute;
right: -12px;
top: 180px;
width: 100%;
}
.img-3{
position: absolute;
left: -22px;
top: 125px;
}
.react-icon{
width: 80px;
height: 80px;
position: absolute;
box-shadow: unset;
border: none;
z-index: 1;
left: -57px;
top: 99px;
@include mixins.respond-below(xxl){
top: 51px;
}
}
.banner-img{
border-radius: 10px;
border: 10px solid #000000;
animation: float-y 5s linear infinite;
max-width: 528px;
width: 100%;
margin: 0 auto;
}
.banner-bg2{
position: absolute;
left: 0;
top: 0;
z-index: -1;
width: 100%;
height: 100%;
object-fit: contain;
}
}
.banner-imgs {
position: relative;
.banner-img-2 {
position: absolute;
right: 0;
bottom: 0;
z-index: -1;
@include mixins.respond-below(xl){
display: none;
}
}
.banner-img-3 {
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
@include mixins.respond-below(xl){
display: none;
}
}
.wp-icon{
width: 80px;
height: 80px;
position: absolute;
box-shadow: unset;
border: none;
z-index: 1;
right: 250px;
top: -40px;
@include mixins.respond-below(xxl){
right: 150px;
}
@include mixins.respond-below(xl){
right: 80px;
}
@include mixins.respond-below(lg){
display: none;
}
}
.star-icon{
width: 60px;
height: 60px;
position: absolute;
box-shadow: unset;
border: none;
z-index: 1;
left: 20px;
top: -100px;
}
}
.banner-title{
background-color: rgba(255,255,255,.2);
box-shadow: 0px 4px 24px 0px #C2C2C240;
border: 1px solid $white;
margin-bottom: 20px;
}
.banner-content {
padding: 60px 0;
@include mixins.respond-below(sm){
padding: 40px 0;
}
p {
color: $white;
padding: 0 200px;
@include mixins.respond-below(lg){
padding: 0 100px;
}
@include mixins.respond-below(md){
padding: 0 100px;
}
@include mixins.respond-below(sm){
padding: 0 50px;
}
}
h1 {
position: relative;
img {
position: relative;
top: -26px;
left: -7px;
width: 29px;
height: 29px;
@include mixins.respond-below(sm){
display: none;
}
}
}
.premiumauthor{
color: $white;
font-size: 14px;
.whitebg{
color: $dark;
background: $white;
padding: 6px 10px;
border-radius: 30px;
font-size: 13px;
}
}
}
.program-item {
margin-top: 40px;
display: flex;
align-items: center;
gap: 8px;
@include mixins.respond-below(lg){
justify-content: center;
}
.program-link {
width: 60px;
height: 60px;
border-radius: 50%;
background: $white;
box-shadow: 0px 6px 10px 0px rgba(194, 194, 194, 0.2509803922);
display: flex;
align-items: center;
justify-content: center;
transition: all .5s ease;
&:hover {
transform: translateY(-5px);
img {
transform: rotateY(360deg);
}
}
img {
display: flex;
transition: all .5s ease;
}
}
}
}
// slide section
.support-section {
padding: 14px 0;
background-color: $primary;
background-image: linear-gradient(to right, $secondary , $primary);
transform: rotate(1deg);
margin-top: -50px;
.support-item {
position: relative;
margin-right: 24px;
padding-right: 44px;
margin-top: 10px;
margin-bottom: 10px;
&::after {
position: absolute;
content: "";
top: 0%;
right: 0;
background: url('../img/icons/star-icon.svg') no-repeat;
width: 22px;
height: 22px;
}
h5 {
white-space: nowrap;
color: $white;
margin-bottom: 0;
font-weight: $font-weight-semibold;
}
}
}
// live demo Section
.live-demo-section{
.live-demo-content {
margin-bottom: 50px;
.avatar {
width: 56px;
height: 56px;
}
p {
color: $gray-900;
}
}
.demo-item {
background: $light;
border: none !important;
&:hover{
background-color: $primary;
background-image: linear-gradient(to bottom, $primary , $secondary);
h5{
a{
color: $white;
}
}
}
img {
border-radius: 6px;
}
.badge {
&.bg-purple {
background: $purple;
}
font-size: 13px;
font-weight: $font-weight-normal;
padding: 4px 6px 3px;
line-height: 1.2;
position: relative;
top: -3px;
}
h5 {
font-weight: $font-weight-semibold;
justify-content: center;
}
.demo-layout {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
position: absolute;
inset: 0;
transform: scale(0);
transition: all 0.5s;
.btn {
padding: 10px 16px;
border-radius: 6px;
background: $white;
border: none;
color: $gray-900;
font-size: 24px;
font-weight: $font-weight-semibold;
transition: all .5s ease;
&:hover {
background: $primary;
color: $white;
}
}
}
.live-demo-image {
position: relative;
&:before {
content: "";
background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
width: 0%;
height: 0%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
transition: all 0.5s;
margin: auto;
border-radius: 5px;
}
.btn-icon {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
transform: rotate(-45deg);
}
}
&:hover {
width: 100%;
height: 100%;
.live-demo-image {
&:before {
content: "";
width: 100%;
height: 100%;
z-index: 1;
}
}
.demo-layout {
transform: scale(1);
z-index: 2;
}
}
}
}
// features-section
.features-section{
background: $dark;
overflow: hidden;
.features-item {
background-color: #FFC8A8;
background-image: linear-gradient(to bottom, #fff , #FFC8A8);
border-radius: 10px;
padding: 40px 40px 0;
transition: all 0.5s;
&:hover {
transform: translateY(-10px);
}
.avatar{
width: 72px;
height: 72px;
border-radius: 50%;
background: $primary;
margin-bottom: 28px;
border: 5px solid $primary;
outline: 5px solid $primary-transparent;
i{
color: $white;
font-size: 40px;
}
}
}
.element-one{
left: 0;
top: 0;
position: absolute;
}
.element-two{
right: 0;
bottom: 0;
position: absolute;
}
.features-icon{
&:hover{
img{
transform: rotateY(360deg);
}
}
img{
transition: 0.5s all;
}
}
}
.elements {
position: absolute;
border-radius: 50%;
background-color: $element-one;
@include mixins.respond-below(lg){
display: none;
}
}
.features-section-light{
background-color: $primary-100;
background-image: url(../img/bg/features-bg.png);
background-size: cover;
overflow: hidden;
}
// Access section
.access-section{
position: relative;
overflow: hidden;
.access-item {
padding: 40px;
border-radius: 10px;
box-shadow: 0px 1px 4px 0px #8888881A;
background-color: $white;
text-align: center;
transition: all 0.5s;
@include mixins.respond-below(lg){
padding: 20px;
}
&:hover {
transform: translateY(-8px);
img {
transform: rotateY(360deg);
}
}
img {
transition: all 0.5s;
margin-bottom: 26px;
height: 50px;
}
h6 {
font-size: 15px;
}
}
.element-one{
left: -169px;
top: -30px;
width: 437px;
height: 437px;
}
.element-two{
right: 61px;
bottom: 29px;
width: 163px;
height: 163px;
}
}
// faq
.faq-section {
.faq-accordion {
position: relative;
z-index: 9;
border: 0;
.accordion-button:not(.collapsed) {
color: $primary !important;
&::after {
content: "\eaf2" !important;
color: $primary !important;
}
}
.accordion-item {
background-color: $light;
border: none;
border-radius: 10px;
.accordion-button {
border-radius: 10px !important;
font-size: $font-size-18;
font-weight: $font-weight-semibold;
color: $gray-900;
padding: 20px;
background-color: transparent;
&::after {
content: "\eb0b";
font-family: "tabler-icons" !important;
font-size: 20px;
line-height: 1;
font-weight: $font-weight-normal;
display: flex;
align-items: center;
justify-content: center;
color: $gray-900;
background: transparent;
}
}
.accordion-body{
padding-top: 0;
p{
font-size: 16px;
color: $gray-600;
}
}
}
}
}
// counter
.counter-section{
z-index: 0;
.counter-bg1{
left: 11px;
top: 0;
}
.counter-bg2{
right: 11px;
bottom: 0;
}
}
// display views
.display-views-section{
overflow: hidden;
.display-views-bg1{
right: 0;
bottom: 18%;
animation: rotate360 10s linear infinite;
}
}
// different header
.different-header{
position: relative;
padding: 40px;
z-index: 0;
margin-bottom: 60px;
@include mixins.respond-below(lg){
margin-bottom: 40px;
padding: 30px 15px;
}
&::before{
position: absolute;
content: '';
z-index: -1;
background-image: url(../img/bg/bg-02.png);
width: 100%;
height: 100%;
left: 0;
top: 0;
}
}
// inner pages
@keyframes scroll {
to {
transform: translate(calc(-50% - .5rem))
}
}
.horizontal-slide {
overflow: hidden;
position: relative;
z-index: 1;
&[data-direction="right"] {
--_animation-direction: reverse;
}
&[data-direction="left"] {
--_animation-direction: forwards;
}
&[data-speed="fast"] {
--_animation-duration: 30s;
}
&[data-speed="slow"] {
--_animation-duration: 120s;
}
}
.slide-list {
width: max-content;
flex-wrap: nowrap;
animation: scroll var(--_animation-duration, 60s) var(--_animation-direction, forwards) linear infinite;
&:hover {
&:hover {
animation-play-state: paused;
}
}
}
.inner-page-item{
flex: 1 0 auto;
padding: 0;
img{
height: 300px;
}
}
.inner-page-top{
margin-bottom: 60px;
@include mixins.respond-below(lg){
margin-bottom: 40px;
}
}
// pricing
.pricing-section{
.pricing-content{
padding: 12px;
}
}
//plugins
.fav-plugins{
background: $dark url(../img/bg/plugins-bg.jpg) no-repeat top center;
padding: 70px 60px 80px;
border-radius: 10px;
@include mixins.respond-below(md) {
padding: 30px 40px 40px;
}
h2{
color: $white;
}
.plugin-box{
background: $white;
padding: 20px;
border-radius: 10px;
text-align: center;
width: 180px;
h3{
font-size: 16px;
margin-top: 20px;
@include mixins.respond-below(md) {
font-size: 14px;
}
}
}
}
// customized business
.customized-business{
background-color: $primary;
z-index: 0;
&::before{
position: absolute;
content: '';
width: 100%;
height: 100%;
background-image: url(../img/bg/bg-03.svg);
z-index: -1;
left: 0;
top: 0;
}
h2{
max-width: 479px;
}
.form-field {
position: relative;
}
.form-control {
height: 62px;
border-radius: 10px;
box-shadow: none;
outline: none;
border: none;
}
.form-field .subscribe-btn {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
z-index: 1;
border-radius: 10px;
}
}
// footer
.footer{
position: relative;
z-index: 0;
background: $dark url(../img/bg/footer-bg.jpg) no-repeat top center;
.badge{
background: rgba($color: #fff, $alpha: 0.1);
padding: 12px 20px;
border-radius: 30px;
font-size: 14px;
font-weight: 600;
}
.footer-title{
padding: 8px 16px;
border-radius: 50px;
background-color: rgba(255,255,255,.10);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
.display-3{
span{
color: $primary;
}
}
.footer-top{
padding: 60px 0;
}
h2 {
margin-bottom: 40px !important;
}
.footer-bottom{
border-top: 1px solid rgba(255,255,255,.30);
padding: 20px 0;
}
.social-icons{
display: flex;
align-items: center;
justify-content: end;
gap: 8px;
@include mixins.respond-below(md){
justify-content: center;
}
a{
font-size: 16px;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50% !important;
background: $white;
color: $gray-900;
transition: all 0.7s;
&:hover {
background: $primary;
color: $white;
transform: translateY(-5px) rotateY(360deg) !important;
}
}
}
}
p{
&:last-child{
margin-bottom: 0;
}
}