116 lines
2.5 KiB
SCSS
116 lines
2.5 KiB
SCSS
.service {
|
|
&_title {
|
|
width: 531px;
|
|
|
|
font: {
|
|
size: 35px;
|
|
weight: 600;
|
|
}
|
|
|
|
text-transform: uppercase;
|
|
color:var(--main-text-color);
|
|
margin: 50px 50px;
|
|
}
|
|
|
|
&-item {
|
|
|
|
/* position: relative;
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: {
|
|
size: cover;
|
|
position: center;
|
|
image: url('../assets/services/1.png');
|
|
}
|
|
filter: brightness(28%);
|
|
z-index: 1;
|
|
}
|
|
*/
|
|
&:hover {
|
|
/*
|
|
&::before {
|
|
filter: brightness(66%);
|
|
}
|
|
*/
|
|
cursor: pointer;
|
|
}
|
|
|
|
height: 800px;
|
|
|
|
&_content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
backdrop-filter: brightness(28%);
|
|
height: 100%;
|
|
&:hover {
|
|
backdrop-filter: brightness(66%);
|
|
.service-item_link {
|
|
display:block;
|
|
}
|
|
p {
|
|
display:block;
|
|
}
|
|
}
|
|
|
|
.left-border {
|
|
border-left: 2px solid #fff;
|
|
height: 242px;
|
|
margin-left: 56px;
|
|
}
|
|
}
|
|
|
|
&_num {
|
|
font: {
|
|
size: 30px;
|
|
weight: 800;
|
|
}
|
|
padding-left:38px;
|
|
color:#fff;
|
|
}
|
|
|
|
&_title {
|
|
padding-left:38px;
|
|
color: #fff;
|
|
font: {
|
|
size: 24px;
|
|
weight: 600;
|
|
}
|
|
}
|
|
|
|
p {
|
|
color: #fff;
|
|
padding-left:38px;
|
|
padding-right:79px;
|
|
display:none;
|
|
}
|
|
|
|
&_link {
|
|
color: #fff;
|
|
display: none;
|
|
margin: 21px auto 39px 40px;
|
|
font: {
|
|
size: 20px;
|
|
}
|
|
&::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 18px;
|
|
margin-right: 23px;
|
|
background: {
|
|
image: url('../assets/long_arrow.svg');
|
|
size: contain;
|
|
repeat: no-repeat;
|
|
position: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|