Roman_applicant-site/public/scssold/layout/_services.scss

430 lines
11 KiB
SCSS
Raw Permalink Normal View History

2024-01-11 10:41:35 +03:00
@use '../utils' as *;
/*----------------------------------------*/
/* 08. SERVICES CSS
/*----------------------------------------*/
.services{
$self: &;
&__item{
padding: 45px 45px 40px;
position: relative;
z-index: 1;
@media #{$xs}{
padding-left: 35px;
padding-right: 35px;
}
}
&__icon{
margin-bottom: 20px;
& i{
font-size: 60px;
color: var(--tp-theme-primary);
}
}
&__counter{
counter-reset: count;
&-2{
counter-reset: count2;
}
}
&__title{
font-size: 26px;
color: var(--tp-common-black);
text-transform: uppercase;
margin-bottom: 15px;
& a{
&:hover{
color: var(--tp-theme-primary);
}
}
}
&__no{
& span{
display: inline-block;
font-size: 14px;
color: var(--tp-text-1);
position: relative;
padding-right: 20px;
text-transform: uppercase;
&::after{
position: absolute;
counter-increment: count;
content: '0' counter(count);
right: 0;
top: 48%;
@include transform(translateY(-50%));
color: var(--tp-text-1);
}
}
&-text{
position: relative;
&::before{
position: absolute;
counter-increment: count2;
content: '0' counter(count2);
right: -45px;
top: 25px;
-webkit-text-fill-color: transparent;
background: var(--tp-common-white);
-webkit-background-clip: text;
-webkit-text-stroke: 1px var(--tp-border-1);
color: var(--tp-common-white) !important;
font-size: 170px;
z-index: -1;
font-weight: 700;
}
}
}
&__content{
position: relative;
border: 1px solid var(--tp-border-2);
border-top: 0;
padding: 30px 0px;
@media #{$xl}{
padding-left: 15px;
padding-right: 15px;
}
}
&__box{
&-item{
padding: 40px 30px;
}
&-title{
font-size: 26px;
color: var(--tp-common-black);
text-transform: uppercase;
margin-bottom: 15px;
& a{
&:hover{
color: var(--tp-theme-primary);
}
}
}
&-icon{
margin-bottom: 20px;
& i{
font-size: 60px;
color: var(--tp-theme-primary);
}
}
&-content{
& p{
font-size: 16px;
color: var(--tp-text-1);
}
}
}
&__grid{
&-item{
}
&-tag{
position: absolute;
top: 0;
right: 20px;
& span{
color: var(--tp-common-white);
font-size: 14px;
font-weight: 700;
display: inline-block;
padding: 0 18px;
padding-top: 2px;
background-color: var(--tp-theme-primary);
text-transform: uppercase;
&:hover{
color: var(--tp-common-white);
background-color: var(--tp-common-black);
}
}
}
&-title{
font-size: 26px;
color: var(--tp-common-black);
text-transform: uppercase;
margin-bottom: 15px;
& a{
&:hover{
color: var(--tp-theme-primary);
}
}
}
&-thumb{
}
&-content{
padding: 30px 30px 40px;
border: 1px solid var(--tp-border-1);
border-top: none;
& p{
font-size: 16px;
color: var(--tp-text-1);
}
}
}
&__square{
&-item{
&:hover{
#{$self}{
&__thumb-3 img{
@include transform(scale(1.1));
}
}
}
}
&-title{
font-size: 24px;
color: var(--tp-common-black);
@media #{$lg}{
font-size: 20px;
}
& a{
&:hover{
color: var(--tp-theme-primary);
}
}
}
&-icon{
position: absolute;
top: 50%;
left: 50%;
@include transform(translate(-50%, -50%));
width: 120px;
height: 120px;
text-align: center;
line-height: 135px;
background-color: var(--tp-common-white);
@include border-radius(50%);
z-index: 1;
& i{
display: inline-block;
width: 60px;
height: 60px;
line-height: 60px;
font-size: 50px;
}
}
&-thumb{
z-index: 1;
&::after{
position: absolute;
content: '';
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: var(--tp-common-black);
opacity: .5;
}
}
&-content{
padding-top: 20px;
}
}
&__details{
&-thumb{
margin-bottom: 50px;
}
&-title{
font-size: 40px;
text-transform: uppercase;
margin-bottom: 23px;
@media #{$lg}{
font-size: 35px;
}
@media #{$sm, $xs}{
font-size: 30px;
}
}
&-content{
& p{
font-size: 16px;
line-height: 1.6;
margin-bottom: 15px;
}
}
&-question{
& h4{
font-size: 20px;
text-transform: uppercase;
margin-bottom: 20px;
}
& ul{
& li{
list-style: none;
line-height: 1;
& p{
font-size: 16px;
line-height: 1.6;
& span{
color: var(--tp-common-black);
font-weight: 700;
}
}
}
}
}
&-process{
& h4{
font-size: 20px;
text-transform: uppercase;
margin-bottom: 22px;
}
}
&-contact{
padding: 50px 60px 60px;
border: 1px solid #f1f1f1;
box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.04);
@media #{$sm, $xs}{
padding-left: 15px;
padding-right: 15px;
}
& h4{
font-size: 40px;
text-transform: uppercase;
margin-bottom: 30px;
@media #{$sm, $xs}{
font-size: 30px;
}
}
& .contact__input{
& input,
& textarea{
background-color: var(--tp-grey-4);
border-color: var(--tp-grey-4);
&:focus{
border-color: var(--tp-theme-primary);
}
@include tp-placeholder{
color: var(--tp-text-12);
}
}
& i{
color: var(--tp-common-black);
}
}
}
}
&__widget{
padding: 33px 40px 30px;
border: 1px solid #f3f3f3;
&-title{
font-size: 20px;
text-transform: uppercase;
padding-right: 70px;
position: relative;
margin-bottom: 17px;
&::after{
position: absolute;
content: '';
right: 0;
top: 50%;
@include transform(translateY(-50%));
width: 70px;
height: 1px;
background-color: var(--tp-theme-primary);
}
}
& ul{
& li{
list-style: none;
margin-bottom: 2px;
&:last-child{
margin-bottom: 0;
}
& a{
font-size: 16px;
color: var(--tp-text-1);
padding-left: 30px;
position: relative;
&::after{
position: absolute;
content: '';
left: 0;
top: 50%;
@include transform(translateY(-50%));
width: 16px;
height: 1px;
background-color: var(--tp-common-black);
}
}
&:hover{
& > a{
color: var(--tp-theme-primary);
padding-left: 40px;
&::after{
background-color: var(--tp-theme-primary);
width: 22px;
}
}
}
}
}
}
}
.services-widget-banner{
position: relative;
background-color: var(--tp-grey-4);
z-index: 1;
padding: 50px 25px 35px;
& .services-banner-shape-1{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
z-index: -1;
}
& .services-banner-content{
text-align: center;
& span{
font-size: 14px;
display: inline-block;
margin-bottom: 5px;
}
& h5{
font-size: 20px;
text-transform: uppercase;
margin-bottom: 15px;
}
& p{
font-size: 30px;
color: var(--tp-theme-primary);
font-weight: 700;
position: relative;
display: inline-block;
&::after{
position: absolute;
content: '';
left: 0;
bottom: -3px;
width: 100%;
height: 2px;
background-color: var(--tp-theme-primary);
}
}
}
}