/home/techb158/l2hypotheques.com/wp-content/themes/pylon/assets/sass
Edit: /home/techb158/l2hypotheques.com/wp-content/themes/pylon/assets/sass/_features.scss (7038B)
.feature-one {
background-color: #eff2f6;
padding-bottom: 90px;
padding-top: 358px;
position: relative;
@media (max-width: 991px) {
padding-top: 120px;
}
@media (max-width: 425px) {
padding-top: 80px;
}
&__shape-1 {
position: absolute;
bottom: 80px;
left: 232px;
-webkit-animation-name: shapeMover;
animation-name: shapeMover;
-webkit-animation-duration: 9s;
animation-duration: 9s;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
&__shape-2 {
position: absolute;
top: 330px;
right: 225px;
-webkit-animation-name: bubbleMover;
animation-name: bubbleMover;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
animation-duration: 8s;
}
&__shape-3 {
position: absolute;
top: 170px;
left: 240px;
-webkit-animation-name: bubbleMover;
animation-name: bubbleMover;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
animation-duration: 8s;
}
.block-text {
margin-top: 30px;
font-weight: 400;
@media (max-width: 1199px) {
margin-top: 0;
}
@media (max-width: 991px) {
margin-bottom: 50px;
}
}
&__box {
background-color: #fff;
position: relative;
align-items: center;
display: flex;
padding: 50px;
border-radius: $border-radius;
transition: all 500ms ease;
margin-bottom: 30px;
@media (max-width: 1199px) {
padding: 40px 30px;
}
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100% - 4px);
background-color: #fff;
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
}
i {
position: relative;
font-size: 60px;
color: $thm-base;
margin-right: 20px;
&::after {
content: "";
width: 63px;
height: 63px;
background-color: #eff2f6;
border-radius: 50%;
position: absolute;
top: 50%;
left: -10px;
transform: translateY(-50%);
}
&::before {
position: relative;
z-index: 11;
}
}
p {
position: relative;
font-size: 20px;
line-height: 30px;
color: $thm-black;
margin: 0;
@media (max-width: 1199px) {
font-size: 18px;
}
}
&:hover {
background-color: $thm-primary;
}
}
}
.feature-two {
position: absolute;
bottom: -30px;
left: 0;
width: 100%;
z-index: 100;
@media (max-width: 991px) {
position: relative;
bottom: auto;
left: auto;
padding-top: 80px;
}
&__box {
display: flex;
align-items: center;
position: relative;
padding-left: 15px;
padding-right: 15px;
padding-top: 25px;
padding-bottom: 25px;
margin-bottom: 30px;
&::before {
content: "";
width: 100%;
height: 4px;
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
position: absolute;
top: 0;
left: 0;
background-color: #fff;
transition: all 500ms ease;
@media (max-width: 991px) {
background-color: $thm-base;
}
}
&:hover::before {
height: 100%;
@media (max-width: 991px) {
background-color: $thm-black;
}
}
> i {
font-size: 60px;
color: $thm-base;
position: relative;
z-index: 10;
transition: all 500ms ease;
}
&:hover > i {
color: $thm-black;
@media (max-width: 991px) {
color: #fff;
}
}
p {
margin: 0;
margin-left: 20px;
color: #fff;
max-width: 160px;
font-size: 22px;
line-height: 30px;
transition: all 500ms ease;
cursor: pointer;
position: relative;
z-index: 10;
@media (max-width: 1199px) {
font-size: 18px;
line-height: 1.4em;
max-width: 100%;
}
@media (max-width: 991px) {
color: $thm-black;
}
}
&:hover p {
color: $thm-black;
@media (max-width: 991px) {
color: #fff;
}
}
}
}
.feature-three {
padding-bottom: 90px;
padding-top: 120px;
&__box {
margin-bottom: 30px;
text-align: center;
position: relative;
background-color: #fff;
transition: all 500ms ease;
border-radius: $border-radius;
box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.1);
&-inner {
overflow: hidden;
position: relative;
padding-top: 60px;
padding-bottom: 50px;
&::before {
content: "";
width: 248px;
height: 248px;
background-color: rgba($thm-black-rgb, 0.1);
position: absolute;
top: 0;
left: 0;
border-radius: 50%;
opacity: 0;
transition: opacity 500ms ease;
transform: translateY(-50%) translateX(-50%);
}
i {
position: relative;
font-size: 60px;
color: $thm-base;
transition: all 500ms ease;
position: relative;
&::before {
position: relative;
z-index: 10;
}
&::after {
content: "";
position: absolute;
width: 60px;
height: 60px;
background-color: #eff2f6;
top: 0;
left: 0;
border-radius: 50%;
transition: all 500ms ease;
}
}
h3 {
width: 100%;
max-width: 165px;
font-size: 20px;
line-height: 30px;
color: $thm-black;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
margin-bottom: 35px;
a {
color: inherit;
transition: all 500ms ease;
&:hover {
color: #fff;
}
}
}
p {
width: 100%;
max-width: 190px;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
transition: all 500ms ease;
color: $thm-color;
font-size: 16px;
line-height: 30px;
}
}
&:hover {
background-color: $thm-primary;
}
&:hover &-inner {
&::before {
opacity: 1;
}
i::after {
background-color: rgba(#ffffff, 0.1);
}
h3 a,
p,
i {
color: #fff;
}
}
}
}