File: /mnt/data/dreamssalon-wp-market/wp-content/themes/dreamsalon/assets/scss/pages/_about.scss
/*============================
22. About
============================*/
@use "../utils/mixins" as *;
@use '../variables' as *;
.about-img {
position: relative;
margin-right: 43px;
@include respond-below(lg) {
margin: 0 23px 24px 0;
}
& > img {
border-radius: $border-radius-lg;
}
.about-exp {
position: absolute;
top: 20px;
right: 20px;
border-radius: $border-radius-lg;
background: $primary;
padding: 20px;
h3, p {
color: $darkmode-white;
}
}
.about-shape {
position: absolute;
top: 0;
right: -20px;
z-index: -1;
}
&-six {
display: flex;
align-items: center;
gap: 24px;
position: relative;
z-index: 1;
@include respond-below(md) {
gap: 12px;
}
img {
border-radius: $border-radius-xl;
width: 30%;
}
.about-02 {
margin-top: 40px;
}
.about-bg {
position: absolute;
bottom: 0;
left: 10%;
width: 50%;
z-index: -1;
}
}
}
.about-content {
h2 {
margin-bottom: 20px;
}
.about-list {
p {
position: relative;
margin-bottom: 8px;
padding-left: 26px;
&::before {
content: "\f704";
position: absolute;
font-family: $font-tabler;
left: 0;
top: 0;
color: $success;
}
&:last-child {
margin-bottom: 0;
}
}
}
.btn {
margin-top: 40px;
}
&-two {
.section-header {
margin-bottom: 38px;
@include respond-below(md) {
margin-bottom: 20px;
}
.badge {
margin-bottom: 20px;
}
h2 {
margin-bottom: 12px;
}
}
.about-item-two {
span {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: $darkmode-dark;
border: 1px solid $border-color;
border-radius: $border-radius-md;
box-shadow: $box-shadow;
font-size: 24px;
margin-right: 16px;
flex-shrink: 0;
color: $darkmode-white;
}
}
}
&-three {
padding-left: 24px;
@include respond-below(lg) {
padding-left: 0;
}
}
&-six {
padding-right: 70px;
@include respond-below(xl) {
padding-right: 0;
}
}
}
.about-section {
&-three {
.about-us-images {
@include respond-below(lg){
display: none !important;
}
img {
width: 100%;
}
}
ul {
li {
color: $gray-900;
margin-bottom: 12px;
}
}
}
&-five {
overflow: hidden;
@include respond-below(lg) {
text-align: center;
}
.about-content {
@include respond-below(lg) {
text-align: center;
}
}
.about-details {
.about-item {
margin-bottom: 12px;
.avatar {
transition: all 0.6s;
flex-shrink: 0;
i {
color: $gray-900;
font-size: 20px;
transition: all 0.6s;
}
&:hover {
transition: all 0.6s;
background: $primary-linear-gradient;
i {
color: $white;
}
}
}
}
}
.element-one {
position: absolute;
top: -154px;
right: 0;
z-index: -1;
}
}
&-six {
background: $light;
}
}
.about-img-two {
z-index: 0;
padding: 0 26px;
&::before{
position: absolute;
content: '';
width: 100%;
height: 70%;
left: 0;
bottom: 0;
background-color: $secondary;
z-index: -1;
border-radius: 10px;
background-image: url(../img/home-2/shape-03.svg);
background-repeat: no-repeat;
background-position: left bottom 25px;
}
.app-view {
background: $white;
padding: 12px;
border-radius: 6px;
position: absolute;
left: 22px;
top: 5%;
font-size: 14px;
font-weight: 600;
color: $gray-900;
&::before {
border: 8px solid $white;
border-color: transparent transparent $white $white;
content: "";
position: absolute;
top: 50%;
left: -7px;
transform: rotate(45deg) translateY(-50%);
}
}
}
.work-section {
background-color: $light;
.work-item {
border: 1px solid rgba(107, 107, 107, 0.2);
box-shadow: $box-shadow;
.step-number {
color: rgba(107, 107, 107, 0.2);
font-size: 52px;
font-weight: $font-weight-bold;
line-height: 1.2;
min-width: 65px;
display: inline-block;
@include respond-below(xl) {
font-size: 44px;
}
@include respond-below(lg) {
font-size: 38px;
}
@include respond-below(md) {
font-size: 30px;
}
}
&:hover {
.step-number {
color: $primary;
}
}
}
.work-img1 {
box-shadow: $box-shadow;
border: 3px solid $white;
rotate: -5deg;
width: 86%;
}
.work-img2 {
border: 3px solid $white;
left: 0;
position: absolute;
bottom: 0;
rotate: -14deg;
animation: sparkleFloat 10s ease-in-out infinite;
width: 40%;
}
.work-img3 {
border: 3px solid $white;
top: 10%;
position: absolute;
right: 0;
rotate: 14deg;
animation: sparkleFloat 10s ease-in-out infinite;
width: 40%;
}
.work-image {
@include respond-below(lg) {
display: none;
}
}
}
.about-item {
&-three {
.about-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: $darkmode-white;
font-size: 24px;
margin-bottom: 16px;
}
}
&-six {
background: $white;
border-radius: $border-radius-md;
padding: 24px;
.about-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: $darkmode-white;
font-size: 24px;
margin-bottom: 20px;
}
}
}
.service-slide {
margin-top: 80px;
@include respond-below(lg) {
margin-top: 50px;
}
.support-item {
position: relative;
margin-right: 40px;
padding-right: 80px;
&::after {
position: absolute;
content: "";
top: 50%;
@include transform(translateY(-50%));
right: 0;
background: url('../img/icons/support-icon-03.svg') no-repeat;
width: 40px;
height: 41px;
}
span {
display: block;
font-size: 76px;
font-weight: 700;
white-space: nowrap;
margin-bottom: 0;
color: $white;
-webkit-text-stroke: 1px $primary;
-webkit-font-smoothing: antialiased;
@include respond-below(lg) {
font-size: 50px;
}
@include respond-below(md) {
font-size: 38px;
}
&:hover {
background: linear-gradient(0deg, #6B9C4C 0%, #008979 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
}
}
.wellness-section {
position: relative;
overflow: hidden;
}
.article-wrapper {
flex-direction: row;
justify-content: space-between;
display: flex;
flex-wrap: wrap;
margin-bottom: 80px;
gap: 24px;
@include respond-below(lg) {
margin-bottom: 50px;
}
}
.article-item-two {
width: calc(25% - 20px);
height: auto;
position: relative;
z-index: 1;
transition: 0.5s;
padding: 0 !important;
border-radius: $border-radius-md;
background-color: transparent;
&:last-child {
margin-right: 0;
@include respond-below(xl) {
margin-right: 50%;
margin-bottom: 0;
}
@include respond-below(sm) {
margin-right: 0;
}
}
@include respond-below(xl) {
width: 50%;
margin-right: 50%;
border: 1px solid $border-color;
border-right: 0;
}
@include respond-below(sm) {
width: 100%;
margin-right: 0;
border: 0;
}
&.active, &:hover {
margin-right: calc(25% - 12px);
border: 1px solid $border-color;
border-right: 0;
@include respond-below(xl) {
margin-right: 50%;
}
@include respond-below(sm) {
width: 100%;
margin-right: 0;
border: 0;
}
.article-content {
opacity: 1;
visibility: visible;
transform: translateX(100%);
border: 1px solid $border-color;
border-left: 0;
@include respond-below(sm) {
transform: translateX(0);
border: 1px solid $border-color !important;
border-radius: $border-radius-md !important;
}
}
.article-img {
.article-info {
transition: 0.5s;
opacity: 0;
}
&::before {
content: "";
background: transparent;
}
}
}
.article-img {
position: absolute;
border-radius: $border-radius-md;
overflow: hidden;
flex-shrink: 0;
width: 100%;
height: 100%;
img {
height: 100%;
width: 100%;
object-fit: cover;
}
@include respond-below(sm) {
display: none;
}
&::before {
content: "";
background: rgba(0, 0, 0, 0.6);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: $border-radius-md;
}
.article-info {
position: absolute;
top: 0;
width: 100%;
height: 100%;
padding: 40px;
display: flex;
align-items: center;
justify-content: center;
transition: 0.5s;
.step-count {
font-weight: $font-weight-bold;
font-size: 36px;
line-height: 1.2;
color: $darkmode-white;
margin-bottom: 0;
position: absolute;
top: 20px;
left: 20px;
}
h3 {
color: $darkmode-white;
text-align: center;
margin-bottom: 0;
}
}
}
.article-content {
background: $white;
position: relative;
padding: 40px;
width: 100%;
z-index: -1;
left: 0;
right: 0;
height: 100%;
background-color: transparent;
opacity: 0;
visibility: hidden;
transform: translateX(calc(20%));
border-radius: 0 $border-radius-md $border-radius-md 0;
transition: transform 0.5s ease-in-out 0.05s, visibility 0.3s ease-in-out;
@include respond-below(xl) {
opacity: 1;
transform: translateX(100%);
visibility: visible;
border: 1px solid $border-color;
border-left: 0;
}
@include respond-below(sm) {
transform: translateX(0);
border: 1px solid $border-color !important;
border-radius: $border-radius-md !important;
}
.step-count {
font-size: 76px;
font-weight: $font-weight-bold;
line-height: 1.2;
color: $primary;
margin-bottom: 4px;
@include respond-below(lg) {
font-size: 50px;
}
@include respond-below(md) {
font-size: 30px;
}
}
h3 {
margin-bottom: 18px;
}
p {
margin-bottom: 0;
}
}
}
.wellness-img {
position: relative;
img {
border-radius: 250px 250px 0 0;
}
.wellness-icon {
position: absolute;
top: 0;
right: 0;
width: 128px;
height: 128px;
background: rgba(255, 255, 255, 0.8);
border: 5px solid $white;
backdrop-filter: blur(24px);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
@include respond-below(lg) {
width: 90px;
height: 90px;
top: 10px;
}
img {
border-radius: 0;
@include respond-below(lg) {
width: 50%;
}
}
}
}
.wellness-content {
margin-left: 40px;
@include respond-below(xl) {
margin-left: 0;
}
}
.wellness-list {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
border-bottom: 1px solid $border-color;
padding-bottom: 32px;
margin-bottom: 32px;
gap: 12px;
position: relative;
@include respond-below(xl) {
padding-bottom: 20px;
margin-bottom: 20px;
}
&:last-child {
padding-bottom: 0;
margin-bottom: 0;
border-bottom: 0;
img {
top: -90%;
}
}
&:hover {
h3 {
a {
color: $primary;
}
}
img {
opacity: 1;
}
}
img {
position: absolute;
top: -50%;
right: 10%;
transition: all 0.5s ease-in-out;
border-radius: $border-radius-md;
opacity: 0;
max-width: 240px;
@include respond-below(md) {
display: none;
}
}
.view-icon {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: $white;
border: 1px solid$border-color;
font-size: 20px;
color: $gray-900;
border-radius: 50%;
&:hover {
background: $primary;
color: $darkmode-white;
}
}
}
.video-section {
position: relative;
background-color: $darkmode-dark;
height: 600px;
width: 100%;
overflow: hidden;
@include respond-below(lg) {
height: 400px;
}
video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
-ms-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.video-btn {
width: 80px;
height: 80px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
color: $darkmode-white;
font-size: 24px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
@include respond-below(lg) {
width: 50px;
height: 50px;
}
&::before,
&::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 80px;
height: 80px;
transform: translate(-50%, -50%);
border-radius: 50%;
background-color: transparent;
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
animation: ripple 3s infinite;
@include respond-below(lg) {
width: 50px;
height: 50px;
}
}
&::before {
animation-delay: 0.9s;
}
&::after {
animation-delay: 0.6s;
}
}
.overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: linear-gradient(89.85deg, rgba(0, 0, 0, 0.7) 28.66%, rgba(0, 0, 0, 0.28) 48.52%, rgba(0, 0, 0, 0.7) 69.79%);
opacity: 0.5;
z-index: 1;
}
.video-content {
position: relative;
z-index: 2;
display: flex;
align-items: center;
h2 {
margin-bottom: 12px;
color: $darkmode-white;
@include respond-below(lg) {
font-size: 38px;
}
@include respond-below(md) {
font-size: 30px;
}
@include respond-below(lg) {
font-size: 28px;
}
}
p {
color: $darkmode-white;
margin-bottom: 40px;
}
.video-tagline {
font-size: 120px;
font-weight: $font-weight-bold;
color: $darkmode-white;
line-height: 1;
margin-bottom: 0;
@include respond-below(lg) {
font-size: 100px;
}
@include respond-below(md) {
font-size: 80px;
}
@include respond-below(sm) {
font-size: 50px;
}
span {
display: block;
font-size: 76px;
color: $primary;
@include respond-below(lg) {
font-size: 50px;
}
@include respond-below(md) {
font-size: 30px;
}
}
}
.video-info {
max-width: 485px;
}
.video-slag {
text-align: center;
@include respond-below(lg) {
display: none;
}
}
}
}
@keyframes ripple {
0% {
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
}
100% {
box-shadow: 0 0 20px 50px rgba(0255, 255, 255, 0);
}
}
.about-section-two {
.who-we-are-section {
position: relative;
.experience-year-cover {
position: absolute;
width: 150px;
height: 150px;
border-radius: 50%;
background: $primary;
top: 35%;
left: 50%;
transform: translatex(-50%);
padding: 8px;
.experience-year-content {
height: 100%;
border: 1px solid $white;
border-radius: 50%;
border-style: dashed;
align-content: center;
text-align: center;
span {
display: block;
font-size: 38px;
font-weight: $font-weight-bold;
line-height: 1.2;
color: $white;
}
p {
color: $white;
}
}
}
}
.home-two-about-title {
color: $primary;
font-size: 18px;
font-weight: $font-weight-semibold;
position: relative;
margin-left: 24px;
&::after {
position: absolute;
content: "";
background-image: url("../img/icons/about-star.svg");
height: 16px;
width: 16px;
top: 2px;
left: -24px;
}
}
}