Natours project finished
This commit is contained in:
1 parent
89845b8e1c
commit
a23934d6d0
19 files changed
+15394
-994
No files matched your search
@@ -1 +1,2 @@
|
|||||||
/Natours/starter/node_modules
|
/Natours/starter/node_modules
|
||||||
|
node_modules
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
.story {
|
.story {
|
||||||
width: 75%;
|
width: 75%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
box-shadow: 0 3rem 6rem rgba($color-black, .1);
|
box-shadow: 0 3rem 6rem rgba($color-black, 0.1);
|
||||||
background-color: rgba($color-white, .6);
|
background-color: rgba($color-white, 0.6);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 6rem;
|
padding: 6rem;
|
||||||
padding-left: 9rem;
|
padding-left: 9rem;
|
||||||
@@ -13,19 +13,27 @@
|
|||||||
width: 15rem;
|
width: 15rem;
|
||||||
height: 15rem;
|
height: 15rem;
|
||||||
float: left;
|
float: left;
|
||||||
|
transform: translateX(-3rem) skewX(12deg);
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
border-radius: 50%;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
@supports (clip-path: polygon(0 0)) or (-webkit-clip-path: polygon(0 0)) {
|
||||||
-webkit-shape-outside: circle(50% at 50% 50%);
|
-webkit-shape-outside: circle(50% at 50% 50%);
|
||||||
shape-outside: circle(50% at 50% 50%);
|
shape-outside: circle(50% at 50% 50%);
|
||||||
-webkit-clip-path: circle(50% at 50% 50%);
|
-webkit-clip-path: circle(50% at 50% 50%);
|
||||||
clip-path: circle(50% at 50% 50%);
|
clip-path: circle(50% at 50% 50%);
|
||||||
transform: translateX(-3rem) skewX(12deg);
|
border-radius: none;
|
||||||
position: relative;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__img {
|
&__img {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transform: translateX(-4rem) scale(1.4);
|
transform: translateX(-4rem) scale(1.4);
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
transition: all .5s;
|
transition: all 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__text {
|
&__text {
|
||||||
@@ -42,7 +50,7 @@
|
|||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: all .5s;
|
transition: all 0.5s;
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,20 @@
|
|||||||
.header {
|
.header {
|
||||||
height: 95vh;
|
height: 85vh;
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(
|
||||||
to right bottom,
|
to right bottom,
|
||||||
rgba($color-primary-light, 0.8),
|
rgba($color-primary-light, 0.8),
|
||||||
rgba($color-primary-dark, 0.8)),
|
rgba($color-primary-dark, 0.8)
|
||||||
|
),
|
||||||
url(../img/hero.jpg);
|
url(../img/hero.jpg);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: top;
|
background-position: top;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@supports (clip-path: polygon(0 0)) or (-webkit-clip-path: polygon(0 0)) {
|
||||||
|
height: 95vh;
|
||||||
-webkit-clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
-webkit-clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
||||||
clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
|
||||||
|
}
|
||||||
|
|
||||||
&__logo-box {
|
&__logo-box {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -0,0 +1,990 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
/*
|
||||||
|
* 0 - 600px : Phone
|
||||||
|
* 600 - 900px : Tablet portrait
|
||||||
|
* 900 - 1200px : Tablet landscape
|
||||||
|
* 1200 - 1800px : Normal desktop
|
||||||
|
* 1800px + : Big desktop
|
||||||
|
|
||||||
|
* $breakpoint argument choices
|
||||||
|
- phone
|
||||||
|
- tab-port
|
||||||
|
- tab-land
|
||||||
|
- big-desktop
|
||||||
|
|
||||||
|
1em = 16px
|
||||||
|
*/
|
||||||
|
*,
|
||||||
|
::after,
|
||||||
|
::before {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: inherit; }
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-size: 62.5%; }
|
||||||
|
@media only screen and (min-width: 112.5em) {
|
||||||
|
html {
|
||||||
|
font-size: 75%; } }
|
||||||
|
@media only screen and (max-width: 75em) {
|
||||||
|
html {
|
||||||
|
font-size: 56.25%; } }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
html {
|
||||||
|
font-size: 50%; } }
|
||||||
|
|
||||||
|
body {
|
||||||
|
padding: 3rem;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
body {
|
||||||
|
padding: 0; } }
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: #55c57a;
|
||||||
|
color: #fff; }
|
||||||
|
|
||||||
|
@keyframes slideLeft {
|
||||||
|
0% {
|
||||||
|
transform: translateX(-16rem);
|
||||||
|
opacity: 0; }
|
||||||
|
80% {
|
||||||
|
transform: translateX(1.5rem); }
|
||||||
|
100% {
|
||||||
|
transform: translateX(0);
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
@keyframes slideRight {
|
||||||
|
0% {
|
||||||
|
transform: translateX(16rem);
|
||||||
|
opacity: 0; }
|
||||||
|
80% {
|
||||||
|
transform: translateX(-1.5rem); }
|
||||||
|
100% {
|
||||||
|
transform: translateX(0);
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
@keyframes slideBottom {
|
||||||
|
0% {
|
||||||
|
transform: translateY(5rem);
|
||||||
|
opacity: 0; }
|
||||||
|
100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Lato", Verdana, Geneva, Tahoma, sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
/* font-size: 16px; */
|
||||||
|
line-height: 1.7;
|
||||||
|
color: #777; }
|
||||||
|
|
||||||
|
.heading--primary {
|
||||||
|
color: #fff;
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-bottom: 6rem; }
|
||||||
|
.heading--primary-main {
|
||||||
|
display: block;
|
||||||
|
font-size: 6rem;
|
||||||
|
font-weight: 400;
|
||||||
|
letter-spacing: 3.5rem;
|
||||||
|
animation-name: slideLeft;
|
||||||
|
animation-duration: 1s;
|
||||||
|
animation-timing-function: ease-in; }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.heading--primary-main {
|
||||||
|
letter-spacing: 1rem;
|
||||||
|
font-size: 5rem; } }
|
||||||
|
.heading--primary-sub {
|
||||||
|
display: block;
|
||||||
|
font-size: 2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: 1.75rem;
|
||||||
|
animation-name: slideRight;
|
||||||
|
animation-duration: 1s;
|
||||||
|
animation-timing-function: ease-in; }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.heading--primary-sub {
|
||||||
|
letter-spacing: .5rem; } }
|
||||||
|
|
||||||
|
.heading--secondary {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
display: inline-block;
|
||||||
|
background-image: linear-gradient(to right, #7ed56f, #28b485);
|
||||||
|
background-clip: 0;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
transition: all 0.2s; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.heading--secondary {
|
||||||
|
font-size: 3rem; } }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.heading--secondary {
|
||||||
|
font-size: 2.5rem; } }
|
||||||
|
.heading--secondary:hover {
|
||||||
|
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 !important; }
|
||||||
|
|
||||||
|
.u-margin-bottom-small {
|
||||||
|
margin-bottom: 2rem !important; }
|
||||||
|
|
||||||
|
.u-margin-bottom-medium {
|
||||||
|
margin-bottom: 4rem !important; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.u-margin-bottom-medium {
|
||||||
|
margin-bottom: 3rem !important; } }
|
||||||
|
|
||||||
|
.u-margin-bottom-big {
|
||||||
|
margin-bottom: 8rem !important; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.u-margin-bottom-big {
|
||||||
|
margin-bottom: 5rem !important; } }
|
||||||
|
|
||||||
|
.u-margin-top-big {
|
||||||
|
margin-top: 8rem !important; }
|
||||||
|
|
||||||
|
.u-margin-top-huge {
|
||||||
|
margin-top: 10rem !important; }
|
||||||
|
|
||||||
|
.btn, .btn:link, .btn:visited {
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 1.5rem 4rem;
|
||||||
|
display: inline-block;
|
||||||
|
border-radius: 10rem;
|
||||||
|
transition: all 0.2s;
|
||||||
|
position: relative;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer; }
|
||||||
|
|
||||||
|
.btn--animated {
|
||||||
|
animation: slideBottom 0.7s ease-out 0.75s;
|
||||||
|
animation-fill-mode: backwards; }
|
||||||
|
|
||||||
|
.btn:hover {
|
||||||
|
transform: translateY(-0.4rem);
|
||||||
|
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
|
||||||
|
.btn:hover::after {
|
||||||
|
transform: scaleX(1.4) scaleY(1.6);
|
||||||
|
opacity: 0; }
|
||||||
|
|
||||||
|
.btn:active, .btn:focus {
|
||||||
|
transform: translateY(-0.1rem);
|
||||||
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.btn--white {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #777; }
|
||||||
|
.btn--white::after {
|
||||||
|
background-color: #fff; }
|
||||||
|
|
||||||
|
.btn--green {
|
||||||
|
background-color: #55c57a;
|
||||||
|
color: #fff; }
|
||||||
|
.btn--green::after {
|
||||||
|
background-color: #55c57a; }
|
||||||
|
|
||||||
|
.btn::after {
|
||||||
|
content: "";
|
||||||
|
display: inline-block;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
border-radius: 10rem;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
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 0.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 0.2s;
|
||||||
|
outline-offset: 2rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.composition__photo {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
width: 33.33333333%;
|
||||||
|
box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2); } }
|
||||||
|
.composition__photo--p1 {
|
||||||
|
left: 0;
|
||||||
|
top: -2rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.composition__photo--p1 {
|
||||||
|
top: 0;
|
||||||
|
transform: scale(1.2); } }
|
||||||
|
.composition__photo--p2 {
|
||||||
|
right: 0;
|
||||||
|
top: 2rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.composition__photo--p2 {
|
||||||
|
top: -1rem;
|
||||||
|
transform: scale(1.3);
|
||||||
|
z-index: 100; } }
|
||||||
|
.composition__photo--p3 {
|
||||||
|
left: 20%;
|
||||||
|
top: 10rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.composition__photo--p3 {
|
||||||
|
top: 1rem;
|
||||||
|
left: 0;
|
||||||
|
transform: scale(1.2); } }
|
||||||
|
.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 0.3s; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.feature-box {
|
||||||
|
padding: 2rem; } }
|
||||||
|
.feature-box__icon {
|
||||||
|
font-size: 6rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
background-image: linear-gradient(to right, #7ed56f, #28b485);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
color: transparent; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.feature-box__icon {
|
||||||
|
margin-bottom: 0; } }
|
||||||
|
.feature-box:hover {
|
||||||
|
transform: translateY(-1.5rem) scale(1.03); }
|
||||||
|
|
||||||
|
.card {
|
||||||
|
perspective: 150rem;
|
||||||
|
-moz-perspective: 150rem;
|
||||||
|
position: relative;
|
||||||
|
height: 52rem; }
|
||||||
|
.card__side {
|
||||||
|
font-size: 2rem;
|
||||||
|
height: 52rem;
|
||||||
|
transition: all 0.8s ease;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15); }
|
||||||
|
.card__side--front {
|
||||||
|
background-color: #fff; }
|
||||||
|
.card__side--back {
|
||||||
|
transform: rotateY(180deg); }
|
||||||
|
.card__side--back-1 {
|
||||||
|
background-image: linear-gradient(to right bottom, #ffb900, #ff7730); }
|
||||||
|
.card__side--back-2 {
|
||||||
|
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
||||||
|
.card__side--back-3 {
|
||||||
|
background-image: linear-gradient(to right bottom, #2998ff, #5643fa); }
|
||||||
|
.card:hover .card__side--front {
|
||||||
|
transform: rotateY(-180deg); }
|
||||||
|
.card:hover .card__side--back {
|
||||||
|
transform: rotateY(0); }
|
||||||
|
.card__picture {
|
||||||
|
background-size: cover;
|
||||||
|
height: 23rem;
|
||||||
|
background-blend-mode: screen;
|
||||||
|
-webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
|
||||||
|
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
|
||||||
|
border-top-left-radius: 3px;
|
||||||
|
border-top-right-radius: 3px; }
|
||||||
|
.card__picture--1 {
|
||||||
|
background-image: linear-gradient(to right bottom, #ffb900, #ff7730), url(../img/nat-5.jpg); }
|
||||||
|
.card__picture--2 {
|
||||||
|
background-image: linear-gradient(to right bottom, #7ed56f, #28b485), url(../img/nat-6.jpg); }
|
||||||
|
.card__picture--3 {
|
||||||
|
background-image: linear-gradient(to right bottom, #2998ff, #5643fa), url(../img/nat-7.jpg); }
|
||||||
|
.card__heading {
|
||||||
|
font-size: 2.8rem;
|
||||||
|
font-weight: 300;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: #fff;
|
||||||
|
position: absolute;
|
||||||
|
top: 12rem;
|
||||||
|
right: 2rem;
|
||||||
|
text-align: right;
|
||||||
|
width: 75%; }
|
||||||
|
.card__heading--span {
|
||||||
|
padding: 1rem 1.5rem;
|
||||||
|
-webkit-box-decoration-break: clone;
|
||||||
|
box-decoration-break: clone; }
|
||||||
|
.card__heading--span--1 {
|
||||||
|
background-image: linear-gradient(to right bottom, rgba(255, 185, 0, 0.85), #ff7730); }
|
||||||
|
.card__heading--span--2 {
|
||||||
|
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.85), #28b485); }
|
||||||
|
.card__heading--span--3 {
|
||||||
|
background-image: linear-gradient(to right bottom, rgba(41, 152, 255, 0.85), #5643fa); }
|
||||||
|
.card__details {
|
||||||
|
padding: 3rem; }
|
||||||
|
.card__details ul {
|
||||||
|
list-style: none;
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto; }
|
||||||
|
.card__details ul li {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
padding: 1rem; }
|
||||||
|
.card__details ul li:not(:last-child) {
|
||||||
|
border-bottom: 1px solid #eee; }
|
||||||
|
.card__cta {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
width: 90%;
|
||||||
|
text-align: center; }
|
||||||
|
.card__price-box {
|
||||||
|
color: #fff;
|
||||||
|
margin-bottom: 8rem; }
|
||||||
|
.card__price-only {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
text-transform: uppercase; }
|
||||||
|
.card__price-value {
|
||||||
|
font-size: 6rem;
|
||||||
|
font-weight: 100; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.card {
|
||||||
|
height: auto;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15); }
|
||||||
|
.card__side {
|
||||||
|
height: auto;
|
||||||
|
position: relative;
|
||||||
|
box-shadow: none; }
|
||||||
|
.card__side--front {
|
||||||
|
background-color: #fff; }
|
||||||
|
.card__side--back {
|
||||||
|
transform: rotateY(0);
|
||||||
|
clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0 100%); }
|
||||||
|
.card__side--back-1 {
|
||||||
|
background-image: linear-gradient(to right bottom, #ffb900, #ff7730); }
|
||||||
|
.card__side--back-2 {
|
||||||
|
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
||||||
|
.card__side--back-3 {
|
||||||
|
background-image: linear-gradient(to right bottom, #2998ff, #5643fa); }
|
||||||
|
.card:hover .card__side--front {
|
||||||
|
transform: rotateY(0); }
|
||||||
|
.card__details {
|
||||||
|
padding: 1rem 3rem; }
|
||||||
|
.card__cta {
|
||||||
|
position: relative;
|
||||||
|
top: 0%;
|
||||||
|
left: 0%;
|
||||||
|
transform: translate(0);
|
||||||
|
width: 100%;
|
||||||
|
padding: 7rem 4rem 4rem; }
|
||||||
|
.card__price-box {
|
||||||
|
color: #fff;
|
||||||
|
margin-bottom: 3rem; }
|
||||||
|
.card__price-value {
|
||||||
|
font-size: 4rem; } }
|
||||||
|
|
||||||
|
.story {
|
||||||
|
width: 75%;
|
||||||
|
margin: 0 auto;
|
||||||
|
box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
|
||||||
|
background-color: rgba(255, 255, 255, 0.6);
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 6rem;
|
||||||
|
padding-left: 9rem;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
transform: skewX(-12deg); }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.story {
|
||||||
|
width: 100%;
|
||||||
|
padding: 4rem;
|
||||||
|
padding-left: 7rem; } }
|
||||||
|
.story > * {
|
||||||
|
transform: skewX(12deg); }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.story {
|
||||||
|
transform: skewX(0); }
|
||||||
|
.story > * {
|
||||||
|
transform: skewX(0); } }
|
||||||
|
.story__shape {
|
||||||
|
width: 15rem;
|
||||||
|
height: 15rem;
|
||||||
|
float: left;
|
||||||
|
-webkit-shape-outside: circle(50% at 50% 50%);
|
||||||
|
shape-outside: circle(50% at 50% 50%);
|
||||||
|
-webkit-clip-path: circle(50% at 50% 50%);
|
||||||
|
clip-path: circle(50% at 50% 50%);
|
||||||
|
transform: translateX(-3rem) skewX(12deg);
|
||||||
|
position: relative; }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.story__shape {
|
||||||
|
transform: translateX(-3rem) skewX(0); } }
|
||||||
|
.story__img {
|
||||||
|
height: 100%;
|
||||||
|
transform: translateX(-4rem) scale(1.4);
|
||||||
|
backface-visibility: hidden;
|
||||||
|
transition: all 0.5s; }
|
||||||
|
.story__text {
|
||||||
|
transform: skewX(12deg); }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.story__text {
|
||||||
|
transform: skewX(0); } }
|
||||||
|
.story__caption {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, 20%);
|
||||||
|
color: #fff;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 1.7rem;
|
||||||
|
text-align: center;
|
||||||
|
opacity: 0;
|
||||||
|
transition: all 0.5s;
|
||||||
|
backface-visibility: hidden; }
|
||||||
|
.story:hover .story__caption {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate(-50%, -50%); }
|
||||||
|
.story:hover .story__img {
|
||||||
|
transform: translateX(-4rem) scale(1);
|
||||||
|
filter: blur(3px) brightness(80%); }
|
||||||
|
|
||||||
|
.bg-video {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
z-index: -1;
|
||||||
|
opacity: .15;
|
||||||
|
overflow: hidden; }
|
||||||
|
.bg-video__content {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover; }
|
||||||
|
|
||||||
|
.form__group:not(:last-child) {
|
||||||
|
margin-bottom: 2rem; }
|
||||||
|
|
||||||
|
.form__input {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-family: inherit;
|
||||||
|
color: inherit;
|
||||||
|
padding: 1.5rem 2rem;
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
|
border: none;
|
||||||
|
border-bottom: 3px solid transparent;
|
||||||
|
width: 90%;
|
||||||
|
display: block;
|
||||||
|
transition: all 0.3s; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.form__input {
|
||||||
|
width: 100%; } }
|
||||||
|
.form__input:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
|
||||||
|
border-bottom: 3px solid #55c57a; }
|
||||||
|
.form__input:focus:invalid {
|
||||||
|
border-bottom: 3px solid #ff7730; }
|
||||||
|
.form__input::placeholder {
|
||||||
|
color: #999; }
|
||||||
|
|
||||||
|
.form__label {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-left: 2rem;
|
||||||
|
margin-top: 0.7rem;
|
||||||
|
display: block;
|
||||||
|
transition: all 0.3s; }
|
||||||
|
|
||||||
|
.form__input:placeholder-shown + .form__label {
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transform: translateY(-4rem); }
|
||||||
|
|
||||||
|
.form__radio-group {
|
||||||
|
width: 49%;
|
||||||
|
display: inline-block; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.form__radio-group {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 2rem; } }
|
||||||
|
|
||||||
|
.form__radio-input {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.form__radio-label {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
padding-left: 4.5rem; }
|
||||||
|
|
||||||
|
.form__radio-button {
|
||||||
|
height: 3rem;
|
||||||
|
width: 3rem;
|
||||||
|
border: 5px solid #55c57a;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: -0.4rem; }
|
||||||
|
.form__radio-button::after {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
height: 1.3rem;
|
||||||
|
width: 1.3rem;
|
||||||
|
border-radius: 50%;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
background-color: #55c57a;
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s; }
|
||||||
|
|
||||||
|
.form__radio-input:checked ~ .form__radio-label .form__radio-button::after {
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
|
.popup {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 100vh;
|
||||||
|
width: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.82);
|
||||||
|
z-index: 4000;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: all 0.4s; }
|
||||||
|
@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
|
||||||
|
.popup {
|
||||||
|
-webkit-backdrop-filter: blur(10px);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
background-color: rgba(0, 0, 0, 0.3); } }
|
||||||
|
.popup__content {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
display: table;
|
||||||
|
width: 75%;
|
||||||
|
box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 3px;
|
||||||
|
overflow: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translate(-50%, -50%) scale(0);
|
||||||
|
transition: all 0.4s 0.2s; }
|
||||||
|
.popup__left {
|
||||||
|
width: 33.3333333%;
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle; }
|
||||||
|
.popup__right {
|
||||||
|
width: 66.6666667%;
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
padding: 3rem 5rem; }
|
||||||
|
.popup__img {
|
||||||
|
display: block;
|
||||||
|
width: 100%; }
|
||||||
|
.popup__text {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
margin-bottom: 4rem;
|
||||||
|
-moz-column-count: 2;
|
||||||
|
-moz-column-gap: 4rem;
|
||||||
|
-moz-column-rule: 1px solid #999;
|
||||||
|
column-count: 2;
|
||||||
|
column-gap: 4rem;
|
||||||
|
column-rule: 1px solid #999;
|
||||||
|
-moz-hyphens: auto;
|
||||||
|
-ms-hyphens: auto;
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
hyphens: auto; }
|
||||||
|
.popup:target {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible; }
|
||||||
|
.popup:target .popup__content {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translate(-50%, -50%) scale(1); }
|
||||||
|
.popup__close:link, .popup__close:visited {
|
||||||
|
color: #777;
|
||||||
|
position: absolute;
|
||||||
|
top: 2.5rem;
|
||||||
|
right: 2.5rem;
|
||||||
|
font-size: 3rem;
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
|
transition: all 0.2s; }
|
||||||
|
.popup__close:hover {
|
||||||
|
color: #55c57a; }
|
||||||
|
|
||||||
|
.header {
|
||||||
|
height: 95vh;
|
||||||
|
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.801), rgba(40, 180, 133, 0.808)), url("../img/hero-small.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: top;
|
||||||
|
clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
|
||||||
|
position: relative;
|
||||||
|
/*
|
||||||
|
.logo:hover{
|
||||||
|
animation: moveInRight 1s ease-out;
|
||||||
|
}
|
||||||
|
*/ }
|
||||||
|
@media (min-resolution: 192dpi) and (min-width: 600px), (-webkit-min-device-pixel-ratio: 192dpi) and (min-width: 600px), (min-width: 2000px) {
|
||||||
|
.header {
|
||||||
|
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.801), rgba(40, 180, 133, 0.808)), url("../img/hero.jpg"); } }
|
||||||
|
@media (min-width: 2000px) {
|
||||||
|
.header {
|
||||||
|
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.801), rgba(40, 180, 133, 0.808)), url("../img/hero.jpg"); } }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.header {
|
||||||
|
clip-path: polygon(0% 0%, 100% 0%, 100% 85vh, 0% 100%); } }
|
||||||
|
.header__logo-box {
|
||||||
|
position: absolute;
|
||||||
|
top: 4rem;
|
||||||
|
left: 4rem; }
|
||||||
|
.header__logo {
|
||||||
|
height: 3.5rem; }
|
||||||
|
.header__text-box {
|
||||||
|
position: absolute;
|
||||||
|
top: 40%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
/*
|
||||||
|
* Limpiar animaciones para evitar temblores
|
||||||
|
* No se sabe realmente por qué funciona o de dónde viene el error, pero lo hace
|
||||||
|
*/
|
||||||
|
backface-visibility: hidden;
|
||||||
|
text-align: center; }
|
||||||
|
|
||||||
|
.row {
|
||||||
|
max-width: 114rem;
|
||||||
|
margin: 0 auto; }
|
||||||
|
.row:not(:last-child) {
|
||||||
|
margin-bottom: 8rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.row:not(:last-child) {
|
||||||
|
margin-bottom: 6rem; } }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.row {
|
||||||
|
max-width: 50rem;
|
||||||
|
padding: 0 3rem; } }
|
||||||
|
.row::after {
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
clear: both; }
|
||||||
|
.row [class^='col-'] {
|
||||||
|
float: left; }
|
||||||
|
.row [class^='col-']:not(:last-child) {
|
||||||
|
margin-right: 6rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.row [class^='col-']:not(:last-child) {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-bottom: 6rem; } }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.row [class^='col-'] {
|
||||||
|
width: 100% !important; } }
|
||||||
|
.row .col-1-of-2 {
|
||||||
|
width: calc((100% - 6rem) / 2); }
|
||||||
|
.row .col-1-of-3 {
|
||||||
|
width: calc((100% - 2 * 6rem) / 3); }
|
||||||
|
.row .col-2-of-3 {
|
||||||
|
width: calc(((100% - 2 * 6rem) / 3) * 2 + 6rem); }
|
||||||
|
.row .col-1-of-4 {
|
||||||
|
width: calc((100% - 3 * 6rem) / 4); }
|
||||||
|
.row .col-2-of-4 {
|
||||||
|
width: calc(2 * ((100% - 3 * 6rem) / 4) + 6rem); }
|
||||||
|
.row .col-3-of-4 {
|
||||||
|
width: calc(3 * ((100% - 3 * 6rem) / 4) + 2 * 6rem); }
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
background-color: #333;
|
||||||
|
padding: 10rem 0;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
color: #f7f7f7; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.footer {
|
||||||
|
padding: 8rem 0; } }
|
||||||
|
.footer__logo-box {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 8rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.footer__logo-box {
|
||||||
|
margin-bottom: 6rem; } }
|
||||||
|
.footer__logo {
|
||||||
|
width: 15rem;
|
||||||
|
height: auto; }
|
||||||
|
.footer__navigation {
|
||||||
|
border-top: 1px solid #777;
|
||||||
|
padding-top: 2rem;
|
||||||
|
display: inline-block; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.footer__navigation {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center; } }
|
||||||
|
.footer__list {
|
||||||
|
list-style: none; }
|
||||||
|
.footer__item {
|
||||||
|
display: inline-block; }
|
||||||
|
.footer__item:not(:last-child) {
|
||||||
|
margin-right: 1.5rem; }
|
||||||
|
.footer__link:link, .footer__link:visited {
|
||||||
|
color: #f7f7f7;
|
||||||
|
background-color: #333;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
display: inline-block;
|
||||||
|
transition: all 0.2s; }
|
||||||
|
.footer__link:hover, .footer__link:active {
|
||||||
|
color: #55c57a;
|
||||||
|
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
|
||||||
|
transform: rotate(5deg) scale(1.3); }
|
||||||
|
.footer__copyright {
|
||||||
|
border-top: 1px solid #777;
|
||||||
|
padding-top: 2rem;
|
||||||
|
display: inline-block;
|
||||||
|
width: 80%;
|
||||||
|
float: right; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.footer__copyright {
|
||||||
|
width: 100%;
|
||||||
|
float: none; } }
|
||||||
|
|
||||||
|
.navigation__checkbox {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.navigation__button {
|
||||||
|
background-color: #fff;
|
||||||
|
height: 7rem;
|
||||||
|
width: 7rem;
|
||||||
|
position: fixed;
|
||||||
|
top: 6rem;
|
||||||
|
right: 6rem;
|
||||||
|
border-radius: 50%;
|
||||||
|
z-index: 2000;
|
||||||
|
box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
|
||||||
|
text-align: center;
|
||||||
|
cursor: pointer; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.navigation__button {
|
||||||
|
top: 4rem;
|
||||||
|
right: 4rem; } }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.navigation__button {
|
||||||
|
top: 2.5rem;
|
||||||
|
right: 2.5rem; } }
|
||||||
|
|
||||||
|
.navigation__background {
|
||||||
|
height: 6rem;
|
||||||
|
width: 6rem;
|
||||||
|
border-radius: 50%;
|
||||||
|
position: fixed;
|
||||||
|
top: 6.5rem;
|
||||||
|
right: 6.5rem;
|
||||||
|
background-image: radial-gradient(#7ed56f, #28b485);
|
||||||
|
z-index: 1000;
|
||||||
|
transition: transform 0.8s cubic-bezier(0.83, 0, 0.17, 1); }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.navigation__background {
|
||||||
|
top: 4.5rem;
|
||||||
|
right: 4.5rem; } }
|
||||||
|
@media only screen and (max-width: 37.5em) {
|
||||||
|
.navigation__background {
|
||||||
|
top: 3rem;
|
||||||
|
right: 3rem; } }
|
||||||
|
|
||||||
|
.navigation__nav {
|
||||||
|
height: 100vh;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1500;
|
||||||
|
opacity: 0;
|
||||||
|
width: 0;
|
||||||
|
transition: all 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6); }
|
||||||
|
|
||||||
|
.navigation__list {
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
list-style: none;
|
||||||
|
text-align: center; }
|
||||||
|
|
||||||
|
.navigation__item {
|
||||||
|
margin: 1rem; }
|
||||||
|
|
||||||
|
.navigation__link:link, .navigation__link:visited {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 3rem;
|
||||||
|
font-weight: 300;
|
||||||
|
padding: 1rem 2rem;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #fff 50%);
|
||||||
|
background-size: 250%;
|
||||||
|
transition: all 0.4s; }
|
||||||
|
.navigation__link:link span, .navigation__link:visited span {
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.navigation__link:hover, .navigation__link:active {
|
||||||
|
color: #28b485;
|
||||||
|
background-position: 100%;
|
||||||
|
transform: translateX(1rem); }
|
||||||
|
|
||||||
|
.navigation__checkbox:checked ~ .navigation__background {
|
||||||
|
transform: scale(80); }
|
||||||
|
|
||||||
|
.navigation__checkbox:checked ~ .navigation__nav {
|
||||||
|
opacity: 1;
|
||||||
|
width: 100%; }
|
||||||
|
|
||||||
|
.navigation__icon {
|
||||||
|
position: relative;
|
||||||
|
margin-top: 3.4rem; }
|
||||||
|
.navigation__icon, .navigation__icon::before, .navigation__icon::after {
|
||||||
|
width: 3rem;
|
||||||
|
height: 2px;
|
||||||
|
background-color: #333;
|
||||||
|
display: inline-block; }
|
||||||
|
.navigation__icon::before, .navigation__icon::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
transition: all 0.2s; }
|
||||||
|
.navigation__icon::before {
|
||||||
|
top: -0.8rem; }
|
||||||
|
.navigation__icon::after {
|
||||||
|
top: 0.8rem; }
|
||||||
|
|
||||||
|
.navigation__button:hover .navigation__icon::before {
|
||||||
|
top: -1rem; }
|
||||||
|
|
||||||
|
.navigation__button:hover .navigation__icon::after {
|
||||||
|
top: 1rem; }
|
||||||
|
|
||||||
|
.navigation__checkbox:checked + .navigation__button .navigation__icon {
|
||||||
|
background-color: transparent; }
|
||||||
|
|
||||||
|
.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
|
||||||
|
top: 0;
|
||||||
|
transform: rotate(135deg); }
|
||||||
|
|
||||||
|
.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
|
||||||
|
top: 0;
|
||||||
|
transform: rotate(-135deg); }
|
||||||
|
|
||||||
|
.section-about {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
padding: 25rem 0;
|
||||||
|
margin-top: -20vh; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.section-about {
|
||||||
|
padding: 20rem 0; } }
|
||||||
|
|
||||||
|
.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); }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.section-features {
|
||||||
|
padding: 10rem 0; } }
|
||||||
|
|
||||||
|
.section-tours {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
padding: 25rem 0 15rem 0;
|
||||||
|
margin-top: -10rem; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.section-tours {
|
||||||
|
padding: 20rem 0 10rem 0; } }
|
||||||
|
|
||||||
|
.section-stories {
|
||||||
|
position: relative;
|
||||||
|
padding: 15rem 0; }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.section-stories {
|
||||||
|
padding: 10rem 0; } }
|
||||||
|
|
||||||
|
.section-book {
|
||||||
|
padding: 15rem 0;
|
||||||
|
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
||||||
|
|
||||||
|
.book {
|
||||||
|
background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 50%, transparent 50%), url(../img/nat-10.jpg);
|
||||||
|
background-size: 100%;
|
||||||
|
border-radius: 3px;
|
||||||
|
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2); }
|
||||||
|
@media only screen and (max-width: 75em) {
|
||||||
|
.book {
|
||||||
|
background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 65%, transparent 65%), url(../img/nat-10.jpg);
|
||||||
|
background-size: cover; } }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.book {
|
||||||
|
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%), url(../img/nat-10.jpg); } }
|
||||||
|
.book__form {
|
||||||
|
width: 50%;
|
||||||
|
padding: 6rem; }
|
||||||
|
@media only screen and (max-width: 75em) {
|
||||||
|
.book__form {
|
||||||
|
width: 65%; } }
|
||||||
|
@media only screen and (max-width: 56.25em) {
|
||||||
|
.book__form {
|
||||||
|
width: 100%; } }
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -1,974 +1 @@
|
|||||||
@charset "UTF-8";
|
@font-face{font-family:"linea-basic-10";src:url("fonts/linea-basic-10.eot");src:url("fonts/linea-basic-10.eot?#iefix") format("embedded-opentype"),url("fonts/linea-basic-10.woff") format("woff"),url("fonts/linea-basic-10.ttf") format("truetype"),url("fonts/linea-basic-10.svg#linea-basic-10") format("svg");font-weight:normal;font-style:normal}[data-icon]:before{font-family:"linea-basic-10" !important;content:attr(data-icon);font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"linea-basic-10" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-basic-accelerator:before{content:"a"}.icon-basic-alarm:before{content:"b"}.icon-basic-anchor:before{content:"c"}.icon-basic-anticlockwise:before{content:"d"}.icon-basic-archive:before{content:"e"}.icon-basic-archive-full:before{content:"f"}.icon-basic-ban:before{content:"g"}.icon-basic-battery-charge:before{content:"h"}.icon-basic-battery-empty:before{content:"i"}.icon-basic-battery-full:before{content:"j"}.icon-basic-battery-half:before{content:"k"}.icon-basic-bolt:before{content:"l"}.icon-basic-book:before{content:"m"}.icon-basic-book-pen:before{content:"n"}.icon-basic-book-pencil:before{content:"o"}.icon-basic-bookmark:before{content:"p"}.icon-basic-calculator:before{content:"q"}.icon-basic-calendar:before{content:"r"}.icon-basic-cards-diamonds:before{content:"s"}.icon-basic-cards-hearts:before{content:"t"}.icon-basic-case:before{content:"u"}.icon-basic-chronometer:before{content:"v"}.icon-basic-clessidre:before{content:"w"}.icon-basic-clock:before{content:"x"}.icon-basic-clockwise:before{content:"y"}.icon-basic-cloud:before{content:"z"}.icon-basic-clubs:before{content:"A"}.icon-basic-compass:before{content:"B"}.icon-basic-cup:before{content:"C"}.icon-basic-diamonds:before{content:"D"}.icon-basic-display:before{content:"E"}.icon-basic-download:before{content:"F"}.icon-basic-exclamation:before{content:"G"}.icon-basic-eye:before{content:"H"}.icon-basic-eye-closed:before{content:"I"}.icon-basic-female:before{content:"J"}.icon-basic-flag1:before{content:"K"}.icon-basic-flag2:before{content:"L"}.icon-basic-floppydisk:before{content:"M"}.icon-basic-folder:before{content:"N"}.icon-basic-folder-multiple:before{content:"O"}.icon-basic-gear:before{content:"P"}.icon-basic-geolocalize-01:before{content:"Q"}.icon-basic-geolocalize-05:before{content:"R"}.icon-basic-globe:before{content:"S"}.icon-basic-gunsight:before{content:"T"}.icon-basic-hammer:before{content:"U"}.icon-basic-headset:before{content:"V"}.icon-basic-heart:before{content:"W"}.icon-basic-heart-broken:before{content:"X"}.icon-basic-helm:before{content:"Y"}.icon-basic-home:before{content:"Z"}.icon-basic-info:before{content:"0"}.icon-basic-ipod:before{content:"1"}.icon-basic-joypad:before{content:"2"}.icon-basic-key:before{content:"3"}.icon-basic-keyboard:before{content:"4"}.icon-basic-laptop:before{content:"5"}.icon-basic-life-buoy:before{content:"6"}.icon-basic-lightbulb:before{content:"7"}.icon-basic-link:before{content:"8"}.icon-basic-lock:before{content:"9"}.icon-basic-lock-open:before{content:"!"}.icon-basic-magic-mouse:before{content:"\""}.icon-basic-magnifier:before{content:"#"}.icon-basic-magnifier-minus:before{content:"$"}.icon-basic-magnifier-plus:before{content:"%"}.icon-basic-mail:before{content:"&"}.icon-basic-mail-multiple:before{content:"'"}.icon-basic-mail-open:before{content:"("}.icon-basic-mail-open-text:before{content:")"}.icon-basic-male:before{content:"*"}.icon-basic-map:before{content:"+"}.icon-basic-message:before{content:","}.icon-basic-message-multiple:before{content:"-"}.icon-basic-message-txt:before{content:"."}.icon-basic-mixer2:before{content:"/"}.icon-basic-mouse:before{content:":"}.icon-basic-notebook:before{content:";"}.icon-basic-notebook-pen:before{content:"<"}.icon-basic-notebook-pencil:before{content:"="}.icon-basic-paperplane:before{content:">"}.icon-basic-pencil-ruler:before{content:"?"}.icon-basic-pencil-ruler-pen:before{content:"@"}.icon-basic-photo:before{content:"["}.icon-basic-picture:before{content:"]"}.icon-basic-picture-multiple:before{content:"^"}.icon-basic-pin1:before{content:"_"}.icon-basic-pin2:before{content:"`"}.icon-basic-postcard:before{content:"{"}.icon-basic-postcard-multiple:before{content:"|"}.icon-basic-printer:before{content:"}"}.icon-basic-question:before{content:"~"}.icon-basic-rss:before{content:"\\"}.icon-basic-server:before{content:"\e000"}.icon-basic-server2:before{content:"\e001"}.icon-basic-server-cloud:before{content:"\e002"}.icon-basic-server-download:before{content:"\e003"}.icon-basic-server-upload:before{content:"\e004"}.icon-basic-settings:before{cLine truncated
|
||||||
/*
|
|
||||||
* 0 - 600px : Phone
|
|
||||||
* 600 - 900px : Tablet portrait
|
|
||||||
* 900 - 1200px : Tablet landscape
|
|
||||||
* 1200 - 1800px : Normal desktop
|
|
||||||
* 1800px + : Big desktop
|
|
||||||
|
|
||||||
* $breakpoint argument choices
|
|
||||||
- phone
|
|
||||||
- tab-port
|
|
||||||
- tab-land
|
|
||||||
- big-desktop
|
|
||||||
|
|
||||||
1em = 16px
|
|
||||||
*/
|
|
||||||
*,
|
|
||||||
::after,
|
|
||||||
::before {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: inherit; }
|
|
||||||
|
|
||||||
html {
|
|
||||||
font-size: 62.5%; }
|
|
||||||
@media (min-width: 112.5em) {
|
|
||||||
html {
|
|
||||||
font-size: 75%; } }
|
|
||||||
@media (max-width: 75em) {
|
|
||||||
html {
|
|
||||||
font-size: 56.25%; } }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
html {
|
|
||||||
font-size: 50%; } }
|
|
||||||
|
|
||||||
body {
|
|
||||||
padding: 3rem;
|
|
||||||
box-sizing: border-box; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
body {
|
|
||||||
padding: 0; } }
|
|
||||||
|
|
||||||
@keyframes slideLeft {
|
|
||||||
0% {
|
|
||||||
transform: translateX(-16rem);
|
|
||||||
opacity: 0; }
|
|
||||||
80% {
|
|
||||||
transform: translateX(1.5rem); }
|
|
||||||
100% {
|
|
||||||
transform: translateX(0);
|
|
||||||
opacity: 1; } }
|
|
||||||
|
|
||||||
@keyframes slideRight {
|
|
||||||
0% {
|
|
||||||
transform: translateX(16rem);
|
|
||||||
opacity: 0; }
|
|
||||||
80% {
|
|
||||||
transform: translateX(-1.5rem); }
|
|
||||||
100% {
|
|
||||||
transform: translateX(0);
|
|
||||||
opacity: 1; } }
|
|
||||||
|
|
||||||
@keyframes slideBottom {
|
|
||||||
0% {
|
|
||||||
transform: translateY(5rem);
|
|
||||||
opacity: 0; }
|
|
||||||
100% {
|
|
||||||
transform: translateY(0);
|
|
||||||
opacity: 1; } }
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: "Lato", Verdana, Geneva, Tahoma, sans-serif;
|
|
||||||
font-weight: 400;
|
|
||||||
/* font-size: 16px; */
|
|
||||||
line-height: 1.7;
|
|
||||||
color: #777; }
|
|
||||||
|
|
||||||
.heading--primary {
|
|
||||||
color: #fff;
|
|
||||||
text-transform: uppercase;
|
|
||||||
margin-bottom: 6rem; }
|
|
||||||
.heading--primary-main {
|
|
||||||
display: block;
|
|
||||||
font-size: 6rem;
|
|
||||||
font-weight: 400;
|
|
||||||
letter-spacing: 3.5rem;
|
|
||||||
animation-name: slideLeft;
|
|
||||||
animation-duration: 1s;
|
|
||||||
animation-timing-function: ease-in; }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.heading--primary-main {
|
|
||||||
letter-spacing: 1rem;
|
|
||||||
font-size: 5rem; } }
|
|
||||||
.heading--primary-sub {
|
|
||||||
display: block;
|
|
||||||
font-size: 2rem;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: 1.75rem;
|
|
||||||
animation-name: slideRight;
|
|
||||||
animation-duration: 1s;
|
|
||||||
animation-timing-function: ease-in; }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.heading--primary-sub {
|
|
||||||
letter-spacing: .5rem; } }
|
|
||||||
|
|
||||||
.heading--secondary {
|
|
||||||
font-size: 3.5rem;
|
|
||||||
font-weight: 700;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 2px;
|
|
||||||
display: inline-block;
|
|
||||||
background-image: linear-gradient(to right, #7ed56f, #28b485);
|
|
||||||
background-clip: 0;
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
color: transparent;
|
|
||||||
transition: all 0.2s; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.heading--secondary {
|
|
||||||
font-size: 3rem; } }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.heading--secondary {
|
|
||||||
font-size: 2.5rem; } }
|
|
||||||
.heading--secondary:hover {
|
|
||||||
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 !important; }
|
|
||||||
|
|
||||||
.u-margin-bottom-small {
|
|
||||||
margin-bottom: 2rem !important; }
|
|
||||||
|
|
||||||
.u-margin-bottom-medium {
|
|
||||||
margin-bottom: 4rem !important; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.u-margin-bottom-medium {
|
|
||||||
margin-bottom: 3rem !important; } }
|
|
||||||
|
|
||||||
.u-margin-bottom-big {
|
|
||||||
margin-bottom: 8rem !important; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.u-margin-bottom-big {
|
|
||||||
margin-bottom: 5rem !important; } }
|
|
||||||
|
|
||||||
.u-margin-top-big {
|
|
||||||
margin-top: 8rem !important; }
|
|
||||||
|
|
||||||
.u-margin-top-huge {
|
|
||||||
margin-top: 10rem !important; }
|
|
||||||
|
|
||||||
.btn, .btn:link, .btn:visited {
|
|
||||||
text-transform: uppercase;
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 1.5rem 4rem;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 10rem;
|
|
||||||
transition: all 0.2s;
|
|
||||||
position: relative;
|
|
||||||
font-size: 1.6rem;
|
|
||||||
border: none;
|
|
||||||
cursor: pointer; }
|
|
||||||
|
|
||||||
.btn--animated {
|
|
||||||
animation: slideBottom 0.7s ease-out 0.75s;
|
|
||||||
animation-fill-mode: backwards; }
|
|
||||||
|
|
||||||
.btn:hover {
|
|
||||||
transform: translateY(-0.4rem);
|
|
||||||
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }
|
|
||||||
.btn:hover::after {
|
|
||||||
transform: scaleX(1.4) scaleY(1.6);
|
|
||||||
opacity: 0; }
|
|
||||||
|
|
||||||
.btn:active, .btn:focus {
|
|
||||||
transform: translateY(-0.1rem);
|
|
||||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); }
|
|
||||||
|
|
||||||
.btn--white {
|
|
||||||
background-color: #fff;
|
|
||||||
color: #777; }
|
|
||||||
.btn--white::after {
|
|
||||||
background-color: #fff; }
|
|
||||||
|
|
||||||
.btn--green {
|
|
||||||
background-color: #55c57a;
|
|
||||||
color: #fff; }
|
|
||||||
.btn--green::after {
|
|
||||||
background-color: #55c57a; }
|
|
||||||
|
|
||||||
.btn::after {
|
|
||||||
content: "";
|
|
||||||
display: inline-block;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
border-radius: 10rem;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
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 0.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 0.2s;
|
|
||||||
outline-offset: 2rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.composition__photo {
|
|
||||||
position: relative;
|
|
||||||
float: left;
|
|
||||||
width: 33.33333333%;
|
|
||||||
box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2); } }
|
|
||||||
.composition__photo--p1 {
|
|
||||||
left: 0;
|
|
||||||
top: -2rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.composition__photo--p1 {
|
|
||||||
top: 0;
|
|
||||||
transform: scale(1.2); } }
|
|
||||||
.composition__photo--p2 {
|
|
||||||
right: 0;
|
|
||||||
top: 2rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.composition__photo--p2 {
|
|
||||||
top: -1rem;
|
|
||||||
transform: scale(1.3);
|
|
||||||
z-index: 100; } }
|
|
||||||
.composition__photo--p3 {
|
|
||||||
left: 20%;
|
|
||||||
top: 10rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.composition__photo--p3 {
|
|
||||||
top: 1rem;
|
|
||||||
left: 0;
|
|
||||||
transform: scale(1.2); } }
|
|
||||||
.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 0.3s; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.feature-box {
|
|
||||||
padding: 2rem; } }
|
|
||||||
.feature-box__icon {
|
|
||||||
font-size: 6rem;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
display: inline-block;
|
|
||||||
background-image: linear-gradient(to right, #7ed56f, #28b485);
|
|
||||||
-webkit-background-clip: text;
|
|
||||||
color: transparent; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.feature-box__icon {
|
|
||||||
margin-bottom: 0; } }
|
|
||||||
.feature-box:hover {
|
|
||||||
transform: translateY(-1.5rem) scale(1.03); }
|
|
||||||
|
|
||||||
.card {
|
|
||||||
perspective: 150rem;
|
|
||||||
-moz-perspective: 150rem;
|
|
||||||
position: relative;
|
|
||||||
height: 52rem; }
|
|
||||||
.card__side {
|
|
||||||
font-size: 2rem;
|
|
||||||
height: 52rem;
|
|
||||||
transition: all 0.8s ease;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
backface-visibility: hidden;
|
|
||||||
border-radius: 3px;
|
|
||||||
overflow: hidden;
|
|
||||||
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15); }
|
|
||||||
.card__side--front {
|
|
||||||
background-color: #fff; }
|
|
||||||
.card__side--back {
|
|
||||||
transform: rotateY(180deg); }
|
|
||||||
.card__side--back-1 {
|
|
||||||
background-image: linear-gradient(to right bottom, #ffb900, #ff7730); }
|
|
||||||
.card__side--back-2 {
|
|
||||||
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
|
||||||
.card__side--back-3 {
|
|
||||||
background-image: linear-gradient(to right bottom, #2998ff, #5643fa); }
|
|
||||||
.card:hover .card__side--front {
|
|
||||||
transform: rotateY(-180deg); }
|
|
||||||
.card:hover .card__side--back {
|
|
||||||
transform: rotateY(0); }
|
|
||||||
.card__picture {
|
|
||||||
background-size: cover;
|
|
||||||
height: 23rem;
|
|
||||||
background-blend-mode: screen;
|
|
||||||
-webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
|
|
||||||
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
|
|
||||||
border-top-left-radius: 3px;
|
|
||||||
border-top-right-radius: 3px; }
|
|
||||||
.card__picture--1 {
|
|
||||||
background-image: linear-gradient(to right bottom, #ffb900, #ff7730), url(../img/nat-5.jpg); }
|
|
||||||
.card__picture--2 {
|
|
||||||
background-image: linear-gradient(to right bottom, #7ed56f, #28b485), url(../img/nat-6.jpg); }
|
|
||||||
.card__picture--3 {
|
|
||||||
background-image: linear-gradient(to right bottom, #2998ff, #5643fa), url(../img/nat-7.jpg); }
|
|
||||||
.card__heading {
|
|
||||||
font-size: 2.8rem;
|
|
||||||
font-weight: 300;
|
|
||||||
text-transform: uppercase;
|
|
||||||
color: #fff;
|
|
||||||
position: absolute;
|
|
||||||
top: 12rem;
|
|
||||||
right: 2rem;
|
|
||||||
text-align: right;
|
|
||||||
width: 75%; }
|
|
||||||
.card__heading--span {
|
|
||||||
padding: 1rem 1.5rem;
|
|
||||||
-webkit-box-decoration-break: clone;
|
|
||||||
box-decoration-break: clone; }
|
|
||||||
.card__heading--span--1 {
|
|
||||||
background-image: linear-gradient(to right bottom, rgba(255, 185, 0, 0.85), #ff7730); }
|
|
||||||
.card__heading--span--2 {
|
|
||||||
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.85), #28b485); }
|
|
||||||
.card__heading--span--3 {
|
|
||||||
background-image: linear-gradient(to right bottom, rgba(41, 152, 255, 0.85), #5643fa); }
|
|
||||||
.card__details {
|
|
||||||
padding: 3rem; }
|
|
||||||
.card__details ul {
|
|
||||||
list-style: none;
|
|
||||||
width: 80%;
|
|
||||||
margin: 0 auto; }
|
|
||||||
.card__details ul li {
|
|
||||||
text-align: center;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
padding: 1rem; }
|
|
||||||
.card__details ul li:not(:last-child) {
|
|
||||||
border-bottom: 1px solid #eee; }
|
|
||||||
.card__cta {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
width: 90%;
|
|
||||||
text-align: center; }
|
|
||||||
.card__price-box {
|
|
||||||
color: #fff;
|
|
||||||
margin-bottom: 8rem; }
|
|
||||||
.card__price-only {
|
|
||||||
font-size: 1.4rem;
|
|
||||||
text-transform: uppercase; }
|
|
||||||
.card__price-value {
|
|
||||||
font-size: 6rem;
|
|
||||||
font-weight: 100; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.card {
|
|
||||||
height: auto;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #fff;
|
|
||||||
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15); }
|
|
||||||
.card__side {
|
|
||||||
height: auto;
|
|
||||||
position: relative;
|
|
||||||
box-shadow: none; }
|
|
||||||
.card__side--front {
|
|
||||||
background-color: #fff; }
|
|
||||||
.card__side--back {
|
|
||||||
transform: rotateY(0);
|
|
||||||
clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0 100%); }
|
|
||||||
.card__side--back-1 {
|
|
||||||
background-image: linear-gradient(to right bottom, #ffb900, #ff7730); }
|
|
||||||
.card__side--back-2 {
|
|
||||||
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
|
||||||
.card__side--back-3 {
|
|
||||||
background-image: linear-gradient(to right bottom, #2998ff, #5643fa); }
|
|
||||||
.card:hover .card__side--front {
|
|
||||||
transform: rotateY(0); }
|
|
||||||
.card__details {
|
|
||||||
padding: 1rem 3rem; }
|
|
||||||
.card__cta {
|
|
||||||
position: relative;
|
|
||||||
top: 0%;
|
|
||||||
left: 0%;
|
|
||||||
transform: translate(0);
|
|
||||||
width: 100%;
|
|
||||||
padding: 7rem 4rem 4rem; }
|
|
||||||
.card__price-box {
|
|
||||||
color: #fff;
|
|
||||||
margin-bottom: 3rem; }
|
|
||||||
.card__price-value {
|
|
||||||
font-size: 4rem; } }
|
|
||||||
|
|
||||||
.story {
|
|
||||||
width: 75%;
|
|
||||||
margin: 0 auto;
|
|
||||||
box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
|
|
||||||
background-color: rgba(255, 255, 255, 0.6);
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 6rem;
|
|
||||||
padding-left: 9rem;
|
|
||||||
font-size: 1.6rem;
|
|
||||||
transform: skewX(-12deg); }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.story {
|
|
||||||
width: 100%;
|
|
||||||
padding: 4rem;
|
|
||||||
padding-left: 7rem; } }
|
|
||||||
.story > * {
|
|
||||||
transform: skewX(12deg); }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.story {
|
|
||||||
transform: skewX(0); }
|
|
||||||
.story > * {
|
|
||||||
transform: skewX(0); } }
|
|
||||||
.story__shape {
|
|
||||||
width: 15rem;
|
|
||||||
height: 15rem;
|
|
||||||
float: left;
|
|
||||||
-webkit-shape-outside: circle(50% at 50% 50%);
|
|
||||||
shape-outside: circle(50% at 50% 50%);
|
|
||||||
-webkit-clip-path: circle(50% at 50% 50%);
|
|
||||||
clip-path: circle(50% at 50% 50%);
|
|
||||||
transform: translateX(-3rem) skewX(12deg);
|
|
||||||
position: relative; }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.story__shape {
|
|
||||||
transform: translateX(-3rem) skewX(0); } }
|
|
||||||
.story__img {
|
|
||||||
height: 100%;
|
|
||||||
transform: translateX(-4rem) scale(1.4);
|
|
||||||
backface-visibility: hidden;
|
|
||||||
transition: all 0.5s; }
|
|
||||||
.story__text {
|
|
||||||
transform: skewX(12deg); }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.story__text {
|
|
||||||
transform: skewX(0); } }
|
|
||||||
.story__caption {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, 20%);
|
|
||||||
color: #fff;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: 1.7rem;
|
|
||||||
text-align: center;
|
|
||||||
opacity: 0;
|
|
||||||
transition: all 0.5s;
|
|
||||||
backface-visibility: hidden; }
|
|
||||||
.story:hover .story__caption {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translate(-50%, -50%); }
|
|
||||||
.story:hover .story__img {
|
|
||||||
transform: translateX(-4rem) scale(1);
|
|
||||||
filter: blur(3px) brightness(80%); }
|
|
||||||
|
|
||||||
.bg-video {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
z-index: -1;
|
|
||||||
opacity: .15;
|
|
||||||
overflow: hidden; }
|
|
||||||
.bg-video__content {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
object-fit: cover; }
|
|
||||||
|
|
||||||
.form__group:not(:last-child) {
|
|
||||||
margin-bottom: 2rem; }
|
|
||||||
|
|
||||||
.form__input {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-family: inherit;
|
|
||||||
color: inherit;
|
|
||||||
padding: 1.5rem 2rem;
|
|
||||||
border-radius: 2px;
|
|
||||||
background-color: rgba(255, 255, 255, 0.5);
|
|
||||||
border: none;
|
|
||||||
border-bottom: 3px solid transparent;
|
|
||||||
width: 90%;
|
|
||||||
display: block;
|
|
||||||
transition: all 0.3s; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.form__input {
|
|
||||||
width: 100%; } }
|
|
||||||
.form__input:focus {
|
|
||||||
outline: none;
|
|
||||||
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
|
|
||||||
border-bottom: 3px solid #55c57a; }
|
|
||||||
.form__input:focus:invalid {
|
|
||||||
border-bottom: 3px solid #ff7730; }
|
|
||||||
.form__input::placeholder {
|
|
||||||
color: #999; }
|
|
||||||
|
|
||||||
.form__label {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
font-weight: 700;
|
|
||||||
margin-left: 2rem;
|
|
||||||
margin-top: 0.7rem;
|
|
||||||
display: block;
|
|
||||||
transition: all 0.3s; }
|
|
||||||
|
|
||||||
.form__input:placeholder-shown + .form__label {
|
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
transform: translateY(-4rem); }
|
|
||||||
|
|
||||||
.form__radio-group {
|
|
||||||
width: 49%;
|
|
||||||
display: inline-block; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.form__radio-group {
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 2rem; } }
|
|
||||||
|
|
||||||
.form__radio-input {
|
|
||||||
display: none; }
|
|
||||||
|
|
||||||
.form__radio-label {
|
|
||||||
font-size: 1.6rem;
|
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
|
||||||
padding-left: 4.5rem; }
|
|
||||||
|
|
||||||
.form__radio-button {
|
|
||||||
height: 3rem;
|
|
||||||
width: 3rem;
|
|
||||||
border: 5px solid #55c57a;
|
|
||||||
border-radius: 50%;
|
|
||||||
display: inline-block;
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: -0.4rem; }
|
|
||||||
.form__radio-button::after {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
height: 1.3rem;
|
|
||||||
width: 1.3rem;
|
|
||||||
border-radius: 50%;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
background-color: #55c57a;
|
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.2s; }
|
|
||||||
|
|
||||||
.form__radio-input:checked ~ .form__radio-label .form__radio-button::after {
|
|
||||||
opacity: 1; }
|
|
||||||
|
|
||||||
.popup {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 100vh;
|
|
||||||
width: 100%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.82);
|
|
||||||
z-index: 4000;
|
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
transition: all 0.4s; }
|
|
||||||
.popup__content {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
display: table;
|
|
||||||
width: 75%;
|
|
||||||
box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 3px;
|
|
||||||
overflow: hidden;
|
|
||||||
opacity: 0;
|
|
||||||
transform: translate(-50%, -50%) scale(0);
|
|
||||||
transition: all 0.4s 0.2s; }
|
|
||||||
.popup__left {
|
|
||||||
width: 33.3333333%;
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle; }
|
|
||||||
.popup__right {
|
|
||||||
width: 66.6666667%;
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle;
|
|
||||||
padding: 3rem 5rem; }
|
|
||||||
.popup__img {
|
|
||||||
display: block;
|
|
||||||
width: 100%; }
|
|
||||||
.popup__text {
|
|
||||||
font-size: 1.4rem;
|
|
||||||
margin-bottom: 4rem;
|
|
||||||
-moz-column-count: 2;
|
|
||||||
-moz-column-gap: 4rem;
|
|
||||||
-moz-column-rule: 1px solid #999;
|
|
||||||
column-count: 2;
|
|
||||||
column-gap: 4rem;
|
|
||||||
column-rule: 1px solid #999;
|
|
||||||
-moz-hyphens: auto;
|
|
||||||
-ms-hyphens: auto;
|
|
||||||
-webkit-hyphens: auto;
|
|
||||||
hyphens: auto; }
|
|
||||||
.popup:target {
|
|
||||||
opacity: 1;
|
|
||||||
visibility: visible; }
|
|
||||||
.popup:target .popup__content {
|
|
||||||
opacity: 1;
|
|
||||||
transform: translate(-50%, -50%) scale(1); }
|
|
||||||
.popup__close:link, .popup__close:visited {
|
|
||||||
color: #777;
|
|
||||||
position: absolute;
|
|
||||||
top: 2.5rem;
|
|
||||||
right: 2.5rem;
|
|
||||||
font-size: 3rem;
|
|
||||||
text-decoration: none;
|
|
||||||
display: inline-block;
|
|
||||||
transition: all 0.2s; }
|
|
||||||
.popup__close:hover {
|
|
||||||
color: #55c57a; }
|
|
||||||
|
|
||||||
.header {
|
|
||||||
height: 95vh;
|
|
||||||
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%);
|
|
||||||
position: relative;
|
|
||||||
/*
|
|
||||||
.logo:hover{
|
|
||||||
animation: moveInRight 1s ease-out;
|
|
||||||
}
|
|
||||||
*/ }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.header {
|
|
||||||
clip-path: polygon(0% 0%, 100% 0%, 100% 85vh, 0% 100%); } }
|
|
||||||
.header__logo-box {
|
|
||||||
position: absolute;
|
|
||||||
top: 4rem;
|
|
||||||
left: 4rem; }
|
|
||||||
.header__logo {
|
|
||||||
height: 3.5rem; }
|
|
||||||
.header__text-box {
|
|
||||||
position: absolute;
|
|
||||||
top: 40%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
/*
|
|
||||||
* Limpiar animaciones para evitar temblores
|
|
||||||
* No se sabe realmente por qué funciona o de dónde viene el error, pero lo hace
|
|
||||||
*/
|
|
||||||
backface-visibility: hidden;
|
|
||||||
text-align: center; }
|
|
||||||
|
|
||||||
.row {
|
|
||||||
max-width: 114rem;
|
|
||||||
margin: 0 auto; }
|
|
||||||
.row:not(:last-child) {
|
|
||||||
margin-bottom: 8rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.row:not(:last-child) {
|
|
||||||
margin-bottom: 6rem; } }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.row {
|
|
||||||
max-width: 50rem;
|
|
||||||
padding: 0 3rem; } }
|
|
||||||
.row::after {
|
|
||||||
content: "";
|
|
||||||
display: table;
|
|
||||||
clear: both; }
|
|
||||||
.row [class^='col-'] {
|
|
||||||
float: left; }
|
|
||||||
.row [class^='col-']:not(:last-child) {
|
|
||||||
margin-right: 6rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.row [class^='col-']:not(:last-child) {
|
|
||||||
margin-right: 0;
|
|
||||||
margin-bottom: 6rem; } }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.row [class^='col-'] {
|
|
||||||
width: 100% !important; } }
|
|
||||||
.row .col-1-of-2 {
|
|
||||||
width: calc((100% - 6rem) / 2); }
|
|
||||||
.row .col-1-of-3 {
|
|
||||||
width: calc((100% - 2 * 6rem) / 3); }
|
|
||||||
.row .col-2-of-3 {
|
|
||||||
width: calc(((100% - 2 * 6rem) / 3) * 2 + 6rem); }
|
|
||||||
.row .col-1-of-4 {
|
|
||||||
width: calc((100% - 3 * 6rem) / 4); }
|
|
||||||
.row .col-2-of-4 {
|
|
||||||
width: calc(2 * ((100% - 3 * 6rem) / 4) + 6rem); }
|
|
||||||
.row .col-3-of-4 {
|
|
||||||
width: calc(3 * ((100% - 3 * 6rem) / 4) + 2 * 6rem); }
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
background-color: #333;
|
|
||||||
padding: 10rem 0;
|
|
||||||
font-size: 1.4rem;
|
|
||||||
color: #f7f7f7; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.footer {
|
|
||||||
padding: 8rem 0; } }
|
|
||||||
.footer__logo-box {
|
|
||||||
text-align: center;
|
|
||||||
margin-bottom: 8rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.footer__logo-box {
|
|
||||||
margin-bottom: 6rem; } }
|
|
||||||
.footer__logo {
|
|
||||||
width: 15rem;
|
|
||||||
height: auto; }
|
|
||||||
.footer__navigation {
|
|
||||||
border-top: 1px solid #777;
|
|
||||||
padding-top: 2rem;
|
|
||||||
display: inline-block; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.footer__navigation {
|
|
||||||
width: 100%;
|
|
||||||
text-align: center; } }
|
|
||||||
.footer__list {
|
|
||||||
list-style: none; }
|
|
||||||
.footer__item {
|
|
||||||
display: inline-block; }
|
|
||||||
.footer__item:not(:last-child) {
|
|
||||||
margin-right: 1.5rem; }
|
|
||||||
.footer__link:link, .footer__link:visited {
|
|
||||||
color: #f7f7f7;
|
|
||||||
background-color: #333;
|
|
||||||
text-decoration: none;
|
|
||||||
text-transform: uppercase;
|
|
||||||
display: inline-block;
|
|
||||||
transition: all 0.2s; }
|
|
||||||
.footer__link:hover, .footer__link:active {
|
|
||||||
color: #55c57a;
|
|
||||||
box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
|
|
||||||
transform: rotate(5deg) scale(1.3); }
|
|
||||||
.footer__copyright {
|
|
||||||
border-top: 1px solid #777;
|
|
||||||
padding-top: 2rem;
|
|
||||||
display: inline-block;
|
|
||||||
width: 80%;
|
|
||||||
float: right; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.footer__copyright {
|
|
||||||
width: 100%;
|
|
||||||
float: none; } }
|
|
||||||
|
|
||||||
.navigation__checkbox {
|
|
||||||
display: none; }
|
|
||||||
|
|
||||||
.navigation__button {
|
|
||||||
background-color: #fff;
|
|
||||||
height: 7rem;
|
|
||||||
width: 7rem;
|
|
||||||
position: fixed;
|
|
||||||
top: 6rem;
|
|
||||||
right: 6rem;
|
|
||||||
border-radius: 50%;
|
|
||||||
z-index: 2000;
|
|
||||||
box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
|
|
||||||
text-align: center;
|
|
||||||
cursor: pointer; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.navigation__button {
|
|
||||||
top: 4rem;
|
|
||||||
right: 4rem; } }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.navigation__button {
|
|
||||||
top: 2.5rem;
|
|
||||||
right: 2.5rem; } }
|
|
||||||
|
|
||||||
.navigation__background {
|
|
||||||
height: 6rem;
|
|
||||||
width: 6rem;
|
|
||||||
border-radius: 50%;
|
|
||||||
position: fixed;
|
|
||||||
top: 6.5rem;
|
|
||||||
right: 6.5rem;
|
|
||||||
background-image: radial-gradient(#7ed56f, #28b485);
|
|
||||||
z-index: 1000;
|
|
||||||
transition: transform 0.8s cubic-bezier(0.83, 0, 0.17, 1); }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.navigation__background {
|
|
||||||
top: 4.5rem;
|
|
||||||
right: 4.5rem; } }
|
|
||||||
@media (max-width: 37.5em) {
|
|
||||||
.navigation__background {
|
|
||||||
top: 3rem;
|
|
||||||
right: 3rem; } }
|
|
||||||
|
|
||||||
.navigation__nav {
|
|
||||||
height: 100vh;
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 1500;
|
|
||||||
opacity: 0;
|
|
||||||
width: 0;
|
|
||||||
transition: all 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6); }
|
|
||||||
|
|
||||||
.navigation__list {
|
|
||||||
width: 100%;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
list-style: none;
|
|
||||||
text-align: center; }
|
|
||||||
|
|
||||||
.navigation__item {
|
|
||||||
margin: 1rem; }
|
|
||||||
|
|
||||||
.navigation__link:link, .navigation__link:visited {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 3rem;
|
|
||||||
font-weight: 300;
|
|
||||||
padding: 1rem 2rem;
|
|
||||||
color: #fff;
|
|
||||||
text-decoration: none;
|
|
||||||
text-transform: uppercase;
|
|
||||||
background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #fff 50%);
|
|
||||||
background-size: 250%;
|
|
||||||
transition: all 0.4s; }
|
|
||||||
.navigation__link:link span, .navigation__link:visited span {
|
|
||||||
margin-right: 1.5rem;
|
|
||||||
display: inline-block; }
|
|
||||||
|
|
||||||
.navigation__link:hover, .navigation__link:active {
|
|
||||||
color: #28b485;
|
|
||||||
background-position: 100%;
|
|
||||||
transform: translateX(1rem); }
|
|
||||||
|
|
||||||
.navigation__checkbox:checked ~ .navigation__background {
|
|
||||||
transform: scale(80); }
|
|
||||||
|
|
||||||
.navigation__checkbox:checked ~ .navigation__nav {
|
|
||||||
opacity: 1;
|
|
||||||
width: 100%; }
|
|
||||||
|
|
||||||
.navigation__icon {
|
|
||||||
position: relative;
|
|
||||||
margin-top: 3.4rem; }
|
|
||||||
.navigation__icon, .navigation__icon::before, .navigation__icon::after {
|
|
||||||
width: 3rem;
|
|
||||||
height: 2px;
|
|
||||||
background-color: #333;
|
|
||||||
display: inline-block; }
|
|
||||||
.navigation__icon::before, .navigation__icon::after {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
transition: all 0.2s; }
|
|
||||||
.navigation__icon::before {
|
|
||||||
top: -0.8rem; }
|
|
||||||
.navigation__icon::after {
|
|
||||||
top: 0.8rem; }
|
|
||||||
|
|
||||||
.navigation__button:hover .navigation__icon::before {
|
|
||||||
top: -1rem; }
|
|
||||||
|
|
||||||
.navigation__button:hover .navigation__icon::after {
|
|
||||||
top: 1rem; }
|
|
||||||
|
|
||||||
.navigation__checkbox:checked + .navigation__button .navigation__icon {
|
|
||||||
background-color: transparent; }
|
|
||||||
|
|
||||||
.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
|
|
||||||
top: 0;
|
|
||||||
transform: rotate(135deg); }
|
|
||||||
|
|
||||||
.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
|
|
||||||
top: 0;
|
|
||||||
transform: rotate(-135deg); }
|
|
||||||
|
|
||||||
.section-about {
|
|
||||||
background-color: #f7f7f7;
|
|
||||||
padding: 25rem 0;
|
|
||||||
margin-top: -20vh; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.section-about {
|
|
||||||
padding: 20rem 0; } }
|
|
||||||
|
|
||||||
.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); }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.section-features {
|
|
||||||
padding: 10rem 0; } }
|
|
||||||
|
|
||||||
.section-tours {
|
|
||||||
background-color: #f7f7f7;
|
|
||||||
padding: 25rem 0 15rem 0;
|
|
||||||
margin-top: -10rem; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.section-tours {
|
|
||||||
padding: 20rem 0 10rem 0; } }
|
|
||||||
|
|
||||||
.section-stories {
|
|
||||||
position: relative;
|
|
||||||
padding: 15rem 0; }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.section-stories {
|
|
||||||
padding: 10rem 0; } }
|
|
||||||
|
|
||||||
.section-book {
|
|
||||||
padding: 15rem 0;
|
|
||||||
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
|
||||||
|
|
||||||
.book {
|
|
||||||
background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 50%, transparent 50%), url(../img/nat-10.jpg);
|
|
||||||
background-size: 100%;
|
|
||||||
border-radius: 3px;
|
|
||||||
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2); }
|
|
||||||
@media (max-width: 75em) {
|
|
||||||
.book {
|
|
||||||
background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 65%, transparent 65%), url(../img/nat-10.jpg);
|
|
||||||
background-size: cover; } }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.book {
|
|
||||||
background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%), url(../img/nat-10.jpg); } }
|
|
||||||
.book__form {
|
|
||||||
width: 50%;
|
|
||||||
padding: 6rem; }
|
|
||||||
@media (max-width: 75em) {
|
|
||||||
.book__form {
|
|
||||||
width: 65%; } }
|
|
||||||
@media (max-width: 56.25em) {
|
|
||||||
.book__form {
|
|
||||||
width: 100%; } }
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
|||||||
|
@font-face{font-family:"linea-basic-10";src:url("fonts/linea-basic-10.eot");src:url("fonts/linea-basic-10.eot?#iefix") format("embedded-opentype"),url("fonts/linea-basic-10.woff") format("woff"),url("fonts/linea-basic-10.ttf") format("truetype"),url("fonts/linea-basic-10.svg#linea-basic-10") format("svg");font-weight:normal;font-style:normal}[data-icon]:before{font-family:"linea-basic-10" !important;content:attr(data-icon);font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"linea-basic-10" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-basic-accelerator:before{content:"a"}.icon-basic-alarm:before{content:"b"}.icon-basic-anchor:before{content:"c"}.icon-basic-anticlockwise:before{content:"d"}.icon-basic-archive:before{content:"e"}.icon-basic-archive-full:before{content:"f"}.icon-basic-ban:before{content:"g"}.icon-basic-battery-charge:before{content:"h"}.icon-basic-battery-empty:before{content:"i"}.icon-basic-battery-full:before{content:"j"}.icon-basic-battery-half:before{content:"k"}.icon-basic-bolt:before{content:"l"}.icon-basic-book:before{content:"m"}.icon-basic-book-pen:before{content:"n"}.icon-basic-book-pencil:before{content:"o"}.icon-basic-bookmark:before{content:"p"}.icon-basic-calculator:before{content:"q"}.icon-basic-calendar:before{content:"r"}.icon-basic-cards-diamonds:before{content:"s"}.icon-basic-cards-hearts:before{content:"t"}.icon-basic-case:before{content:"u"}.icon-basic-chronometer:before{content:"v"}.icon-basic-clessidre:before{content:"w"}.icon-basic-clock:before{content:"x"}.icon-basic-clockwise:before{content:"y"}.icon-basic-cloud:before{content:"z"}.icon-basic-clubs:before{content:"A"}.icon-basic-compass:before{content:"B"}.icon-basic-cup:before{content:"C"}.icon-basic-diamonds:before{content:"D"}.icon-basic-display:before{content:"E"}.icon-basic-download:before{content:"F"}.icon-basic-exclamation:before{content:"G"}.icon-basic-eye:before{content:"H"}.icon-basic-eye-closed:before{content:"I"}.icon-basic-female:before{content:"J"}.icon-basic-flag1:before{content:"K"}.icon-basic-flag2:before{content:"L"}.icon-basic-floppydisk:before{content:"M"}.icon-basic-folder:before{content:"N"}.icon-basic-folder-multiple:before{content:"O"}.icon-basic-gear:before{content:"P"}.icon-basic-geolocalize-01:before{content:"Q"}.icon-basic-geolocalize-05:before{content:"R"}.icon-basic-globe:before{content:"S"}.icon-basic-gunsight:before{content:"T"}.icon-basic-hammer:before{content:"U"}.icon-basic-headset:before{content:"V"}.icon-basic-heart:before{content:"W"}.icon-basic-heart-broken:before{content:"X"}.icon-basic-helm:before{content:"Y"}.icon-basic-home:before{content:"Z"}.icon-basic-info:before{content:"0"}.icon-basic-ipod:before{content:"1"}.icon-basic-joypad:before{content:"2"}.icon-basic-key:before{content:"3"}.icon-basic-keyboard:before{content:"4"}.icon-basic-laptop:before{content:"5"}.icon-basic-life-buoy:before{content:"6"}.icon-basic-lightbulb:before{content:"7"}.icon-basic-link:before{content:"8"}.icon-basic-lock:before{content:"9"}.icon-basic-lock-open:before{content:"!"}.icon-basic-magic-mouse:before{content:"\""}.icon-basic-magnifier:before{content:"#"}.icon-basic-magnifier-minus:before{content:"$"}.icon-basic-magnifier-plus:before{content:"%"}.icon-basic-mail:before{content:"&"}.icon-basic-mail-multiple:before{content:"'"}.icon-basic-mail-open:before{content:"("}.icon-basic-mail-open-text:before{content:")"}.icon-basic-male:before{content:"*"}.icon-basic-map:before{content:"+"}.icon-basic-message:before{content:","}.icon-basic-message-multiple:before{content:"-"}.icon-basic-message-txt:before{content:"."}.icon-basic-mixer2:before{content:"/"}.icon-basic-mouse:before{content:":"}.icon-basic-notebook:before{content:";"}.icon-basic-notebook-pen:before{content:"<"}.icon-basic-notebook-pencil:before{content:"="}.icon-basic-paperplane:before{content:">"}.icon-basic-pencil-ruler:before{content:"?"}.icon-basic-pencil-ruler-pen:before{content:"@"}.icon-basic-photo:before{content:"["}.icon-basic-picture:before{content:"]"}.icon-basic-picture-multiple:before{content:"^"}.icon-basic-pin1:before{content:"_"}.icon-basic-pin2:before{content:"`"}.icon-basic-postcard:before{content:"{"}.icon-basic-postcard-multiple:before{content:"|"}.icon-basic-printer:before{content:"}"}.icon-basic-question:before{content:"~"}.icon-basic-rss:before{content:"\\"}.icon-basic-server:before{content:"\e000"}.icon-basic-server2:before{content:"\e001"}.icon-basic-server-cloud:before{content:"\e002"}.icon-basic-server-download:before{content:"\e003"}.icon-basic-server-upload:before{content:"\e004"}.icon-basic-settings:before{cLine truncated
|
||||||
@@ -9,7 +9,8 @@
|
|||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/icon-font.css" />
|
<!-- Not needed because its on the code already because of the concat -->
|
||||||
|
<!-- <link rel="stylesheet" href="css/icon-font.css" /> -->
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/icon-font.css" />
|
<link rel="stylesheet" href="css/icon-font.css" />
|
||||||
<link rel="stylesheet" href="css/style.css" />
|
<link rel="stylesheet" href="css/style.css" />
|
||||||
@@ -104,21 +105,43 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-1-of-2">
|
<div class="col-1-of-2">
|
||||||
<div class="composition">
|
<div class="composition">
|
||||||
|
<!-- In the srcset we inform the browser the width of the images without him neeeding to download them -->
|
||||||
|
<!-- In sizes we inform the browser the aproximate width of the image in the different situations -->
|
||||||
|
<!-- This way the browser will determine itself what image to request -->
|
||||||
|
<!-- is also good to include src attribute in case the browser does not support srcset (old) -->
|
||||||
<img
|
<img
|
||||||
|
srcset="img/nat-1.jpg 300w, img/nat-1-large.jpg 1000w"
|
||||||
|
sizes="(max-width: 900px) 20vw, (max-width: 600px) 30vw, 300px"
|
||||||
src="img/nat-1-large.jpg"
|
src="img/nat-1-large.jpg"
|
||||||
alt="Photo 1"
|
alt="Photo 1"
|
||||||
class="composition__photo composition__photo--p1"
|
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
|
srcset="img/nat-2.jpg 300w, img/nat-2-large.jpg 1000w"
|
||||||
|
sizes="(max-width: 900px) 20vw, (max-width: 600px) 30vw, 300px"
|
||||||
src="img/nat-2-large.jpg"
|
src="img/nat-2-large.jpg"
|
||||||
alt="Photo 2"
|
alt="Photo 2"
|
||||||
class="composition__photo composition__photo--p2"
|
|
||||||
/>
|
/>
|
||||||
<img
|
<img
|
||||||
|
srcset="img/nat-3.jpg 300w, img/nat-3-large.jpg 1000w"
|
||||||
|
sizes="(max-width: 900px) 20vw, (max-width: 600px) 30vw, 300px"
|
||||||
src="img/nat-3-large.jpg"
|
src="img/nat-3-large.jpg"
|
||||||
alt="Photo 3"
|
alt="Photo 3"
|
||||||
class="composition__photo composition__photo--p3"
|
|
||||||
/>
|
/>
|
||||||
|
<!-- <img -->
|
||||||
|
<!-- src="img/nat-1-large.jpg" -->
|
||||||
|
<!-- alt="Photo 1" -->
|
||||||
|
<!-- class="composition__photo composition__photo--p1" -->
|
||||||
|
<!-- /> -->
|
||||||
|
<!-- <img -->
|
||||||
|
<!-- src="img/nat-2-large.jpg" -->
|
||||||
|
<!-- alt="Photo 2" -->
|
||||||
|
<!-- class="composition__photo composition__photo--p2" -->
|
||||||
|
<!-- /> -->
|
||||||
|
<!-- <img -->
|
||||||
|
<!-- src="img/nat-3-large.jpg" -->
|
||||||
|
<!-- alt="Photo 3" -->
|
||||||
|
<!-- class="composition__photo composition__photo--p3" -->
|
||||||
|
<!-- /> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+4499
File diff suppressed because it is too large.
Load diff
Generated
+4515
-1
File diff suppressed because it is too large.
Load diff
@@ -4,7 +4,14 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile:sass": "node-sass sass/main.scss css/style.css -w"
|
"watch:sass": "node-sass sass/main.scss css/style.css -w",
|
||||||
|
"devserver": "live-server",
|
||||||
|
"start": "npm-run-all --parallel devserver watch:sass",
|
||||||
|
"compile:sass": "node-sass sass/main.scss css/style.comp.css",
|
||||||
|
"concat:css": "concat -o css/style.concat.css css/icon-font.css css/style.comp.css",
|
||||||
|
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.concat.css -o css/style.prefix.css",
|
||||||
|
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
|
||||||
|
"build:css": "npm-run-all compile:sass concat:css prefix:css compress:css"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
@@ -13,5 +20,12 @@
|
|||||||
"jquery": "^3.7.0",
|
"jquery": "^3.7.0",
|
||||||
"live-server": "^1.2.2",
|
"live-server": "^1.2.2",
|
||||||
"semver": "^7.5.4"
|
"semver": "^7.5.4"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"autoprefixer": "^10.4.19",
|
||||||
|
"concat": "^1.0.3",
|
||||||
|
"node-sass": "^9.0.0",
|
||||||
|
"npm-run-all": "^4.1.5",
|
||||||
|
"postcss-cli": "^11.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31,25 +31,25 @@
|
|||||||
*/
|
*/
|
||||||
@mixin respond($breakpoint) {
|
@mixin respond($breakpoint) {
|
||||||
@if $breakpoint == phone {
|
@if $breakpoint == phone {
|
||||||
@media (max-width: 37.5em) {
|
@media only screen and (max-width: 37.5em) {
|
||||||
//600px
|
//600px
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if $breakpoint == tab-port {
|
@if $breakpoint == tab-port {
|
||||||
@media (max-width: 56.25em) {
|
@media only screen and (max-width: 56.25em) {
|
||||||
//900px
|
//900px
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if $breakpoint == tab-land {
|
@if $breakpoint == tab-land {
|
||||||
@media (max-width: 75em) {
|
@media only screen and (max-width: 75em) {
|
||||||
//1200px
|
//1200px
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if $breakpoint == big-desktop {
|
@if $breakpoint == big-desktop {
|
||||||
@media (min-width: 112.5em) {
|
@media only screen and (min-width: 112.5em) {
|
||||||
//1800px
|
//1800px
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,10 @@ body {
|
|||||||
|
|
||||||
@include respond(tab-port) {
|
@include respond(tab-port) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
::selection {
|
||||||
|
background-color: $color-primary;
|
||||||
|
color: $color-white;
|
||||||
}
|
}
|
||||||
@@ -14,6 +14,8 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|||||||
@@ -15,6 +15,13 @@
|
|||||||
|
|
||||||
transition: all 0.4s;
|
transition: all 0.4s;
|
||||||
|
|
||||||
|
@supports (-webkit-backdrop-filter: blur(10px)) or
|
||||||
|
(backdrop-filter: blur(10px)) {
|
||||||
|
-webkit-backdrop-filter: blur(10px);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
background-color: rgba($color-black, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
@include absCenter;
|
@include absCenter;
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,36 @@
|
|||||||
.header {
|
.header {
|
||||||
height: 95vh;
|
height: 95vh;
|
||||||
background-image: linear-gradient(to right bottom,rgba($color-primary-light, 0.801), rgba($color-primary-dark, 0.808)) , url("../img/hero.jpg");
|
background-image: linear-gradient(
|
||||||
|
to right bottom,
|
||||||
|
rgba($color-primary-light, 0.801),
|
||||||
|
rgba($color-primary-dark, 0.808)
|
||||||
|
),
|
||||||
|
url("../img/hero-small.jpg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: top;
|
background-position: top;
|
||||||
clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
|
clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
|
||||||
|
|
||||||
|
@media (min-resolution: 192dpi) and (min-width: 600px),
|
||||||
|
(-webkit-min-device-pixel-ratio: 192dpi) and (min-width: 600px),
|
||||||
|
(min-width: 2000px) {
|
||||||
|
// apple retina screen (high dpi)
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to right bottom,
|
||||||
|
rgba($color-primary-light, 0.801),
|
||||||
|
rgba($color-primary-dark, 0.808)
|
||||||
|
),
|
||||||
|
url("../img/hero.jpg");
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 2000px) {
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to right bottom,
|
||||||
|
rgba($color-primary-light, 0.801),
|
||||||
|
rgba($color-primary-dark, 0.808)
|
||||||
|
),
|
||||||
|
url("../img/hero.jpg");
|
||||||
|
}
|
||||||
|
|
||||||
@include respond(phone) {
|
@include respond(phone) {
|
||||||
clip-path: polygon(0% 0%, 100% 0%, 100% 85vh, 0% 100%);
|
clip-path: polygon(0% 0%, 100% 0%, 100% 85vh, 0% 100%);
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+2388
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"concat": "^1.0.3",
|
||||||
|
"node-sass": "^9.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user