2022-10-10 01:47:46 +02:00
|
|
|
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap");
|
|
|
|
|
2022-10-10 01:15:11 +02:00
|
|
|
/*
|
|
|
|
* Sizings
|
|
|
|
*
|
|
|
|
* Desktop: 1440x1832
|
|
|
|
* Tablet: 768x1781
|
|
|
|
* Mobile: 375x1945
|
|
|
|
*/
|
|
|
|
|
|
|
|
*,
|
|
|
|
::before,
|
|
|
|
::after {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2022-10-10 01:47:46 +02:00
|
|
|
|
|
|
|
:root {
|
2022-10-12 00:12:25 +02:00
|
|
|
/* Colors */
|
|
|
|
--col-cyan: hsla(177, 68%, 64%, 1);
|
|
|
|
--col-orange: hsla(33, 100%, 70%, 1);
|
|
|
|
--col-orangey-red: hsla(12, 94%, 65%, 1);
|
2022-10-12 17:47:33 +02:00
|
|
|
--col-off-white: hsl(20, 33%, 98%);
|
2022-10-12 00:12:25 +02:00
|
|
|
--col-black: hsla(244, 23%, 12%, 1);
|
|
|
|
/* Typography */
|
|
|
|
--fw-400: 400;
|
|
|
|
--fw-700: 700;
|
|
|
|
|
|
|
|
--fs-header-page: 2.5rem;
|
|
|
|
--lh-header-page: 3rem;
|
|
|
|
--ls-header-page: -0.0284rem;
|
|
|
|
--fw-header-page: var(--fw-700);
|
|
|
|
|
|
|
|
--fs-header-card: 2rem;
|
|
|
|
--lh-header-card: 2.5rem;
|
|
|
|
--fw-header-card: var(--fw-700);
|
|
|
|
|
|
|
|
--fs-body-page: 1rem;
|
|
|
|
--lh-body-page: 1.625rem;
|
|
|
|
--fw-body-page: var(--fw-400);
|
|
|
|
|
|
|
|
--fs-body-card: 1.125rem;
|
|
|
|
--lh-body-card: 1.75rem;
|
|
|
|
--fw-body-card: var(--fw-400);
|
|
|
|
|
|
|
|
--fs-footer: 1rem;
|
|
|
|
--lh-footer: 1.625rem;
|
|
|
|
--fw-footer: var(--fw-400);
|
|
|
|
|
|
|
|
--fs-price: 4.0625rem;
|
|
|
|
--lh-price: 3.25rem;
|
|
|
|
--fw-price: var(--fw-700);
|
|
|
|
|
|
|
|
--fs-term: 1.25rem;
|
|
|
|
--lh-term: 2rem;
|
|
|
|
--fw-term: var(--fw-400);
|
|
|
|
--ls-term: -0.0125rem;
|
|
|
|
|
|
|
|
--fs-button: 1.125rem;
|
|
|
|
--lh-button: 2rem;
|
|
|
|
--ls-button: -0.0112rem;
|
|
|
|
--fw-button: var(--fw-700);
|
|
|
|
|
|
|
|
/* Other */
|
|
|
|
--image-background: url(../assets/bg-main-mobile.png);
|
|
|
|
--image-page-background: none;
|
|
|
|
--image-card-background: url(../assets/bg-pattern-2.svg);
|
|
|
|
|
|
|
|
--border-radius: 0.75rem;
|
2022-10-10 01:47:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
font-family: "IBM Plex Sans", sans-serif;
|
2022-10-12 17:47:33 +02:00
|
|
|
|
|
|
|
background-image: var(--image-background);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 1.875rem -16.875rem;
|
|
|
|
|
|
|
|
background-color: #f2f2f2;
|
2022-10-10 01:47:46 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 00:12:25 +02:00
|
|
|
header {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
padding: 0 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
margin-top: 2.5rem;
|
|
|
|
}
|
|
|
|
.intro-section {
|
|
|
|
margin-top: 3.6875rem; /* per design ...4rem; */
|
|
|
|
|
|
|
|
padding: 0 1.5rem;
|
|
|
|
}
|
2022-10-12 23:19:16 +02:00
|
|
|
.intro-section__header {
|
2022-10-12 00:12:25 +02:00
|
|
|
font-size: var(--fs-header-page);
|
|
|
|
line-height: var(--lh-header-page);
|
|
|
|
letter-spacing: var(--ls-header-page);
|
|
|
|
font-weight: var(--fw-header-page);
|
|
|
|
}
|
2022-10-12 23:19:16 +02:00
|
|
|
.intro-section__body {
|
2022-10-12 00:12:25 +02:00
|
|
|
margin-top: 1.25rem;
|
|
|
|
|
|
|
|
font-size: var(--fs-body-page);
|
|
|
|
line-height: var(--lh-body-page);
|
|
|
|
font-weight: var(--fw-body-page);
|
|
|
|
}
|
|
|
|
.product-card {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin: auto;
|
2022-10-12 00:12:25 +02:00
|
|
|
margin-top: 34.125rem; /* ehh */
|
2022-10-12 17:47:33 +02:00
|
|
|
padding: 3rem 2.25rem 2.875rem 2.25rem;
|
2022-10-12 00:12:25 +02:00
|
|
|
|
|
|
|
color: var(--col-off-white);
|
|
|
|
background-color: var(--col-orangey-red);
|
|
|
|
|
|
|
|
border-radius: var(--border-radius);
|
2022-10-12 17:47:33 +02:00
|
|
|
|
|
|
|
position: relative;
|
2022-10-12 23:19:16 +02:00
|
|
|
|
|
|
|
max-width: 25rem;
|
2022-10-12 17:47:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.product-card__image {
|
|
|
|
position: absolute;
|
2022-10-12 23:19:16 +02:00
|
|
|
width: 13.0606rem;
|
2022-10-12 17:47:33 +02:00
|
|
|
margin: -33rem 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.product-card::before {
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
background-color: #191826;
|
2022-10-12 23:19:16 +02:00
|
|
|
background-image: var(--image-card-background);
|
2022-10-12 17:47:33 +02:00
|
|
|
background-position: top center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 17.5rem;
|
|
|
|
top: -23.8rem;
|
|
|
|
left: -0px;
|
|
|
|
content: " ";
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: var(--border-radius);
|
2022-10-12 00:12:25 +02:00
|
|
|
}
|
2022-10-12 17:47:33 +02:00
|
|
|
|
2022-10-12 00:12:25 +02:00
|
|
|
.product-card__header {
|
|
|
|
font-size: var(--fs-header-card);
|
|
|
|
line-height: var(--lh-header-card);
|
|
|
|
font-weight: var(--fw-header-card);
|
|
|
|
}
|
|
|
|
.product-card__body {
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
|
|
|
font-size: var(--fs-body-card);
|
|
|
|
line-height: var(--lh-body-card);
|
|
|
|
font-weight: var(--fw-body-card);
|
|
|
|
}
|
|
|
|
.price-block {
|
|
|
|
margin-top: 2.25rem;
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
.price-block__price {
|
|
|
|
font-size: var(--fs-price);
|
|
|
|
line-height: var(--lh-price);
|
|
|
|
font-weight: var(--fw-price);
|
|
|
|
}
|
|
|
|
.price-block__term {
|
|
|
|
font-size: var(--fs-term);
|
|
|
|
line-height: var(--lh-term);
|
|
|
|
letter-spacing: var(--ls-term);
|
|
|
|
font-weight: var(--fw-term);
|
|
|
|
}
|
|
|
|
.button-block {
|
|
|
|
margin-top: 2rem;
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button + .button {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
font-size: var(--fs-button);
|
|
|
|
line-height: var(--lh-button);
|
|
|
|
font-weight: var(--fw-button);
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
padding: 0.9375rem 0;
|
|
|
|
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-ios {
|
|
|
|
background-color: var(--col-black);
|
|
|
|
color: var(--col-off-white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-android {
|
|
|
|
background-color: var(--col-off-white);
|
|
|
|
color: var(--col-black);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-ios:is(:hover, :focus) {
|
|
|
|
background-color: var(--col-cyan);
|
|
|
|
}
|
|
|
|
.button-android:is(:hover, :focus) {
|
|
|
|
background-color: var(--col-orange);
|
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer {
|
2022-10-12 17:47:33 +02:00
|
|
|
margin-top: 3.875rem; /* per design 4rem; */
|
2022-10-12 00:12:25 +02:00
|
|
|
|
|
|
|
padding: 0 1.5rem;
|
2022-10-13 01:03:02 +02:00
|
|
|
|
|
|
|
margin-bottom: 5rem;
|
2022-10-12 00:12:25 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer__logo {
|
2022-10-12 00:12:25 +02:00
|
|
|
margin-bottom: 1.8125rem; /* per design 2rem; */
|
|
|
|
}
|
|
|
|
.footer__body {
|
|
|
|
font-size: var(--fs-footer);
|
|
|
|
font-weight: var(--fw-footer);
|
|
|
|
line-height: var(--lh-footer);
|
2022-10-12 19:17:27 +02:00
|
|
|
width: 32ch;
|
2022-10-12 00:12:25 +02:00
|
|
|
|
|
|
|
margin-bottom: 4rem;
|
|
|
|
}
|
|
|
|
.footer__email {
|
|
|
|
font-weight: var(--fw-700);
|
|
|
|
}
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer__social-block {
|
2022-10-12 00:12:25 +02:00
|
|
|
display: flex;
|
|
|
|
gap: 1.25rem;
|
2022-10-12 23:19:16 +02:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer__social-block a {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer__social-block svg:is(:hover, :focus) {
|
|
|
|
/* fill: currentColor; */
|
|
|
|
color: var(--col-orangey-red);
|
2022-10-12 00:12:25 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
@media screen and (min-width: 750px) {
|
2022-10-12 00:12:25 +02:00
|
|
|
:root {
|
|
|
|
--fs-header-page: 4rem;
|
|
|
|
--lh-header-page: 4rem;
|
|
|
|
--ls-header-page: -0.0456rem;
|
|
|
|
|
|
|
|
--fs-body-page: 1.125rem;
|
|
|
|
--lh-body-page: 1.75rem;
|
|
|
|
|
|
|
|
--image-background: url(../assets/bg-main-tablet.png);
|
|
|
|
--image-page-background: url(../assets/bg-pattern-1.svg);
|
|
|
|
}
|
2022-10-12 19:17:27 +02:00
|
|
|
|
|
|
|
body {
|
2022-10-12 23:19:16 +02:00
|
|
|
background-position: -25rem -18rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header::before {
|
|
|
|
position: absolute;
|
|
|
|
background-image: var(--image-page-background);
|
|
|
|
background-position: top right;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 16.666875rem;
|
2022-10-12 23:19:16 +02:00
|
|
|
top: -2rem;
|
|
|
|
left: 2.25rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 500%;
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
padding: 0 2.4375rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
margin-top: 3.875rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.intro-section {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-top: 5.625rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
width: 61ch;
|
|
|
|
|
|
|
|
padding: 0 2.4375rem;
|
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.intro-section__body {
|
2022-10-12 19:17:27 +02:00
|
|
|
margin-top: 1.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.product-card::before {
|
2022-10-12 23:19:16 +02:00
|
|
|
top: -9.375rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
left: -14.9375rem;
|
2022-10-12 23:19:16 +02:00
|
|
|
width: 43.6875rem;
|
|
|
|
height: 37.5rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
background-position: 14.375rem -1.875rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
}
|
|
|
|
.product-card {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-top: 25rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
width: 24.9375rem;
|
|
|
|
margin-left: 17rem;
|
|
|
|
|
|
|
|
padding: 3rem 3rem 2.875rem 3rem;
|
2022-10-12 23:19:16 +02:00
|
|
|
|
|
|
|
max-width: unset;
|
2022-10-12 19:17:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.product-card__image {
|
|
|
|
width: 16.8881rem;
|
|
|
|
margin: -21rem -14rem;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer {
|
|
|
|
margin-top: 85px;
|
|
|
|
padding: 0 2.0625rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
|
|
|
|
position: relative;
|
2022-10-13 01:03:02 +02:00
|
|
|
|
|
|
|
margin-bottom: 5.3125rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.footer__body {
|
|
|
|
width: 40ch;
|
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer__social-block {
|
2022-10-12 19:17:27 +02:00
|
|
|
position: absolute;
|
2022-10-12 23:19:16 +02:00
|
|
|
right: 2.4375rem;
|
|
|
|
bottom: 1.75rem;
|
2022-10-12 19:17:27 +02:00
|
|
|
}
|
2022-10-10 01:47:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1400px) {
|
2022-10-12 00:12:25 +02:00
|
|
|
:root {
|
|
|
|
--fs-header-page: 5.5rem;
|
|
|
|
--lh-header-page: 5.5rem;
|
|
|
|
--ls-header-page: -0.0625rem;
|
|
|
|
|
|
|
|
--fs-header-card: 2.5rem;
|
|
|
|
--lh-header-card: 3.25rem;
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
--fs-body-page: 1.25rem;
|
|
|
|
--lh-body-page: 2.125rem;
|
2022-10-12 00:12:25 +02:00
|
|
|
|
2022-10-12 20:32:27 +02:00
|
|
|
--fs-body-card: 1.25rem;
|
|
|
|
--lh-body-card: 2.125rem;
|
|
|
|
|
2022-10-12 00:12:25 +02:00
|
|
|
--image-background: url(../assets/bg-main-desktop.png);
|
|
|
|
}
|
2022-10-12 20:32:27 +02:00
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
body {
|
|
|
|
background-position: -20rem -15rem;
|
|
|
|
}
|
|
|
|
|
2022-10-12 20:32:27 +02:00
|
|
|
header::before {
|
2022-10-12 23:19:16 +02:00
|
|
|
top: -2.1875rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
left: 0;
|
|
|
|
background-size: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2022-10-12 23:19:16 +02:00
|
|
|
padding: 0 10.3219rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.intro-section {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-top: 7.8131rem;
|
|
|
|
padding: 0 10.3219rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
|
|
|
|
width: 130ch;
|
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.intro-section__body {
|
|
|
|
margin-top: 2.5rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
|
|
|
|
width: 70ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.product-card::before {
|
|
|
|
background-size: 19.5rem;
|
2022-10-12 23:19:16 +02:00
|
|
|
background-position: 20.8125rem -2.5rem;
|
|
|
|
width: 69.375rem;
|
|
|
|
top: -5.625rem;
|
|
|
|
left: -35.625rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.product-card {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-top: 25.6875rem;
|
|
|
|
width: 27.875rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
margin-left: 46rem;
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
padding: 3.625rem 3.6875rem 3rem 3.375rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.product-card__image {
|
|
|
|
width: 19.5rem;
|
2022-10-12 23:19:16 +02:00
|
|
|
margin: -22.625rem -32.8125rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.product-card__body {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-top: 1.375rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.price-block {
|
|
|
|
padding: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-block {
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-top: 2.875rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
padding: unset;
|
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer {
|
2022-10-12 20:32:27 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2022-10-13 01:03:02 +02:00
|
|
|
|
|
|
|
margin-bottom: 5.6875rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer__logo {
|
2022-10-12 20:32:27 +02:00
|
|
|
align-self: flex-start;
|
|
|
|
height: 100%;
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-right: 8.5625rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
margin-bottom: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer__body {
|
|
|
|
margin-bottom: 0;
|
2022-10-12 23:19:16 +02:00
|
|
|
margin-right: 21.25rem;
|
2022-10-12 20:32:27 +02:00
|
|
|
}
|
|
|
|
|
2022-10-12 23:19:16 +02:00
|
|
|
.footer__social-block {
|
2022-10-12 20:32:27 +02:00
|
|
|
position: relative;
|
|
|
|
right: initial;
|
|
|
|
bottom: initial;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2022-10-10 01:47:46 +02:00
|
|
|
}
|