features section done

This commit is contained in:
Daniel Heras Quesada committed 2023-09-11 23:10:40 +02:00
1 parent b5a07abf51
commit 14b32ac1ac
20 files changed
+945 -16

No files matched your search

+92 -3
View File
@@ -75,7 +75,7 @@ body {
text-transform: uppercase;
letter-spacing: 2px;
display: inline-block;
background-image: linear-gradient(to right, #55c57a, #28b485);
background-image: linear-gradient(to right, #7ed56f, #28b485);
background-clip: 0;
-webkit-background-clip: text;
color: transparent;
@@ -84,10 +84,26 @@ body {
transform: skewY(2deg) skewX(15deg) scale(1.1);
text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.2); }
.heading--terciary {
font-size: 1.6rem;
font-weight: 700;
text-transform: capitalize; }
.paragraph {
font-size: 1.6rem; }
.paragraph:not(:last-child) {
margin-bottom: 3rem; }
.u-center-text {
text-align: center; }
.u-margin-bottom-8 {
.u-margin-bottom-small {
margin-bottom: 2rem; }
.u-margin-bottom-medium {
margin-bottom: 4rem; }
.u-margin-bottom-big {
margin-bottom: 8rem; }
.btn:link, .btn:visited {
@@ -133,9 +149,73 @@ body {
z-index: -1;
transition: all 0.4s; }
.btn-text:link, .btn-text:visited {
font-size: 1.6rem;
color: #55c57a;
display: inline-block;
text-decoration: none;
border-bottom: 1px solid #55c57a;
padding: 3px;
transition: all .2s; }
.btn-text:hover {
background-color: #55c57a;
color: #fff;
box-shadow: 0 1rem 2reem rgba(0, 0, 0, 0.15);
transform: translateY(-2px); }
.btn-text:active {
box-shadow: 0 0.5rem 1reem rgba(0, 0, 0, 0.15);
transform: translateY(0px); }
.composition {
position: relative; }
.composition__photo {
width: 55%;
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
border-radius: 2px;
position: absolute;
z-index: 10;
transition: all .2s;
outline-offset: 2rem; }
.composition__photo--p1 {
left: 0;
top: -2rem; }
.composition__photo--p2 {
right: 0;
top: 2rem; }
.composition__photo--p3 {
left: 20%;
top: 10rem; }
.composition__photo:hover {
outline: 1.5rem solid #55c57a;
transform: scale(1.05) translateY(-0.5rem);
box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.5);
z-index: 20; }
.composition:hover .composition__photo:not(:hover) {
transform: scale(0.9); }
.feature-box {
background-color: rgba(255, 255, 255, 0.8);
font-size: 1.5rem;
padding: 2.5rem;
text-align: center;
border-radius: 3px;
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
transition: transform .3s; }
.feature-box__icon {
font-size: 6rem;
margin-bottom: .5rem;
display: inline-block;
background-image: linear-gradient(to right, #7ed56f, #28b485);
-webkit-background-clip: text;
color: transparent; }
.feature-box:hover {
transform: translateY(-1.5rem) scale(1.03); }
.header {
height: 95vh;
background-image: linear-gradient(to right bottom, rgba(85, 197, 122, 0.801), rgba(40, 180, 133, 0.808)), url("../img/hero.jpg");
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.801), rgba(40, 180, 133, 0.808)), url("../img/hero.jpg");
background-size: cover;
background-position: top;
clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
@@ -193,3 +273,12 @@ body {
background-color: #f7f7f7;
padding: 25rem 0;
margin-top: -20vh; }
.section-features {
padding: 20rem 0;
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.801), rgba(40, 180, 133, 0.808)), url("../img/nat-4.jpg");
background-size: cover;
margin-top: -10rem;
transform: skewY(-7deg); }
.section-features > * {
transform: skewY(7deg); }